@modern-js/app-tools 0.0.0-canary-20211113104942 → 0.0.0-runtime-2021112193858

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,43 @@
1
1
  # @modern-js/app-tools
2
2
 
3
+ ## 0.0.0-runtime-2021112193858
4
+
5
+ ### Patch Changes
6
+
7
+ - 8698465e: fix: dependence version
8
+ - Updated dependencies [8698465e]
9
+ - Updated dependencies [e04914ce]
10
+ - Updated dependencies [e04914ce]
11
+ - @modern-js/core@0.0.0-runtime-2021112193858
12
+ - @modern-js/i18n-cli-language-detector@0.0.0-runtime-2021112193858
13
+ - @modern-js/plugin-analyze@0.0.0-runtime-2021112193858
14
+ - @modern-js/plugin-fast-refresh@0.0.0-runtime-2021112193858
15
+ - @modern-js/plugin-i18n@0.0.0-runtime-2021112193858
16
+ - @modern-js/webpack@0.0.0-runtime-2021112193858
17
+ - @modern-js/new-action@0.0.0-runtime-2021112193858
18
+ - @modern-js/plugin-polyfill@0.0.0-runtime-2021112193858
19
+ - @modern-js/server@0.0.0-runtime-2021112193858
20
+ - @modern-js/plugin@0.0.0-runtime-2021112193858
21
+ - @modern-js/utils@0.0.0-runtime-2021112193858
22
+ - @modern-js/types@0.0.0-runtime-2021112193858
23
+
24
+ ## 1.1.5
25
+
26
+ ### Patch Changes
27
+
28
+ - d927bc83: remove esbuild and use @modenr-js/esbuild-compiler
29
+ - Updated dependencies [d927bc83]
30
+ - Updated dependencies [d73ff455]
31
+ - Updated dependencies [9c1ab865]
32
+ - Updated dependencies [d73ff455]
33
+ - Updated dependencies [d73ff455]
34
+ - Updated dependencies [d73ff455]
35
+ - Updated dependencies [d73ff455]
36
+ - @modern-js/utils@1.1.4
37
+ - @modern-js/core@1.1.4
38
+ - @modern-js/server@1.1.4
39
+ - @modern-js/types@1.1.3
40
+
3
41
  ## 1.1.4
4
42
 
5
43
  ### Patch Changes
@@ -14,6 +14,6 @@ export declare const beforeBuild: import("@modern-js/plugin").AsyncWorkflow<{
14
14
  webpackConfigs: Configuration[];
15
15
  }, unknown>;
16
16
  export declare const afterBuild: import("@modern-js/plugin").AsyncWorkflow<void, unknown>;
17
- export declare const beforeDeploy: import("@modern-js/plugin").AsyncWorkflow<void, unknown>;
18
- export declare const afterDeploy: import("@modern-js/plugin").AsyncWorkflow<void, unknown>;
17
+ export declare const beforeDeploy: import("@modern-js/plugin").AsyncWorkflow<Record<string, any>, unknown>;
18
+ export declare const afterDeploy: import("@modern-js/plugin").AsyncWorkflow<Record<string, any>, unknown>;
19
19
  export declare const lifecycle: () => void;
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "0.0.0-canary-20211113104942",
14
+ "version": "0.0.0-runtime-2021112193858",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./lib/types.d.ts",
17
17
  "main": "./dist/js/node/index.js",
@@ -30,28 +30,20 @@
30
30
  "bin": {
31
31
  "modern": "./bin/modern.js"
32
32
  },
33
- "scripts": {
34
- "prepare": "pnpm build",
35
- "prepublishOnly": "pnpm build -- --platform",
36
- "new": "modern new",
37
- "build": "modern build",
38
- "test": "modern test --passWithNoTests"
39
- },
40
33
  "dependencies": {
41
34
  "@babel/runtime": "^7",
42
- "@modern-js/core": "^1.1.3",
43
- "@modern-js/types": "^1.1.2",
44
- "@modern-js/i18n-cli-language-detector": "^1.1.1",
45
- "@modern-js/new-action": "^1.1.5",
46
- "@modern-js/plugin": "^1.1.2",
47
- "@modern-js/plugin-analyze": "^1.1.1",
48
- "@modern-js/plugin-fast-refresh": "^1.1.1",
49
- "@modern-js/plugin-i18n": "^1.1.1",
50
- "@modern-js/plugin-polyfill": "^1.1.1",
51
- "@modern-js/server": "^1.1.3",
52
- "@modern-js/utils": "^1.1.3",
53
- "@modern-js/webpack": "^1.1.3",
54
- "esbuild": "^0.13.13",
35
+ "@modern-js/core": "^0.0.0-runtime-2021112193858",
36
+ "@modern-js/types": "^0.0.0-runtime-2021112193858",
37
+ "@modern-js/i18n-cli-language-detector": "^0.0.0-runtime-2021112193858",
38
+ "@modern-js/new-action": "^0.0.0-runtime-2021112193858",
39
+ "@modern-js/plugin": "^0.0.0-runtime-2021112193858",
40
+ "@modern-js/plugin-analyze": "^0.0.0-runtime-2021112193858",
41
+ "@modern-js/plugin-fast-refresh": "^0.0.0-runtime-2021112193858",
42
+ "@modern-js/plugin-i18n": "^0.0.0-runtime-2021112193858",
43
+ "@modern-js/plugin-polyfill": "^0.0.0-runtime-2021112193858",
44
+ "@modern-js/server": "^0.0.0-runtime-2021112193858",
45
+ "@modern-js/utils": "^0.0.0-runtime-2021112193858",
46
+ "@modern-js/webpack": "^0.0.0-runtime-2021112193858",
55
47
  "webpack": "^5.54.0"
56
48
  },
57
49
  "devDependencies": {
@@ -59,9 +51,9 @@
59
51
  "@types/node": "^14",
60
52
  "@types/react": "^17",
61
53
  "@types/react-dom": "^17",
62
- "typescript": "^4",
63
- "@modern-js/plugin-testing": "^1.1.1",
64
- "@modern-js/module-tools": "^1.1.1"
54
+ "typescript": "^4.4.4",
55
+ "@modern-js/plugin-testing": "^0.0.0-runtime-2021112193858",
56
+ "@modern-js/module-tools": "^0.0.0-runtime-2021112193858"
65
57
  },
66
58
  "sideEffects": false,
67
59
  "modernConfig": {
@@ -72,5 +64,10 @@
72
64
  "publishConfig": {
73
65
  "registry": "https://registry.npmjs.org/",
74
66
  "access": "public"
67
+ },
68
+ "scripts": {
69
+ "new": "modern new",
70
+ "build": "modern build",
71
+ "test": "modern test --passWithNoTests"
75
72
  }
76
- }
73
+ }
package/src/lifecycle.ts CHANGED
@@ -24,9 +24,9 @@ export const beforeBuild = createAsyncWorkflow<{
24
24
 
25
25
  export const afterBuild = createAsyncWorkflow();
26
26
 
27
- export const beforeDeploy = createAsyncWorkflow();
27
+ export const beforeDeploy = createAsyncWorkflow<Record<string, any>>();
28
28
 
29
- export const afterDeploy = createAsyncWorkflow();
29
+ export const afterDeploy = createAsyncWorkflow<Record<string, any>>();
30
30
 
31
31
  export const lifecycle = () => {
32
32
  registerHook({