@modern-js/app-tools 1.0.0-rc.17 → 1.0.0-rc.19

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 CHANGED
@@ -1,5 +1,55 @@
1
1
  # @modern-js/app-tools
2
2
 
3
+ ## 1.0.0-rc.19
4
+
5
+ ### Patch Changes
6
+
7
+ - 224f7fe: fix server route match
8
+ - 30ac27c: feat: add generator package description
9
+ - 204c626: feat: initial
10
+ - 63be0a5: fix: #118 #104
11
+ - Updated dependencies [224f7fe]
12
+ - Updated dependencies [30ac27c]
13
+ - Updated dependencies [204c626]
14
+ - Updated dependencies [63be0a5]
15
+ - @modern-js/core@1.0.0-rc.19
16
+ - @modern-js/i18n-cli-language-detector@1.0.0-rc.19
17
+ - @modern-js/plugin-analyze@1.0.0-rc.19
18
+ - @modern-js/plugin-fast-refresh@1.0.0-rc.19
19
+ - @modern-js/plugin-i18n@1.0.0-rc.19
20
+ - @modern-js/webpack@1.0.0-rc.19
21
+ - @modern-js/new-action@1.0.0-rc.19
22
+ - @modern-js/plugin-polyfill@1.0.0-rc.19
23
+ - @modern-js/server@1.0.0-rc.19
24
+ - @modern-js/plugin@1.0.0-rc.19
25
+ - @modern-js/types@1.0.0-rc.19
26
+ - @modern-js/utils@1.0.0-rc.19
27
+
28
+ ## 1.0.0-rc.18
29
+
30
+ ### Patch Changes
31
+
32
+ - 224f7fe: fix server route match
33
+ - 30ac27c: feat: add generator package description
34
+ - 204c626: feat: initial
35
+ - 63be0a5: fix: #118 #104
36
+ - Updated dependencies [224f7fe]
37
+ - Updated dependencies [30ac27c]
38
+ - Updated dependencies [204c626]
39
+ - Updated dependencies [63be0a5]
40
+ - @modern-js/core@1.0.0-rc.18
41
+ - @modern-js/i18n-cli-language-detector@1.0.0-rc.18
42
+ - @modern-js/plugin-analyze@1.0.0-rc.18
43
+ - @modern-js/plugin-fast-refresh@1.0.0-rc.18
44
+ - @modern-js/plugin-i18n@1.0.0-rc.18
45
+ - @modern-js/webpack@1.0.0-rc.18
46
+ - @modern-js/new-action@1.0.0-rc.18
47
+ - @modern-js/plugin-polyfill@1.0.0-rc.18
48
+ - @modern-js/server@1.0.0-rc.18
49
+ - @modern-js/plugin@1.0.0-rc.18
50
+ - @modern-js/types@1.0.0-rc.18
51
+ - @modern-js/utils@1.0.0-rc.18
52
+
3
53
  ## 1.0.0-rc.17
4
54
 
5
55
  ### Patch Changes
@@ -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, use yarn build.`].join('\n'))}`;
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
 
@@ -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, use yarn build.`].join('\n'))}`;
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
@@ -1,7 +1,7 @@
1
1
  /// <reference types="node" />
2
2
  /// <reference types="react" />
3
3
  /// <reference types="react-dom" />
4
- /// <reference path="./dist/types/index.d.ts" />
4
+ /// <reference path="../dist/types/index.d.ts" />
5
5
 
