commercebuild-cli 0.0.19 → 0.0.21
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/dist/index.js +79 -72
- package/package.json +12 -9
- package/templates/default/src/index.ts +1 -1
- package/templates/default/src/styles/index.css +6 -2
- /package/templates/default/src/{components → cms}/category.tsx +0 -0
- /package/templates/default/src/{components → cms}/index.ts +0 -0
- /package/templates/default/src/{components → cms}/product.tsx +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "commercebuild-cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.21",
|
|
4
4
|
"description": "CLI tool for executing commercebuild commands",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -10,12 +10,6 @@
|
|
|
10
10
|
"dist",
|
|
11
11
|
"templates"
|
|
12
12
|
],
|
|
13
|
-
"scripts": {
|
|
14
|
-
"build": "esbuild src/index.ts --bundle --platform=node --target=node22 --outfile=dist/index.js --format=cjs --minify",
|
|
15
|
-
"dev": "tsx watch src/index.ts",
|
|
16
|
-
"start": "tsx src/index.ts",
|
|
17
|
-
"prepublishOnly": "pnpm run build"
|
|
18
|
-
},
|
|
19
13
|
"devDependencies": {
|
|
20
14
|
"@commercebuild/platform-api": "^0.11.33",
|
|
21
15
|
"@types/adm-zip": "^0.5.7",
|
|
@@ -35,6 +29,15 @@
|
|
|
35
29
|
"ora": "^8.2.0",
|
|
36
30
|
"tsx": "^4.20.3",
|
|
37
31
|
"typescript": "^5.8.2",
|
|
38
|
-
"uuid": "^11.1.0"
|
|
32
|
+
"uuid": "^11.1.0",
|
|
33
|
+
"vitest": "^3.2.7",
|
|
34
|
+
"@commercebuild/extension": "0.0.19"
|
|
35
|
+
},
|
|
36
|
+
"scripts": {
|
|
37
|
+
"build": "esbuild src/index.ts --bundle --platform=node --target=node22 --outfile=dist/index.js --format=cjs --minify",
|
|
38
|
+
"dev": "tsx watch src/index.ts",
|
|
39
|
+
"start": "tsx src/index.ts",
|
|
40
|
+
"release": "npm whoami || npm login && pnpm publish --no-git-checks",
|
|
41
|
+
"test": "vitest run"
|
|
39
42
|
}
|
|
40
|
-
}
|
|
43
|
+
}
|
|
@@ -3,9 +3,13 @@
|
|
|
3
3
|
Tailwind preflight and a themed :root. Reference the theme (resolve
|
|
4
4
|
tokens, emit nothing) and import only the utilities layer, so the build
|
|
5
5
|
never injects a page-wide reset or :root theme that would clobber the
|
|
6
|
-
store.
|
|
6
|
+
store. The @source lines scope the utility scan to this bundle's own
|
|
7
|
+
code — the optional admin area (src/admin/) compiles to a separate
|
|
8
|
+
stylesheet with its own scan. Add custom styles below. */
|
|
7
9
|
@reference "tailwindcss/theme.css";
|
|
8
|
-
@import "tailwindcss/utilities.css" layer(utilities);
|
|
10
|
+
@import "tailwindcss/utilities.css" layer(utilities) source(none);
|
|
9
11
|
@config "@commercebuild/extension/config/tailwind.config.js";
|
|
12
|
+
@source "../";
|
|
13
|
+
@source not "../admin";
|
|
10
14
|
|
|
11
15
|
/* === Write custom styles below === */
|
|
File without changes
|
|
File without changes
|
|
File without changes
|