@tarojs/create-app 4.0.1 → 4.0.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/LICENSE CHANGED
@@ -154,15 +154,8 @@ See `/LICENSE` for details of the license.
154
154
 
155
155
  ==================
156
156
 
157
- MIT (stencil-vue2-output-target):
158
- The following files embed [stencil-vue2-output-target](https://github.com/diondree/stencil-vue2-output-target) MIT:
159
- `/packages/taro-components-library-vue2/src/vue-component-lib/utils.ts`
160
- See `/LICENSE` for details of the license.
161
-
162
- ==================
163
-
164
157
  MIT (weui):
165
- The following files embed [stencil-vue2-output-target](https://github.com/Tencent/weui) MIT:
158
+ The following files embed [weui](https://github.com/Tencent/weui) MIT:
166
159
  `/packages/taro-components/src/components/*.scss`
167
160
  See `/LICENSE.txt` for details of the license.
168
161
 
@@ -172,3 +165,10 @@ Apache-2.0 (intersection-observer):
172
165
  The following files embed [intersection-observer](https://github.com/GoogleChromeLabs/intersection-observer) Apache-2.0:
173
166
  `/packages/taro-api/src/polyfill/intersection-observer.ts`
174
167
  See `/LICENSE.txt` for details of the license.
168
+
169
+ ==================
170
+
171
+ MIT (babel-plugin-jsx-dom-expressions):
172
+ The following files embed [babel-plugin-jsx-dom-expressions](https://github.com/ryansolid/dom-expressions/blob/main/packages/babel-plugin-jsx-dom-expressions) MIT:
173
+ `/packages/babel-plugin-transform-solid-jsx/src/*`
174
+ See `/LICENSE` for details of the license.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.printPkgVersion = exports.getPkgVersion = exports.getRootPath = void 0;
4
- const path = require("path");
4
+ const path = require("node:path");
5
5
  function getRootPath() {
6
6
  return path.resolve(__dirname, '../../');
7
7
  }
package/package.json CHANGED
@@ -1,9 +1,8 @@
1
1
  {
2
2
  "name": "@tarojs/create-app",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "description": "create taro app with one command",
5
- "author": "VincentW <Vincent.Mr.W@gmail.com>",
6
- "homepage": "https://github.com/nervjs/taro/tree/master/packages/create-app#readme",
5
+ "author": "O2Team",
7
6
  "license": "MIT",
8
7
  "main": "./dist/index.js",
9
8
  "files": [
@@ -21,16 +20,17 @@
21
20
  "cli"
22
21
  ],
23
22
  "engines": {
24
- "node": ">=12"
23
+ "node": ">= 18"
25
24
  },
26
25
  "dependencies": {
27
26
  "minimist": "^1.2.8",
28
- "@tarojs/cli": "4.0.1"
27
+ "@tarojs/cli": "4.0.2"
29
28
  },
30
29
  "scripts": {
30
+ "prod": "pnpm run build",
31
+ "prebuild": "pnpm run clean",
32
+ "clean": "rimraf --impl=move-remove ./dist",
31
33
  "dev": "tsc -w",
32
- "prod": "tsc",
33
- "build": "run-s clean prod",
34
- "clean": "rimraf dist"
34
+ "build": "tsc"
35
35
  }
36
36
  }