@barqjs/compiler 0.0.0-stage → 0.2.0-next.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/LICENSE +21 -0
- package/README.md +225 -2
- package/docs/BARQ001.md +55 -0
- package/docs/BARQ002.md +53 -0
- package/docs/BARQ003.md +58 -0
- package/docs/BARQ004.md +116 -0
- package/docs/BARQ005.md +92 -0
- package/docs/BARQ006.md +23 -0
- package/docs/BARQ008.md +43 -0
- package/docs/BARQ009.md +48 -0
- package/docs/BARQ010.md +76 -0
- package/docs/BARQ011.md +88 -0
- package/docs/BARQ012.md +81 -0
- package/docs/BARQ013.md +63 -0
- package/docs/BARQ014.md +61 -0
- package/docs/BARQ015.md +64 -0
- package/docs/BARQ016.md +52 -0
- package/docs/BARQ017.md +63 -0
- package/docs/BARQ018.md +116 -0
- package/docs/BARQ019.md +109 -0
- package/docs/BARQ020.md +78 -0
- package/docs/BARQ021.md +79 -0
- package/docs/BARQ022.md +57 -0
- package/docs/BARQ023.md +55 -0
- package/docs/BARQ024.md +58 -0
- package/docs/BARQ025.md +74 -0
- package/docs/BARQ026.md +68 -0
- package/docs/BARQ027.md +53 -0
- package/docs/BARQ028.md +56 -0
- package/docs/BARQ029.md +57 -0
- package/docs/README.md +129 -0
- package/index.d.ts +563 -0
- package/index.js +89 -0
- package/package.json +86 -4
package/package.json
CHANGED
|
@@ -1,6 +1,88 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@barqjs/compiler",
|
|
3
|
-
"version": "0.0.0
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.2.0-next.0",
|
|
4
|
+
"description": "The barq compiler, in Rust: JSX to cloned DOM templates, compiled styles, file routes and diagnostics with stable codes",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"barq",
|
|
7
|
+
"compiler",
|
|
8
|
+
"jsx",
|
|
9
|
+
"napi",
|
|
10
|
+
"reactive",
|
|
11
|
+
"rust",
|
|
12
|
+
"signals"
|
|
13
|
+
],
|
|
14
|
+
"homepage": "https://github.com/salamaashoush/barq#readme",
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://github.com/salamaashoush/barq/issues"
|
|
17
|
+
},
|
|
18
|
+
"license": "MIT",
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/salamaashoush/barq.git",
|
|
22
|
+
"directory": "packages/compiler"
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"index.js",
|
|
26
|
+
"index.d.ts",
|
|
27
|
+
"docs"
|
|
28
|
+
],
|
|
29
|
+
"type": "commonjs",
|
|
30
|
+
"sideEffects": false,
|
|
31
|
+
"main": "./index.js",
|
|
32
|
+
"types": "./index.d.ts",
|
|
33
|
+
"exports": {
|
|
34
|
+
".": {
|
|
35
|
+
"types": "./index.d.ts",
|
|
36
|
+
"default": "./index.js"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"scripts": {
|
|
40
|
+
"build": "napi build --platform --release --no-js",
|
|
41
|
+
"build:debug": "napi build --platform --no-js",
|
|
42
|
+
"test": "bun test --timeout 30000",
|
|
43
|
+
"typecheck": "tsc --noEmit && tsc --noEmit -p fixtures/tsconfig.json",
|
|
44
|
+
"check:fmt": "cargo fmt --check",
|
|
45
|
+
"check:clippy": "cargo clippy --workspace --all-targets -- -D warnings",
|
|
46
|
+
"artifacts": "napi artifacts"
|
|
47
|
+
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"@barqjs/core": "0.2.0-next.0",
|
|
50
|
+
"@barqjs/router": "0.2.0-next.0",
|
|
51
|
+
"@barqjs/server": "0.2.0-next.0",
|
|
52
|
+
"@barqjs/start": "0.2.0-next.0",
|
|
53
|
+
"@barqjs/universal": "0.2.0-next.0",
|
|
54
|
+
"@barqjs/web": "0.2.0-next.0",
|
|
55
|
+
"@happy-dom/global-registrator": "^21.0.1",
|
|
56
|
+
"@napi-rs/cli": "^3.10.8",
|
|
57
|
+
"@types/bun": "^1.4.3"
|
|
58
|
+
},
|
|
59
|
+
"optionalDependencies": {
|
|
60
|
+
"@barqjs/compiler-darwin-arm64": "0.2.0-next.0",
|
|
61
|
+
"@barqjs/compiler-darwin-x64": "0.2.0-next.0",
|
|
62
|
+
"@barqjs/compiler-linux-arm64-gnu": "0.2.0-next.0",
|
|
63
|
+
"@barqjs/compiler-linux-x64-gnu": "0.2.0-next.0",
|
|
64
|
+
"@barqjs/compiler-linux-x64-musl": "0.2.0-next.0",
|
|
65
|
+
"@barqjs/compiler-win32-arm64-msvc": "0.2.0-next.0",
|
|
66
|
+
"@barqjs/compiler-win32-x64-msvc": "0.2.0-next.0"
|
|
67
|
+
},
|
|
68
|
+
"engines": {
|
|
69
|
+
"node": ">=20.17.0"
|
|
70
|
+
},
|
|
71
|
+
"publishConfig": {
|
|
72
|
+
"access": "public",
|
|
73
|
+
"provenance": true
|
|
74
|
+
},
|
|
75
|
+
"napi": {
|
|
76
|
+
"binaryName": "barq-compiler",
|
|
77
|
+
"packageName": "@barqjs/compiler",
|
|
78
|
+
"targets": [
|
|
79
|
+
"aarch64-apple-darwin",
|
|
80
|
+
"x86_64-apple-darwin",
|
|
81
|
+
"aarch64-unknown-linux-gnu",
|
|
82
|
+
"x86_64-unknown-linux-gnu",
|
|
83
|
+
"x86_64-unknown-linux-musl",
|
|
84
|
+
"aarch64-pc-windows-msvc",
|
|
85
|
+
"x86_64-pc-windows-msvc"
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
}
|