@proappstore/cli 0.1.0 → 1.0.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.
@@ -0,0 +1,7 @@
1
+ interface CreateOptions {
2
+ skipInstall?: boolean;
3
+ skipGit?: boolean;
4
+ }
5
+ export declare function createApp(appId: string, opts?: CreateOptions): Promise<void>;
6
+ export {};
7
+ //# sourceMappingURL=create.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../src/create.ts"],"names":[],"mappings":"AAIA,UAAU,aAAa;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AA+FD,wBAAsB,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,GAAE,aAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,CAoEtF"}
package/dist/create.js ADDED
@@ -0,0 +1,162 @@
1
+ import { execSync } from 'node:child_process';
2
+ import { mkdirSync, writeFileSync, existsSync, cpSync } from 'node:fs';
3
+ import { join, resolve } from 'node:path';
4
+ const TEMPLATE_FILES = {
5
+ 'package.json': `{
6
+ "name": "__APP_ID__",
7
+ "private": true,
8
+ "packageManager": "pnpm@10.30.3",
9
+ "engines": { "node": ">=22" },
10
+ "repository": { "type": "git", "url": "git+https://github.com/proappstore-online/__APP_ID__.git" },
11
+ "scripts": {
12
+ "dev": "pnpm --filter @__APP_ID__/web dev",
13
+ "build": "pnpm --filter @__APP_ID__/web build",
14
+ "preview": "pnpm --filter @__APP_ID__/web preview",
15
+ "typecheck": "pnpm --filter @__APP_ID__/web exec tsc -b",
16
+ "test": "pnpm --filter @__APP_ID__/web exec tsc -b"
17
+ }
18
+ }`,
19
+ 'pnpm-workspace.yaml': `packages:\n - web`,
20
+ 'tsconfig.json': `{ "references": [{ "path": "./web" }], "files": [] }`,
21
+ 'LICENSE': `MIT License\n\nCopyright (c) ${new Date().getFullYear()} ProAppStore\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND.`,
22
+ 'CLAUDE.md': `# __APP_ID__\n\n__APP_DESCRIPTION__\n\n- Subdomain: \`__APP_ID__.proappstore.online\`\n- Dev: \`pnpm install && pnpm dev\`\n- Build: \`pnpm build\`\n- Deploy: \`git push origin main\` (auto-deploys via Cloudflare Pages)\n\nFor platform conventions, read\nhttps://proappstore.online/skills.md\nbefore writing or changing anything.`,
23
+ '.gitignore': `node_modules/\ndist/\n.DS_Store\n*.log\n.env\n.env.local`,
24
+ 'web/package.json': `{
25
+ "name": "@__APP_ID__/web",
26
+ "private": true,
27
+ "version": "0.1.0",
28
+ "type": "module",
29
+ "scripts": {
30
+ "dev": "vite",
31
+ "build": "tsc -b && vite build",
32
+ "preview": "vite preview"
33
+ },
34
+ "dependencies": {
35
+ "@proappstore/sdk": "^1.5.0",
36
+ "react": "^19.2.5",
37
+ "react-dom": "^19.2.5"
38
+ },
39
+ "devDependencies": {
40
+ "@tailwindcss/vite": "^4.2.4",
41
+ "@types/react": "^19.2.14",
42
+ "@types/react-dom": "^19.2.3",
43
+ "@vitejs/plugin-react": "^6.0.1",
44
+ "tailwindcss": "^4.2.4",
45
+ "typescript": "~6.0.2",
46
+ "vite": "^8.0.10"
47
+ }
48
+ }`,
49
+ 'web/tsconfig.json': `{\n "files": [],\n "references": [\n { "path": "./tsconfig.app.json" },\n { "path": "./tsconfig.node.json" }\n ]\n}`,
50
+ 'web/tsconfig.app.json': `{
51
+ "compilerOptions": {
52
+ "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
53
+ "target": "es2023",
54
+ "lib": ["ES2023", "DOM", "DOM.Iterable"],
55
+ "module": "esnext",
56
+ "types": ["vite/client"],
57
+ "skipLibCheck": true,
58
+ "moduleResolution": "bundler",
59
+ "allowImportingTsExtensions": true,
60
+ "verbatimModuleSyntax": true,
61
+ "moduleDetection": "force",
62
+ "noEmit": true,
63
+ "jsx": "react-jsx",
64
+ "noUnusedLocals": true,
65
+ "noUnusedParameters": true,
66
+ "erasableSyntaxOnly": true,
67
+ "noFallthroughCasesInSwitch": true
68
+ },
69
+ "include": ["src"]
70
+ }`,
71
+ 'web/tsconfig.node.json': `{
72
+ "compilerOptions": {
73
+ "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
74
+ "target": "es2023",
75
+ "lib": ["ES2023"],
76
+ "module": "esnext",
77
+ "skipLibCheck": true,
78
+ "moduleResolution": "bundler",
79
+ "allowImportingTsExtensions": true,
80
+ "verbatimModuleSyntax": true,
81
+ "moduleDetection": "force",
82
+ "noEmit": true
83
+ },
84
+ "include": ["vite.config.ts"]
85
+ }`,
86
+ 'web/vite.config.ts': `import { defineConfig } from 'vite'\nimport react from '@vitejs/plugin-react'\nimport tailwindcss from '@tailwindcss/vite'\n\nexport default defineConfig({\n plugins: [react(), tailwindcss()],\n server: { host: true },\n})`,
87
+ 'web/index.html': `<!doctype html>\n<html lang="en">\n <head>\n <meta charset="UTF-8" />\n <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover, user-scalable=no" />\n <meta name="theme-color" content="#7c3aed" />\n <link rel="preconnect" href="https://fonts.googleapis.com" />\n <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />\n <link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Manrope:wght@400;500;600;700;800&display=swap" rel="stylesheet" />\n <title>__APP_NAME__ — ProAppStore</title>\n </head>\n <body>\n <div id="root"></div>\n <script type="module" src="/src/main.tsx"></script>\n </body>\n</html>`,
88
+ 'web/src/main.tsx': `import { StrictMode } from 'react'\nimport { createRoot } from 'react-dom/client'\nimport './index.css'\nimport App from './App.tsx'\n\ncreateRoot(document.getElementById('root')!).render(\n <StrictMode>\n <App />\n </StrictMode>,\n)`,
89
+ 'web/src/index.css': `@import "tailwindcss";\n\n@layer base {\n:root {\n color-scheme: light;\n --paper: #ffffff;\n --ink: #111111;\n --muted: #666666;\n --accent: #7c3aed;\n --accent-soft: #f5f3ff;\n --line: rgba(0,0,0,0.08);\n --glass: rgba(255,255,255,0.72);\n --glass-hover: rgba(255,255,255,0.85);\n --error: #c74f43;\n --success: #2f8f57;\n}\n\n:root[data-theme='dark'] {\n color-scheme: dark;\n --paper: #000000;\n --ink: #f0f0f0;\n --muted: #888888;\n --accent: #a78bfa;\n --accent-soft: #1e1533;\n --line: rgba(255,255,255,0.08);\n --glass: rgba(26,26,26,0.8);\n --glass-hover: rgba(38,38,38,0.9);\n --error: #ff7a72;\n --success: #74d49a;\n}\n\nhtml { min-height: 100%; }\nbody {\n min-height: 100dvh;\n background: var(--paper);\n color: var(--ink);\n font-family: 'Manrope', -apple-system, sans-serif;\n -webkit-font-smoothing: antialiased;\n}\n#root { min-height: 100dvh; }\n.display-font { font-family: 'Fraunces', Georgia, serif; letter-spacing: -0.04em; }\n} /* end @layer base */`,
90
+ 'web/src/App.tsx': `import { initPro } from '@proappstore/sdk'\nimport { useProGate } from '@proappstore/sdk/hooks'\n\nconst app = initPro({ appId: '__APP_ID__' })\n\nexport default function App() {\n const { gate, user, signIn, upgrade } = useProGate(app, { allowFree: true })\n\n if (gate === 'loading') {\n return (\n <div className="flex min-h-[100dvh] items-center justify-center">\n <p className="text-[var(--muted)]">Loading...</p>\n </div>\n )\n }\n\n if (gate === 'signed-out') {\n return (\n <div className="flex min-h-[100dvh] flex-col items-center justify-center gap-4 px-4">\n <h1 className="display-font text-3xl font-bold text-[var(--ink)]">__APP_NAME__</h1>\n <p className="text-[var(--muted)]">Sign in to get started.</p>\n <button onClick={signIn} className="rounded-2xl bg-[var(--accent)] px-6 py-2.5 text-sm font-semibold text-white">Sign in with GitHub</button>\n </div>\n )\n }\n\n return (\n <div className="mx-auto max-w-2xl px-4 py-8">\n <h1 className="display-font text-2xl font-bold text-[var(--ink)]">__APP_NAME__</h1>\n <p className="mt-2 text-[var(--muted)]">Welcome, {user?.login}! Edit web/src/App.tsx to start building.</p>\n </div>\n )\n}`,
91
+ };
92
+ function toTitleCase(id) {
93
+ return id.split('-').map(w => w.charAt(0).toUpperCase() + w.slice(1)).join(' ');
94
+ }
95
+ export async function createApp(appId, opts = {}) {
96
+ // Validate app ID
97
+ if (!/^[a-z][a-z0-9-]*$/.test(appId) || appId.length > 58) {
98
+ process.stderr.write(`Invalid app ID "${appId}". Use lowercase letters, numbers, hyphens. Max 58 chars.\n`);
99
+ process.exit(1);
100
+ }
101
+ const targetDir = resolve(appId);
102
+ if (existsSync(targetDir)) {
103
+ process.stderr.write(`Directory "${appId}" already exists.\n`);
104
+ process.exit(1);
105
+ }
106
+ const appName = toTitleCase(appId);
107
+ process.stdout.write(`\n Creating ${appName}...\n\n`);
108
+ // Step 1: Scaffold
109
+ process.stdout.write(` [1/3] Scaffolding from template...\n`);
110
+ for (const [path, content] of Object.entries(TEMPLATE_FILES)) {
111
+ const fullPath = join(targetDir, path);
112
+ const dir = join(fullPath, '..');
113
+ mkdirSync(dir, { recursive: true });
114
+ const processed = content
115
+ .replace(/__APP_ID__/g, appId)
116
+ .replace(/__APP_NAME__/g, appName)
117
+ .replace(/__APP_DESCRIPTION__/g, `A pro app on ProAppStore.`);
118
+ writeFileSync(fullPath, processed);
119
+ }
120
+ // Step 2: Install
121
+ if (!opts.skipInstall) {
122
+ process.stdout.write(` [2/3] Installing dependencies...\n`);
123
+ try {
124
+ execSync('pnpm install', { cwd: targetDir, stdio: 'pipe' });
125
+ }
126
+ catch {
127
+ process.stdout.write(` [2/3] pnpm install failed. Run it manually.\n`);
128
+ }
129
+ }
130
+ else {
131
+ process.stdout.write(` [2/3] Skipping install (--skip-install)\n`);
132
+ }
133
+ // Step 3: Init git
134
+ if (!opts.skipGit) {
135
+ process.stdout.write(` [3/3] Initializing git...\n`);
136
+ try {
137
+ execSync('git init && git add -A && git commit -m "Initial scaffold from pas create"', {
138
+ cwd: targetDir,
139
+ stdio: 'pipe',
140
+ });
141
+ }
142
+ catch {
143
+ process.stdout.write(` [3/3] Git init failed. Run it manually.\n`);
144
+ }
145
+ }
146
+ else {
147
+ process.stdout.write(` [3/3] Skipping git init (--skip-git)\n`);
148
+ }
149
+ process.stdout.write(`
150
+ Done! Your app is ready.
151
+
152
+ Next steps:
153
+ cd ${appId}
154
+ pnpm dev
155
+
156
+ SDK docs: https://proappstore.online/skills.md
157
+ Console: https://console.proappstore.online
158
+ Dashboard: https://dashboard.proappstore.online
159
+
160
+ `);
161
+ }
162
+ //# sourceMappingURL=create.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create.js","sourceRoot":"","sources":["../src/create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACvE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAO1C,MAAM,cAAc,GAA2B;IAC7C,cAAc,EAAE;;;;;;;;;;;;;EAahB;IACA,qBAAqB,EAAE,oBAAoB;IAC3C,eAAe,EAAE,sDAAsD;IACvE,SAAS,EAAE,gCAAgC,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,uoBAAuoB;IAC1sB,WAAW,EAAE,2UAA2U;IACxV,YAAY,EAAE,0DAA0D;IACxE,kBAAkB,EAAE;;;;;;;;;;;;;;;;;;;;;;;;EAwBpB;IACA,mBAAmB,EAAE,8HAA8H;IACnJ,uBAAuB,EAAE;;;;;;;;;;;;;;;;;;;;EAoBzB;IACA,wBAAwB,EAAE;;;;;;;;;;;;;;EAc1B;I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AO,CAAC,MAAM,CAAC,KAAK,CAAC,6CAA6C,CAAC,CAAC;QACtE,CAAC;IACH,CAAC;SAAM,CAAC;QACN,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,0CAA0C,CAAC,CAAC;IACnE,CAAC;IAED,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC;;;;SAId,KAAK;;;;;;;CAOb,CAAC,CAAC;AACH,CAAC"}
package/dist/index.js CHANGED
@@ -1,30 +1,32 @@
1
1
  #!/usr/bin/env node
