Skip to content

Commit 1a31043

Browse files
authored
Detect typegen template location for commonjs execution (#4738)
1 parent 6615995 commit 1a31043

File tree

19 files changed

+180
-164
lines changed

19 files changed

+180
-164
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# CHANGELOG
22

3+
## 8.0.2 Apr 11, 2022
4+
5+
Changes:
6+
7+
- Detect typegen template location for commonjs execution
8+
9+
310
## 8.0.1 Apr 10, 2022
411

512
- **Breaking change** In this major version the commonjs outputs are moved to a sub-folder. Since the export map and main field in package.json does reflect this change, there should be no usage changes. However the packages here will all need to be on the same version for internal linkage.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"sideEffects": false,
1313
"type": "commonjs",
14-
"version": "8.0.1",
14+
"version": "8.0.2",
1515
"workspaces": [
1616
"packages/*"
1717
],

packages/api-augment/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@
2020
"./detectPackage.cjs"
2121
],
2222
"type": "module",
23-
"version": "8.0.1",
23+
"version": "8.0.2",
2424
"main": "index.js",
2525
"dependencies": {
2626
"@babel/runtime": "^7.17.9",
27-
"@polkadot/api-base": "8.0.1",
28-
"@polkadot/rpc-augment": "8.0.1",
29-
"@polkadot/types": "8.0.1",
30-
"@polkadot/types-augment": "8.0.1",
31-
"@polkadot/types-codec": "8.0.1",
27+
"@polkadot/api-base": "8.0.2",
28+
"@polkadot/rpc-augment": "8.0.2",
29+
"@polkadot/types": "8.0.2",
30+
"@polkadot/types-augment": "8.0.2",
31+
"@polkadot/types-codec": "8.0.2",
3232
"@polkadot/util": "^9.0.1"
3333
},
3434
"devDependencies": {
35-
"@polkadot/types-support": "8.0.1"
35+
"@polkadot/types-support": "8.0.2"
3636
}
3737
}

packages/api-base/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
"./detectPackage.cjs"
2121
],
2222
"type": "module",
23-
"version": "8.0.1",
23+
"version": "8.0.2",
2424
"main": "index.js",
2525
"dependencies": {
2626
"@babel/runtime": "^7.17.9",
27-
"@polkadot/rpc-core": "8.0.1",
28-
"@polkadot/types": "8.0.1",
27+
"@polkadot/rpc-core": "8.0.2",
28+
"@polkadot/types": "8.0.2",
2929
"@polkadot/util": "^9.0.1",
3030
"rxjs": "^7.5.5"
3131
}

packages/api-contract/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,20 @@
2020
"./detectPackage.cjs"
2121
],
2222
"type": "module",
23-
"version": "8.0.1",
23+
"version": "8.0.2",
2424
"main": "index.js",
2525
"dependencies": {
2626
"@babel/runtime": "^7.17.9",
27-
"@polkadot/api": "8.0.1",
28-
"@polkadot/types": "8.0.1",
29-
"@polkadot/types-codec": "8.0.1",
30-
"@polkadot/types-create": "8.0.1",
27+
"@polkadot/api": "8.0.2",
28+
"@polkadot/types": "8.0.2",
29+
"@polkadot/types-codec": "8.0.2",
30+
"@polkadot/types-create": "8.0.2",
3131
"@polkadot/util": "^9.0.1",
3232
"@polkadot/util-crypto": "^9.0.1",
3333
"rxjs": "^7.5.5"
3434
},
3535
"devDependencies": {
36-
"@polkadot/api-augment": "8.0.1",
36+
"@polkadot/api-augment": "8.0.2",
3737
"@polkadot/keyring": "^9.0.1"
3838
}
3939
}

packages/api-derive/package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,25 @@
2020
"./detectPackage.cjs"
2121
],
2222
"type": "module",
23-
"version": "8.0.1",
23+
"version": "8.0.2",
2424
"main": "index.js",
2525
"dependencies": {
2626
"@babel/runtime": "^7.17.9",
27-
"@polkadot/api": "8.0.1",
28-
"@polkadot/api-augment": "8.0.1",
29-
"@polkadot/api-base": "8.0.1",
30-
"@polkadot/rpc-core": "8.0.1",
31-
"@polkadot/types": "8.0.1",
32-
"@polkadot/types-codec": "8.0.1",
27+
"@polkadot/api": "8.0.2",
28+
"@polkadot/api-augment": "8.0.2",
29+
"@polkadot/api-base": "8.0.2",
30+
"@polkadot/rpc-core": "8.0.2",
31+
"@polkadot/types": "8.0.2",
32+
"@polkadot/types-codec": "8.0.2",
3333
"@polkadot/util": "^9.0.1",
3434
"@polkadot/util-crypto": "^9.0.1",
3535
"rxjs": "^7.5.5"
3636
},
3737
"devDependencies": {
38-
"@polkadot/api": "8.0.1",
39-
"@polkadot/api-augment": "8.0.1",
40-
"@polkadot/rpc-augment": "8.0.1",
41-
"@polkadot/rpc-provider": "8.0.1",
42-
"@polkadot/types-support": "8.0.1"
38+
"@polkadot/api": "8.0.2",
39+
"@polkadot/api-augment": "8.0.2",
40+
"@polkadot/rpc-augment": "8.0.2",
41+
"@polkadot/rpc-provider": "8.0.2",
42+
"@polkadot/types-support": "8.0.2"
4343
}
4444
}

