@modern-js/utils 2.9.0 → 2.11.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +47 -0
- package/compiled/commander/index.js +1 -1
- package/compiled/commander/package.json +1 -1
- package/compiled/commander/typings/index.d.ts +145 -29
- package/dist/analyzeProject.js +3 -2
- package/dist/babel.d.ts +3 -0
- package/dist/babel.js +136 -0
- package/dist/chainId.d.ts +0 -17
- package/dist/chainId.js +1 -18
- package/dist/commands.d.ts +1 -0
- package/dist/commands.js +7 -1
- package/dist/constants.d.ts +16 -11
- package/dist/constants.js +14 -9
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/{tryResolve.d.ts → resolve.d.ts} +2 -1
- package/dist/{tryResolve.js → resolve.js} +16 -3
- package/dist/universal/constants.d.ts +9 -0
- package/dist/universal/constants.js +30 -0
- package/dist/{format.js → universal/formatWebpack.js} +4 -4
- package/dist/{nestedRoutes.d.ts → universal/nestedRoutes.d.ts} +1 -4
- package/dist/{nestedRoutes.js → universal/nestedRoutes.js} +8 -6
- package/dist/{remix-router.js → universal/remixRouter.js} +3 -3
- package/package.json +32 -24
- /package/dist/{format.d.ts → universal/formatWebpack.d.ts} +0 -0
- /package/dist/{remix-router.d.ts → universal/remixRouter.d.ts} +0 -0
- /package/dist/{serialize.d.ts → universal/serialize.d.ts} +0 -0
- /package/dist/{serialize.js → universal/serialize.js} +0 -0
package/package.json
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
"modern",
|
12
12
|
"modern.js"
|
13
13
|
],
|
14
|
-
"version": "2.
|
14
|
+
"version": "2.11.0",
|
15
15
|
"jsnext:source": "./src/index.ts",
|
16
16
|
"types": "./dist/index.d.ts",
|
17
17
|
"main": "./dist/index.js",
|
@@ -20,12 +20,10 @@
|
|
20
20
|
"exports": {
|
21
21
|
".": "./dist/index.js",
|
22
22
|
"./ssr": "./dist/ssr.js",
|
23
|
-
"./
|
23
|
+
"./babel": "./dist/babel.js",
|
24
24
|
"./logger": "./dist/logger.js",
|
25
|
+
"./chain-id": "./dist/chainId.js",
|
25
26
|
"./constants": "./dist/constants.js",
|
26
|
-
"./serialize": "./dist/serialize.js",
|
27
|
-
"./nestedRoutes": "./dist/nestedRoutes.js",
|
28
|
-
"./remix-router": "./dist/remix-router.js",
|
29
27
|
"./ajv": "./compiled/ajv/index.js",
|
30
28
|
"./glob": "./compiled/glob/index.js",
|
31
29
|
"./chalk": "./compiled/chalk/index.js",
|
@@ -44,7 +42,11 @@
|
|
44
42
|
"./tsconfig-paths": "./compiled/tsconfig-paths/index.js",
|
45
43
|
"./better-ajv-errors": "./compiled/better-ajv-errors/index.js",
|
46
44
|
"./webpack-dev-middleware": "./compiled/webpack-dev-middleware/index.js",
|
47
|
-
"./
|
45
|
+
"./universal/constants": "./dist/universal/constants.js",
|
46
|
+
"./universal/serialize": "./dist/universal/serialize.js",
|
47
|
+
"./universal/remix-router": "./dist/universal/remixRouter.js",
|
48
|
+
"./universal/format-webpack": "./dist/universal/formatWebpack.js",
|
49
|
+
"./universal/nestedRoutes": "./dist/universal/nestedRoutes.js"
|
48
50
|
},
|
49
51
|
"publishConfig": {
|
50
52
|
"registry": "https://registry.npmjs.org/",
|
@@ -55,20 +57,14 @@
|
|
55
57
|
"ssr": [
|
56
58
|
"./dist/ssr.d.ts"
|
57
59
|
],
|
58
|
-
"format": [
|
59
|
-
"./dist/format.d.ts"
|
60
|
-
],
|
61
60
|
"logger": [
|
62
61
|
"./dist/logger.d.ts"
|
63
62
|
],
|
64
63
|
"constants": [
|
65
64
|
"./dist/constants.d.ts"
|
66
65
|
],
|
67
|
-
"
|
68
|
-
"./dist/
|
69
|
-
],
|
70
|
-
"nestedRoutes": [
|
71
|
-
"./dist/nestedRoutes.d.ts"
|
66
|
+
"babel": [
|
67
|
+
"./dist/babel.d.ts"
|
72
68
|
],
|
73
69
|
"ajv": [
|
74
70
|
"./compiled/ajv/types/ajv.d.ts"
|
@@ -85,6 +81,9 @@
|
|
85
81
|
"json5": [
|
86
82
|
"./compiled/json5/index.d.ts"
|
87
83
|
],
|
84
|
+
"chain-id": [
|
85
|
+
"./dist/chainId.d.ts"
|
86
|
+
],
|
88
87
|
"semver": [
|
89
88
|
"./compiled/semver/index.d.ts"
|
90
89
|
],
|
@@ -127,11 +126,20 @@
|
|
127
126
|
"webpack-dev-middleware": [
|
128
127
|
"./compiled/webpack-dev-middleware/types/index.d.ts"
|
129
128
|
],
|
130
|
-
"
|
131
|
-
"./dist/
|
129
|
+
"universal/constants": [
|
130
|
+
"./dist/universal/constants.d.ts"
|
131
|
+
],
|
132
|
+
"universal/serialize": [
|
133
|
+
"./dist/universal/serialize.d.ts"
|
134
|
+
],
|
135
|
+
"universal/remix-router": [
|
136
|
+
"./dist/universal/remixRouter.d.ts"
|
137
|
+
],
|
138
|
+
"universal/format-webpack": [
|
139
|
+
"./dist/universal/formatWebpack.d.ts"
|
132
140
|
],
|
133
|
-
"
|
134
|
-
"./dist/
|
141
|
+
"universal/nestedRoutes": [
|
142
|
+
"./dist/universal/nestedRoutes.d.ts"
|
135
143
|
]
|
136
144
|
}
|
137
145
|
},
|
@@ -161,15 +169,15 @@
|
|
161
169
|
"react": ">=17.0.0",
|
162
170
|
"react-dom": ">=17.0.0",
|
163
171
|
"react-router-dom": "^6.8.1",
|
164
|
-
"@types/jest": "^
|
172
|
+
"@types/jest": "^29",
|
165
173
|
"@types/node": "^14",
|
166
|
-
"jest": "^
|
174
|
+
"jest": "^29",
|
167
175
|
"typescript": "^4",
|
168
|
-
"webpack": "^5.
|
176
|
+
"webpack": "^5.76.2",
|
169
177
|
"@types/serialize-javascript": "^5.0.1",
|
170
|
-
"@modern-js/types": "2.
|
171
|
-
"@scripts/
|
172
|
-
"@scripts/
|
178
|
+
"@modern-js/types": "2.11.0",
|
179
|
+
"@scripts/build": "2.11.0",
|
180
|
+
"@scripts/jest-config": "2.11.0"
|
173
181
|
},
|
174
182
|
"sideEffects": false,
|
175
183
|
"scripts": {
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|