@pezkuwi/dev 0.84.3 → 0.85.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.skip-deno +0 -0
- package/README.md +547 -0
- package/config/eslint.rules.js +2 -2
- package/config/prettier.cjs +1 -1
- package/config/rollup.js +2 -2
- package/config/tsconfig.json +2 -2
- package/config/typedoc.cjs +2 -2
- package/package.json +43 -265
- package/scripts/{polkadot-ci-ghact-build.mjs → pezkuwi-ci-ghact-build.mjs} +15 -11
- package/scripts/{polkadot-ci-ghact-docs.mjs → pezkuwi-ci-ghact-docs.mjs} +2 -2
- package/scripts/{polkadot-ci-ghpages-force.mjs → pezkuwi-ci-ghpages-force.mjs} +1 -1
- package/scripts/{polkadot-dev-build-docs.mjs → pezkuwi-dev-build-docs.mjs} +1 -1
- package/scripts/{polkadot-dev-build-ts.mjs → pezkuwi-dev-build-ts.mjs} +6 -6
- package/scripts/{polkadot-dev-circular.mjs → pezkuwi-dev-circular.mjs} +1 -1
- package/scripts/{polkadot-dev-clean-build.mjs → pezkuwi-dev-clean-build.mjs} +1 -1
- package/scripts/{polkadot-dev-contrib.mjs → pezkuwi-dev-contrib.mjs} +1 -1
- package/scripts/{polkadot-dev-copy-dir.mjs → pezkuwi-dev-copy-dir.mjs} +1 -1
- package/scripts/{polkadot-dev-copy-to.mjs → pezkuwi-dev-copy-to.mjs} +1 -1
- package/scripts/{polkadot-dev-deno-map.mjs → pezkuwi-dev-deno-map.mjs} +1 -1
- package/scripts/{polkadot-dev-run-lint.mjs → pezkuwi-dev-run-lint.mjs} +3 -3
- package/scripts/{polkadot-dev-run-node-ts.mjs → pezkuwi-dev-run-node-ts.mjs} +1 -1
- package/scripts/{polkadot-dev-run-test.mjs → pezkuwi-dev-run-test.mjs} +2 -2
- package/scripts/{polkadot-dev-version.mjs → pezkuwi-dev-version.mjs} +1 -1
- package/scripts/util.mjs +2 -2
- package/tsconfig.build.json +18 -0
- package/tsconfig.build.tsbuildinfo +1 -0
- package/tsconfig.config.json +14 -0
- package/tsconfig.config.tsbuildinfo +1 -0
- package/tsconfig.scripts.json +14 -0
- package/tsconfig.scripts.tsbuildinfo +1 -0
- package/tsconfig.spec.json +18 -0
- package/tsconfig.spec.tsbuildinfo +1 -0
- package/LICENSE +0 -201
- package/cjs/detectOther.d.ts +0 -2
- package/cjs/detectOther.js +0 -3
- package/cjs/index.d.ts +0 -1
- package/cjs/index.js +0 -3
- package/cjs/package.json +0 -3
- package/cjs/packageInfo.d.ts +0 -6
- package/cjs/packageInfo.js +0 -4
- package/cjs/root.d.ts +0 -2
- package/cjs/root.js +0 -6
- package/cjs/rootJs/Clazz.d.ts +0 -18
- package/cjs/rootJs/Clazz.js +0 -36
- package/cjs/rootJs/Jsx.d.ts +0 -5
- package/cjs/rootJs/Jsx.js +0 -16
- package/cjs/rootJs/JsxChild.d.ts +0 -9
- package/cjs/rootJs/JsxChild.js +0 -9
- package/cjs/rootJs/augmented.d.ts +0 -8
- package/cjs/rootJs/augmented.js +0 -3
- package/cjs/rootJs/index.d.ts +0 -19
- package/cjs/rootJs/index.js +0 -51
- package/cjs/rootTests.d.ts +0 -2
- package/cjs/rootTests.js +0 -44
- package/cjs/sample.d.ts +0 -1
- package/cjs/sample.js +0 -4
- package/cjs/types.d.ts +0 -2
- package/cjs/types.js +0 -2
- package/detectOther.d.ts +0 -2
- package/detectOther.js +0 -1
- package/index.d.ts +0 -1
- package/index.js +0 -2
- package/package.json.new +0 -315
- package/packageInfo.d.ts +0 -6
- package/packageInfo.js +0 -1
- package/root.d.ts +0 -2
- package/root.js +0 -2
- package/rootJs/Clazz.d.ts +0 -18
- package/rootJs/Clazz.js +0 -32
- package/rootJs/Jsx.d.ts +0 -5
- package/rootJs/Jsx.js +0 -13
- package/rootJs/JsxChild.d.ts +0 -9
- package/rootJs/JsxChild.js +0 -6
- package/rootJs/augmented.d.ts +0 -8
- package/rootJs/augmented.js +0 -2
- package/rootJs/dynamic.d.mts +0 -8
- package/rootJs/dynamic.mjs +0 -13
- package/rootJs/index.d.ts +0 -19
- package/rootJs/index.js +0 -39
- package/rootJs/testJson.json +0 -5
- package/rootStatic/kusama.svg +0 -1
- package/rootTests.d.ts +0 -2
- package/rootTests.js +0 -41
- package/types.d.ts +0 -2
- package/types.js +0 -1
- /package/scripts/{polkadot-dev-yarn-only.mjs → pezkuwi-dev-yarn-only.mjs} +0 -0
- /package/scripts/{polkadot-exec-eslint.mjs → pezkuwi-exec-eslint.mjs} +0 -0
- /package/scripts/{polkadot-exec-ghpages.mjs → pezkuwi-exec-ghpages.mjs} +0 -0
- /package/scripts/{polkadot-exec-ghrelease.mjs → pezkuwi-exec-ghrelease.mjs} +0 -0
- /package/scripts/{polkadot-exec-node-test.mjs → pezkuwi-exec-node-test.mjs} +0 -0
- /package/scripts/{polkadot-exec-rollup.mjs → pezkuwi-exec-rollup.mjs} +0 -0
- /package/scripts/{polkadot-exec-tsc.mjs → pezkuwi-exec-tsc.mjs} +0 -0
- /package/scripts/{polkadot-exec-webpack.mjs → pezkuwi-exec-webpack.mjs} +0 -0
package/package.json
CHANGED
|
@@ -1,290 +1,57 @@
|
|
|
1
1
|
{
|
|
2
2
|
"author": "Jaco Greeff <jacogr@gmail.com>",
|
|
3
|
-
"bugs": "https://github.com/
|
|
4
|
-
"description": "A collection of shared CI scripts and development environment used by @
|
|
3
|
+
"bugs": "https://github.com/pezkuwi/dev/issues",
|
|
4
|
+
"description": "A collection of shared CI scripts and development environment used by @pezkuwi projects",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18"
|
|
7
7
|
},
|
|
8
|
-
"homepage": "https://github.com/
|
|
8
|
+
"homepage": "https://github.com/pezkuwi/dev/tree/master/packages/dev#readme",
|
|
9
9
|
"license": "Apache-2.0",
|
|
10
10
|
"name": "@pezkuwi/dev",
|
|
11
11
|
"repository": {
|
|
12
12
|
"directory": "packages/dev",
|
|
13
13
|
"type": "git",
|
|
14
|
-
"url": "https://github.com/
|
|
14
|
+
"url": "https://github.com/pezkuwi/dev.git"
|
|
15
15
|
},
|
|
16
16
|
"sideEffects": false,
|
|
17
17
|
"type": "module",
|
|
18
|
-
"version": "0.
|
|
18
|
+
"version": "0.85.0",
|
|
19
19
|
"bin": {
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
20
|
+
"pezkuwi-ci-ghact-build": "./scripts/pezkuwi-ci-ghact-build.mjs",
|
|
21
|
+
"pezkuwi-ci-ghact-docs": "./scripts/pezkuwi-ci-ghact-docs.mjs",
|
|
22
|
+
"pezkuwi-ci-ghpages-force": "./scripts/pezkuwi-ci-ghpages-force.mjs",
|
|
23
|
+
"pezkuwi-dev-build-docs": "./scripts/pezkuwi-dev-build-docs.mjs",
|
|
24
|
+
"pezkuwi-dev-build-ts": "./scripts/pezkuwi-dev-build-ts.mjs",
|
|
25
|
+
"pezkuwi-dev-circular": "./scripts/pezkuwi-dev-circular.mjs",
|
|
26
|
+
"pezkuwi-dev-clean-build": "./scripts/pezkuwi-dev-clean-build.mjs",
|
|
27
|
+
"pezkuwi-dev-contrib": "./scripts/pezkuwi-dev-contrib.mjs",
|
|
28
|
+
"pezkuwi-dev-copy-dir": "./scripts/pezkuwi-dev-copy-dir.mjs",
|
|
29
|
+
"pezkuwi-dev-copy-to": "./scripts/pezkuwi-dev-copy-to.mjs",
|
|
30
|
+
"pezkuwi-dev-deno-map": "./scripts/pezkuwi-dev-deno-map.mjs",
|
|
31
|
+
"pezkuwi-dev-run-lint": "./scripts/pezkuwi-dev-run-lint.mjs",
|
|
32
|
+
"pezkuwi-dev-run-node-ts": "./scripts/pezkuwi-dev-run-node-ts.mjs",
|
|
33
|
+
"pezkuwi-dev-run-test": "./scripts/pezkuwi-dev-run-test.mjs",
|
|
34
|
+
"pezkuwi-dev-version": "./scripts/pezkuwi-dev-version.mjs",
|
|
35
|
+
"pezkuwi-dev-yarn-only": "./scripts/pezkuwi-dev-yarn-only.mjs",
|
|
36
|
+
"pezkuwi-exec-eslint": "./scripts/pezkuwi-exec-eslint.mjs",
|
|
37
|
+
"pezkuwi-exec-ghpages": "./scripts/pezkuwi-exec-ghpages.mjs",
|
|
38
|
+
"pezkuwi-exec-ghrelease": "./scripts/pezkuwi-exec-ghrelease.mjs",
|
|
39
|
+
"pezkuwi-exec-node-test": "./scripts/pezkuwi-exec-node-test.mjs",
|
|
40
|
+
"pezkuwi-exec-rollup": "./scripts/pezkuwi-exec-rollup.mjs",
|
|
41
|
+
"pezkuwi-exec-tsc": "./scripts/pezkuwi-exec-tsc.mjs",
|
|
42
|
+
"pezkuwi-exec-webpack": "./scripts/pezkuwi-exec-webpack.mjs"
|
|
43
43
|
},
|
|
44
|
-
"main": "./cjs/index.js",
|
|
45
|
-
"module": "./index.js",
|
|
46
|
-
"types": "./index.d.ts",
|
|
47
44
|
"exports": {
|
|
48
|
-
"./cjs/package.json": "./cjs/package.json",
|
|
49
|
-
"./cjs/*": "./cjs/*.js",
|
|
50
|
-
".": {
|
|
51
|
-
"module": {
|
|
52
|
-
"types": "./index.d.ts",
|
|
53
|
-
"default": "./index.js"
|
|
54
|
-
},
|
|
55
|
-
"require": {
|
|
56
|
-
"types": "./cjs/index.d.ts",
|
|
57
|
-
"default": "./cjs/index.js"
|
|
58
|
-
},
|
|
59
|
-
"default": {
|
|
60
|
-
"types": "./index.d.ts",
|
|
61
|
-
"default": "./index.js"
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
45
|
"./config/eslint": "./config/eslint.js",
|
|
65
|
-
"./config/eslint.rules": "./config/eslint.rules.js",
|
|
66
46
|
"./config/prettier.cjs": "./config/prettier.cjs",
|
|
67
|
-
"./config/prettier": "./config/prettier.cjs",
|
|
68
|
-
"./config/rollup": "./config/rollup.js",
|
|
69
47
|
"./config/tsconfig.json": "./config/tsconfig.json",
|
|
70
|
-
"./
|
|
71
|
-
"./
|
|
72
|
-
"./detectOther": {
|
|
73
|
-
"module": {
|
|
74
|
-
"types": "./detectOther.d.ts",
|
|
75
|
-
"default": "./detectOther.js"
|
|
76
|
-
},
|
|
77
|
-
"require": {
|
|
78
|
-
"types": "./cjs/detectOther.d.ts",
|
|
79
|
-
"default": "./cjs/detectOther.js"
|
|
80
|
-
},
|
|
81
|
-
"default": {
|
|
82
|
-
"types": "./detectOther.d.ts",
|
|
83
|
-
"default": "./detectOther.js"
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
"./package.json": {
|
|
87
|
-
"require": "./cjs/package.json",
|
|
88
|
-
"default": "./package.json"
|
|
89
|
-
},
|
|
90
|
-
"./packageInfo.js": {
|
|
91
|
-
"module": {
|
|
92
|
-
"types": "./packageInfo.d.ts",
|
|
93
|
-
"default": "./packageInfo.js"
|
|
94
|
-
},
|
|
95
|
-
"require": {
|
|
96
|
-
"types": "./cjs/packageInfo.d.ts",
|
|
97
|
-
"default": "./cjs/packageInfo.js"
|
|
98
|
-
},
|
|
99
|
-
"default": {
|
|
100
|
-
"types": "./packageInfo.d.ts",
|
|
101
|
-
"default": "./packageInfo.js"
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
"./packageInfo": {
|
|
105
|
-
"module": {
|
|
106
|
-
"types": "./packageInfo.d.ts",
|
|
107
|
-
"default": "./packageInfo.js"
|
|
108
|
-
},
|
|
109
|
-
"require": {
|
|
110
|
-
"types": "./cjs/packageInfo.d.ts",
|
|
111
|
-
"default": "./cjs/packageInfo.js"
|
|
112
|
-
},
|
|
113
|
-
"default": {
|
|
114
|
-
"types": "./packageInfo.d.ts",
|
|
115
|
-
"default": "./packageInfo.js"
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
"./root": {
|
|
119
|
-
"module": {
|
|
120
|
-
"types": "./root.d.ts",
|
|
121
|
-
"default": "./root.js"
|
|
122
|
-
},
|
|
123
|
-
"require": {
|
|
124
|
-
"types": "./cjs/root.d.ts",
|
|
125
|
-
"default": "./cjs/root.js"
|
|
126
|
-
},
|
|
127
|
-
"default": {
|
|
128
|
-
"types": "./root.d.ts",
|
|
129
|
-
"default": "./root.js"
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
"./rootJs": {
|
|
133
|
-
"module": {
|
|
134
|
-
"types": "./rootJs/index.d.ts",
|
|
135
|
-
"default": "./rootJs/index.js"
|
|
136
|
-
},
|
|
137
|
-
"require": {
|
|
138
|
-
"types": "./cjs/rootJs/index.d.ts",
|
|
139
|
-
"default": "./cjs/rootJs/index.js"
|
|
140
|
-
},
|
|
141
|
-
"default": {
|
|
142
|
-
"types": "./rootJs/index.d.ts",
|
|
143
|
-
"default": "./rootJs/index.js"
|
|
144
|
-
}
|
|
145
|
-
},
|
|
146
|
-
"./rootJs/augmented": {
|
|
147
|
-
"module": {
|
|
148
|
-
"types": "./rootJs/augmented.d.ts",
|
|
149
|
-
"default": "./rootJs/augmented.js"
|
|
150
|
-
},
|
|
151
|
-
"require": {
|
|
152
|
-
"types": "./cjs/rootJs/augmented.d.ts",
|
|
153
|
-
"default": "./cjs/rootJs/augmented.js"
|
|
154
|
-
},
|
|
155
|
-
"default": {
|
|
156
|
-
"types": "./rootJs/augmented.d.ts",
|
|
157
|
-
"default": "./rootJs/augmented.js"
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
"./rootJs/Clazz": {
|
|
161
|
-
"module": {
|
|
162
|
-
"types": "./rootJs/Clazz.d.ts",
|
|
163
|
-
"default": "./rootJs/Clazz.js"
|
|
164
|
-
},
|
|
165
|
-
"require": {
|
|
166
|
-
"types": "./cjs/rootJs/Clazz.d.ts",
|
|
167
|
-
"default": "./cjs/rootJs/Clazz.js"
|
|
168
|
-
},
|
|
169
|
-
"default": {
|
|
170
|
-
"types": "./rootJs/Clazz.d.ts",
|
|
171
|
-
"default": "./rootJs/Clazz.js"
|
|
172
|
-
}
|
|
173
|
-
},
|
|
174
|
-
"./rootJs/dynamic.d.mts": "./rootJs/dynamic.d.mts",
|
|
175
|
-
"./rootJs/dynamic.mjs": "./rootJs/dynamic.mjs",
|
|
176
|
-
"./rootJs/dynamic": "./rootJs/dynamic.mjs",
|
|
177
|
-
"./rootJs/Jsx": {
|
|
178
|
-
"module": {
|
|
179
|
-
"types": "./rootJs/Jsx.d.ts",
|
|
180
|
-
"default": "./rootJs/Jsx.js"
|
|
181
|
-
},
|
|
182
|
-
"require": {
|
|
183
|
-
"types": "./cjs/rootJs/Jsx.d.ts",
|
|
184
|
-
"default": "./cjs/rootJs/Jsx.js"
|
|
185
|
-
},
|
|
186
|
-
"default": {
|
|
187
|
-
"types": "./rootJs/Jsx.d.ts",
|
|
188
|
-
"default": "./rootJs/Jsx.js"
|
|
189
|
-
}
|
|
190
|
-
},
|
|
191
|
-
"./rootJs/JsxChild": {
|
|
192
|
-
"module": {
|
|
193
|
-
"types": "./rootJs/JsxChild.d.ts",
|
|
194
|
-
"default": "./rootJs/JsxChild.js"
|
|
195
|
-
},
|
|
196
|
-
"require": {
|
|
197
|
-
"types": "./cjs/rootJs/JsxChild.d.ts",
|
|
198
|
-
"default": "./cjs/rootJs/JsxChild.js"
|
|
199
|
-
},
|
|
200
|
-
"default": {
|
|
201
|
-
"types": "./rootJs/JsxChild.d.ts",
|
|
202
|
-
"default": "./rootJs/JsxChild.js"
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
"./rootJs/testJson.json": "./rootJs/testJson.json",
|
|
206
|
-
"./rootStatic/kusama.svg": "./rootStatic/kusama.svg",
|
|
207
|
-
"./rootTests": {
|
|
208
|
-
"module": {
|
|
209
|
-
"types": "./rootTests.d.ts",
|
|
210
|
-
"default": "./rootTests.js"
|
|
211
|
-
},
|
|
212
|
-
"require": {
|
|
213
|
-
"types": "./cjs/rootTests.d.ts",
|
|
214
|
-
"default": "./cjs/rootTests.js"
|
|
215
|
-
},
|
|
216
|
-
"default": {
|
|
217
|
-
"types": "./rootTests.d.ts",
|
|
218
|
-
"default": "./rootTests.js"
|
|
219
|
-
}
|
|
220
|
-
},
|
|
221
|
-
"./scripts/polkadot-ci-ghact-build.mjs": "./scripts/polkadot-ci-ghact-build.mjs",
|
|
222
|
-
"./scripts/polkadot-ci-ghact-build": "./scripts/polkadot-ci-ghact-build.mjs",
|
|
223
|
-
"./scripts/polkadot-ci-ghact-docs.mjs": "./scripts/polkadot-ci-ghact-docs.mjs",
|
|
224
|
-
"./scripts/polkadot-ci-ghact-docs": "./scripts/polkadot-ci-ghact-docs.mjs",
|
|
225
|
-
"./scripts/polkadot-ci-ghpages-force.mjs": "./scripts/polkadot-ci-ghpages-force.mjs",
|
|
226
|
-
"./scripts/polkadot-ci-ghpages-force": "./scripts/polkadot-ci-ghpages-force.mjs",
|
|
227
|
-
"./scripts/polkadot-dev-build-docs.mjs": "./scripts/polkadot-dev-build-docs.mjs",
|
|
228
|
-
"./scripts/polkadot-dev-build-docs": "./scripts/polkadot-dev-build-docs.mjs",
|
|
229
|
-
"./scripts/polkadot-dev-build-ts.mjs": "./scripts/polkadot-dev-build-ts.mjs",
|
|
230
|
-
"./scripts/polkadot-dev-build-ts": "./scripts/polkadot-dev-build-ts.mjs",
|
|
231
|
-
"./scripts/polkadot-dev-circular.mjs": "./scripts/polkadot-dev-circular.mjs",
|
|
232
|
-
"./scripts/polkadot-dev-circular": "./scripts/polkadot-dev-circular.mjs",
|
|
233
|
-
"./scripts/polkadot-dev-clean-build.mjs": "./scripts/polkadot-dev-clean-build.mjs",
|
|
234
|
-
"./scripts/polkadot-dev-clean-build": "./scripts/polkadot-dev-clean-build.mjs",
|
|
235
|
-
"./scripts/polkadot-dev-contrib.mjs": "./scripts/polkadot-dev-contrib.mjs",
|
|
236
|
-
"./scripts/polkadot-dev-contrib": "./scripts/polkadot-dev-contrib.mjs",
|
|
237
|
-
"./scripts/polkadot-dev-copy-dir.mjs": "./scripts/polkadot-dev-copy-dir.mjs",
|
|
238
|
-
"./scripts/polkadot-dev-copy-dir": "./scripts/polkadot-dev-copy-dir.mjs",
|
|
239
|
-
"./scripts/polkadot-dev-copy-to.mjs": "./scripts/polkadot-dev-copy-to.mjs",
|
|
240
|
-
"./scripts/polkadot-dev-copy-to": "./scripts/polkadot-dev-copy-to.mjs",
|
|
241
|
-
"./scripts/polkadot-dev-deno-map.mjs": "./scripts/polkadot-dev-deno-map.mjs",
|
|
242
|
-
"./scripts/polkadot-dev-deno-map": "./scripts/polkadot-dev-deno-map.mjs",
|
|
243
|
-
"./scripts/polkadot-dev-run-lint.mjs": "./scripts/polkadot-dev-run-lint.mjs",
|
|
244
|
-
"./scripts/polkadot-dev-run-lint": "./scripts/polkadot-dev-run-lint.mjs",
|
|
245
|
-
"./scripts/polkadot-dev-run-node-ts.mjs": "./scripts/polkadot-dev-run-node-ts.mjs",
|
|
246
|
-
"./scripts/polkadot-dev-run-node-ts": "./scripts/polkadot-dev-run-node-ts.mjs",
|
|
247
|
-
"./scripts/polkadot-dev-run-test.mjs": "./scripts/polkadot-dev-run-test.mjs",
|
|
248
|
-
"./scripts/polkadot-dev-run-test": "./scripts/polkadot-dev-run-test.mjs",
|
|
249
|
-
"./scripts/polkadot-dev-version.mjs": "./scripts/polkadot-dev-version.mjs",
|
|
250
|
-
"./scripts/polkadot-dev-version": "./scripts/polkadot-dev-version.mjs",
|
|
251
|
-
"./scripts/polkadot-dev-yarn-only.mjs": "./scripts/polkadot-dev-yarn-only.mjs",
|
|
252
|
-
"./scripts/polkadot-dev-yarn-only": "./scripts/polkadot-dev-yarn-only.mjs",
|
|
253
|
-
"./scripts/polkadot-exec-eslint.mjs": "./scripts/polkadot-exec-eslint.mjs",
|
|
254
|
-
"./scripts/polkadot-exec-eslint": "./scripts/polkadot-exec-eslint.mjs",
|
|
255
|
-
"./scripts/polkadot-exec-ghpages.mjs": "./scripts/polkadot-exec-ghpages.mjs",
|
|
256
|
-
"./scripts/polkadot-exec-ghpages": "./scripts/polkadot-exec-ghpages.mjs",
|
|
257
|
-
"./scripts/polkadot-exec-ghrelease.mjs": "./scripts/polkadot-exec-ghrelease.mjs",
|
|
258
|
-
"./scripts/polkadot-exec-ghrelease": "./scripts/polkadot-exec-ghrelease.mjs",
|
|
259
|
-
"./scripts/polkadot-exec-node-test.mjs": "./scripts/polkadot-exec-node-test.mjs",
|
|
260
|
-
"./scripts/polkadot-exec-node-test": "./scripts/polkadot-exec-node-test.mjs",
|
|
261
|
-
"./scripts/polkadot-exec-rollup.mjs": "./scripts/polkadot-exec-rollup.mjs",
|
|
262
|
-
"./scripts/polkadot-exec-rollup": "./scripts/polkadot-exec-rollup.mjs",
|
|
263
|
-
"./scripts/polkadot-exec-tsc.mjs": "./scripts/polkadot-exec-tsc.mjs",
|
|
264
|
-
"./scripts/polkadot-exec-tsc": "./scripts/polkadot-exec-tsc.mjs",
|
|
265
|
-
"./scripts/polkadot-exec-webpack.mjs": "./scripts/polkadot-exec-webpack.mjs",
|
|
266
|
-
"./scripts/polkadot-exec-webpack": "./scripts/polkadot-exec-webpack.mjs",
|
|
267
|
-
"./scripts/util.mjs": "./scripts/util.mjs",
|
|
268
|
-
"./scripts/util": "./scripts/util.mjs",
|
|
269
|
-
"./types": {
|
|
270
|
-
"module": {
|
|
271
|
-
"types": "./types.d.ts",
|
|
272
|
-
"default": "./types.js"
|
|
273
|
-
},
|
|
274
|
-
"require": {
|
|
275
|
-
"types": "./cjs/types.d.ts",
|
|
276
|
-
"default": "./cjs/types.js"
|
|
277
|
-
},
|
|
278
|
-
"default": {
|
|
279
|
-
"types": "./types.d.ts",
|
|
280
|
-
"default": "./types.js"
|
|
281
|
-
}
|
|
282
|
-
}
|
|
48
|
+
"./rootJs/dynamic.mjs": "./src/rootJs/dynamic.mjs",
|
|
49
|
+
"./rootJs/testJson.json": "./src/rootJs/testJson.json"
|
|
283
50
|
},
|
|
284
51
|
"dependencies": {
|
|
285
52
|
"@eslint/js": "^8.56.0",
|
|
286
|
-
"@
|
|
287
|
-
"@
|
|
53
|
+
"@pezkuwi/dev-test": "^0.84.2",
|
|
54
|
+
"@pezkuwi/dev-ts": "^0.84.2",
|
|
288
55
|
"@rollup/plugin-alias": "^5.1.1",
|
|
289
56
|
"@rollup/plugin-commonjs": "^25.0.8",
|
|
290
57
|
"@rollup/plugin-dynamic-import-vars": "^2.1.5",
|
|
@@ -325,5 +92,16 @@
|
|
|
325
92
|
"webpack-merge": "^5.10.0",
|
|
326
93
|
"webpack-subresource-integrity": "^5.2.0-rc.1",
|
|
327
94
|
"yargs": "^17.7.2"
|
|
95
|
+
},
|
|
96
|
+
"devDependencies": {
|
|
97
|
+
"@testing-library/react": "^14.1.2",
|
|
98
|
+
"@types/node": "^20.11.5",
|
|
99
|
+
"@types/react": "^18.2.48",
|
|
100
|
+
"@types/react-dom": "^18.2.18",
|
|
101
|
+
"@types/yargs": "^17.0.32",
|
|
102
|
+
"react": "^18.2.0",
|
|
103
|
+
"react-dom": "^18.2.0",
|
|
104
|
+
"react-is": "^18.2.0",
|
|
105
|
+
"styled-components": "^6.1.8"
|
|
328
106
|
}
|
|
329
107
|
}
|
|
@@ -12,10 +12,10 @@ import { copyDirSync, copyFileSync, denoCreateDir, execGit, execPm, execSync, ex
|
|
|
12
12
|
|
|
13
13
|
/** @typedef {Record<string, any>} ChangelogMap */
|
|
14
14
|
|
|
15
|
-
logBin('
|
|
15
|
+
logBin('pezkuwi-ci-ghact-build');
|
|
16
16
|
|
|
17
|
-
const DENO_REPO = '
|
|
18
|
-
const BUND_REPO = '
|
|
17
|
+
const DENO_REPO = 'pezkuwi-js/build-deno.land';
|
|
18
|
+
const BUND_REPO = 'pezkuwi-js/build-bundle';
|
|
19
19
|
|
|
20
20
|
const repo = `${GITHUB_TOKEN_URL}/${GITHUB_REPO}.git`;
|
|
21
21
|
const denoRepo = `${GITHUB_TOKEN_URL}/${DENO_REPO}.git`;
|
|
@@ -305,14 +305,14 @@ function commitClone (repo, clone, names) {
|
|
|
305
305
|
}
|
|
306
306
|
|
|
307
307
|
/**
|
|
308
|
-
* Publishes a specific package to
|
|
308
|
+
* Publishes a specific package to pezkuwi-js bundles
|
|
309
309
|
*
|
|
310
310
|
* @returns {void}
|
|
311
311
|
*/
|
|
312
312
|
function bundlePublishPkg () {
|
|
313
313
|
const { name, version } = npmGetJson();
|
|
314
314
|
const dirName = name.split('/')[1];
|
|
315
|
-
const bundName = `bundle-
|
|
315
|
+
const bundName = `bundle-pezkuwi-${dirName}.js`;
|
|
316
316
|
const srcPath = path.join('build', bundName);
|
|
317
317
|
const dstDir = path.join('../..', bundClone);
|
|
318
318
|
|
|
@@ -333,7 +333,7 @@ function bundlePublishPkg () {
|
|
|
333
333
|
}
|
|
334
334
|
|
|
335
335
|
/**
|
|
336
|
-
* Publishes all packages to
|
|
336
|
+
* Publishes all packages to pezkuwi-js bundles
|
|
337
337
|
*
|
|
338
338
|
* @returns {void}
|
|
339
339
|
*/
|
|
@@ -419,7 +419,7 @@ function verBump () {
|
|
|
419
419
|
|
|
420
420
|
if (argv['skip-beta'] || patch === '0') {
|
|
421
421
|
// don't allow beta versions
|
|
422
|
-
execPm('
|
|
422
|
+
execPm('pezkuwi-dev-version patch');
|
|
423
423
|
withNpm = true;
|
|
424
424
|
} else if (tag || currentVersion === lastVersion) {
|
|
425
425
|
// if we don't want to publish, add an X before passing
|
|
@@ -430,7 +430,7 @@ function verBump () {
|
|
|
430
430
|
}
|
|
431
431
|
|
|
432
432
|
// beta version, just continue the stream of betas
|
|
433
|
-
execPm('
|
|
433
|
+
execPm('pezkuwi-dev-version pre');
|
|
434
434
|
} else {
|
|
435
435
|
// manually set, got for publish
|
|
436
436
|
withNpm = true;
|
|
@@ -440,7 +440,7 @@ function verBump () {
|
|
|
440
440
|
npmSetVersionFields();
|
|
441
441
|
rmFile('.123trigger');
|
|
442
442
|
|
|
443
|
-
execPm('
|
|
443
|
+
execPm('pezkuwi-dev-contrib');
|
|
444
444
|
execGit('add --all .');
|
|
445
445
|
}
|
|
446
446
|
|
|
@@ -473,6 +473,10 @@ function gitPush () {
|
|
|
473
473
|
|
|
474
474
|
skip-checks: true"`);
|
|
475
475
|
|
|
476
|
+
// Make sure the release commit is on top of the latest master
|
|
477
|
+
execGit(`pull --rebase ${repo} master`);
|
|
478
|
+
|
|
479
|
+
// Now push normally
|
|
476
480
|
execGit(`push ${repo} HEAD:${process.env['GITHUB_REF']}`, true);
|
|
477
481
|
|
|
478
482
|
if (doGHRelease) {
|
|
@@ -480,7 +484,7 @@ skip-checks: true"`);
|
|
|
480
484
|
? `--assets ${process.env['GH_RELEASE_FILES']}`
|
|
481
485
|
: '';
|
|
482
486
|
|
|
483
|
-
execPm(`
|
|
487
|
+
execPm(`pezkuwi-exec-ghrelease --draft ${files} --yes`);
|
|
484
488
|
}
|
|
485
489
|
}
|
|
486
490
|
|
|
@@ -522,7 +526,7 @@ getFlags();
|
|
|
522
526
|
verBump();
|
|
523
527
|
|
|
524
528
|
// perform the actual CI build
|
|
525
|
-
execPm('
|
|
529
|
+
execPm('pezkuwi-dev-clean-build');
|
|
526
530
|
execPm('lint');
|
|
527
531
|
execPm('test');
|
|
528
532
|
execPm('build');
|
|
@@ -6,9 +6,9 @@ import { execPm, GITHUB_REPO, GITHUB_TOKEN_URL, gitSetup, logBin } from './util.
|
|
|
6
6
|
|
|
7
7
|
const repo = `${GITHUB_TOKEN_URL}/${GITHUB_REPO}.git`;
|
|
8
8
|
|
|
9
|
-
logBin('
|
|
9
|
+
logBin('pezkuwi-ci-ghact-docs');
|
|
10
10
|
|
|
11
11
|
gitSetup();
|
|
12
12
|
|
|
13
13
|
execPm('run docs');
|
|
14
|
-
execPm(`
|
|
14
|
+
execPm(`pezkuwi-exec-ghpages --dotfiles --repo ${repo} --dist ${process.env['GH_PAGES_SRC']} --dest .`, true);
|
|
@@ -16,7 +16,7 @@ import { copyDirSync, copyFileSync, DENO_EXT_PRE, DENO_LND_PRE, DENO_POL_PRE, en
|
|
|
16
16
|
const WP_CONFIGS = ['js', 'cjs'].map((e) => `webpack.config.${e}`);
|
|
17
17
|
const RL_CONFIGS = ['js', 'mjs', 'cjs'].map((e) => `rollup.config.${e}`);
|
|
18
18
|
|
|
19
|
-
logBin('
|
|
19
|
+
logBin('pezkuwi-dev-build-ts');
|
|
20
20
|
|
|
21
21
|
exitFatalEngine();
|
|
22
22
|
|
|
@@ -45,7 +45,7 @@ const IGNORE_IMPORTS = [
|
|
|
45
45
|
function buildWebpack () {
|
|
46
46
|
const config = WP_CONFIGS.find((c) => fs.existsSync(path.join(process.cwd(), c)));
|
|
47
47
|
|
|
48
|
-
execPm(`
|
|
48
|
+
execPm(`pezkuwi-exec-webpack --config ${config} --mode production`);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
/**
|
|
@@ -303,7 +303,7 @@ function adjustDenoPath (pkgCwd, pkgJson, dir, f, isDeclare) {
|
|
|
303
303
|
//
|
|
304
304
|
// FIXME We cannot enable this until there is support for git deps
|
|
305
305
|
// https://github.com/denoland/deno/issues/18557
|
|
306
|
-
// This is used by @zondax/ledger-
|
|
306
|
+
// This is used by @zondax/ledger-bizinikiwi
|
|
307
307
|
// return `npm:${depName}@${depVersion}${depPath || ''}`;
|
|
308
308
|
} else {
|
|
309
309
|
exitFatal(`Unknown Deno versioned package '${f}' inside ${pkgJson.name}`);
|
|
@@ -1446,7 +1446,7 @@ async function main () {
|
|
|
1446
1446
|
}
|
|
1447
1447
|
}
|
|
1448
1448
|
|
|
1449
|
-
execPm('
|
|
1449
|
+
execPm('pezkuwi-dev-clean-build');
|
|
1450
1450
|
|
|
1451
1451
|
const pkg = JSON.parse(fs.readFileSync(path.join(process.cwd(), './package.json'), 'utf-8'));
|
|
1452
1452
|
|
|
@@ -1465,7 +1465,7 @@ async function main () {
|
|
|
1465
1465
|
.split('.git')[0];
|
|
1466
1466
|
|
|
1467
1467
|
orderPackageJson(repoPath, null, pkg);
|
|
1468
|
-
execPm('
|
|
1468
|
+
execPm('pezkuwi-exec-tsc --build tsconfig.build.json');
|
|
1469
1469
|
|
|
1470
1470
|
process.chdir('packages');
|
|
1471
1471
|
|
|
@@ -1502,7 +1502,7 @@ async function main () {
|
|
|
1502
1502
|
findUnusedTsConfig();
|
|
1503
1503
|
|
|
1504
1504
|
if (RL_CONFIGS.some((c) => fs.existsSync(path.join(process.cwd(), c)))) {
|
|
1505
|
-
execPm('
|
|
1505
|
+
execPm('pezkuwi-exec-rollup --config');
|
|
1506
1506
|
}
|
|
1507
1507
|
|
|
1508
1508
|
if (pkg.scripts) {
|
|
@@ -10,7 +10,7 @@ import { logBin, PATHS_BUILD, rimrafSync } from './util.mjs';
|
|
|
10
10
|
const PKGS = path.join(process.cwd(), 'packages');
|
|
11
11
|
const DIRS = PATHS_BUILD.map((d) => `build${d}`);
|
|
12
12
|
|
|
13
|
-
logBin('
|
|
13
|
+
logBin('pezkuwi-dev-clean-build');
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* @internal
|
|
@@ -9,7 +9,7 @@ import { execGit, logBin, mkdirpSync } from './util.mjs';
|
|
|
9
9
|
const tmpDir = 'packages/build';
|
|
10
10
|
const tmpFile = `${tmpDir}/CONTRIBUTORS`;
|
|
11
11
|
|
|
12
|
-
logBin('
|
|
12
|
+
logBin('pezkuwi-dev-contrib');
|
|
13
13
|
|
|
14
14
|
mkdirpSync(tmpDir);
|
|
15
15
|
execGit(`shortlog master -e -n -s > ${tmpFile}`);
|
|
@@ -26,7 +26,7 @@ for (let i = 0; i < argv.length; i++) {
|
|
|
26
26
|
const sources = args.slice(0, args.length - 1);
|
|
27
27
|
const dest = args[args.length - 1];
|
|
28
28
|
|
|
29
|
-
logBin('
|
|
29
|
+
logBin('pezkuwi-dev-copy-dir');
|
|
30
30
|
|
|
31
31
|
if (!sources || !dest) {
|
|
32
32
|
exitFatal('Expected at least one <source>... and one <destination> argument');
|
|
@@ -9,7 +9,7 @@ import { copyDirSync, execPm, exitFatal, logBin, mkdirpSync, rimrafSync } from '
|
|
|
9
9
|
|
|
10
10
|
const args = process.argv.slice(2);
|
|
11
11
|
|
|
12
|
-
logBin('
|
|
12
|
+
logBin('pezkuwi-dev-copy-to');
|
|
13
13
|
|
|
14
14
|
if (args.length !== 1) {
|
|
15
15
|
exitFatal('Expected one <destination> argument');
|
|
@@ -18,7 +18,7 @@ const [e, i] = fs
|
|
|
18
18
|
}, [[], {}]);
|
|
19
19
|
|
|
20
20
|
if (!fs.existsSync('mod.ts')) {
|
|
21
|
-
fs.writeFileSync('mod.ts', `// Copyright 2017-${new Date().getFullYear()} @pezkuwi/dev authors & contributors\n// SPDX-License-Identifier: Apache-2.0\n\n// auto-generated via
|
|
21
|
+
fs.writeFileSync('mod.ts', `// Copyright 2017-${new Date().getFullYear()} @pezkuwi/dev authors & contributors\n// SPDX-License-Identifier: Apache-2.0\n\n// auto-generated via pezkuwi-dev-deno-map, do not edit\n\n// This is a Deno file, so we can allow .ts imports
|
|
22
22
|
/* eslint-disable import/extensions */\n\n${e.join('\n')}\n`);
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -9,7 +9,7 @@ import { __dirname, execPm, GITHUB_REPO, logBin } from './util.mjs';
|
|
|
9
9
|
|
|
10
10
|
const TS_CONFIG_BUILD = true;
|
|
11
11
|
|
|
12
|
-
logBin('
|
|
12
|
+
logBin('pezkuwi-dev-run-lint');
|
|
13
13
|
|
|
14
14
|
// Since yargs can also be a promise, we just relax the type here completely
|
|
15
15
|
const argv = await yargs(process.argv.slice(2))
|
|
@@ -32,9 +32,9 @@ if (!argv['skip-eslint']) {
|
|
|
32
32
|
? ''
|
|
33
33
|
: '--fix';
|
|
34
34
|
|
|
35
|
-
execPm(`
|
|
35
|
+
execPm(`pezkuwi-exec-eslint ${extra} ${process.cwd()}`);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
if (!argv['skip-tsc']) {
|
|
39
|
-
execPm(`
|
|
39
|
+
execPm(`pezkuwi-exec-tsc --noEmit --emitDeclarationOnly false --pretty${TS_CONFIG_BUILD ? ' --project tsconfig.build.json' : ''}`);
|
|
40
40
|
}
|
|
@@ -13,7 +13,7 @@ const EXT_B = ['ts', 'tsx', 'js', 'jsx', 'cjs', 'mjs'];
|
|
|
13
13
|
// The actual extensions we are looking for
|
|
14
14
|
const EXTS = EXT_A.reduce((/** @type {string[]} */ exts, s) => exts.concat(...EXT_B.map((e) => `.${s}.${e}`)), []);
|
|
15
15
|
|
|
16
|
-
logBin('
|
|
16
|
+
logBin('pezkuwi-dev-run-test');
|
|
17
17
|
|
|
18
18
|
exitFatalEngine();
|
|
19
19
|
|
|
@@ -148,7 +148,7 @@ if (files.length === 0) {
|
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
try {
|
|
151
|
-
const allFlags = `${importPath('@pezkuwi/dev/scripts/
|
|
151
|
+
const allFlags = `${importPath('@pezkuwi/dev/scripts/pezkuwi-exec-node-test.mjs')} ${[...cmd, ...files].join(' ')}`;
|
|
152
152
|
|
|
153
153
|
nodeFlags.push('--require');
|
|
154
154
|
nodeFlags.push(
|
package/scripts/util.mjs
CHANGED
|
@@ -19,8 +19,8 @@ export const DENO_EXT_PRE = 'https://esm.sh';
|
|
|
19
19
|
/** Deno prefix for built-ins */
|
|
20
20
|
export const DENO_LND_PRE = 'https://deno.land';
|
|
21
21
|
|
|
22
|
-
/** Deno prefix for the
|
|
23
|
-
export const DENO_POL_PRE = `${DENO_LND_PRE}/x/
|
|
22
|
+
/** Deno prefix for the pezkuwi package */
|
|
23
|
+
export const DENO_POL_PRE = `${DENO_LND_PRE}/x/pezkuwi`;
|
|
24
24
|
|
|
25
25
|
/** The GH user that we use for actions */
|
|
26
26
|
export const GITHUB_USER = 'github-actions[bot]';
|