create-rstack 3.0.0 → 3.1.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/README.md +13 -13
- package/dist/index.js +40 -48
- package/package.json +3 -3
- package/{template-app-lit-js → template-app-lit}/package.json +3 -3
- package/template-app-lit-ts/package.json +2 -2
- package/{template-app-preact-js → template-app-preact}/package.json +3 -3
- package/template-app-preact-ts/package.json +2 -2
- package/{template-app-react-js → template-app-react}/package.json +3 -3
- package/template-app-react-ts/package.json +2 -2
- package/{template-app-solid-js → template-app-solid}/package.json +3 -3
- package/template-app-solid-ts/package.json +2 -2
- package/{template-app-svelte-js → template-app-svelte}/package.json +3 -3
- package/template-app-svelte-ts/package.json +2 -2
- package/{template-app-vanilla-js → template-app-vanilla}/package.json +3 -3
- package/template-app-vanilla-ts/package.json +2 -2
- package/{template-app-vue-js → template-app-vue}/package.json +3 -3
- package/template-app-vue-ts/package.json +2 -2
- package/template-common/README.md +10 -19
- package/template-doc/README.md +23 -0
- package/{template-doc-basic → template-doc}/package.json +3 -3
- package/template-doc-i18n/README.md +8 -19
- package/template-doc-i18n/package.json +2 -2
- package/template-lib-node/README.md +24 -0
- package/{template-lib-node-js → template-lib-node}/package.json +3 -3
- package/template-lib-node-ts/README.md +9 -25
- package/template-lib-node-ts/package.json +2 -2
- package/template-lib-react/README.md +24 -0
- package/{template-lib-react-js → template-lib-react}/package.json +3 -3
- package/template-lib-react-ts/README.md +9 -25
- package/template-lib-react-ts/package.json +2 -2
- package/template-lib-solid/README.md +24 -0
- package/{template-lib-solid-js → template-lib-solid}/package.json +3 -3
- package/template-lib-solid-ts/README.md +9 -25
- package/template-lib-solid-ts/package.json +2 -2
- package/template-lib-svelte/README.md +24 -0
- package/{template-lib-svelte-js → template-lib-svelte}/package.json +3 -3
- package/template-lib-svelte-ts/README.md +9 -25
- package/template-lib-svelte-ts/package.json +2 -2
- package/template-lib-vue/README.md +24 -0
- package/{template-lib-vue-js → template-lib-vue}/package.json +3 -3
- package/template-lib-vue-ts/README.md +9 -25
- package/template-lib-vue-ts/package.json +2 -2
- package/template-doc-basic/README.md +0 -34
- package/template-lib-node-js/README.md +0 -40
- package/template-lib-react-js/README.md +0 -40
- package/template-lib-solid-js/README.md +0 -40
- package/template-lib-svelte-js/README.md +0 -40
- package/template-lib-vue-js/README.md +0 -40
- /package/{template-app-lit-js → template-app-lit}/rstack.config.js +0 -0
- /package/{template-app-lit-js → template-app-lit}/src/index.css +0 -0
- /package/{template-app-lit-js → template-app-lit}/src/index.html +0 -0
- /package/{template-app-lit-js → template-app-lit}/src/index.js +0 -0
- /package/{template-app-lit-js → template-app-lit}/src/my-element.js +0 -0
- /package/{template-app-lit-js → template-app-lit}/tests/index.test.js +0 -0
- /package/{template-app-preact-js → template-app-preact}/rstack.config.js +0 -0
- /package/{template-app-preact-js → template-app-preact}/src/App.css +0 -0
- /package/{template-app-preact-js → template-app-preact}/src/App.jsx +0 -0
- /package/{template-app-preact-js → template-app-preact}/src/index.jsx +0 -0
- /package/{template-app-preact-js → template-app-preact}/tests/index.test.jsx +0 -0
- /package/{template-app-preact-js → template-app-preact}/tests/rstest.setup.js +0 -0
- /package/{template-app-react-js → template-app-react}/rstack.config.js +0 -0
- /package/{template-app-react-js → template-app-react}/src/App.css +0 -0
- /package/{template-app-react-js → template-app-react}/src/App.jsx +0 -0
- /package/{template-app-react-js → template-app-react}/src/index.jsx +0 -0
- /package/{template-app-react-js → template-app-react}/tests/index.test.jsx +0 -0
- /package/{template-app-react-js → template-app-react}/tests/rstest.setup.js +0 -0
- /package/{template-app-solid-js → template-app-solid}/rstack.config.js +0 -0
- /package/{template-app-solid-js → template-app-solid}/src/App.css +0 -0
- /package/{template-app-solid-js → template-app-solid}/src/App.jsx +0 -0
- /package/{template-app-solid-js → template-app-solid}/src/index.jsx +0 -0
- /package/{template-app-solid-js → template-app-solid}/tests/index.test.jsx +0 -0
- /package/{template-app-solid-js → template-app-solid}/tests/rstest.setup.js +0 -0
- /package/{template-app-svelte-js → template-app-svelte}/pnpm-workspace.yaml +0 -0
- /package/{template-app-svelte-js → template-app-svelte}/rstack.config.js +0 -0
- /package/{template-app-svelte-js → template-app-svelte}/src/App.svelte +0 -0
- /package/{template-app-svelte-js → template-app-svelte}/src/index.css +0 -0
- /package/{template-app-svelte-js → template-app-svelte}/src/index.js +0 -0
- /package/{template-app-svelte-js → template-app-svelte}/tests/index.test.js +0 -0
- /package/{template-app-svelte-js → template-app-svelte}/tests/rstest.setup.js +0 -0
- /package/{template-app-vanilla-js → template-app-vanilla}/rstack.config.js +0 -0
- /package/{template-app-vanilla-js → template-app-vanilla}/src/index.css +0 -0
- /package/{template-app-vanilla-js → template-app-vanilla}/src/index.js +0 -0
- /package/{template-app-vanilla-js → template-app-vanilla}/tests/dom.test.js +0 -0
- /package/{template-app-vanilla-js → template-app-vanilla}/tests/rstest.setup.js +0 -0
- /package/{template-app-vue-js → template-app-vue}/rstack.config.js +0 -0
- /package/{template-app-vue-js → template-app-vue}/src/App.vue +0 -0
- /package/{template-app-vue-js → template-app-vue}/src/index.css +0 -0
- /package/{template-app-vue-js → template-app-vue}/src/index.js +0 -0
- /package/{template-app-vue-js → template-app-vue}/tests/index.test.js +0 -0
- /package/{template-app-vue-js → template-app-vue}/tests/rstest.setup.js +0 -0
- /package/{template-doc-basic → template-doc}/docs/_nav.json +0 -0
- /package/{template-doc-basic → template-doc}/docs/api/_meta.json +0 -0
- /package/{template-doc-basic → template-doc}/docs/api/commands.mdx +0 -0
- /package/{template-doc-basic → template-doc}/docs/api/index.mdx +0 -0
- /package/{template-doc-basic → template-doc}/docs/guide/_meta.json +0 -0
- /package/{template-doc-basic → template-doc}/docs/guide/start/_meta.json +0 -0
- /package/{template-doc-basic → template-doc}/docs/guide/start/introduction.md +0 -0
- /package/{template-doc-basic → template-doc}/docs/index.md +0 -0
- /package/{template-doc-basic → template-doc}/gitignore +0 -0
- /package/{template-doc-basic → template-doc}/rstack.config.ts +0 -0
- /package/{template-doc-basic → template-doc}/tsconfig.json +0 -0
- /package/{template-lib-node-js → template-lib-node}/rstack.config.js +0 -0
- /package/{template-lib-node-js → template-lib-node}/src/index.js +0 -0
- /package/{template-lib-node-js → template-lib-node}/tests/index.test.js +0 -0
- /package/{template-lib-react-js → template-lib-react}/rstack.config.js +0 -0
- /package/{template-lib-react-js → template-lib-react}/src/Button.jsx +0 -0
- /package/{template-lib-react-js → template-lib-react}/src/button.css +0 -0
- /package/{template-lib-react-js → template-lib-react}/src/index.jsx +0 -0
- /package/{template-lib-react-js → template-lib-react}/tests/index.test.jsx +0 -0
- /package/{template-lib-react-js → template-lib-react}/tests/rstest.setup.js +0 -0
- /package/{template-lib-solid-js → template-lib-solid}/rstack.config.js +0 -0
- /package/{template-lib-solid-js → template-lib-solid}/src/Button.jsx +0 -0
- /package/{template-lib-solid-js → template-lib-solid}/src/button.css +0 -0
- /package/{template-lib-solid-js → template-lib-solid}/src/index.jsx +0 -0
- /package/{template-lib-solid-js → template-lib-solid}/tests/index.test.jsx +0 -0
- /package/{template-lib-solid-js → template-lib-solid}/tests/rstest.setup.js +0 -0
- /package/{template-lib-svelte-js → template-lib-svelte}/pnpm-workspace.yaml +0 -0
- /package/{template-lib-svelte-js → template-lib-svelte}/rstack.config.js +0 -0
- /package/{template-lib-svelte-js → template-lib-svelte}/src/Button.svelte +0 -0
- /package/{template-lib-svelte-js → template-lib-svelte}/src/button.css +0 -0
- /package/{template-lib-svelte-js → template-lib-svelte}/src/index.js +0 -0
- /package/{template-lib-svelte-js → template-lib-svelte}/tests/index.test.js +0 -0
- /package/{template-lib-vue-js → template-lib-vue}/rstack.config.js +0 -0
- /package/{template-lib-vue-js → template-lib-vue}/src/Button.vue +0 -0
- /package/{template-lib-vue-js → template-lib-vue}/src/button.css +0 -0
- /package/{template-lib-vue-js → template-lib-vue}/src/index.js +0 -0
- /package/{template-lib-vue-js → template-lib-vue}/tests/index.test.js +0 -0
- /package/{template-lib-vue-js → template-lib-vue}/tests/rstest.setup.js +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "rstack-lib-node
|
|
2
|
+
"name": "rstack-lib-node",
|
|
3
3
|
"version": "0.0.0",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"type": "module",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
],
|
|
15
15
|
"scripts": {
|
|
16
16
|
"build": "rs lib",
|
|
17
|
-
"check": "rs
|
|
17
|
+
"check": "rs check",
|
|
18
18
|
"dev": "rs lib --watch",
|
|
19
19
|
"format": "rs fmt",
|
|
20
20
|
"lint": "rs lint",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"test:watch": "rs test --watch"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"rstack": "^0.
|
|
25
|
+
"rstack": "^0.5.0"
|
|
26
26
|
},
|
|
27
27
|
"engines": {
|
|
28
28
|
"node": ">=22.12.0"
|
|
@@ -8,31 +8,15 @@ Install the dependencies:
|
|
|
8
8
|
{{ packageManager }} install
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
##
|
|
12
|
-
|
|
13
|
-
Build the library
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
{{ packageManager }} run
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
{{ packageManager }} run dev
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
Run tests:
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
{{ packageManager }} run test
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
Run tests in watch mode:
|
|
32
|
-
|
|
33
|
-
```bash
|
|
34
|
-
{{ packageManager }} run test:watch
|
|
35
|
-
```
|
|
11
|
+
## Scripts
|
|
12
|
+
|
|
13
|
+
- `{{ packageManager }} run build`: Build the library.
|
|
14
|
+
- `{{ packageManager }} run check`: Run static checks, including lint and format.
|
|
15
|
+
- `{{ packageManager }} run dev`: Build the library in watch mode.
|
|
16
|
+
- `{{ packageManager }} run format`: Format code.
|
|
17
|
+
- `{{ packageManager }} run lint`: Lint code.
|
|
18
|
+
- `{{ packageManager }} run test`: Run tests.
|
|
19
|
+
- `{{ packageManager }} run test:watch`: Run tests in watch mode.
|
|
36
20
|
|
|
37
21
|
## Learn more
|
|
38
22
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
],
|
|
17
17
|
"scripts": {
|
|
18
18
|
"build": "rs lib",
|
|
19
|
-
"check": "rs
|
|
19
|
+
"check": "rs check --type-check",
|
|
20
20
|
"dev": "rs lib --watch",
|
|
21
21
|
"format": "rs fmt",
|
|
22
22
|
"lint": "rs lint",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/node": "^24.13.3",
|
|
28
|
-
"rstack": "^0.
|
|
28
|
+
"rstack": "^0.5.0",
|
|
29
29
|
"typescript": "^7.0.2"
|
|
30
30
|
},
|
|
31
31
|
"engines": {
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Rstack library
|
|
2
|
+
|
|
3
|
+
## Setup
|
|
4
|
+
|
|
5
|
+
Install the dependencies:
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
{{ packageManager }} install
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Scripts
|
|
12
|
+
|
|
13
|
+
- `{{ packageManager }} run build`: Build the library.
|
|
14
|
+
- `{{ packageManager }} run check`: Run static checks, including lint and format.
|
|
15
|
+
- `{{ packageManager }} run dev`: Build the library in watch mode.
|
|
16
|
+
- `{{ packageManager }} run format`: Format code.
|
|
17
|
+
- `{{ packageManager }} run lint`: Lint code.
|
|
18
|
+
- `{{ packageManager }} run test`: Run tests.
|
|
19
|
+
- `{{ packageManager }} run test:watch`: Run tests in watch mode.
|
|
20
|
+
|
|
21
|
+
## Learn more
|
|
22
|
+
|
|
23
|
+
- [Rstack documentation](https://rstack.rs)
|
|
24
|
+
- [Rslib documentation](https://rslib.rs)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "rstack-lib-react
|
|
2
|
+
"name": "rstack-lib-react",
|
|
3
3
|
"version": "0.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
],
|
|
14
14
|
"scripts": {
|
|
15
15
|
"build": "rs lib",
|
|
16
|
-
"check": "rs
|
|
16
|
+
"check": "rs check",
|
|
17
17
|
"dev": "rs lib --watch",
|
|
18
18
|
"format": "rs fmt",
|
|
19
19
|
"lint": "rs lint",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"happy-dom": "^20.11.2",
|
|
30
30
|
"react": "^19.2.8",
|
|
31
31
|
"react-dom": "^19.2.8",
|
|
32
|
-
"rstack": "^0.
|
|
32
|
+
"rstack": "^0.5.0"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"react": ">=18.0.0",
|
|
@@ -8,31 +8,15 @@ Install the dependencies:
|
|
|
8
8
|
{{ packageManager }} install
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
##
|
|
12
|
-
|
|
13
|
-
Build the library
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
{{ packageManager }} run
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
{{ packageManager }} run dev
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
Run tests:
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
{{ packageManager }} run test
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
Run tests in watch mode:
|
|
32
|
-
|
|
33
|
-
```bash
|
|
34
|
-
{{ packageManager }} run test:watch
|
|
35
|
-
```
|
|
11
|
+
## Scripts
|
|
12
|
+
|
|
13
|
+
- `{{ packageManager }} run build`: Build the library.
|
|
14
|
+
- `{{ packageManager }} run check`: Run static checks, including lint and format.
|
|
15
|
+
- `{{ packageManager }} run dev`: Build the library in watch mode.
|
|
16
|
+
- `{{ packageManager }} run format`: Format code.
|
|
17
|
+
- `{{ packageManager }} run lint`: Lint code.
|
|
18
|
+
- `{{ packageManager }} run test`: Run tests.
|
|
19
|
+
- `{{ packageManager }} run test:watch`: Run tests in watch mode.
|
|
36
20
|
|
|
37
21
|
## Learn more
|
|
38
22
|
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
],
|
|
16
16
|
"scripts": {
|
|
17
17
|
"build": "rs lib",
|
|
18
|
-
"check": "rs
|
|
18
|
+
"check": "rs check --type-check",
|
|
19
19
|
"dev": "rs lib --watch",
|
|
20
20
|
"format": "rs fmt",
|
|
21
21
|
"lint": "rs lint",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"happy-dom": "^20.11.2",
|
|
34
34
|
"react": "^19.2.8",
|
|
35
35
|
"react-dom": "^19.2.8",
|
|
36
|
-
"rstack": "^0.
|
|
36
|
+
"rstack": "^0.5.0",
|
|
37
37
|
"typescript": "^7.0.2"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Rstack library
|
|
2
|
+
|
|
3
|
+
## Setup
|
|
4
|
+
|
|
5
|
+
Install the dependencies:
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
{{ packageManager }} install
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Scripts
|
|
12
|
+
|
|
13
|
+
- `{{ packageManager }} run build`: Build the library.
|
|
14
|
+
- `{{ packageManager }} run check`: Run static checks, including lint and format.
|
|
15
|
+
- `{{ packageManager }} run dev`: Build the library in watch mode.
|
|
16
|
+
- `{{ packageManager }} run format`: Format code.
|
|
17
|
+
- `{{ packageManager }} run lint`: Lint code.
|
|
18
|
+
- `{{ packageManager }} run test`: Run tests.
|
|
19
|
+
- `{{ packageManager }} run test:watch`: Run tests in watch mode.
|
|
20
|
+
|
|
21
|
+
## Learn more
|
|
22
|
+
|
|
23
|
+
- [Rstack documentation](https://rstack.rs)
|
|
24
|
+
- [Rslib documentation](https://rslib.rs)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "rstack-lib-solid
|
|
2
|
+
"name": "rstack-lib-solid",
|
|
3
3
|
"version": "0.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
],
|
|
15
15
|
"scripts": {
|
|
16
16
|
"build": "rs lib",
|
|
17
|
-
"check": "rs
|
|
17
|
+
"check": "rs check",
|
|
18
18
|
"dev": "rs lib --watch",
|
|
19
19
|
"format": "rs fmt",
|
|
20
20
|
"lint": "rs lint",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@solidjs/testing-library": "^0.8.10",
|
|
28
28
|
"@testing-library/jest-dom": "^7.0.0",
|
|
29
29
|
"happy-dom": "^20.11.2",
|
|
30
|
-
"rstack": "^0.
|
|
30
|
+
"rstack": "^0.5.0",
|
|
31
31
|
"solid-js": "^1.9.14"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
@@ -8,31 +8,15 @@ Install the dependencies:
|
|
|
8
8
|
{{ packageManager }} install
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
##
|
|
12
|
-
|
|
13
|
-
Build the library
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
{{ packageManager }} run
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
{{ packageManager }} run dev
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
Run tests:
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
{{ packageManager }} run test
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
Run tests in watch mode:
|
|
32
|
-
|
|
33
|
-
```bash
|
|
34
|
-
{{ packageManager }} run test:watch
|
|
35
|
-
```
|
|
11
|
+
## Scripts
|
|
12
|
+
|
|
13
|
+
- `{{ packageManager }} run build`: Build the library.
|
|
14
|
+
- `{{ packageManager }} run check`: Run static checks, including lint and format.
|
|
15
|
+
- `{{ packageManager }} run dev`: Build the library in watch mode.
|
|
16
|
+
- `{{ packageManager }} run format`: Format code.
|
|
17
|
+
- `{{ packageManager }} run lint`: Lint code.
|
|
18
|
+
- `{{ packageManager }} run test`: Run tests.
|
|
19
|
+
- `{{ packageManager }} run test:watch`: Run tests in watch mode.
|
|
36
20
|
|
|
37
21
|
## Learn more
|
|
38
22
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
],
|
|
17
17
|
"scripts": {
|
|
18
18
|
"build": "rs lib",
|
|
19
|
-
"check": "rs
|
|
19
|
+
"check": "rs check --type-check",
|
|
20
20
|
"dev": "rs lib --watch",
|
|
21
21
|
"format": "rs fmt",
|
|
22
22
|
"lint": "rs lint",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@testing-library/jest-dom": "^7.0.0",
|
|
31
31
|
"@types/node": "^24.13.3",
|
|
32
32
|
"happy-dom": "^20.11.2",
|
|
33
|
-
"rstack": "^0.
|
|
33
|
+
"rstack": "^0.5.0",
|
|
34
34
|
"solid-js": "^1.9.14",
|
|
35
35
|
"typescript": "^7.0.2"
|
|
36
36
|
},
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Rstack library
|
|
2
|
+
|
|
3
|
+
## Setup
|
|
4
|
+
|
|
5
|
+
Install the dependencies:
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
{{ packageManager }} install
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Scripts
|
|
12
|
+
|
|
13
|
+
- `{{ packageManager }} run build`: Build the library.
|
|
14
|
+
- `{{ packageManager }} run check`: Run static checks, including lint and format.
|
|
15
|
+
- `{{ packageManager }} run dev`: Build the library in watch mode.
|
|
16
|
+
- `{{ packageManager }} run format`: Format code.
|
|
17
|
+
- `{{ packageManager }} run lint`: Lint code.
|
|
18
|
+
- `{{ packageManager }} run test`: Run tests.
|
|
19
|
+
- `{{ packageManager }} run test:watch`: Run tests in watch mode.
|
|
20
|
+
|
|
21
|
+
## Learn more
|
|
22
|
+
|
|
23
|
+
- [Rstack documentation](https://rstack.rs)
|
|
24
|
+
- [Rslib documentation](https://rslib.rs)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "rstack-lib-svelte
|
|
2
|
+
"name": "rstack-lib-svelte",
|
|
3
3
|
"version": "0.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
],
|
|
14
14
|
"scripts": {
|
|
15
15
|
"build": "rs lib",
|
|
16
|
-
"check": "rs
|
|
16
|
+
"check": "rs check",
|
|
17
17
|
"dev": "rs lib --watch",
|
|
18
18
|
"format": "rs fmt",
|
|
19
19
|
"lint": "rs lint",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@rsbuild/plugin-svelte": "^2.0.1",
|
|
25
25
|
"happy-dom": "^20.11.2",
|
|
26
26
|
"prettier-plugin-svelte": "^4.1.1",
|
|
27
|
-
"rstack": "^0.
|
|
27
|
+
"rstack": "^0.5.0",
|
|
28
28
|
"svelte": "^5.56.8"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
@@ -8,31 +8,15 @@ Install the dependencies:
|
|
|
8
8
|
{{ packageManager }} install
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
##
|
|
12
|
-
|
|
13
|
-
Build the library
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
{{ packageManager }} run
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
{{ packageManager }} run dev
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
Run tests:
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
{{ packageManager }} run test
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
Run tests in watch mode:
|
|
32
|
-
|
|
33
|
-
```bash
|
|
34
|
-
{{ packageManager }} run test:watch
|
|
35
|
-
```
|
|
11
|
+
## Scripts
|
|
12
|
+
|
|
13
|
+
- `{{ packageManager }} run build`: Build the library.
|
|
14
|
+
- `{{ packageManager }} run check`: Run static checks, including lint and format.
|
|
15
|
+
- `{{ packageManager }} run dev`: Build the library in watch mode.
|
|
16
|
+
- `{{ packageManager }} run format`: Format code.
|
|
17
|
+
- `{{ packageManager }} run lint`: Lint code.
|
|
18
|
+
- `{{ packageManager }} run test`: Run tests.
|
|
19
|
+
- `{{ packageManager }} run test:watch`: Run tests in watch mode.
|
|
36
20
|
|
|
37
21
|
## Learn more
|
|
38
22
|
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
],
|
|
16
16
|
"scripts": {
|
|
17
17
|
"build": "svelte-check && rs lib",
|
|
18
|
-
"check": "rs
|
|
18
|
+
"check": "rs check",
|
|
19
19
|
"dev": "rs lib --watch",
|
|
20
20
|
"format": "rs fmt",
|
|
21
21
|
"lint": "rs lint",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@types/node": "^24.13.3",
|
|
28
28
|
"happy-dom": "^20.11.2",
|
|
29
29
|
"prettier-plugin-svelte": "^4.1.1",
|
|
30
|
-
"rstack": "^0.
|
|
30
|
+
"rstack": "^0.5.0",
|
|
31
31
|
"svelte": "^5.56.8",
|
|
32
32
|
"svelte-check": "^4.7.5",
|
|
33
33
|
"svelte2tsx": "^0.7.59",
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Rstack library
|
|
2
|
+
|
|
3
|
+
## Setup
|
|
4
|
+
|
|
5
|
+
Install the dependencies:
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
{{ packageManager }} install
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Scripts
|
|
12
|
+
|
|
13
|
+
- `{{ packageManager }} run build`: Build the library.
|
|
14
|
+
- `{{ packageManager }} run check`: Run static checks, including lint and format.
|
|
15
|
+
- `{{ packageManager }} run dev`: Build the library in watch mode.
|
|
16
|
+
- `{{ packageManager }} run format`: Format code.
|
|
17
|
+
- `{{ packageManager }} run lint`: Lint code.
|
|
18
|
+
- `{{ packageManager }} run test`: Run tests.
|
|
19
|
+
- `{{ packageManager }} run test:watch`: Run tests in watch mode.
|
|
20
|
+
|
|
21
|
+
## Learn more
|
|
22
|
+
|
|
23
|
+
- [Rstack documentation](https://rstack.rs)
|
|
24
|
+
- [Rslib documentation](https://rslib.rs)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "rstack-lib-vue
|
|
2
|
+
"name": "rstack-lib-vue",
|
|
3
3
|
"version": "0.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
],
|
|
14
14
|
"scripts": {
|
|
15
15
|
"build": "rs lib",
|
|
16
|
-
"check": "rs
|
|
16
|
+
"check": "rs check",
|
|
17
17
|
"dev": "rs lib --watch",
|
|
18
18
|
"format": "rs fmt",
|
|
19
19
|
"lint": "rs lint",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@testing-library/jest-dom": "^7.0.0",
|
|
26
26
|
"@vue/test-utils": "^2.4.11",
|
|
27
27
|
"happy-dom": "^20.11.2",
|
|
28
|
-
"rstack": "^0.
|
|
28
|
+
"rstack": "^0.5.0",
|
|
29
29
|
"vue": "^3.5.41"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
@@ -8,31 +8,15 @@ Install the dependencies:
|
|
|
8
8
|
{{ packageManager }} install
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
##
|
|
12
|
-
|
|
13
|
-
Build the library
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
{{ packageManager }} run
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
{{ packageManager }} run dev
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
Run tests:
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
{{ packageManager }} run test
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
Run tests in watch mode:
|
|
32
|
-
|
|
33
|
-
```bash
|
|
34
|
-
{{ packageManager }} run test:watch
|
|
35
|
-
```
|
|
11
|
+
## Scripts
|
|
12
|
+
|
|
13
|
+
- `{{ packageManager }} run build`: Build the library.
|
|
14
|
+
- `{{ packageManager }} run check`: Run static checks, including lint and format.
|
|
15
|
+
- `{{ packageManager }} run dev`: Build the library in watch mode.
|
|
16
|
+
- `{{ packageManager }} run format`: Format code.
|
|
17
|
+
- `{{ packageManager }} run lint`: Lint code.
|
|
18
|
+
- `{{ packageManager }} run test`: Run tests.
|
|
19
|
+
- `{{ packageManager }} run test:watch`: Run tests in watch mode.
|
|
36
20
|
|
|
37
21
|
## Learn more
|
|
38
22
|
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
],
|
|
16
16
|
"scripts": {
|
|
17
17
|
"build": "rs lib && vue-tsc",
|
|
18
|
-
"check": "rs
|
|
18
|
+
"check": "rs check",
|
|
19
19
|
"dev": "rs lib --watch",
|
|
20
20
|
"format": "rs fmt",
|
|
21
21
|
"lint": "rs lint",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@types/node": "^24.13.3",
|
|
29
29
|
"@vue/test-utils": "^2.4.11",
|
|
30
30
|
"happy-dom": "^20.11.2",
|
|
31
|
-
"rstack": "^0.
|
|
31
|
+
"rstack": "^0.5.0",
|
|
32
32
|
"typescript": "^6.0.3",
|
|
33
33
|
"vue": "^3.5.41",
|
|
34
34
|
"vue-tsc": "^3.3.9"
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# Rstack documentation site
|
|
2
|
-
|
|
3
|
-
## Setup
|
|
4
|
-
|
|
5
|
-
Install the dependencies:
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
{{ packageManager }} install
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Get started
|
|
12
|
-
|
|
13
|
-
Start the development server:
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
{{ packageManager }} run dev
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
Build the website for production:
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
{{ packageManager }} run build
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
Preview the production build locally:
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
{{ packageManager }} run preview
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
## Learn more
|
|
32
|
-
|
|
33
|
-
- [Rstack documentation](https://rstack.rs)
|
|
34
|
-
- [Rspress documentation](https://rspress.rs)
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
# Rstack library
|
|
2
|
-
|
|
3
|
-
## Setup
|
|
4
|
-
|
|
5
|
-
Install the dependencies:
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
{{ packageManager }} install
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Get started
|
|
12
|
-
|
|
13
|
-
Build the library:
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
{{ packageManager }} run build
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
Build the library in watch mode:
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
{{ packageManager }} run dev
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
Run tests:
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
{{ packageManager }} run test
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
Run tests in watch mode:
|
|
32
|
-
|
|
33
|
-
```bash
|
|
34
|
-
{{ packageManager }} run test:watch
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
## Learn more
|
|
38
|
-
|
|
39
|
-
- [Rstack documentation](https://rstack.rs)
|
|
40
|
-
- [Rslib documentation](https://rslib.rs)
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
# Rstack library
|
|
2
|
-
|
|
3
|
-
## Setup
|
|
4
|
-
|
|
5
|
-
Install the dependencies:
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
{{ packageManager }} install
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Get started
|
|
12
|
-
|
|
13
|
-
Build the library:
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
{{ packageManager }} run build
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
Build the library in watch mode:
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
{{ packageManager }} run dev
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
Run tests:
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
{{ packageManager }} run test
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
Run tests in watch mode:
|
|
32
|
-
|
|
33
|
-
```bash
|
|
34
|
-
{{ packageManager }} run test:watch
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
## Learn more
|
|
38
|
-
|
|
39
|
-
- [Rstack documentation](https://rstack.rs)
|
|
40
|
-
- [Rslib documentation](https://rslib.rs)
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
# Rstack library
|
|
2
|
-
|
|
3
|
-
## Setup
|
|
4
|
-
|
|
5
|
-
Install the dependencies:
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
{{ packageManager }} install
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Get started
|
|
12
|
-
|
|
13
|
-
Build the library:
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
{{ packageManager }} run build
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
Build the library in watch mode:
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
{{ packageManager }} run dev
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
Run tests:
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
{{ packageManager }} run test
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
Run tests in watch mode:
|
|
32
|
-
|
|
33
|
-
```bash
|
|
34
|
-
{{ packageManager }} run test:watch
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
## Learn more
|
|
38
|
-
|
|
39
|
-
- [Rstack documentation](https://rstack.rs)
|
|
40
|
-
- [Rslib documentation](https://rslib.rs)
|