@proappstore/cli 2.2.0 → 2.3.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/dist/create.d.ts.map +1 -1
- package/dist/create.js +79 -4
- package/dist/create.js.map +1 -1
- package/package.json +2 -1
- package/templates/icon-192.png +0 -0
- package/templates/icon-512.png +0 -0
package/dist/create.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../src/create.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../src/create.ts"],"names":[],"mappings":"AAaA,UAAU,aAAa;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AA4JD,wBAAsB,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,GAAE,aAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,CAuHtF"}
|
package/dist/create.js
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import { execSync } from 'node:child_process';
|
|
2
2
|
import { mkdirSync, writeFileSync, existsSync, cpSync } from 'node:fs';
|
|
3
|
-
import { join, resolve } from 'node:path';
|
|
3
|
+
import { dirname, join, resolve } from 'node:path';
|
|
4
|
+
import { fileURLToPath } from 'node:url';
|
|
5
|
+
// Resolve the CLI package's bundled `templates/` directory (contains
|
|
6
|
+
// binary placeholder icons that can't be inlined into TEMPLATE_FILES).
|
|
7
|
+
// In published form: <pkg>/dist/create.js + <pkg>/templates/*. In dev
|
|
8
|
+
// (tsx, esno): <pkg>/src/create.ts + <pkg>/templates/*. Walk up from
|
|
9
|
+
// __dirname to the package root and append templates/.
|
|
10
|
+
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
11
|
+
const TEMPLATES_DIR = join(__dirname, '..', 'templates');
|
|
4
12
|
const PAS_API = 'https://api.proappstore.online';
|
|
5
13
|
const TEMPLATE_FILES = {
|
|
6
14
|
'package.json': `{
|
|
@@ -44,7 +52,8 @@ const TEMPLATE_FILES = {
|
|
|
44
52
|
"@vitejs/plugin-react": "^6.0.1",
|
|
45
53
|
"tailwindcss": "^4.2.4",
|
|
46
54
|
"typescript": "~6.0.2",
|
|
47
|
-
"vite": "^8.0.10"
|
|
55
|
+
"vite": "^8.0.10",
|
|
56
|
+
"vite-plugin-pwa": "^1.3.0"
|
|
48
57
|
}
|
|
49
58
|
}`,
|
|
50
59
|
'web/tsconfig.json': `{\n "files": [],\n "references": [\n { "path": "./tsconfig.app.json" },\n { "path": "./tsconfig.node.json" }\n ]\n}`,
|
|
@@ -84,11 +93,69 @@ const TEMPLATE_FILES = {
|
|
|
84
93
|
},
|
|
85
94
|
"include": ["vite.config.ts"]
|
|
86
95
|
}`,
|
|
87
|
-
'web/vite.config.ts': `import { defineConfig } from 'vite'
|
|
96
|
+
'web/vite.config.ts': `import { defineConfig } from 'vite'
|
|
97
|
+
import react from '@vitejs/plugin-react'
|
|
98
|
+
import tailwindcss from '@tailwindcss/vite'
|
|
99
|
+
import { VitePWA } from 'vite-plugin-pwa'
|
|
100
|
+
|
|
101
|
+
export default defineConfig({
|
|
102
|
+
plugins: [
|
|
103
|
+
react(),
|
|
104
|
+
tailwindcss(),
|
|
105
|
+
VitePWA({
|
|
106
|
+
registerType: 'autoUpdate',
|
|
107
|
+
workbox: {
|
|
108
|
+
globPatterns: ['**/*.{js,css,html,png,svg,ico,woff2,wasm,json}'],
|
|
109
|
+
maximumFileSizeToCacheInBytes: 10 * 1024 * 1024,
|
|
110
|
+
runtimeCaching: [
|
|
111
|
+
{
|
|
112
|
+
urlPattern: /^https:\\/\\/fonts\\.googleapis\\.com\\/.*/i,
|
|
113
|
+
handler: 'CacheFirst',
|
|
114
|
+
options: {
|
|
115
|
+
cacheName: 'google-fonts-stylesheets',
|
|
116
|
+
expiration: { maxEntries: 10, maxAgeSeconds: 60 * 60 * 24 * 365 },
|
|
117
|
+
cacheableResponse: { statuses: [0, 200] },
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
urlPattern: /^https:\\/\\/fonts\\.gstatic\\.com\\/.*/i,
|
|
122
|
+
handler: 'CacheFirst',
|
|
123
|
+
options: {
|
|
124
|
+
cacheName: 'google-fonts-webfonts',
|
|
125
|
+
expiration: { maxEntries: 30, maxAgeSeconds: 60 * 60 * 24 * 365 },
|
|
126
|
+
cacheableResponse: { statuses: [0, 200] },
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
],
|
|
130
|
+
},
|
|
131
|
+
manifest: {
|
|
132
|
+
name: '__APP_NAME__',
|
|
133
|
+
short_name: '__APP_NAME__',
|
|
134
|
+
description: '__APP_NAME__ — pro app on ProAppStore',
|
|
135
|
+
start_url: '/',
|
|
136
|
+
display: 'standalone',
|
|
137
|
+
background_color: '#ffffff',
|
|
138
|
+
theme_color: '#7c3aed',
|
|
139
|
+
orientation: 'any',
|
|
140
|
+
icons: [
|
|
141
|
+
{ src: '/icon-192.png', sizes: '192x192', type: 'image/png', purpose: 'any maskable' },
|
|
142
|
+
{ src: '/icon-512.png', sizes: '512x512', type: 'image/png', purpose: 'any maskable' },
|
|
143
|
+
],
|
|
144
|
+
},
|
|
145
|
+
}),
|
|
146
|
+
],
|
|
147
|
+
server: { host: true },
|
|
148
|
+
})`,
|
|
88
149
|
'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>`,
|
|
89
150
|
'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)`,
|
|
90
151
|
'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 */`,
|
|
91
|
-
'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
|
|
152
|
+
'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 } = 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}`,
|
|
153
|
+
// Pre-committed privacy template — served by CF Pages at
|
|
154
|
+
// <app>.proappstore.online/privacy.md. The Console's "Use privacy.md from
|
|
155
|
+
// my app" affordance points to that URL. Fill in {{APP_NAME}}/{{DATE}}/
|
|
156
|
+
// {{CONTACT}} (or just delete this file and point Console at the platform
|
|
157
|
+
// policy if your app doesn't add anything app-specific).
|
|
158
|
+
'web/public/privacy.md': `# Privacy Policy — __APP_NAME__\n\n_Last updated: {{DATE}}_\n\nThis is the privacy policy for **__APP_NAME__**, a Pro app on\n[ProAppStore](https://proappstore.online). It covers what _this app_ does\nwith your data. For platform-wide data handling (sign-in, billing, file\nstorage, usage analytics for creator payouts, account deletion) see the\n[platform privacy policy](https://proappstore.online/privacy).\n\n---\n\n## What __APP_NAME__ stores about you\n\n> _Fill in what your app keeps. Examples below — delete the ones that don't\n> apply, add app-specific ones._\n\n- The data you explicitly enter into the app. Stored in your private\n per-user KV / database / file storage. No one else has access except you.\n\n## What __APP_NAME__ does NOT store\n\n- No contacts scraping, no background location, no microphone access, no\n behavioral analytics, no advertising IDs.\n\n## Where data lives\n\nEverything you save in __APP_NAME__ is stored on Cloudflare infrastructure\n(D1, R2, KV) under your ProAppStore account. The app developer does not\nhave access to your personal data — only daily aggregate counts (active\nusers, session-minutes, API calls) used to size their payout share.\n\n## Third-party services\n\n> _List any third-party APIs your app calls on the user's behalf. Delete\n> this section if there are none._\n\n## Cookies\n\n__APP_NAME__ uses the same session cookie as the rest of ProAppStore for\nauthentication. No tracking, advertising, or analytics cookies.\n\n## Data deletion\n\nDelete your account from [dashboard.proappstore.online](https://dashboard.proappstore.online).\nThat removes all data __APP_NAME__ stored for you, alongside the\nplatform-level deletion described in the [platform privacy policy](https://proappstore.online/privacy#data-deletion).\n\n## Contact\n\n{{CONTACT}}\n`,
|
|
92
159
|
};
|
|
93
160
|
function toTitleCase(id) {
|
|
94
161
|
return id.split('-').map(w => w.charAt(0).toUpperCase() + w.slice(1)).join(' ');
|
|
@@ -118,6 +185,14 @@ export async function createApp(appId, opts = {}) {
|
|
|
118
185
|
.replace(/__APP_DESCRIPTION__/g, `A pro app on ProAppStore.`);
|
|
119
186
|
writeFileSync(fullPath, processed);
|
|
120
187
|
}
|
|
188
|
+
// Binary placeholders that can't live in the inline string map.
|
|
189
|
+
// Without these the manifest references /icon-192.png and Android
|
|
190
|
+
// would either 404 or install the app as a launcher shortcut.
|
|
191
|
+
const publicDir = join(targetDir, 'web', 'public');
|
|
192
|
+
mkdirSync(publicDir, { recursive: true });
|
|
193
|
+
for (const iconName of ['icon-192.png', 'icon-512.png']) {
|
|
194
|
+
cpSync(join(TEMPLATES_DIR, iconName), join(publicDir, iconName));
|
|
195
|
+
}
|
|
121
196
|
// Step 2: Install
|
|
122
197
|
if (!opts.skipInstall) {
|
|
123
198
|
process.stdout.write(` [2/3] Installing dependencies...\n`);
|
package/dist/create.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.js","sourceRoot":"","sources":["../src/create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,E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CAAC;aAAM,CAAC;YACN,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,qFAAqF,CAAC,CAAC;QAC9G,CAAC;IACH,CAAC;SAAM,CAAC;QACN,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,iDAAiD,CAAC,CAAC;IAC1E,CAAC;IAED,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC;;;;SAId,KAAK;;;;;;;CAOb,CAAC,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@proappstore/cli",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "pas — CLI for publishing paid apps to proappstore.online",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"files": [
|
|
16
16
|
"dist",
|
|
17
|
+
"templates",
|
|
17
18
|
"README.md"
|
|
18
19
|
],
|
|
19
20
|
"engines": {
|
|
Binary file
|
|
Binary file
|