stackpatch 1.1.9 → 1.2.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.
package/package.json CHANGED
@@ -1,22 +1,25 @@
1
1
  {
2
2
  "name": "stackpatch",
3
- "version": "1.1.9",
3
+ "version": "1.2.1",
4
4
  "description": "Composable frontend features for modern React & Next.js apps - Add authentication, UI components, and more with zero configuration",
5
- "main": "bin/stackpatch.ts",
6
- "type": "module",
5
+ "main": "dist/stackpatch.js",
7
6
  "bin": {
8
- "stackpatch": "bin/stackpatch.ts",
9
- "create-stackpatch": "bin/stackpatch.ts"
7
+ "stackpatch": "dist/stackpatch.js",
8
+ "create-stackpatch": "dist/stackpatch.js"
10
9
  },
11
10
  "files": [
12
- "bin",
11
+ "dist",
13
12
  "boilerplate",
14
13
  "README.md"
15
14
  ],
16
15
  "scripts": {
16
+ "install-deps": "pnpm install @rollup/plugin-node-resolve @rollup/plugin-commonjs @rollup/plugin-typescript @rollup/plugin-json rollup typescript -D",
17
+ "build": "rollup -c",
17
18
  "test": "vitest run",
18
19
  "test:watch": "vitest",
19
20
  "test:coverage": "vitest run --coverage",
21
+ "test:cli": "node scripts/test-cli-execution.js",
22
+ "prepublishOnly": "npm run build && node scripts/prepare-publish.js && npm run test:cli",
20
23
  "dev": "bun run bin/stackpatch.ts",
21
24
  "create": "bun run bin/stackpatch.ts"
22
25
  },
@@ -55,11 +58,16 @@
55
58
  "chalk": "^5.6.2",
56
59
  "fs-extra": "^11.3.3",
57
60
  "inquirer": "^13.1.0",
58
- "jimp": "^0.22.10",
59
- "tsx": "^4.19.2"
61
+ "jimp": "^0.22.10"
60
62
  },
61
63
  "devDependencies": {
64
+ "@rollup/plugin-commonjs": "^28.0.9",
65
+ "@rollup/plugin-json": "^6.1.0",
66
+ "@rollup/plugin-node-resolve": "^15.3.1",
67
+ "@rollup/plugin-typescript": "^12.3.0",
62
68
  "@types/node": "^20.0.0",
69
+ "rollup": "^4.55.1",
70
+ "typescript": "^5.9.3",
63
71
  "vitest": "^2.1.0"
64
72
  }
65
73
  }