packages/api/package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,29 +20,29 @@
2020
"./detectPackage.cjs"
2121
],
2222
"type": "module",
23-
"version": "8.0.1",
23+
"version": "8.0.2",
2424
"main": "index.js",
2525
"dependencies": {
2626
"@babel/runtime": "^7.17.9",
27-
"@polkadot/api-augment": "8.0.1",
28-
"@polkadot/api-base": "8.0.1",
29-
"@polkadot/api-derive": "8.0.1",
27+
"@polkadot/api-augment": "8.0.2",
28+
"@polkadot/api-base": "8.0.2",
29+
"@polkadot/api-derive": "8.0.2",
3030
"@polkadot/keyring": "^9.0.1",
31-
"@polkadot/rpc-augment": "8.0.1",
32-
"@polkadot/rpc-core": "8.0.1",
33-
"@polkadot/rpc-provider": "8.0.1",
34-
"@polkadot/types": "8.0.1",
35-
"@polkadot/types-augment": "8.0.1",
36-
"@polkadot/types-codec": "8.0.1",
37-
"@polkadot/types-create": "8.0.1",
38-
"@polkadot/types-known": "8.0.1",
31+
"@polkadot/rpc-augment": "8.0.2",
32+
"@polkadot/rpc-core": "8.0.2",
33+
"@polkadot/rpc-provider": "8.0.2",
34+
"@polkadot/types": "8.0.2",
35+
"@polkadot/types-augment": "8.0.2",
36+
"@polkadot/types-codec": "8.0.2",
37+
"@polkadot/types-create": "8.0.2",
38+
"@polkadot/types-known": "8.0.2",
3939
"@polkadot/util": "^9.0.1",
4040
"@polkadot/util-crypto": "^9.0.1",
4141
"eventemitter3": "^4.0.7",
4242
"rxjs": "^7.5.5"
4343
},
4444
"devDependencies": {
45-
"@polkadot/api-augment": "8.0.1",
46-
"@polkadot/types-support": "8.0.1"
45+
"@polkadot/api-augment": "8.0.2",
46+
"@polkadot/types-support": "8.0.2"
4747
}
4848
}

packages/rpc-augment/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020
"./detectPackage.cjs"
2121
],
2222
"type": "module",
23-
"version": "8.0.1",
23+
"version": "8.0.2",
2424
"main": "index.js",
2525
"dependencies": {
2626
"@babel/runtime": "^7.17.9",
27-
"@polkadot/rpc-core": "8.0.1",
28-
"@polkadot/types": "8.0.1",
29-
"@polkadot/types-codec": "8.0.1",
27+
"@polkadot/rpc-core": "8.0.2",
28+
"@polkadot/types": "8.0.2",
29+
"@polkadot/types-codec": "8.0.2",
3030
"@polkadot/util": "^9.0.1"
3131
}
3232
}

packages/rpc-core/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@
2020
"./detectPackage.cjs"
2121
],
2222
"type": "module",
23-
"version": "8.0.1",
23+
"version": "8.0.2",
2424
"main": "index.js",
2525
"dependencies": {
2626
"@babel/runtime": "^7.17.9",
27-
"@polkadot/rpc-augment": "8.0.1",
28-
"@polkadot/rpc-provider": "8.0.1",
29-
"@polkadot/types": "8.0.1",
27+
"@polkadot/rpc-augment": "8.0.2",
28+
"@polkadot/rpc-provider": "8.0.2",
29+
"@polkadot/types": "8.0.2",
3030
"@polkadot/util": "^9.0.1",
3131
"rxjs": "^7.5.5"
3232
},
3333
"devDependencies": {
3434
"@polkadot/keyring": "^9.0.1",
35-
"@polkadot/rpc-augment": "8.0.1"
35+
"@polkadot/rpc-augment": "8.0.2"
3636
}
3737
}

packages/rpc-provider/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020
"./detectPackage.cjs"
2121
],
2222
"type": "module",
23-
"version": "8.0.1",
23+
"version": "8.0.2",
2424
"main": "index.js",
2525
"dependencies": {
2626
"@babel/runtime": "^7.17.9",
2727
"@polkadot/keyring": "^9.0.1",
28-
"@polkadot/types": "8.0.1",
29-
"@polkadot/types-support": "8.0.1",
28+
"@polkadot/types": "8.0.2",
29+
"@polkadot/types-support": "8.0.2",
3030
"@polkadot/util": "^9.0.1",
3131
"@polkadot/util-crypto": "^9.0.1",
3232
"@polkadot/x-fetch": "^9.0.1",

0 commit comments

Comments
 (0)