6
6
  declare namespace NodeJS {
7
7
  interface ProcessEnv {
package/package.json CHANGED
@@ -1,62 +1,62 @@
1
1
  {
2
- "name": "@modern-js/app-tools",
3
- "version": "1.0.0-rc.17",
4
- "jsnext:source": "./src/index.ts",
5
- "types": "./lib/types.d.ts",
6
- "main": "./dist/js/node/index.js",
7
- "module": "./dist/js/treeshaking/index.js",
8
- "jsnext:modern": "./dist/js/modern/index.js",
9
- "exports": {
10
- ".": {
11
- "node": {
12
- "import": "./dist/js/modern/index.js",
13
- "require": "./dist/js/node/index.js"
14
- },
15
- "default": "./dist/js/treeshaking/index.js"
16
- },
17
- "./cli": "./dist/js/node/index.js"
18
- },
19
- "bin": {
20
- "modern": "./bin/modern.js"
21
- },
22
- "dependencies": {
23
- "@babel/runtime": "^7",
24
- "@modern-js/core": "^1.0.0-rc.17",
25
- "@modern-js/types": "^1.0.0-rc.17",
26
- "@modern-js/i18n-cli-language-detector": "^1.0.0-rc.17",
27
- "@modern-js/new-action": "^1.0.0-rc.17",
28
- "@modern-js/plugin": "^1.0.0-rc.17",
29
- "@modern-js/plugin-analyze": "^1.0.0-rc.17",
30
- "@modern-js/plugin-fast-refresh": "^1.0.0-rc.17",
31
- "@modern-js/plugin-i18n": "^1.0.0-rc.17",
32
- "@modern-js/plugin-polyfill": "^1.0.0-rc.17",
33
- "@modern-js/server": "^1.0.0-rc.17",
34
- "@modern-js/utils": "^1.0.0-rc.17",
35
- "@modern-js/webpack": "^1.0.0-rc.17",
36
- "webpack": "^5.54.0"
37
- },
38
- "devDependencies": {
39
- "@types/jest": "^26",
40
- "@types/node": "^14",
41
- "@types/react": "^17",
42
- "@types/react-dom": "^17",
43
- "typescript": "^4",
44
- "@modern-js/plugin-testing": "^1.0.0-rc.17",
45
- "@modern-js/module-tools": "^1.0.0-rc.17"
46
- },
47
- "sideEffects": false,
48
- "modernConfig": {
49
- "output": {
50
- "packageMode": "node-js"
51
- }
52
- },
53
- "publishConfig": {
54
- "registry": "https://registry.npmjs.org/",
55
- "access": "public"
56
- },
57
- "scripts": {
58
- "new": "modern new",
59
- "build": "modern build",
60
- "test": "modern test --passWithNoTests"
61
- }
62
- }
2
+ "name": "@modern-js/app-tools",
3
+ "version": "1.0.0-rc.19",
4
+ "jsnext:source": "./src/index.ts",
5
+ "types": "./lib/types.d.ts",
6
+ "main": "./dist/js/node/index.js",
7
+ "module": "./dist/js/treeshaking/index.js",
8
+ "jsnext:modern": "./dist/js/modern/index.js",
9
+ "exports": {
10
+ ".": {
11
+ "node": {
12
+ "import": "./dist/js/modern/index.js",
13
+ "require": "./dist/js/node/index.js"
14
+ },
15
+ "default": "./dist/js/treeshaking/index.js"
16
+ },
17
+ "./cli": "./dist/js/node/index.js"
18
+ },
19
+ "bin": {
20
+ "modern": "./bin/modern.js"
21
+ },
22
+ "dependencies": {
23
+ "@babel/runtime": "^7",
24
+ "@modern-js/core": "^1.0.0-rc.19",
25
+ "@modern-js/types": "^1.0.0-rc.19",
26
+ "@modern-js/i18n-cli-language-detector": "^1.0.0-rc.19",
27
+ "@modern-js/new-action": "^1.0.0-rc.19",
28
+ "@modern-js/plugin": "^1.0.0-rc.19",
29
+ "@modern-js/plugin-analyze": "^1.0.0-rc.19",
30
+ "@modern-js/plugin-fast-refresh": "^1.0.0-rc.19",
31
+ "@modern-js/plugin-i18n": "^1.0.0-rc.19",
32
+ "@modern-js/plugin-polyfill": "^1.0.0-rc.19",
33
+ "@modern-js/server": "^1.0.0-rc.19",
34
+ "@modern-js/utils": "^1.0.0-rc.19",
35
+ "@modern-js/webpack": "^1.0.0-rc.19",
36
+ "webpack": "^5.54.0"
37
+ },
38
+ "devDependencies": {
39
+ "@types/jest": "^26",
40
+ "@types/node": "^14",
41
+ "@types/react": "^17",
42
+ "@types/react-dom": "^17",
43
+ "typescript": "^4",
44
+ "@modern-js/plugin-testing": "^1.0.0-rc.19",
45
+ "@modern-js/module-tools": "^1.0.0-rc.19"
46
+ },
47
+ "sideEffects": false,
48
+ "modernConfig": {
49
+ "output": {
50
+ "packageMode": "node-js"
51
+ }
52
+ },
53
+ "publishConfig": {
54
+ "registry": "https://registry.npmjs.org/",
55
+ "access": "public"
56
+ },
57
+ "scripts": {
58
+ "new": "modern new",
59
+ "build": "modern build",
60
+ "test": "modern test --passWithNoTests"
61
+ }
62
+ }
@@ -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, use yarn build.`,
14
+ `To create a production build, execute build command.`,
15
15
  ].join('\n'),
16
16
  )}`;
17
17
  }