@nghitrum/dsforge 0.1.5-alpha.0 → 0.1.5-alpha.1

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.
Files changed (2) hide show
  1. package/dist/cli/index.js +65 -1
  2. package/package.json +1 -1
package/dist/cli/index.js CHANGED
@@ -5293,8 +5293,72 @@ async function runMenu() {
5293
5293
  }
5294
5294
  }
5295
5295
 
5296
+ // package.json
5297
+ var package_default = {
5298
+ name: "@nghitrum/dsforge",
5299
+ version: "0.1.5-alpha.1",
5300
+ description: "AI-native design system generator \u2014 tokens \u2192 components \u2192 docs \u2192 npm",
5301
+ keywords: [
5302
+ "design-system",
5303
+ "tokens",
5304
+ "cli",
5305
+ "react",
5306
+ "typescript"
5307
+ ],
5308
+ license: "MIT",
5309
+ type: "module",
5310
+ bin: {
5311
+ dsforge: "dist/cli/index.js"
5312
+ },
5313
+ main: "./dist/index.js",
5314
+ types: "./dist/index.d.ts",
5315
+ exports: {
5316
+ ".": {
5317
+ import: "./dist/index.js",
5318
+ types: "./dist/index.d.ts"
5319
+ }
5320
+ },
5321
+ files: [
5322
+ "dist",
5323
+ "templates"
5324
+ ],
5325
+ repository: {
5326
+ type: "git",
5327
+ url: "https://github.com/nghitrum/dsforge"
5328
+ },
5329
+ scripts: {
5330
+ build: "tsup",
5331
+ postbuild: `node -e "const fs=require('fs'),f='dist/cli/index.js',c=fs.readFileSync(f,'utf8');if(!c.startsWith('#!/'))fs.writeFileSync(f,'#!/usr/bin/env node\\n'+c);" && chmod +x dist/cli/index.js`,
5332
+ dev: "tsx src/cli/index.ts",
5333
+ test: "vitest run",
5334
+ "test:watch": "vitest",
5335
+ typecheck: "tsc --noEmit",
5336
+ lint: "eslint src --ext .ts",
5337
+ clean: "rm -rf dist",
5338
+ purge: "rm -rf dist-ds design-system.config.json design-system.rules.json"
5339
+ },
5340
+ dependencies: {
5341
+ chalk: "^5.3.0",
5342
+ commander: "^12.1.0",
5343
+ "fs-extra": "^11.2.0",
5344
+ ora: "^8.1.0",
5345
+ zod: "^3.23.0"
5346
+ },
5347
+ devDependencies: {
5348
+ "@types/fs-extra": "^11.0.4",
5349
+ "@types/node": "^20.14.0",
5350
+ tsup: "^8.5.1",
5351
+ tsx: "^4.15.0",
5352
+ typescript: "^5.5.0",
5353
+ vitest: "^4.0.18"
5354
+ },
5355
+ engines: {
5356
+ node: ">=18.0.0"
5357
+ }
5358
+ };
5359
+
5296
5360
  // src/cli/index.ts
5297
- program.name("dsforge").description(chalk5.bold("dsforge") + " \u2014 AI-native design system generator").version("0.1.0");
5361
+ program.name("dsforge").description(chalk5.bold("dsforge") + " \u2014 AI-native design system generator").version(package_default.version);
5298
5362
  program.command("init").description(
5299
5363
  "Scaffold design-system.config.json and design-system.rules.json"
5300
5364
  ).option("-n, --name <n>", "Package name").option(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nghitrum/dsforge",
3
- "version": "0.1.5-alpha.0",
3
+ "version": "0.1.5-alpha.1",
4
4
  "description": "AI-native design system generator — tokens → components → docs → npm",
5
5
  "keywords": [
6
6
  "design-system",