@reactra/language-tools 0.1.0-alpha.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.
@@ -0,0 +1,3 @@
1
+ // generated by scripts/build.ts — do not edit
2
+ const impl = require("./impl.cjs")
3
+ module.exports = impl.default ?? impl
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "@reactra/typescript-plugin",
3
+ "version": "0.0.0",
4
+ "private": true,
5
+ "description": "Reactra tsserver plugin (generated by @reactra/language-tools scripts/build.ts)",
6
+ "main": "index.cjs",
7
+ "type": "commonjs"
8
+ }
package/package.json ADDED
@@ -0,0 +1,58 @@
1
+ {
2
+ "name": "@reactra/language-tools",
3
+ "version": "0.1.0-alpha.0",
4
+ "type": "module",
5
+ "description": "Reactra DSL TypeScript/IDE tooling — shadow-file (reactra2tsx) + Volar language plugin + standalone LSP + reactra-tsc CLI. Strategy A (plan/reactra-v2-implementation-plan.md).",
6
+ "main": "./dist/index.js",
7
+ "exports": {
8
+ ".": {
9
+ "types": "./dist/index.d.ts",
10
+ "default": "./dist/index.js"
11
+ },
12
+ "./language-plugin": {
13
+ "types": "./dist/language-plugin.d.ts",
14
+ "default": "./dist/language-plugin.js"
15
+ },
16
+ "./shadow": {
17
+ "types": "./dist/shadow/index.d.ts",
18
+ "default": "./dist/shadow/index.js"
19
+ },
20
+ "./ts-plugin": "./dist/ts-plugin/index.cjs",
21
+ "./lsp-server": "./dist/lsp/server.cjs"
22
+ },
23
+ "bin": {
24
+ "reactra-tsc": "./dist/cli/reactra-tsc.js",
25
+ "reactra-lsp-server": "./dist/lsp/server.cjs"
26
+ },
27
+ "dependencies": {
28
+ "@reactra/babel-plugin": "^0.1.0-alpha.0",
29
+ "@volar/language-core": "~2.4.28",
30
+ "@volar/language-server": "~2.4.28",
31
+ "@volar/source-map": "~2.4.28",
32
+ "@volar/typescript": "~2.4.28",
33
+ "vscode-uri": "^3.0.8"
34
+ },
35
+ "peerDependencies": {
36
+ "typescript": ">=5.7.0"
37
+ },
38
+ "types": "./dist/index.d.ts",
39
+ "files": [
40
+ "dist"
41
+ ],
42
+ "publishConfig": {
43
+ "access": "public",
44
+ "tag": "alpha",
45
+ "provenance": false
46
+ },
47
+ "repository": {
48
+ "type": "git",
49
+ "url": "git+https://github.com/akhilshastri/reactra.git",
50
+ "directory": "packages/language-tools"
51
+ },
52
+ "homepage": "https://reactra-docs.vercel.app",
53
+ "license": "MIT",
54
+ "engines": {
55
+ "node": ">=22.18"
56
+ },
57
+ "sideEffects": false
58
+ }