@weapp-vite/web 1.3.1 → 1.3.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.
@@ -44,7 +44,7 @@ interface LifeTimeHooks {
44
44
  ready?: (this: ComponentPublicInstance) => void;
45
45
  detached?: (this: ComponentPublicInstance) => void;
46
46
  }
47
- interface PageLifeTimeHooks$1 {
47
+ interface PageLifeTimeHooks {
48
48
  show?: (this: ComponentPublicInstance) => void;
49
49
  hide?: (this: ComponentPublicInstance) => void;
50
50
  resize?: (this: ComponentPublicInstance) => void;
@@ -54,7 +54,7 @@ interface ComponentOptions {
54
54
  data?: DataRecord | (() => DataRecord);
55
55
  methods?: Record<string, (this: ComponentPublicInstance, event: any) => any>;
56
56
  lifetimes?: LifeTimeHooks;
57
- pageLifetimes?: PageLifeTimeHooks$1;
57
+ pageLifetimes?: PageLifeTimeHooks;
58
58
  behaviors?: ComponentOptions[];
59
59
  }
60
60
  interface DefineComponentOptions {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@weapp-vite/web",
3
3
  "type": "module",
4
- "version": "1.3.1",
4
+ "version": "1.3.2",
5
5
  "description": "Experimental web runtime for weapp-vite templates",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -53,13 +53,14 @@
53
53
  "lit": "^3.3.1",
54
54
  "magic-string": "^0.30.21",
55
55
  "pathe": "^2.0.3",
56
- "rolldown-require": "2.0.6"
56
+ "rolldown-require": "2.0.7"
57
57
  },
58
58
  "scripts": {
59
59
  "dev": "tsup --watch --sourcemap",
60
60
  "build:watch": "tsup --watch --sourcemap",
61
61
  "build": "tsup",
62
62
  "test": "vitest run",
63
- "test:dev": "vitest"
63
+ "test:dev": "vitest",
64
+ "typecheck": "tsc --noEmit"
64
65
  }
65
66
  }