vyriy 0.5.6 → 0.6.6
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 -0
- package/cli.js +10 -0
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -100,10 +100,23 @@ Starts the reusable `@vyriy/static` server command:
|
|
|
100
100
|
vyriy static
|
|
101
101
|
vyriy static public
|
|
102
102
|
vyriy static --port 3000 dist
|
|
103
|
+
vyriy static dist --cache static
|
|
104
|
+
vyriy static dist --spa --fallback index.html --cache static
|
|
103
105
|
vyriy static --help
|
|
104
106
|
vyriy static --version
|
|
105
107
|
```
|
|
106
108
|
|
|
109
|
+
Static options are delegated to `@vyriy/static`:
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
vyriy static dist --cache none
|
|
113
|
+
vyriy static dist --cache default
|
|
114
|
+
vyriy static dist --cache static
|
|
115
|
+
vyriy static dist --cache immutable
|
|
116
|
+
vyriy static dist --index index.html --not-found 404.html
|
|
117
|
+
vyriy static dist --spa --fallback index.html
|
|
118
|
+
```
|
|
119
|
+
|
|
107
120
|
## Presets
|
|
108
121
|
|
|
109
122
|
Registered presets:
|
package/cli.js
CHANGED
|
@@ -18,6 +18,14 @@ Create options:
|
|
|
18
18
|
vyriy create --no-install Create files without installing dependencies
|
|
19
19
|
vyriy create --no-verify Install dependencies without running checks
|
|
20
20
|
|
|
21
|
+
Static options:
|
|
22
|
+
vyriy static --port 3000 dist Serve on a specific port
|
|
23
|
+
vyriy static dist --cache static Cache preset: none, default, static, immutable
|
|
24
|
+
vyriy static dist --index index.html Static directory index file
|
|
25
|
+
vyriy static dist --not-found 404.html Static 404 response file
|
|
26
|
+
vyriy static dist --spa Enable SPA fallback mode
|
|
27
|
+
vyriy static dist --fallback index.html SPA fallback file
|
|
28
|
+
|
|
21
29
|
Examples:
|
|
22
30
|
vyriy create app
|
|
23
31
|
vyriy create app --dry-run
|
|
@@ -26,6 +34,8 @@ Examples:
|
|
|
26
34
|
vyriy dist
|
|
27
35
|
vyriy static
|
|
28
36
|
vyriy static --port 3000 dist
|
|
37
|
+
vyriy static dist --cache static
|
|
38
|
+
vyriy static dist --spa --fallback index.html --cache static
|
|
29
39
|
vyriy static dist
|
|
30
40
|
vyriy check`;
|
|
31
41
|
export const cli = async (args = []) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vyriy",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.6",
|
|
4
4
|
"description": "Interactive project master for calm cloud-ready applications.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": "./bin/vyriy.js",
|
|
@@ -9,16 +9,16 @@
|
|
|
9
9
|
},
|
|
10
10
|
"packageManager": "yarn@4.16.0",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@vyriy/check": "0.
|
|
13
|
-
"@vyriy/create": "0.
|
|
14
|
-
"@vyriy/dist": "0.
|
|
15
|
-
"@vyriy/static": "0.
|
|
12
|
+
"@vyriy/check": "0.6.6",
|
|
13
|
+
"@vyriy/create": "0.6.6",
|
|
14
|
+
"@vyriy/dist": "0.6.6",
|
|
15
|
+
"@vyriy/static": "0.6.6"
|
|
16
16
|
},
|
|
17
17
|
"peerDependencies": {
|
|
18
18
|
"@testing-library/dom": "^10.4.1",
|
|
19
19
|
"@testing-library/react": "^16.3.2",
|
|
20
20
|
"@types/jest": "^30.0.0",
|
|
21
|
-
"@types/react": "^19.2.
|
|
21
|
+
"@types/react": "^19.2.17",
|
|
22
22
|
"@types/react-dom": "^19.2.3",
|
|
23
23
|
"cross-env": "^10.1.0",
|
|
24
24
|
"eslint": "^10.4.1",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"sass": "^1.100.0",
|
|
34
34
|
"serve": "^14.2.6",
|
|
35
35
|
"storybook": "^10.4.2",
|
|
36
|
-
"stylelint": "^17.
|
|
36
|
+
"stylelint": "^17.13.0",
|
|
37
37
|
"tsx": "^4.22.4",
|
|
38
38
|
"typescript": "^6.0.3",
|
|
39
39
|
"webpack": "^5.107.2",
|