@tarojs/binding 4.0.1-alpha.1 → 4.0.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/LICENSE CHANGED
@@ -154,8 +154,15 @@ 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
+
157
164
  MIT (weui):
158
- The following files embed [weui](https://github.com/Tencent/weui) MIT:
165
+ The following files embed [stencil-vue2-output-target](https://github.com/Tencent/weui) MIT:
159
166
  `/packages/taro-components/src/components/*.scss`
160
167
  See `/LICENSE.txt` for details of the license.
161
168
 
@@ -165,10 +172,3 @@ Apache-2.0 (intersection-observer):
165
172
  The following files embed [intersection-observer](https://github.com/GoogleChromeLabs/intersection-observer) Apache-2.0:
166
173
  `/packages/taro-api/src/polyfill/intersection-observer.ts`
167
174
  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.
package/binding.d.ts CHANGED
@@ -27,9 +27,6 @@ export interface CreateOptions {
27
27
  pageName?: string
28
28
  compiler?: CompilerType
29
29
  setPageName?: string
30
- subPkg?: string
31
- pageDir?: string
32
- setSubPkgPageName?: string
33
30
  changeExt?: boolean
34
31
  isCustomTemplate?: boolean
35
32
  pluginType?: string
@@ -51,9 +48,8 @@ export const enum CSSType {
51
48
  export const enum FrameworkType {
52
49
  React = 'React',
53
50
  Preact = 'Preact',
54
- Vue3 = 'Vue3',
55
- Solid = 'Solid',
56
- None = 'None'
51
+ Vue = 'Vue',
52
+ Vue3 = 'Vue3'
57
53
  }
58
54
 
59
55
  export const enum NpmType {
@@ -80,8 +76,6 @@ export interface Page {
80
76
  customTemplatePath?: string
81
77
  basePageFiles: Array<string>
82
78
  period: PeriodType
83
- subPkg?: string
84
- pageDir?: string
85
79
  }
86
80
 
87
81
  export const enum PeriodType {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/binding",
3
- "version": "4.0.1-alpha.1",
3
+ "version": "4.0.1",
4
4
  "description": "Node binding for taro",
5
5
  "main": "binding.js",
6
6
  "typings": "binding.d.ts",
@@ -43,10 +43,10 @@
43
43
  },
44
44
  "homepage": "https://github.com/NervJS/taro#readme",
45
45
  "optionalDependencies": {
46
- "@tarojs/binding-darwin-arm64": "4.0.1-alpha.1",
47
- "@tarojs/binding-darwin-x64": "4.0.1-alpha.1",
48
- "@tarojs/binding-linux-x64-gnu": "4.0.1-alpha.1",
49
- "@tarojs/binding-win32-x64-msvc": "4.0.1-alpha.1"
46
+ "@tarojs/binding-darwin-arm64": "4.0.1",
47
+ "@tarojs/binding-darwin-x64": "4.0.1",
48
+ "@tarojs/binding-linux-x64-gnu": "4.0.1",
49
+ "@tarojs/binding-win32-x64-msvc": "4.0.1"
50
50
  },
51
51
  "scripts": {
52
52
  "artifacts": "napi artifacts --npm-dir ../../npm --cwd ./",
package/src/lib.rs CHANGED
@@ -62,8 +62,6 @@ pub async fn create_page(
62
62
  conf.custom_template_path,
63
63
  conf.base_page_files,
64
64
  conf.period,
65
- conf.sub_pkg,
66
- conf.page_dir,
67
65
  );
68
66
  let mut thread_safe_functions = HashMap::new();
69
67
  for (key, callback) in handlers {