@weapp-vite/language-service 0.0.0-stage → 0.0.0

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/package.json CHANGED
@@ -1,6 +1,87 @@
1
1
  {
2
2
  "name": "@weapp-vite/language-service",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "type": "module",
4
+ "version": "0.0.0",
5
+ "description": "Shared mini-program language analysis and lossless formatting",
6
+ "license": "MIT",
7
+ "homepage": "https://vite.weapp.dev/packages/language-service",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/weapp-vite/weapp-vite.git",
11
+ "directory": "packages/language-service"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/weapp-vite/weapp-vite/issues"
15
+ },
16
+ "keywords": [
17
+ "weapp-vite",
18
+ "miniprogram",
19
+ "language-service",
20
+ "formatter"
21
+ ],
22
+ "sideEffects": false,
23
+ "exports": {
24
+ ".": {
25
+ "types": "./dist/index.d.mts",
26
+ "import": "./dist/index.mjs"
27
+ },
28
+ "./project": {
29
+ "types": "./dist/project/index.d.mts",
30
+ "import": "./dist/project/index.mjs"
31
+ },
32
+ "./package.json": "./package.json"
33
+ },
34
+ "main": "./dist/index.mjs",
35
+ "module": "./dist/index.mjs",
36
+ "types": "./dist/index.d.mts",
37
+ "files": [
38
+ "dist"
39
+ ],
40
+ "engines": {
41
+ "node": "^22.23.4 || ^24.22.1 || >=26.12.1"
42
+ },
43
+ "peerDependencies": {
44
+ "vite-plus": ">=1.2.0 <2"
45
+ },
46
+ "peerDependenciesMeta": {
47
+ "vite-plus": {
48
+ "optional": true
49
+ }
50
+ },
51
+ "dependencies": {
52
+ "@weapp-core/shared": "3.4.0",
53
+ "@weapp-vite/ast": "7.7.0",
54
+ "fast-glob": "^3.3.3",
55
+ "ignore": "^7.0.5",
56
+ "picomatch": "^4.0.7"
57
+ },
58
+ "devDependencies": {
59
+ "@types/picomatch": "^4.0.3",
60
+ "typescript": "^6.0.3",
61
+ "vite-plus": "1.2.0",
62
+ "vitest": "^5.0.5"
63
+ },
64
+ "tsd": {
65
+ "compilerOptions": {
66
+ "module": "NodeNext",
67
+ "moduleResolution": "NodeNext",
68
+ "strict": true,
69
+ "skipLibCheck": false
70
+ }
71
+ },
72
+ "publishConfig": {
73
+ "access": "public",
74
+ "registry": "https://registry.npmjs.org"
75
+ },
76
+ "scripts": {
77
+ "build": "tsdown",
78
+ "generate:schema": "node scripts/generateSchemas.ts",
79
+ "sync:schema": "node scripts/syncSchemas.ts",
80
+ "test": "vitest run --config ./vitest.config.ts",
81
+ "test:types": "pnpm build && pnpm run test:types:check",
82
+ "test:types:check": "tsd --files \"test-d/**/*.test-d.ts\"",
83
+ "typecheck": "tsc -p tsconfig.json --noEmit",
84
+ "lint": "eslint .",
85
+ "lint:fix": "eslint . --fix"
86
+ }
6
87
  }