create-rspeedy 0.10.8 → 0.11.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/CHANGELOG.md +6 -0
- package/package.json +3 -3
- package/template-common/gitignore +3 -0
- package/template-react-ts/package.json +1 -1
- package/template-react-ts/src/tsconfig.json +15 -0
- package/template-react-ts/tsconfig.json +5 -6
- package/template-react-ts/tsconfig.node.json +18 -0
- package/template-react-vitest-rltl-ts/package.json +1 -1
- package/template-react-vitest-rltl-ts/src/tsconfig.json +15 -0
- package/template-react-vitest-rltl-ts/tsconfig.json +7 -7
- package/template-react-vitest-rltl-ts/tsconfig.node.json +21 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# create-rspeedy
|
|
2
2
|
|
|
3
|
+
## 0.11.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Use TypeScript [Project References](https://www.typescriptlang.org/docs/handbook/project-references.html) in templates. ([#1612](https://github.com/lynx-family/lynx-stack/pull/1612))
|
|
8
|
+
|
|
3
9
|
## 0.10.8
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-rspeedy",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "Create Rspeedy-powered ReactLynx apps with one command",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webpack",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@rsbuild/plugin-type-check": "1.2.4",
|
|
38
38
|
"@lynx-js/qrcode-rsbuild-plugin": "^0.4.1",
|
|
39
|
-
"@lynx-js/react": "^0.112.
|
|
39
|
+
"@lynx-js/react": "^0.112.5",
|
|
40
40
|
"@lynx-js/react-rsbuild-plugin": "^0.10.13",
|
|
41
|
-
"@lynx-js/rspeedy": "^0.
|
|
41
|
+
"@lynx-js/rspeedy": "^0.11.0"
|
|
42
42
|
},
|
|
43
43
|
"engines": {
|
|
44
44
|
"node": ">=18"
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"@lynx-js/qrcode-rsbuild-plugin": "workspace:*",
|
|
16
16
|
"@lynx-js/react-rsbuild-plugin": "workspace:*",
|
|
17
17
|
"@lynx-js/rspeedy": "workspace:*",
|
|
18
|
-
"@lynx-js/types": "3.
|
|
18
|
+
"@lynx-js/types": "3.4.11",
|
|
19
19
|
"@rsbuild/plugin-type-check": "1.2.4",
|
|
20
20
|
"@types/react": "^18.3.23",
|
|
21
21
|
"typescript": "~5.9.2"
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../tsconfig.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"composite": true,
|
|
5
|
+
|
|
6
|
+
"jsx": "react-jsx",
|
|
7
|
+
"jsxImportSource": "@lynx-js/react",
|
|
8
|
+
|
|
9
|
+
"module": "ESNext",
|
|
10
|
+
"moduleResolution": "Bundler",
|
|
11
|
+
|
|
12
|
+
"noEmit": true,
|
|
13
|
+
},
|
|
14
|
+
"include": ["./**/*.ts", "./**/*.tsx"],
|
|
15
|
+
}
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
|
-
"jsx": "react-jsx",
|
|
4
|
-
"jsxImportSource": "@lynx-js/react",
|
|
5
|
-
"module": "node16",
|
|
6
|
-
"moduleResolution": "node16",
|
|
7
|
-
|
|
8
3
|
"strict": true,
|
|
9
4
|
"isolatedModules": true,
|
|
10
5
|
"verbatimModuleSyntax": true,
|
|
@@ -12,5 +7,9 @@
|
|
|
12
7
|
"esModuleInterop": true,
|
|
13
8
|
"skipLibCheck": true,
|
|
14
9
|
},
|
|
15
|
-
"
|
|
10
|
+
"references": [
|
|
11
|
+
{ "path": "./tsconfig.node.json" },
|
|
12
|
+
{ "path": "./src" },
|
|
13
|
+
],
|
|
14
|
+
"files": [],
|
|
16
15
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "./tsconfig.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"composite": true,
|
|
5
|
+
|
|
6
|
+
// Rspeedy uses Node.js's module resolution
|
|
7
|
+
"module": "node16",
|
|
8
|
+
"moduleResolution": "node16",
|
|
9
|
+
"erasableSyntaxOnly": true,
|
|
10
|
+
|
|
11
|
+
// Node.js 18+
|
|
12
|
+
"lib": ["es2023"],
|
|
13
|
+
"target": "es2022",
|
|
14
|
+
|
|
15
|
+
"noEmit": true,
|
|
16
|
+
},
|
|
17
|
+
"include": ["./lynx.config.ts"],
|
|
18
|
+
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"@lynx-js/qrcode-rsbuild-plugin": "workspace:*",
|
|
17
17
|
"@lynx-js/react-rsbuild-plugin": "workspace:*",
|
|
18
18
|
"@lynx-js/rspeedy": "workspace:*",
|
|
19
|
-
"@lynx-js/types": "3.
|
|
19
|
+
"@lynx-js/types": "3.4.11",
|
|
20
20
|
"@rsbuild/plugin-type-check": "1.2.4",
|
|
21
21
|
"@testing-library/jest-dom": "^6.8.0",
|
|
22
22
|
"@types/react": "^18.3.23",
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../tsconfig.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"composite": true,
|
|
5
|
+
|
|
6
|
+
"jsx": "react-jsx",
|
|
7
|
+
"jsxImportSource": "@lynx-js/react",
|
|
8
|
+
|
|
9
|
+
"module": "ESNext",
|
|
10
|
+
"moduleResolution": "Bundler",
|
|
11
|
+
|
|
12
|
+
"noEmit": true,
|
|
13
|
+
},
|
|
14
|
+
"include": ["./**/*.ts", "./**/*.tsx"],
|
|
15
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
|
-
"jsx": "react-jsx",
|
|
4
|
-
"jsxImportSource": "@lynx-js/react",
|
|
5
|
-
|
|
6
|
-
"module": "node18",
|
|
7
|
-
"moduleResolution": "node16",
|
|
8
|
-
|
|
9
3
|
"strict": true,
|
|
10
4
|
"isolatedModules": true,
|
|
11
5
|
"verbatimModuleSyntax": true,
|
|
12
6
|
|
|
13
7
|
"esModuleInterop": true,
|
|
14
8
|
"skipLibCheck": true,
|
|
9
|
+
|
|
10
|
+
"noEmit": true,
|
|
15
11
|
},
|
|
16
|
-
"
|
|
12
|
+
"references": [
|
|
13
|
+
{ "path": "./tsconfig.node.json" },
|
|
14
|
+
{ "path": "./src" },
|
|
15
|
+
],
|
|
16
|
+
"files": [],
|
|
17
17
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "./tsconfig.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"composite": true,
|
|
5
|
+
|
|
6
|
+
// Rspeedy uses Node.js's module resolution
|
|
7
|
+
"module": "node16",
|
|
8
|
+
"moduleResolution": "node16",
|
|
9
|
+
"erasableSyntaxOnly": true,
|
|
10
|
+
|
|
11
|
+
// Node.js 18+
|
|
12
|
+
"lib": ["es2023"],
|
|
13
|
+
"target": "es2022",
|
|
14
|
+
|
|
15
|
+
"noEmit": true,
|
|
16
|
+
},
|
|
17
|
+
"include": [
|
|
18
|
+
"./lynx.config.ts",
|
|
19
|
+
"./vitest.config.ts",
|
|
20
|
+
],
|
|
21
|
+
}
|