@modern-js/module-tools 1.3.1 → 1.3.2

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,19 @@
1
1
  # @modern-js/module-tools
2
2
 
3
+ ## 1.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - c78400c7: fix: remove stylus support
8
+ - Updated dependencies [b7a9eeba]
9
+ - Updated dependencies [53aca274]
10
+ - Updated dependencies [78279953]
11
+ - Updated dependencies [e116ace5]
12
+ - Updated dependencies [4d72edea]
13
+ - @modern-js/plugin-analyze@1.3.1
14
+ - @modern-js/core@1.4.1
15
+ - @modern-js/utils@1.3.1
16
+
3
17
  ## 1.3.1
4
18
 
5
19
  ### Patch Changes
@@ -13,8 +13,10 @@ declare const _default: import("@modern-js/core").AsyncPlugin<Partial<import("@m
13
13
  watchFiles: import("@modern-js/core").ParallelWorkflow<void, unknown>;
14
14
  fileChange: import("@modern-js/core").AsyncWorkflow<{
15
15
  filename: string;
16
+ eventType: "add" | "unlink" | "change";
16
17
  }, void>;
17
18
  beforeExit: import("@modern-js/core").AsyncWorkflow<void, void>;
19
+ beforeRestart: import("@modern-js/core").AsyncWorkflow<void, void>;
18
20
  } & import("@modern-js/core").ClearDraftProgress<import("@modern-js/core").Hooks>>>>;
19
21
 
20
22
  export default _default;
package/lib/types.d.ts CHANGED
@@ -70,11 +70,6 @@ declare module '*.less' {
70
70
  export default classes;
71
71
  }
72
72
 
73
- declare module '*.styl' {
74
- const classes: { readonly [key: string]: string };
75
- export default classes;
76
- }
77
-
78
73
  declare module '*.sass' {
79
74
  const classes: { readonly [key: string]: string };
80
75
  export default classes;
@@ -95,11 +90,6 @@ declare module '*.module.less' {
95
90
  export default classes;
96
91
  }
97
92
 
98
- declare module '*.module.styl' {
99
- const classes: { readonly [key: string]: string };
100
- export default classes;
101
- }
102
-
103
93
  declare module '*.module.sass' {
104
94
  const classes: { readonly [key: string]: string };
105
95
  export default classes;
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.3.1",
14
+ "version": "1.3.2",
15
15
  "bin": {
16
16
  "modern": "./bin/modern.js"
17
17
  },
@@ -53,17 +53,17 @@
53
53
  "@babel/types": "^7.15.0",
54
54
  "@modern-js/babel-compiler": "^1.2.1",
55
55
  "@modern-js/babel-preset-module": "^1.3.1",
56
- "@modern-js/core": "^1.3.2",
56
+ "@modern-js/core": "^1.4.1",
57
57
  "@modern-js/css-config": "^1.2.1",
58
58
  "@modern-js/i18n-cli-language-detector": "^1.2.1",
59
59
  "@modern-js/module-tools-hooks": "^1.2.1",
60
60
  "@modern-js/new-action": "^1.3.1",
61
- "@modern-js/plugin-analyze": "^1.2.1",
61
+ "@modern-js/plugin-analyze": "^1.3.1",
62
62
  "@modern-js/plugin-changeset": "^1.2.1",
63
63
  "@modern-js/plugin-fast-refresh": "^1.2.1",
64
64
  "@modern-js/plugin-i18n": "^1.2.1",
65
65
  "@modern-js/style-compiler": "^1.2.1",
66
- "@modern-js/utils": "^1.2.2",
66
+ "@modern-js/utils": "^1.3.1",
67
67
  "chalk": "^4.1.2",
68
68
  "chokidar": "^3.5.2",
69
69
  "dotenv": "^10.0.0",
@@ -107,8 +107,7 @@
107
107
  },
108
108
  "publishConfig": {
109
109
  "registry": "https://registry.npmjs.org/",
110
- "access": "public",
111
- "types": "./dist/types/index.d.ts"
110
+ "access": "public"
112
111
  },
113
112
  "scripts": {
114
113
  "new": "modern new",