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 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",

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;

1943
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
});