@modern-js/app-tools 1.0.0-rc.17 → 1.0.0-rc.21
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/CHANGELOG.md +104 -0
- package/dist/js/modern/index.js +1 -6
- package/dist/js/modern/utils/printInstructions.js +1 -1
- package/dist/js/node/index.js +1 -6
- package/dist/js/node/utils/printInstructions.js +1 -1
- package/lib/types.d.ts +1 -1
- package/package.json +62 -61
- package/src/index.ts +1 -5
- package/src/utils/printInstructions.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,109 @@
|
|
|
1
1
|
# @modern-js/app-tools
|
|
2
2
|
|
|
3
|
+
## 1.0.0-rc.21
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 224f7fe: fix server route match
|
|
8
|
+
- 30ac27c: feat: add generator package description
|
|
9
|
+
- 0fd196e: feat: fix bugs
|
|
10
|
+
- 204c626: feat: initial
|
|
11
|
+
- 63be0a5: fix: #118 #104
|
|
12
|
+
- Updated dependencies [224f7fe]
|
|
13
|
+
- Updated dependencies [30ac27c]
|
|
14
|
+
- Updated dependencies [0fd196e]
|
|
15
|
+
- Updated dependencies [204c626]
|
|
16
|
+
- Updated dependencies [63be0a5]
|
|
17
|
+
- @modern-js/core@1.0.0-rc.21
|
|
18
|
+
- @modern-js/i18n-cli-language-detector@1.0.0-rc.21
|
|
19
|
+
- @modern-js/plugin-analyze@1.0.0-rc.21
|
|
20
|
+
- @modern-js/plugin-fast-refresh@1.0.0-rc.21
|
|
21
|
+
- @modern-js/plugin-i18n@1.0.0-rc.21
|
|
22
|
+
- @modern-js/webpack@1.0.0-rc.21
|
|
23
|
+
- @modern-js/new-action@1.0.0-rc.21
|
|
24
|
+
- @modern-js/plugin-polyfill@1.0.0-rc.21
|
|
25
|
+
- @modern-js/server@1.0.0-rc.21
|
|
26
|
+
- @modern-js/plugin@1.0.0-rc.21
|
|
27
|
+
- @modern-js/types@1.0.0-rc.21
|
|
28
|
+
- @modern-js/utils@1.0.0-rc.21
|
|
29
|
+
|
|
30
|
+
## 1.0.0-rc.20
|
|
31
|
+
|
|
32
|
+
### Patch Changes
|
|
33
|
+
|
|
34
|
+
- 224f7fe: fix server route match
|
|
35
|
+
- 30ac27c: feat: add generator package description
|
|
36
|
+
- feat: fix bugs
|
|
37
|
+
- 204c626: feat: initial
|
|
38
|
+
- 63be0a5: fix: #118 #104
|
|
39
|
+
- Updated dependencies [224f7fe]
|
|
40
|
+
- Updated dependencies [30ac27c]
|
|
41
|
+
- Updated dependencies [undefined]
|
|
42
|
+
- Updated dependencies [204c626]
|
|
43
|
+
- Updated dependencies [63be0a5]
|
|
44
|
+
- @modern-js/core@1.0.0-rc.20
|
|
45
|
+
- @modern-js/i18n-cli-language-detector@1.0.0-rc.20
|
|
46
|
+
- @modern-js/plugin-analyze@1.0.0-rc.20
|
|
47
|
+
- @modern-js/plugin-fast-refresh@1.0.0-rc.20
|
|
48
|
+
- @modern-js/plugin-i18n@1.0.0-rc.20
|
|
49
|
+
- @modern-js/webpack@1.0.0-rc.20
|
|
50
|
+
- @modern-js/new-action@1.0.0-rc.20
|
|
51
|
+
- @modern-js/plugin-polyfill@1.0.0-rc.20
|
|
52
|
+
- @modern-js/server@1.0.0-rc.20
|
|
53
|
+
- @modern-js/plugin@1.0.0-rc.20
|
|
54
|
+
- @modern-js/types@1.0.0-rc.20
|
|
55
|
+
- @modern-js/utils@1.0.0-rc.20
|
|
56
|
+
|
|
57
|
+
## 1.0.0-rc.19
|
|
58
|
+
|
|
59
|
+
### Patch Changes
|
|
60
|
+
|
|
61
|
+
- 224f7fe: fix server route match
|
|
62
|
+
- 30ac27c: feat: add generator package description
|
|
63
|
+
- 204c626: feat: initial
|
|
64
|
+
- 63be0a5: fix: #118 #104
|
|
65
|
+
- Updated dependencies [224f7fe]
|
|
66
|
+
- Updated dependencies [30ac27c]
|
|
67
|
+
- Updated dependencies [204c626]
|
|
68
|
+
- Updated dependencies [63be0a5]
|
|
69
|
+
- @modern-js/core@1.0.0-rc.19
|
|
70
|
+
- @modern-js/i18n-cli-language-detector@1.0.0-rc.19
|
|
71
|
+
- @modern-js/plugin-analyze@1.0.0-rc.19
|
|
72
|
+
- @modern-js/plugin-fast-refresh@1.0.0-rc.19
|
|
73
|
+
- @modern-js/plugin-i18n@1.0.0-rc.19
|
|
74
|
+
- @modern-js/webpack@1.0.0-rc.19
|
|
75
|
+
- @modern-js/new-action@1.0.0-rc.19
|
|
76
|
+
- @modern-js/plugin-polyfill@1.0.0-rc.19
|
|
77
|
+
- @modern-js/server@1.0.0-rc.19
|
|
78
|
+
- @modern-js/plugin@1.0.0-rc.19
|
|
79
|
+
- @modern-js/types@1.0.0-rc.19
|
|
80
|
+
- @modern-js/utils@1.0.0-rc.19
|
|
81
|
+
|
|
82
|
+
## 1.0.0-rc.18
|
|
83
|
+
|
|
84
|
+
### Patch Changes
|
|
85
|
+
|
|
86
|
+
- 224f7fe: fix server route match
|
|
87
|
+
- 30ac27c: feat: add generator package description
|
|
88
|
+
- 204c626: feat: initial
|
|
89
|
+
- 63be0a5: fix: #118 #104
|
|
90
|
+
- Updated dependencies [224f7fe]
|
|
91
|
+
- Updated dependencies [30ac27c]
|
|
92
|
+
- Updated dependencies [204c626]
|
|
93
|
+
- Updated dependencies [63be0a5]
|
|
94
|
+
- @modern-js/core@1.0.0-rc.18
|
|
95
|
+
- @modern-js/i18n-cli-language-detector@1.0.0-rc.18
|
|
96
|
+
- @modern-js/plugin-analyze@1.0.0-rc.18
|
|
97
|
+
- @modern-js/plugin-fast-refresh@1.0.0-rc.18
|
|
98
|
+
- @modern-js/plugin-i18n@1.0.0-rc.18
|
|
99
|
+
- @modern-js/webpack@1.0.0-rc.18
|
|
100
|
+
- @modern-js/new-action@1.0.0-rc.18
|
|
101
|
+
- @modern-js/plugin-polyfill@1.0.0-rc.18
|
|
102
|
+
- @modern-js/server@1.0.0-rc.18
|
|
103
|
+
- @modern-js/plugin@1.0.0-rc.18
|
|
104
|
+
- @modern-js/types@1.0.0-rc.18
|
|
105
|
+
- @modern-js/utils@1.0.0-rc.18
|
|
106
|
+
|
|
3
107
|
## 1.0.0-rc.17
|
|
4
108
|
|
|
5
109
|
### Patch Changes
|
package/dist/js/modern/index.js
CHANGED
|
@@ -4,7 +4,7 @@ export const printInstructions = async (appContext, config) => {
|
|
|
4
4
|
let message = prettyInstructions(appContext, config);
|
|
5
5
|
|
|
6
6
|
if (isDev()) {
|
|
7
|
-
message += `\n${chalk.cyanBright([`Note that the development build is not optimized.`, `To create a production build,
|
|
7
|
+
message += `\n${chalk.cyanBright([`Note that the development build is not optimized.`, `To create a production build, execute build command.`].join('\n'))}`;
|
|
8
8
|
} // call beforePrintInstructions hook.
|
|
9
9
|
|
|
10
10
|
|
package/dist/js/node/index.js
CHANGED
|
@@ -73,12 +73,7 @@ var _default = (0, _core.createPlugin)(() => {
|
|
|
73
73
|
},
|
|
74
74
|
|
|
75
75
|
async fileChange() {
|
|
76
|
-
|
|
77
|
-
const shouldRestart = await _core.cli.restart();
|
|
78
|
-
|
|
79
|
-
if (shouldRestart) {
|
|
80
|
-
await (0, _dev.dev)();
|
|
81
|
-
}
|
|
76
|
+
await _core.cli.restart();
|
|
82
77
|
}
|
|
83
78
|
|
|
84
79
|
};
|
|
@@ -13,7 +13,7 @@ const printInstructions = async (appContext, config) => {
|
|
|
13
13
|
let message = (0, _utils.prettyInstructions)(appContext, config);
|
|
14
14
|
|
|
15
15
|
if ((0, _utils.isDev)()) {
|
|
16
|
-
message += `\n${_utils.chalk.cyanBright([`Note that the development build is not optimized.`, `To create a production build,
|
|
16
|
+
message += `\n${_utils.chalk.cyanBright([`Note that the development build is not optimized.`, `To create a production build, execute build command.`].join('\n'))}`;
|
|
17
17
|
} // call beforePrintInstructions hook.
|
|
18
18
|
|
|
19
19
|
|
package/lib/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,62 +1,63 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}
|
|
2
|
+
"name": "@modern-js/app-tools",
|
|
3
|
+
"description": "Modern.js app tools",
|
|
4
|
+
"version": "1.0.0-rc.21",
|
|
5
|
+
"jsnext:source": "./src/index.ts",
|
|
6
|
+
"types": "./lib/types.d.ts",
|
|
7
|
+
"main": "./dist/js/node/index.js",
|
|
8
|
+
"module": "./dist/js/treeshaking/index.js",
|
|
9
|
+
"jsnext:modern": "./dist/js/modern/index.js",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"node": {
|
|
13
|
+
"import": "./dist/js/modern/index.js",
|
|
14
|
+
"require": "./dist/js/node/index.js"
|
|
15
|
+
},
|
|
16
|
+
"default": "./dist/js/treeshaking/index.js"
|
|
17
|
+
},
|
|
18
|
+
"./cli": "./dist/js/node/index.js"
|
|
19
|
+
},
|
|
20
|
+
"bin": {
|
|
21
|
+
"modern": "./bin/modern.js"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@babel/runtime": "^7",
|
|
25
|
+
"@modern-js/core": "^1.0.0-rc.21",
|
|
26
|
+
"@modern-js/types": "^1.0.0-rc.21",
|
|
27
|
+
"@modern-js/i18n-cli-language-detector": "^1.0.0-rc.21",
|
|
28
|
+
"@modern-js/new-action": "^1.0.0-rc.21",
|
|
29
|
+
"@modern-js/plugin": "^1.0.0-rc.21",
|
|
30
|
+
"@modern-js/plugin-analyze": "^1.0.0-rc.21",
|
|
31
|
+
"@modern-js/plugin-fast-refresh": "^1.0.0-rc.21",
|
|
32
|
+
"@modern-js/plugin-i18n": "^1.0.0-rc.21",
|
|
33
|
+
"@modern-js/plugin-polyfill": "^1.0.0-rc.21",
|
|
34
|
+
"@modern-js/server": "^1.0.0-rc.21",
|
|
35
|
+
"@modern-js/utils": "^1.0.0-rc.21",
|
|
36
|
+
"@modern-js/webpack": "^1.0.0-rc.21",
|
|
37
|
+
"webpack": "^5.54.0"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@types/jest": "^26",
|
|
41
|
+
"@types/node": "^14",
|
|
42
|
+
"@types/react": "^17",
|
|
43
|
+
"@types/react-dom": "^17",
|
|
44
|
+
"typescript": "^4",
|
|
45
|
+
"@modern-js/plugin-testing": "^1.0.0-rc.21",
|
|
46
|
+
"@modern-js/module-tools": "^1.0.0-rc.21"
|
|
47
|
+
},
|
|
48
|
+
"sideEffects": false,
|
|
49
|
+
"modernConfig": {
|
|
50
|
+
"output": {
|
|
51
|
+
"packageMode": "node-js"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"publishConfig": {
|
|
55
|
+
"registry": "https://registry.npmjs.org/",
|
|
56
|
+
"access": "public"
|
|
57
|
+
},
|
|
58
|
+
"scripts": {
|
|
59
|
+
"new": "modern new",
|
|
60
|
+
"build": "modern build",
|
|
61
|
+
"test": "modern test --passWithNoTests"
|
|
62
|
+
}
|
|
63
|
+
}
|
package/src/index.ts
CHANGED
|
@@ -11,7 +11,7 @@ export const printInstructions = async (
|
|
|
11
11
|
message += `\n${chalk.cyanBright(
|
|
12
12
|
[
|
|
13
13
|
`Note that the development build is not optimized.`,
|
|
14
|
-
`To create a production build,
|
|
14
|
+
`To create a production build, execute build command.`,
|
|
15
15
|
].join('\n'),
|
|
16
16
|
)}`;
|
|
17
17
|
}
|