Skip to content

Commit b1e5a22

Browse files
committed
Patch package.jsons
1 parent 7b7d88f commit b1e5a22

3 files changed

Lines changed: 57 additions & 20 deletions

File tree

packages/hyperdrive-artifacts/package.json

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
{
22
"name": "@delvtech/hyperdrive-artifacts",
33
"version": "1.0.20",
4-
"license": "AGPL-3.0",
4+
"description": "Strongly typed build artifacts, including ABIs and Bytecodes, for the Hyperdrive AMM.",
5+
"license": "Apache-2.0",
6+
"author": "DELV (https://github.com/delvtech)",
7+
"repository": {
8+
"type": "git",
9+
"url": "git+https://github.com/delvtech/hyperdrive-frontend.git",
10+
"directory": "packages/hyperdrive-artifacts"
11+
},
512
"type": "module",
6-
"files": [
7-
"dist"
8-
],
13+
"sideEffects": false,
914
"exports": {
1015
"./*": {
1116
"types": "./dist/*.d.ts",
@@ -26,6 +31,9 @@
2631
"tsc": "^2.0.4",
2732
"typescript": "^5.9.2"
2833
},
34+
"files": [
35+
"dist"
36+
],
2937
"publishConfig": {
3038
"access": "public"
3139
}

packages/hyperdrive-artifacts/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://json.schemastore.org/tsconfig",
33
"extends": "@hyperdrive/tsconfig/base.json",
4-
"include": ["./*.json", "src"],
4+
"include": ["src"],
55
"exclude": ["node_modules"],
66
"compilerOptions": {
77
"outDir": "dist",

packages/hyperdrive-js/package.json

Lines changed: 44 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,39 @@
11
{
22
"name": "@delvtech/hyperdrive-js",
33
"version": "0.0.2",
4-
"license": "AGPL-3.0",
4+
"description": "TypeScript SDK for the Hyperdrive AMM.",
5+
"license": "Apache-2.0",
6+
"author": "DELV (https://github.com/delvtech)",
7+
"repository": {
8+
"type": "git",
9+
"url": "git+https://github.com/delvtech/hyperdrive-frontend.git",
10+
"directory": "packages/hyperdrive-js"
11+
},
512
"type": "module",
13+
"sideEffects": false,
14+
"exports": {
15+
".": {
16+
"require": {
17+
"types": "./dist/index.d.cts",
18+
"default": "./dist/index.cjs"
19+
},
20+
"import": {
21+
"types": "./dist/index.d.ts",
22+
"default": "./dist/index.js"
23+
}
24+
},
25+
"./v1.0.14": {
26+
"require": {
27+
"types": "./dist/v1.0.14.d.cts",
28+
"default": "./dist/v1.0.14.cjs"
29+
},
30+
"import": {
31+
"types": "./dist/v1.0.14.d.ts",
32+
"default": "./dist/v1.0.14.js"
33+
}
34+
},
35+
"./package.json": "./package.json"
36+
},
637
"scripts": {
738
"build": "tsup",
839
"watch": "npm run build -- --watch",
@@ -41,24 +72,22 @@
4172
"vite-tsconfig-paths": "^4.3.2",
4273
"vitest": "^2.0.4"
4374
},
44-
"main": "dist/index.js",
75+
"main": "dist/index.cjs",
76+
"module": "dist/index.js",
4577
"types": "dist/index.d.ts",
78+
"typesVersions": {
79+
"*": {
80+
".": [
81+
"./dist/index.d.ts"
82+
],
83+
"v1.0.14": [
84+
"./dist/v1.0.14.js"
85+
]
86+
}
87+
},
4688
"files": [
4789
"dist"
4890
],
49-
"exports": {
50-
".": {
51-
"types": "./dist/index.d.ts",
52-
"default": "./dist/index.js",
53-
"require": "./dist/index.cjs"
54-
},
55-
"./v1.0.14": {
56-
"types": "./dist/v1.0.14.d.ts",
57-
"default": "./dist/v1.0.14.js",
58-
"require": "./dist/v1.0.14.cjs"
59-
},
60-
"./package.json": "./package.json"
61-
},
6291
"publishConfig": {
6392
"access": "public"
6493
}

0 commit comments

Comments
 (0)