janitoring
This commit is contained in:
parent
d2aae92692
commit
fda684900b
4 changed files with 22 additions and 28 deletions
|
|
@ -5,7 +5,7 @@ A minimal CLI template using Stricli and Dax.
|
|||
## Quick Start
|
||||
|
||||
```bash
|
||||
nix develop # optional: provides Node.js, TypeScript, biome
|
||||
nix develop # optional: provides Node.js, TypeScript
|
||||
npm install
|
||||
npm run build
|
||||
node dist/index.mjs --help
|
||||
|
|
@ -20,7 +20,7 @@ nix shell . --command name-placeholder --help # provides CLI in PATH
|
|||
|
||||
## Development
|
||||
|
||||
Uses TypeScript and Biome for checks:
|
||||
Uses Biome for checks (installed via npm):
|
||||
|
||||
```bash
|
||||
npm run check
|
||||
|
|
|
|||
38
package-lock.json
generated
38
package-lock.json
generated
|
|
@ -9,7 +9,8 @@
|
|||
"version": "0.1.0",
|
||||
"dependencies": {
|
||||
"@stricli/core": "^1.2.5",
|
||||
"dax": "^0.45.0"
|
||||
"dax": "^0.45.0",
|
||||
"typescript": "^5.9.3"
|
||||
},
|
||||
"bin": {
|
||||
"name-placeholder": "dist/index.mjs"
|
||||
|
|
@ -17,7 +18,6 @@
|
|||
"devDependencies": {
|
||||
"@biomejs/biome": "^2.4.3",
|
||||
"@types/node": "^25.2.3",
|
||||
"@typescript/native-preview": "^7.0.0-dev.20260220.1",
|
||||
"tsdown": "^0.20.3"
|
||||
}
|
||||
},
|
||||
|
|
@ -650,26 +650,6 @@
|
|||
"undici-types": "~7.18.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@typescript/native-preview": {
|
||||
"version": "7.0.0-dev.20260220.1",
|
||||
"resolved": "https://registry.npmjs.org/@typescript/native-preview/-/native-preview-7.0.0-dev.20260220.1.tgz",
|
||||
"integrity": "sha512-trYXlG98/C7Q7pqnPrKo+ksXrWqWVMncCy2x0VftD2llfL99Z//g2mpB9TmzWeKgb4d1659ESvxTowCGnzMccw==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"peer": true,
|
||||
"bin": {
|
||||
"tsgo": "bin/tsgo.js"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@typescript/native-preview-darwin-arm64": "7.0.0-dev.20260220.1",
|
||||
"@typescript/native-preview-darwin-x64": "7.0.0-dev.20260220.1",
|
||||
"@typescript/native-preview-linux-arm": "7.0.0-dev.20260220.1",
|
||||
"@typescript/native-preview-linux-arm64": "7.0.0-dev.20260220.1",
|
||||
"@typescript/native-preview-linux-x64": "7.0.0-dev.20260220.1",
|
||||
"@typescript/native-preview-win32-arm64": "7.0.0-dev.20260220.1",
|
||||
"@typescript/native-preview-win32-x64": "7.0.0-dev.20260220.1"
|
||||
}
|
||||
},
|
||||
"node_modules/@typescript/native-preview-darwin-arm64": {
|
||||
"version": "7.0.0-dev.20260220.1",
|
||||
"resolved": "https://registry.npmjs.org/@typescript/native-preview-darwin-arm64/-/native-preview-darwin-arm64-7.0.0-dev.20260220.1.tgz",
|
||||
|
|
@ -1210,6 +1190,20 @@
|
|||
"license": "0BSD",
|
||||
"optional": true
|
||||
},
|
||||
"node_modules/typescript": {
|
||||
"version": "5.9.3",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
|
||||
"integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
|
||||
"license": "Apache-2.0",
|
||||
"peer": true,
|
||||
"bin": {
|
||||
"tsc": "bin/tsc",
|
||||
"tsserver": "bin/tsserver"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14.17"
|
||||
}
|
||||
},
|
||||
"node_modules/unconfig-core": {
|
||||
"version": "7.5.0",
|
||||
"resolved": "https://registry.npmjs.org/unconfig-core/-/unconfig-core-7.5.0.tgz",
|
||||
|
|
|
|||
|
|
@ -7,16 +7,16 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@stricli/core": "^1.2.5",
|
||||
"dax": "^0.45.0"
|
||||
"dax": "^0.45.0",
|
||||
"typescript": "^5.9.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^2.4.3",
|
||||
"@types/node": "^25.2.3",
|
||||
"@typescript/native-preview": "^7.0.0-dev.20260220.1",
|
||||
"tsdown": "^0.20.3"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "npx tsdown src/index.ts --format esm --clean",
|
||||
"check": "npx tsgo --project tsconfig.json --types node --noEmit && npx @biomejs/biome check ."
|
||||
"check": "npx tsc --noEmit && npx @biomejs/biome check ."
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
#!/usr/bin/env node
|
||||
|
||||
import packageJson from "../package.json" with { type: "json" };
|
||||
import {
|
||||
buildApplication,
|
||||
buildCommand,
|
||||
|
|
@ -9,6 +8,7 @@ import {
|
|||
run,
|
||||
} from "@stricli/core";
|
||||
import { $, CommandBuilder } from "dax";
|
||||
import packageJson from "../package.json" with { type: "json" };
|
||||
|
||||
$.setPrintCommand(true);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue