commercebuild-cli 0.0.3 → 0.0.4

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,13 +1,14 @@
1
1
  {
2
2
  "name": "commercebuild-cli",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "CLI tool for executing commercebuild commands",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
7
7
  "commercebuild-cli": "dist/index.js"
8
8
  },
9
9
  "files": [
10
- "dist"
10
+ "dist",
11
+ "templates"
11
12
  ],
12
13
  "scripts": {
13
14
  "build": "esbuild src/index.ts --bundle --platform=node --target=node22 --outfile=dist/index.js --format=cjs --minify",
@@ -16,6 +17,7 @@
16
17
  "prepublishOnly": "pnpm run build"
17
18
  },
18
19
  "devDependencies": {
20
+ "@commercebuild/extension": "workspace:latest",
19
21
  "@commercebuild/platform-api": "^0.0.3",
20
22
  "@types/node": "^22.15.30",
21
23
  "boxen": "^8.0.1",
@@ -23,6 +25,8 @@
23
25
  "commander": "^14.0.0",
24
26
  "env-paths": "^3.0.0",
25
27
  "esbuild": "^0.25.6",
28
+ "find-up": "^7.0.0",
29
+ "firebase": "^12.2.1",
26
30
  "inquirer": "^12.9.4",
27
31
  "ora": "^8.2.0",
28
32
  "tsx": "^4.20.3",
@@ -0,0 +1 @@
1
+ COMMERCEBUILD_STORE_URL=https://mobile.cardemo.commercebuild.com/
@@ -0,0 +1,7 @@
1
+ {
2
+ "recommendations": [
3
+ "bradlc.vscode-tailwindcss",
4
+ "dbaeumer.vscode-eslint",
5
+ "esbenp.prettier-vscode"
6
+ ]
7
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "editor.defaultFormatter": "esbenp.prettier-vscode",
3
+ "editor.formatOnSave": true,
4
+ "editor.codeActionsOnSave": {
5
+ "source.fixAll.eslint": "explicit"
6
+ },
7
+ "workbench.editor.enablePreview": false,
8
+ "workbench.editor.revealIfOpen": true,
9
+ "files.associations": {
10
+ "*.css": "tailwindcss"
11
+ },
12
+ "vitest.disableWorkspaceWarning": true,
13
+ "tailwindCSS.lint": {
14
+ "usedBlocklistedClass": "ignore"
15
+ }
16
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "name": "commercebuild extension example",
3
+ "type": "extension",
4
+ "description": "commercebuild extension example",
5
+ "version": "0.0.1"
6
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "commercebuild-extension-example",
3
+ "version": "0.0.1",
4
+ "private": true,
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "module": "dist/index.mjs",
8
+ "types": "dist/index.d.ts",
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "scripts": {
13
+ "dev": "commercebuild-extension dev"
14
+ },
15
+ "dependencies": {},
16
+ "devDependencies": {
17
+ "@commercebuild/extension": "latest"
18
+ },
19
+ "packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610"
20
+ }
@@ -0,0 +1,6 @@
1
+ // export function CategoryTitle({category}: {category: Category}) {
2
+ // return <h1 className="text-2xl font-bold tracking-tight sm:text-4xl">
3
+ // {category.name}
4
+ // </h1>;
5
+ // }
6
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ import "./styles/index.css";
2
+ export * from './components/product';
3
+ export * from './components/category';
@@ -0,0 +1,5 @@
1
+ /* === Keep the Tailwind CSS import === */
2
+ @import "tailwindcss";
3
+ @config "@commercebuild/extension/config/tailwind.config.js";
4
+
5
+ /* === Write custom styles below === */
@@ -0,0 +1,5 @@
1
+ {
2
+ "extends": "@commercebuild/extension/config/tsconfig.extension.json",
3
+ "include": ["src"],
4
+ "exclude": ["dist", "node_modules"]
5
+ }