@varlet/cli 1.23.7 → 1.23.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
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.23.8](https://github.com/haoziqaq/varlet/compare/v1.23.7...v1.23.8) (2021-11-24)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **cli:** add ts ignore to generate routes ([3363578](https://github.com/haoziqaq/varlet/commit/3363578eb2763282fd3c274ab75374cbff94c92b))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [1.23.7](https://github.com/haoziqaq/varlet/compare/v1.23.6...v1.23.7) (2021-11-23)
7
18
 
8
19
 
@@ -161,7 +161,7 @@ function buildMobileSiteRoutes() {
161
161
  case 0: return [4 /*yield*/, findExamplePaths()];
162
162
  case 1:
163
163
  examplePaths = _a.sent();
164
- routes = examplePaths.map(function (examplePath) { return "\n {\n path: '" + getExampleRoutePath(examplePath) + "',\n component: () => import('" + examplePath + "')\n }"; });
164
+ routes = examplePaths.map(function (examplePath) { return "\n {\n path: '" + getExampleRoutePath(examplePath) + "',\n // @ts-ignore\n component: () => import('" + examplePath + "')\n }"; });
165
165
  source = "export default [ " + routes.join(',') + "\n]";
166
166
  return [4 /*yield*/, (0, fsUtils_1.outputFileSyncOnChange)(constant_1.SITE_MOBILE_ROUTES, source)];
167
167
  case 2:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@varlet/cli",
3
- "version": "1.23.7",
3
+ "version": "1.23.8",
4
4
  "description": "cli of varlet",
5
5
  "bin": {
6
6
  "varlet-cli": "./lib/index.js"
@@ -31,7 +31,7 @@
31
31
  "dev": "tsc --watch",
32
32
  "build": "tsc"
33
33
  },
34
- "gitHead": "fb7d2dc56f2bd274e779e9904f229fb81b697448",
34
+ "gitHead": "7962430948d06d391cc52d22f87cb4d304d8c2b5",
35
35
  "dependencies": {
36
36
  "@babel/core": "^7.14.8",
37
37
  "@babel/preset-env": "^7.14.8",