increase hype factor

This commit is contained in:
EatThePooh 2026-02-20 23:55:59 +07:00
parent 81f0d027b2
commit 1681a9b94e
8 changed files with 845 additions and 1213 deletions

View file

@ -8,7 +8,7 @@ A minimal CLI template using Stricli and Dax.
nix develop # optional: provides Node.js, TypeScript, biome nix develop # optional: provides Node.js, TypeScript, biome
npm install npm install
npm run build npm run build
node dist/index.js --help node dist/index.mjs --help
``` ```
Alternatively, use Nix directly: 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": { "vcs": {
"enabled": true, "enabled": true,
"clientKind": "git", "clientKind": "git",

84
flake.lock generated
View file

@ -1,21 +1,5 @@
{ {
"nodes": { "nodes": {
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1767039857,
"narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=",
"owner": "NixOS",
"repo": "flake-compat",
"rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "flake-compat",
"type": "github"
}
},
"flake-parts": { "flake-parts": {
"inputs": { "inputs": {
"nixpkgs-lib": "nixpkgs-lib" "nixpkgs-lib": "nixpkgs-lib"
@ -34,59 +18,18 @@
"type": "github" "type": "github"
} }
}, },
"git-hooks": {
"inputs": {
"flake-compat": "flake-compat",
"gitignore": "gitignore",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1770726378,
"narHash": "sha256-kck+vIbGOaM/dHea7aTBxdFYpeUl/jHOy5W3eyRvVx8=",
"owner": "cachix",
"repo": "git-hooks.nix",
"rev": "5eaaedde414f6eb1aea8b8525c466dc37bba95ae",
"type": "github"
},
"original": {
"owner": "cachix",
"repo": "git-hooks.nix",
"type": "github"
}
},
"gitignore": {
"inputs": {
"nixpkgs": [
"git-hooks",
"nixpkgs"
]
},
"locked": {
"lastModified": 1709087332,
"narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
"owner": "hercules-ci",
"repo": "gitignore.nix",
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "gitignore.nix",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1770073757, "lastModified": 1771008912,
"narHash": "sha256-Vy+G+F+3E/Tl+GMNgiHl9Pah2DgShmIUBJXmbiQPHbI=", "narHash": "sha256-gf2AmWVTs8lEq7z/3ZAsgnZDhWIckkb+ZnAo5RzSxJg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "47472570b1e607482890801aeaf29bfb749884f6", "rev": "a82ccc39b39b621151d6732718e3e250109076fa",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixpkgs-unstable", "ref": "nixos-unstable",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@ -106,27 +49,10 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_2": {
"locked": {
"lastModified": 1771008912,
"narHash": "sha256-gf2AmWVTs8lEq7z/3ZAsgnZDhWIckkb+ZnAo5RzSxJg=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "a82ccc39b39b621151d6732718e3e250109076fa",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": { "root": {
"inputs": { "inputs": {
"flake-parts": "flake-parts", "flake-parts": "flake-parts",
"git-hooks": "git-hooks", "nixpkgs": "nixpkgs"
"nixpkgs": "nixpkgs_2"
} }
} }
}, },

View file

@ -17,13 +17,13 @@
pname = "name-placeholder"; pname = "name-placeholder";
version = "0.1.0"; version = "0.1.0";
src = ./.; src = ./.;
npmDepsHash = "sha256-+30FObMk/z+ondarQzErirWkefJZR9dNGO6JPdbwSZI="; npmDepsHash = "sha256-EvM5ZyNQEW8RYFCfI7Bkju1qL+1y8nleXPAX3IKce78=";
npmBuildScript = "build"; npmBuildScript = "build";
}; };
devShells.default = pkgs.mkShell { devShells.default = pkgs.mkShell {
packages = with pkgs; packages = with pkgs;
[ nodejs typescript-language-server biome ]; [ nodejs typescript-language-server ];
}; };
formatter = pkgs.nixpkgs-fmt; 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", "version": "0.1.0",
"type": "module", "type": "module",
"bin": { "bin": {
"name-placeholder": "./dist/index.js" "name-placeholder": "./dist/index.mjs"
}, },
"dependencies": { "dependencies": {
"@stricli/core": "^1.2.5", "@stricli/core": "^1.2.5",
"dax": "^0.45.0" "dax": "^0.45.0"
}, },
"devDependencies": { "devDependencies": {
"@biomejs/biome": "^2.4.3",
"@types/node": "^25.2.3", "@types/node": "^25.2.3",
"tsup": "^8.5.1", "@typescript/native-preview": "^7.0.0-dev.20260220.1",
"typescript": "^5.9.3" "tsdown": "^0.20.3"
}, },
"scripts": { "scripts": {
"build": "tsup src/index.ts", "build": "npx tsdown src/index.ts --format esm --clean",
"check": "tsc --noEmit && biome check ." "check": "npx tsgo --project tsconfig.json --types node --noEmit && npx @biomejs/biome check ."
} }
} }

View file

@ -3,8 +3,6 @@
"module": "nodenext", "module": "nodenext",
"target": "esnext", "target": "esnext",
"sourceMap": true, "sourceMap": true,
"declaration": true,
"declarationMap": true,
"strict": true, "strict": true,
"noUncheckedIndexedAccess": true, "noUncheckedIndexedAccess": true,
"exactOptionalPropertyTypes": 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
});