commercebuild-cli 0.0.29 → 0.0.31

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/index.js +91 -100
  2. package/package.json +13 -13
package/package.json CHANGED
@@ -1,16 +1,24 @@
1
1
  {
2
2
  "name": "commercebuild-cli",
3
- "version": "0.0.29",
3
+ "version": "0.0.31",
4
4
  "description": "CLI tool for executing commercebuild commands",
5
5
  "main": "dist/index.js",
6
- "bin": {
7
- "commercebuild-cli": "dist/index.js"
8
- },
6
+ "bin": "dist/index.js",
9
7
  "files": [
10
8
  "dist",
11
9
  "templates"
12
10
  ],
11
+ "scripts": {
12
+ "build": "esbuild src/index.ts --bundle --platform=node --target=node22 --outfile=dist/index.js --format=cjs --minify",
13
+ "dev": "tsx watch src/index.ts",
14
+ "start": "tsx src/index.ts",
15
+ "test": "vitest run",
16
+ "prepack": "yarn build",
17
+ "release": "yarn npm whoami || yarn npm login && yarn npm publish"
18
+ },
13
19
  "devDependencies": {
20
+ "@commercebuild/extension": "0.0.26",
21
+ "@commercebuild/extension-project": "0.0.1",
14
22
  "@commercebuild/platform-api": "^0.11.33",
15
23
  "@types/adm-zip": "^0.5.7",
16
24
  "@types/archiver": "^6.0.3",
@@ -32,14 +40,6 @@
32
40
  "tsx": "^4.20.3",
33
41
  "typescript": "^5.8.2",
34
42
  "uuid": "^11.1.0",
35
- "vitest": "^3.2.7",
36
- "@commercebuild/extension": "0.0.24"
37
- },
38
- "scripts": {
39
- "build": "esbuild src/index.ts --bundle --platform=node --target=node22 --outfile=dist/index.js --format=cjs --minify",
40
- "dev": "tsx watch src/index.ts",
41
- "start": "tsx src/index.ts",
42
- "release": "npm whoami || npm login && pnpm publish --no-git-checks",
43
- "test": "vitest run"
43
+ "vitest": "^3.2.7"
44
44
  }
45
45
  }