@modern-js/types 1.2.0 → 1.2.1

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,14 @@
1
1
  # @modern-js/types
2
2
 
3
+ ## 1.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 83166714: change .npmignore
8
+ - b7c48198: feat: add beforeGenerateRoutes hook
9
+ - Updated dependencies [83166714]
10
+ - @modern-js/plugin@1.2.1
11
+
3
12
  ## 1.2.0
4
13
 
5
14
  ### Minor Changes
package/cli/index.d.ts CHANGED
@@ -121,4 +121,8 @@ export interface Hooks {
121
121
  partials: HtmlPartials;
122
122
  }>;
123
123
  addRuntimeExports: AsyncWaterfall<void>;
124
+ beforeGenerateRoutes: AsyncWaterfall<{
125
+ entrypoint: Entrypoint;
126
+ code: string;
127
+ }>;
124
128
  }
package/package.json CHANGED
@@ -11,10 +11,10 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.2.0",
14
+ "version": "1.2.1",
15
15
  "types": "./index.d.ts",
16
16
  "dependencies": {
17
- "@modern-js/plugin": "^1.2.0",
17
+ "@modern-js/plugin": "^1.2.1",
18
18
  "webpack": "^5.54.0"
19
19
  },
20
20
  "exports": {