@stratify/cli 0.2.4 → 0.2.5
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 +1 -9
- package/dist/bin.js +2 -2
- package/package.json +3 -3
- package/template/package.json +10 -10
package/README.md
CHANGED
|
@@ -12,16 +12,8 @@ npm install -g @stratify/cli
|
|
|
12
12
|
|
|
13
13
|
## Usage
|
|
14
14
|
|
|
15
|
-
With `npx` (no global install required):
|
|
16
|
-
|
|
17
|
-
```bash
|
|
18
|
-
npx @stratify/cli new <app-name>
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
Or, after a global install:
|
|
22
|
-
|
|
23
15
|
```bash
|
|
24
|
-
stratify-cli new <app-name>
|
|
16
|
+
npx stratify-cli new <app-name>
|
|
25
17
|
```
|
|
26
18
|
|
|
27
19
|
Creates a new project with:
|
package/dist/bin.js
CHANGED
|
@@ -15,7 +15,7 @@ async function main() {
|
|
|
15
15
|
const [cmd, rawName] = process.argv.slice(2).map((arg) => arg?.trim());
|
|
16
16
|
if (!cmd || cmd !== "new") {
|
|
17
17
|
console.error(`Usage:
|
|
18
|
-
npx
|
|
18
|
+
npx stratify-cli new <app-name>
|
|
19
19
|
|
|
20
20
|
Commands:
|
|
21
21
|
new Scaffold a new Stratify app
|
|
@@ -24,7 +24,7 @@ Commands:
|
|
|
24
24
|
}
|
|
25
25
|
const name = sanitizeAppName(rawName);
|
|
26
26
|
if (!name) {
|
|
27
|
-
console.error("Please provide a valid app name (letters, numbers, dashes or underscores), e.g. npx
|
|
27
|
+
console.error("Please provide a valid app name (letters, numbers, dashes or underscores), e.g. npx stratify-cli new my-app");
|
|
28
28
|
process.exit(1);
|
|
29
29
|
}
|
|
30
30
|
const templateDir = resolve(new URL("../template", import.meta.url).pathname);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stratify/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"stratify-cli": "./dist/bin.js"
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@types/node": "^25.2
|
|
24
|
+
"@types/node": "^25.6.2",
|
|
25
25
|
"tsx": "^4.21.0",
|
|
26
|
-
"typescript": "^5.
|
|
26
|
+
"typescript": "^5.6.3"
|
|
27
27
|
},
|
|
28
28
|
"keywords": [
|
|
29
29
|
"stratify",
|
package/template/package.json
CHANGED
|
@@ -11,19 +11,19 @@
|
|
|
11
11
|
"test": "tsx --test"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@fastify/cors": "^
|
|
15
|
-
"@sinclair/typebox": "^0.34.
|
|
16
|
-
"@stratify/core": "^0.2.
|
|
17
|
-
"close-with-grace": "2.
|
|
14
|
+
"@fastify/cors": "^10.0.0",
|
|
15
|
+
"@sinclair/typebox": "^0.34.49",
|
|
16
|
+
"@stratify/core": "^0.2.3",
|
|
17
|
+
"close-with-grace": "2.5.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@eslint/js": "^9.
|
|
21
|
-
"
|
|
22
|
-
"eslint": "^9.39.2",
|
|
20
|
+
"@eslint/js": "^9.13.0",
|
|
21
|
+
"eslint": "^9.13.0",
|
|
23
22
|
"eslint-plugin-import": "^2.32.0",
|
|
24
|
-
"prettier": "^3.8.
|
|
23
|
+
"prettier": "^3.8.3",
|
|
25
24
|
"tsx": "^4.21.0",
|
|
26
|
-
"typescript": "^5.
|
|
27
|
-
"typescript-eslint": "^8.
|
|
25
|
+
"typescript": "^5.6.3",
|
|
26
|
+
"typescript-eslint": "^8.59.2",
|
|
27
|
+
"@types/node": "^25.6.2"
|
|
28
28
|
}
|
|
29
29
|
}
|