@yrest/cli 0.6.0 → 0.8.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 +156 -18
- package/assets/logo-color.png +0 -0
- package/assets/logo-figure.png +0 -0
- package/assets/logo-text.png +0 -0
- package/assets/logo-white.png +0 -0
- package/assets/yRest-banner.png +0 -0
- package/dist/cli/index.js +176 -43
- package/dist/cli/index.mjs +155 -22
- package/dist/index.d.mts +95 -16
- package/dist/index.d.ts +95 -16
- package/dist/index.js +159 -25
- package/dist/index.mjs +150 -19
- package/package.json +10 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yrest/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "YAML-powered json-server alternative. Zero-config REST API mock server with full CRUD, relations, filters and snapshots from a db.yml file.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"yrest",
|
|
@@ -52,7 +52,8 @@
|
|
|
52
52
|
"yrest": "./dist/cli/index.js"
|
|
53
53
|
},
|
|
54
54
|
"files": [
|
|
55
|
-
"dist"
|
|
55
|
+
"dist",
|
|
56
|
+
"assets"
|
|
56
57
|
],
|
|
57
58
|
"scripts": {
|
|
58
59
|
"build": "tsup",
|
|
@@ -64,7 +65,8 @@
|
|
|
64
65
|
"lint:fix": "eslint src tests --fix",
|
|
65
66
|
"format": "prettier --write .",
|
|
66
67
|
"format:check": "prettier --check .",
|
|
67
|
-
"prepublishOnly": "npm run test:run && npm run build"
|
|
68
|
+
"prepublishOnly": "npm run test:run && npm run build",
|
|
69
|
+
"version": "node scripts/update-version-badge.mjs && git add README.md"
|
|
68
70
|
},
|
|
69
71
|
"dependencies": {
|
|
70
72
|
"@fastify/cors": "^10.0.0",
|
|
@@ -86,5 +88,10 @@
|
|
|
86
88
|
},
|
|
87
89
|
"engines": {
|
|
88
90
|
"node": ">=20"
|
|
91
|
+
},
|
|
92
|
+
"socket": {
|
|
93
|
+
"allow": {
|
|
94
|
+
"filesystem": true
|
|
95
|
+
}
|
|
89
96
|
}
|
|
90
97
|
}
|