@promakeai/cli 0.1.3 → 0.2.0

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,52 +1,54 @@
1
- {
2
- "name": "@promakeai/cli",
3
- "version": "0.1.3",
4
- "type": "module",
5
- "bin": {
6
- "promake": "dist/index.js"
7
- },
8
- "files": [
9
- "dist/index.js",
10
- "dist/registry",
11
- "template"
12
- ],
13
- "scripts": {
14
- "dev": "bun run src/index.ts",
15
- "dev:app": "cd dev && bun run dev",
16
- "dev:populate": "bun run scripts/populate-dev.ts",
17
- "dev:fresh": "bun run dev:populate && bun run dev:app",
18
- "playground:create": "rm -rf playground && bun run dev -- create playground --template empty --pm bun",
19
- "playground:reset": "bun run playground:create",
20
- "playground:add": "cd playground && bun run ../src/index.ts add",
21
- "playground:ecommerce": "rm -rf playground && bun run dev -- create playground --template ecommerce --pm bun",
22
- "build": "bun run build:cli && bun run build:registry",
23
- "build:cli": "bun build src/index.ts --outdir dist --target node --minify",
24
- "build:registry": "bun run scripts/build-registry.ts",
25
- "typecheck": "tsc --noEmit",
26
- "prepublishOnly": "bun run build",
27
- "test": "bun test",
28
- "test:watch": "bun test --watch",
29
- "test:coverage": "bun test --coverage",
30
- "release": "bun run build && npm publish --access public"
31
- },
32
- "dependencies": {
33
- "adm-zip": "^0.5.16",
34
- "archiver": "^7.0.1",
35
- "chalk": "^5.3.0",
36
- "commander": "^12.1.0",
37
- "culori": "^4.0.2",
38
- "fs-extra": "^11.2.0",
39
- "glob": "^11.0.0",
40
- "ora": "^8.1.1",
41
- "prompts": "^2.4.2"
42
- },
43
- "devDependencies": {
44
- "@types/archiver": "^7.0.0",
45
- "@types/bun": "^1.1.14",
46
- "@types/culori": "^4.0.1",
47
- "@types/fs-extra": "^11.0.4",
48
- "@types/node": "^22.10.2",
49
- "@types/prompts": "^2.4.9",
50
- "typescript": "^5.7.2"
51
- }
1
+ {
2
+ "name": "@promakeai/cli",
3
+ "version": "0.2.0",
4
+ "type": "module",
5
+ "bin": {
6
+ "promake": "dist/index.js"
7
+ },
8
+ "files": [
9
+ "dist/index.js",
10
+ "dist/registry",
11
+ "template"
12
+ ],
13
+ "scripts": {
14
+ "dev": "bun run src/index.ts",
15
+ "dev:app": "cd dev && bun run dev",
16
+ "dev:populate": "bun run scripts/populate-dev.ts",
17
+ "dev:fresh": "bun run dev:populate && bun run dev:app",
18
+ "playground:create": "rm -rf playground && bun run dev -- create playground --template empty --pm bun",
19
+ "playground:reset": "bun run playground:create",
20
+ "playground:add": "cd playground && bun run ../src/index.ts add",
21
+ "playground:ecommerce": "rm -rf playground && bun run dev -- create playground --template ecommerce --pm bun",
22
+ "build": "bun run build:cli && bun run build:registry",
23
+ "build:cli": "bun build src/index.ts --outdir dist --target node --minify",
24
+ "build:registry": "bun run scripts/build-registry.ts",
25
+ "typecheck": "tsc --noEmit",
26
+ "prepublishOnly": "bun run build",
27
+ "test": "bun test",
28
+ "test:watch": "bun test --watch",
29
+ "test:coverage": "bun test --coverage",
30
+ "release": "bun run build && npm publish --access public"
31
+ },
32
+ "dependencies": {
33
+ "@lightpanda/browser": "^1.0.1",
34
+ "adm-zip": "^0.5.16",
35
+ "archiver": "^7.0.1",
36
+ "chalk": "^5.3.0",
37
+ "commander": "^12.1.0",
38
+ "culori": "^4.0.2",
39
+ "fs-extra": "^11.2.0",
40
+ "glob": "^11.0.0",
41
+ "ora": "^8.1.1",
42
+ "prompts": "^2.4.2",
43
+ "puppeteer-core": "^24.36.0"
44
+ },
45
+ "devDependencies": {
46
+ "@types/archiver": "^7.0.0",
47
+ "@types/bun": "^1.1.14",
48
+ "@types/culori": "^4.0.1",
49
+ "@types/fs-extra": "^11.0.4",
50
+ "@types/node": "^22.10.2",
51
+ "@types/prompts": "^2.4.9",
52
+ "typescript": "^5.7.2"
53
+ }
52
54
  }
@@ -22,11 +22,12 @@ export default defineConfig([
22
22
  globals: globals.browser,
23
23
  },
24
24
  rules: {
25
- "@typescript-eslint/no-explicit-any": "warn",
26
- "@typescript-eslint/no-unused-vars": "warn",
27
- "react-refresh/only-export-components": "warn",
25
+ "@typescript-eslint/no-explicit-any": "off",
26
+ "@typescript-eslint/no-unused-vars": "off",
27
+ "react-refresh/only-export-components": "off",
28
28
  "react-hooks/purity": "warn",
29
- "react-hooks/exhaustive-deps": "warn",
29
+ "react-hooks/exhaustive-deps": "off",
30
+ "react-hooks/set-state-in-effect": "warn",
30
31
  },
31
32
  },
32
33
  ]);
@@ -606,10 +606,8 @@ function SidebarMenuSkeleton({
606
606
  }: React.ComponentProps<"div"> & {
607
607
  showIcon?: boolean;
608
608
  }) {
609
- // Random width between 50 to 90%.
610
- const width = React.useMemo(() => {
611
- return `${Math.floor(Math.random() * 40) + 50}%`;
612
- }, []);
609
+ // Fixed width for skeleton
610
+ const width = "70%";
613
611
 
614
612
  return (
615
613
  <div