@dooboostore/simple-web-component 1.0.55 → 1.0.56

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.
@@ -0,0 +1,56 @@
1
+ {
2
+ "name": "@dooboostore/simple-web-component-lsp",
3
+ "displayName": "Simple Web Component",
4
+ "version": "0.1.0",
5
+ "description": "SWC language server (shipped inside @dooboostore/simple-web-component as `swc-lsp`) + VS Code client",
6
+ "private": true,
7
+ "license": "MIT",
8
+ "publisher": "dooboostore",
9
+ "main": "./out/client/extension.js",
10
+ "engines": {
11
+ "node": ">=18",
12
+ "vscode": "^1.85.0"
13
+ },
14
+ "activationEvents": [
15
+ "onLanguage:typescript",
16
+ "onLanguage:typescriptreact",
17
+ "onLanguage:javascript",
18
+ "onLanguage:html"
19
+ ],
20
+ "contributes": {
21
+ "grammars": [
22
+ {
23
+ "scopeName": "swc.injection",
24
+ "path": "./syntaxes/swc.injection.json",
25
+ "injectTo": [
26
+ "source.ts",
27
+ "source.tsx",
28
+ "source.js",
29
+ "source.js.jsx",
30
+ "text.html.basic",
31
+ "text.html.derivative"
32
+ ],
33
+ "embeddedLanguages": {
34
+ "meta.embedded.swc": "javascript"
35
+ }
36
+ }
37
+ ]
38
+ },
39
+ "scripts": {
40
+ "build": "node build.mjs",
41
+ "watch": "node build.mjs --watch",
42
+ "typecheck": "tsc --noEmit -p .",
43
+ "test": "node build.mjs && node --test test/*.test.mjs"
44
+ },
45
+ "dependencies": {
46
+ "typescript": "^5.9.2"
47
+ },
48
+ "devDependencies": {
49
+ "@types/node": "^20",
50
+ "@types/vscode": "^1.85.0",
51
+ "esbuild": "^0.23.0",
52
+ "vscode-languageclient": "^9.0.1",
53
+ "vscode-languageserver": "^9.0.1",
54
+ "vscode-languageserver-textdocument": "^1.0.11"
55
+ }
56
+ }
package/package.json CHANGED
@@ -1,9 +1,12 @@
1
1
  {
2
2
  "name": "@dooboostore/simple-web-component",
3
- "version": "1.0.55",
3
+ "version": "1.0.56",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "./dist/cjs/index.js",
7
+ "bin": {
8
+ "swc-lsp": "lsp/bin/swc-lsp.js"
9
+ },
7
10
  "module": "./dist/esm/index.js",
8
11
  "types": "./dist/types/index.d.ts",
9
12
  "typesVersions": {
@@ -29,7 +32,7 @@
29
32
  "bugs": {
30
33
  "url": "https://github.com/dooboostore-develop/packages/issues"
31
34
  },
32
- "homepage": "https://github.com/dooboostore-develop/packages/tree/main/%40dooboostore/simple-web-component",
35
+ "homepage": "https://dooboostore-develop.github.io/package/simple-web-component",
33
36
  "keywords": [
34
37
  "front",
35
38
  "web-components",
@@ -43,7 +46,10 @@
43
46
  "src",
44
47
  "types.d.ts",
45
48
  "LICENSE.md",
46
- "tsconfig.json"
49
+ "/tsconfig.json",
50
+ "lsp/package.json",
51
+ "lsp/bin",
52
+ "lsp/out/server/server.js"
47
53
  ],
48
54
  "publishConfig": {
49
55
  "access": "public"
@@ -67,7 +73,8 @@
67
73
  },
68
74
  "author": "dooboostore <dooboostore@gmail.com> (https://github.com/dooboostore)",
69
75
  "peerDependencies": {
70
- "reflect-metadata": "^0.2.2"
76
+ "reflect-metadata": "^0.2.2",
77
+ "typescript": ">=5"
71
78
  },
72
79
  "devDependencies": {
73
80
  "@babel/core": "^7.24.0",
@@ -96,8 +103,16 @@
96
103
  },
97
104
  "dependencies": {
98
105
  "@dooboostore/core": "1.0.33",
99
- "@dooboostore/core-web": "1.0.14",
100
- "@dooboostore/simple-boot": "1.0.59"
106
+ "@dooboostore/core-web": "1.0.15",
107
+ "@dooboostore/simple-boot": "1.0.60"
108
+ },
109
+ "contributors": [
110
+ "visualkhh <visualkhh@gmail.com> (https://github.com/visualkhh)"
111
+ ],
112
+ "peerDependenciesMeta": {
113
+ "typescript": {
114
+ "optional": true
115
+ }
101
116
  },
102
117
  "scripts": {
103
118
  "clean": "rm -rf dist",
@@ -105,7 +120,7 @@
105
120
  "watch:esm": "pnpm run build:esm && node build.mjs esm --watch",
106
121
  "build:cjs": "node build.mjs cjs",
107
122
  "watch:cjs": "pnpm run build:cjs && node build.mjs cjs --watch",
108
- "build": "pnpm run clean && node build.mjs all",
123
+ "build": "pnpm run clean && node build.mjs all && pnpm --dir lsp run build",
109
124
  "build:umd-bundle": "node build.mjs umd-bundle",
110
125
  "watch:umd-bundle": "pnpm run build:umd-bundle && node build.mjs umd-bundle --watch",
111
126
  "build:esm-bundle": "node build.mjs esm-bundle",
@@ -114,7 +129,7 @@
114
129
  "publish:npm": "pnpm run build && cp package.json package.json.back && pnpm pack && TARBALL_NAME=$(ls dooboostore-simple-web-component-*.tgz | head -n 1) && tar -xzf \"$TARBALL_NAME\" -C . --strip-components=1 package/package.json && rm \"$TARBALL_NAME\" && (pnpm publish --no-git-checks || true) && cp package.json.back package.json && rm -rf package.json.back ",
115
130
  "ts:clean": "find . -name '*.js' -o -name '*.map' -o -name '*.d.ts' | xargs rm -f",
116
131
  "typecheck": "pnpm exec tsc --noEmit",
117
- "test": "pnpm run test:types && node test/unit/run.mjs",
132
+ "test": "pnpm run test:types && node test/unit/run.mjs && pnpm --dir lsp test",
118
133
  "test:bundle": "pnpm --filter @dooboostore/simple-web-component-bundle-test dev",
119
134
  "test:types": "tsc --noEmit -p test/unit | (! grep '^test/')"
120
135
  }