@modern-js/module-tools 1.0.0-rc.7 → 1.0.0-rc.8

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,28 @@
1
1
  # @modern-js/module-tools
2
2
 
3
+ ## 1.0.0-rc.8
4
+
5
+ ### Patch Changes
6
+
7
+ - 224f7fe: fix server route match
8
+ - 204c626: feat: initial
9
+ - Updated dependencies [224f7fe]
10
+ - Updated dependencies [204c626]
11
+ - @modern-js/babel-preset-module@1.0.0-rc.8
12
+ - @modern-js/core@1.0.0-rc.8
13
+ - @modern-js/css-config@1.0.0-rc.8
14
+ - @modern-js/i18n-cli-language-detector@1.0.0-rc.8
15
+ - @modern-js/plugin-analyze@1.0.0-rc.8
16
+ - @modern-js/plugin-changeset@1.0.0-rc.8
17
+ - @modern-js/plugin-fast-refresh@1.0.0-rc.8
18
+ - @modern-js/plugin-i18n@1.0.0-rc.8
19
+ - @modern-js/new-action@1.0.0-rc.8
20
+ - @modern-js/babel-compiler@1.0.0-rc.8
21
+ - @modern-js/style-compiler@1.0.0-rc.8
22
+ - @modern-js/module-tools-hooks@1.0.0-rc.8
23
+ - @modern-js/plugin@1.0.0-rc.8
24
+ - @modern-js/utils@1.0.0-rc.8
25
+
3
26
  ## 1.0.0-rc.7
4
27
 
5
28
  ### Patch Changes
@@ -56,6 +56,7 @@ const copyOriginStyleFiles = ({
56
56
 
57
57
  for (const styleFile of styleFiles) {
58
58
  const file = path.relative(targetDir, styleFile);
59
+ fs.ensureDirSync(path.dirname(path.join(outputDir, file)));
59
60
  fs.copyFileSync(styleFile, path.join(outputDir, file));
60
61
  }
61
62
  };
@@ -72,6 +72,8 @@ const copyOriginStyleFiles = ({
72
72
  for (const styleFile of styleFiles) {
73
73
  const file = path.relative(targetDir, styleFile);
74
74
 
75
+ _utils.fs.ensureDirSync(path.dirname(path.join(outputDir, file)));
76
+
75
77
  _utils.fs.copyFileSync(styleFile, path.join(outputDir, file));
76
78
  }
77
79
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modern-js/module-tools",
3
- "version": "1.0.0-rc.7",
3
+ "version": "1.0.0-rc.8",
4
4
  "bin": {
5
5
  "modern": "./bin/modern.js"
6
6
  },
@@ -33,20 +33,20 @@
33
33
  "@babel/runtime": "^7",
34
34
  "@babel/traverse": "^7.15.0",
35
35
  "@babel/types": "^7.15.0",
36
- "@modern-js/babel-compiler": "^1.0.0-rc.7",
37
- "@modern-js/babel-preset-module": "^1.0.0-rc.7",
38
- "@modern-js/core": "^1.0.0-rc.7",
39
- "@modern-js/css-config": "^1.0.0-rc.7",
40
- "@modern-js/i18n-cli-language-detector": "^1.0.0-rc.7",
41
- "@modern-js/module-tools-hooks": "^1.0.0-rc.7",
42
- "@modern-js/new-action": "^1.0.0-rc.7",
43
- "@modern-js/plugin": "^1.0.0-rc.7",
44
- "@modern-js/plugin-analyze": "^1.0.0-rc.7",
45
- "@modern-js/plugin-changeset": "^1.0.0-rc.7",
46
- "@modern-js/plugin-fast-refresh": "^1.0.0-rc.7",
47
- "@modern-js/plugin-i18n": "^1.0.0-rc.7",
48
- "@modern-js/style-compiler": "^1.0.0-rc.7",
49
- "@modern-js/utils": "^1.0.0-rc.7",
36
+ "@modern-js/babel-compiler": "^1.0.0-rc.8",
37
+ "@modern-js/babel-preset-module": "^1.0.0-rc.8",
38
+ "@modern-js/core": "^1.0.0-rc.8",
39
+ "@modern-js/css-config": "^1.0.0-rc.8",
40
+ "@modern-js/i18n-cli-language-detector": "^1.0.0-rc.8",
41
+ "@modern-js/module-tools-hooks": "^1.0.0-rc.8",
42
+ "@modern-js/new-action": "^1.0.0-rc.8",
43
+ "@modern-js/plugin": "^1.0.0-rc.8",
44
+ "@modern-js/plugin-analyze": "^1.0.0-rc.8",
45
+ "@modern-js/plugin-changeset": "^1.0.0-rc.8",
46
+ "@modern-js/plugin-fast-refresh": "^1.0.0-rc.8",
47
+ "@modern-js/plugin-i18n": "^1.0.0-rc.8",
48
+ "@modern-js/style-compiler": "^1.0.0-rc.8",
49
+ "@modern-js/utils": "^1.0.0-rc.8",
50
50
  "chalk": "^4.1.2",
51
51
  "chokidar": "^3.5.2",
52
52
  "dotenv": "^10.0.0",
@@ -65,7 +65,7 @@
65
65
  },
66
66
  "devDependencies": {
67
67
  "@babel/preset-typescript": "^7.15.0",
68
- "@modern-js/babel-chain": "^1.0.0-rc.7",
68
+ "@modern-js/babel-chain": "^1.0.0-rc.8",
69
69
  "@types/babel__core": "^7.1.15",
70
70
  "@types/babel__generator": "^7.6.3",
71
71
  "@types/babel__traverse": "^7.14.2",
@@ -78,8 +78,8 @@
78
78
  "@types/signale": "^1.4.2",
79
79
  "commander": "^8.1.0",
80
80
  "typescript": "^4",
81
- "@modern-js/plugin-testing": "^1.0.0-rc.7",
82
- "@modern-js/module-tools": "^1.0.0-rc.7"
81
+ "@modern-js/plugin-testing": "^1.0.0-rc.8",
82
+ "@modern-js/module-tools": "^1.0.0-rc.8"
83
83
  },
84
84
  "sideEffects": false,
85
85
  "modernConfig": {
@@ -82,6 +82,7 @@ const copyOriginStyleFiles = ({
82
82
  }
83
83
  for (const styleFile of styleFiles) {
84
84
  const file = path.relative(targetDir, styleFile);
85
+ fs.ensureDirSync(path.dirname(path.join(outputDir, file)));
85
86
  fs.copyFileSync(styleFile, path.join(outputDir, file));
86
87
  }
87
88
  };