increase hype factor

This commit is contained in:
EatThePooh 2026-02-20 23:55:59 +07:00
parent 81f0d027b2
commit 0ae3c1498e
7 changed files with 840 additions and 1134 deletions

View file

@ -8,7 +8,7 @@ A minimal CLI template using Stricli and Dax.
nix develop # optional: provides Node.js, TypeScript, biome
npm install
npm run build
node dist/index.js --help
node dist/index.mjs --help
```
Alternatively, use Nix directly:

View file

@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/2.3.14/schema.json",
"$schema": "https://biomejs.dev/schemas/2.4.3/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",

View file

@ -17,13 +17,13 @@
pname = "name-placeholder";
version = "0.1.0";
src = ./.;
npmDepsHash = "sha256-+30FObMk/z+ondarQzErirWkefJZR9dNGO6JPdbwSZI=";
npmDepsHash = "sha256-EvM5ZyNQEW8RYFCfI7Bkju1qL+1y8nleXPAX3IKce78=";
npmBuildScript = "build";
};
devShells.default = pkgs.mkShell {
packages = with pkgs;
[ nodejs typescript-language-server biome ];
[ nodejs typescript-language-server ];
};
formatter = pkgs.nixpkgs-fmt;

1945
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -3,19 +3,20 @@
"version": "0.1.0",
"type": "module",
"bin": {
"name-placeholder": "./dist/index.js"
"name-placeholder": "./dist/index.mjs"
},
"dependencies": {
"@stricli/core": "^1.2.5",
"dax": "^0.45.0"
},
"devDependencies": {
"@biomejs/biome": "^2.4.3",
"@types/node": "^25.2.3",
"tsup": "^8.5.1",
"typescript": "^5.9.3"
"@typescript/native-preview": "^7.0.0-dev.20260220.1",
"tsdown": "^0.20.3"
},
"scripts": {
"build": "tsup src/index.ts",
"check": "tsc --noEmit && biome check ."
"build": "npx tsdown src/index.ts --format esm --clean",
"check": "npx tsgo --project tsconfig.json --types node --noEmit && npx @biomejs/biome check ."
}
}

View file

@ -3,8 +3,6 @@
"module": "nodenext",
"target": "esnext",
"sourceMap": true,
"declaration": true,
"declarationMap": true,
"strict": true,
"noUncheckedIndexedAccess": true,
"exactOptionalPropertyTypes": true,

View file

@ -1,8 +0,0 @@
import { defineConfig } from "tsup";
export default defineConfig({
entry: ["src/index.ts"],
format: ["esm"],
clean: true,
shims: true, // Add shims for __dirname/__filename in ESM
});