@weapp-core/init 2.0.6 → 2.0.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/dist/index.cjs CHANGED
@@ -41,7 +41,7 @@ __export(index_exports, {
41
41
  });
42
42
  module.exports = __toCommonJS(index_exports);
43
43
 
44
- // ../../node_modules/.pnpm/tsup@8.5.0_@swc+core@1.12.11_jiti@2.4.2_postcss@8.5.6_tsx@4.20.3_typescript@5.8.3_yaml@2.8.0/node_modules/tsup/assets/cjs_shims.js
44
+ // ../../node_modules/.pnpm/tsup@8.5.0_@swc+core@1.13.2_jiti@2.5.1_postcss@8.5.6_tsx@4.20.3_typescript@5.8.3_yaml@2.8.0/node_modules/tsup/assets/cjs_shims.js
45
45
  var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
46
46
  var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
47
47
 
@@ -471,7 +471,7 @@ var posix = /* @__PURE__ */ mix(":");
471
471
  var win32 = /* @__PURE__ */ mix(";");
472
472
 
473
473
  // ../../packages/weapp-vite/package.json
474
- var version = "5.0.9";
474
+ var version = "5.0.13";
475
475
 
476
476
  // src/context.ts
477
477
  function createContext() {
@@ -568,7 +568,7 @@ function getDefaultTsconfigJson() {
568
568
  "DOM",
569
569
  "DOM.Iterable"
570
570
  ],
571
- useDefineForClassFields: true,
571
+ useDefineForClassFields: false,
572
572
  baseUrl: ".",
573
573
  module: "ESNext",
574
574
  moduleResolution: "bundler",
package/dist/index.js CHANGED
@@ -424,7 +424,7 @@ var posix = /* @__PURE__ */ mix(":");
424
424
  var win32 = /* @__PURE__ */ mix(";");
425
425
 
426
426
  // ../../packages/weapp-vite/package.json
427
- var version = "5.0.9";
427
+ var version = "5.0.13";
428
428
 
429
429
  // src/context.ts
430
430
  function createContext() {
@@ -521,7 +521,7 @@ function getDefaultTsconfigJson() {
521
521
  "DOM",
522
522
  "DOM.Iterable"
523
523
  ],
524
- useDefineForClassFields: true,
524
+ useDefineForClassFields: false,
525
525
  baseUrl: ".",
526
526
  module: "ESNext",
527
527
  moduleResolution: "bundler",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@weapp-core/init",
3
3
  "type": "module",
4
- "version": "2.0.6",
4
+ "version": "2.0.8",
5
5
  "description": "@weapp-core/init",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -39,8 +39,8 @@
39
39
  ],
40
40
  "dependencies": {
41
41
  "fs-extra": "^11.3.0",
42
- "@weapp-core/logger": "^2.0.0",
43
- "@weapp-core/shared": "^2.0.1"
42
+ "@weapp-core/shared": "^2.0.1",
43
+ "@weapp-core/logger": "^2.0.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/semver": "^7.7.0",
@@ -23,7 +23,7 @@
23
23
  "g": "weapp-vite generate"
24
24
  },
25
25
  "devDependencies": {
26
- "miniprogram-api-typings": "^4.0.7",
26
+ "miniprogram-api-typings": "^4.1.0",
27
27
  "sass": "^1.89.2",
28
28
  "typescript": "^5.8.3",
29
29
  "weapp-vite": "workspace:*"
@@ -7,7 +7,7 @@
7
7
  "DOM",
8
8
  "DOM.Iterable"
9
9
  ],
10
- "useDefineForClassFields": true,
10
+ "useDefineForClassFields": false,
11
11
  "baseUrl": ".",
12
12
  "module": "ESNext",
13
13
  "moduleResolution": "bundler",
@@ -27,12 +27,12 @@
27
27
  "@egoist/tailwindcss-icons": "^1.9.0",
28
28
  "@iconify-json/mdi": "^1.2.3",
29
29
  "autoprefixer": "^10.4.21",
30
- "miniprogram-api-typings": "^4.0.7",
30
+ "miniprogram-api-typings": "^4.1.0",
31
31
  "postcss": "^8.5.6",
32
32
  "sass": "^1.89.2",
33
33
  "tailwindcss": "^3.4.17",
34
34
  "typescript": "^5.8.3",
35
- "weapp-tailwindcss": "^4.1.11",
35
+ "weapp-tailwindcss": "^4.2.1",
36
36
  "weapp-vite": "workspace:*"
37
37
  }
38
38
  }
@@ -7,7 +7,7 @@
7
7
  "DOM",
8
8
  "DOM.Iterable"
9
9
  ],
10
- "useDefineForClassFields": true,
10
+ "useDefineForClassFields": false,
11
11
  "baseUrl": ".",
12
12
  "module": "ESNext",
13
13
  "moduleResolution": "bundler",
@@ -30,12 +30,12 @@
30
30
  "@egoist/tailwindcss-icons": "^1.9.0",
31
31
  "@iconify-json/mdi": "^1.2.3",
32
32
  "autoprefixer": "^10.4.21",
33
- "miniprogram-api-typings": "^4.0.7",
33
+ "miniprogram-api-typings": "^4.1.0",
34
34
  "postcss": "^8.5.6",
35
35
  "sass": "^1.89.2",
36
36
  "tailwindcss": "^3.4.17",
37
37
  "typescript": "^5.8.3",
38
- "weapp-tailwindcss": "^4.1.11",
38
+ "weapp-tailwindcss": "^4.2.1",
39
39
  "weapp-vite": "workspace:*"
40
40
  }
41
41
  }
@@ -7,7 +7,7 @@
7
7
  "DOM",
8
8
  "DOM.Iterable"
9
9
  ],
10
- "useDefineForClassFields": true,
10
+ "useDefineForClassFields": false,
11
11
  "baseUrl": ".",
12
12
  "module": "ESNext",
13
13
  "moduleResolution": "bundler",
@@ -30,12 +30,12 @@
30
30
  "@egoist/tailwindcss-icons": "^1.9.0",
31
31
  "@iconify-json/mdi": "^1.2.3",
32
32
  "autoprefixer": "^10.4.21",
33
- "miniprogram-api-typings": "^4.0.7",
33
+ "miniprogram-api-typings": "^4.1.0",
34
34
  "postcss": "^8.5.6",
35
35
  "sass": "^1.89.2",
36
36
  "tailwindcss": "^3.4.17",
37
37
  "typescript": "^5.8.3",
38
- "weapp-tailwindcss": "^4.1.11",
38
+ "weapp-tailwindcss": "^4.2.1",
39
39
  "weapp-vite": "workspace:*"
40
40
  }
41
41
  }
@@ -7,7 +7,7 @@
7
7
  "DOM",
8
8
  "DOM.Iterable"
9
9
  ],
10
- "useDefineForClassFields": true,
10
+ "useDefineForClassFields": false,
11
11
  "baseUrl": ".",
12
12
  "module": "ESNext",
13
13
  "moduleResolution": "bundler",