2
2
  import { Command } from 'commander';
3
+ import { createApp } from './create.js';
3
4
  const program = new Command();
4
5
  program
5
6
  .name('pas')
6
- .description('ProAppStore CLI — sign in, scaffold, and publish paid apps.')
7
- .version('0.0.0');
7
+ .description('ProAppStore CLI — create, develop, and publish pro apps.')
8
+ .version('1.0.0');
9
+ program
10
+ .command('create <app-id>')
11
+ .description('Scaffold a new pro app with SDK, hooks, and Tailwind.')
12
+ .option('--skip-install', 'Skip pnpm install')
13
+ .option('--skip-git', 'Skip git init')
14
+ .action(async (appId, opts) => {
15
+ await createApp(appId, opts);
16
+ });
8
17
  program
9
18
  .command('login')
10
19
  .description('Sign in with GitHub (shared identity with `fas`).')
11
20
  .action(() => {
12
- process.stdout.write('pas login is not yet implemented in v0 skeleton.\n' +
21
+ process.stdout.write('pas login is not yet implemented.\n' +
13
22
  'For now: run `fas login` (from @freeappstore/cli) — pro shares the same identity.\n');
14
23
  process.exit(2);
15
24
  });
16
- program
17
- .command('init <app-id>')
18
- .description('Scaffold a new pro app from a template.')
19
- .action(() => {
20
- process.stdout.write('pas init: not yet implemented (skeleton).\n');
21
- process.exit(2);
22
- });
23
25
  program
24
26
  .command('publish')
25
27
  .description('Open the ProAppStore publisher portal for the current repo.')
26
28
  .action(() => {
27
- process.stdout.write('pas publish: not yet implemented (skeleton).\n');
29
+ process.stdout.write('pas publish: coming soon.\n');
28
30
  process.exit(2);
29
31
  });
30
32
  program.parseAsync().catch((err) => {
package/dist/index.js.map CHANGED
@@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AAC,CAAC;AAEL,OAAO,CAAC,UAAU,EAAE,CAAC,KAAK,CAAC,CAAC,GAAY,EAAE,EAAE;IAC1C,MAAM,GAAG,GAAG,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IAC7D,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC,CAAC;IACtC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@proappstore/cli",
3
- "version": "0.1.0",
3
+ "version": "1.0.0",
4
4
  "description": "pas — CLI for publishing paid apps to proappstore.online",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "bin": {
8
8
  "pas": "./dist/index.js"
9
9
  },
10
+ "repository": { "type": "git", "url": "git+https://github.com/proappstore-online/platform.git", "directory": "packages/cli" },
10
11
  "files": ["dist", "README.md"],
11
12
  "engines": {
12
13
  "node": ">=22"