@freeappstore/cli 0.4.76 → 0.4.78

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.
@@ -74,7 +74,7 @@ export declare function buildPromptList(resolved: Partial<SubmissionInput>, defa
74
74
  * access to fgs-games). Catch the mismatch HERE, before provisioning. */
75
75
  export declare function assertFreeAppStoreProject(cwd: string): Promise<string | null>;
76
76
  export declare function parseGitHubRepo(url: string): string | null;
77
- declare const DEPLOY_YML = "name: Deploy to R2\n\non:\n push:\n branches: [main]\n workflow_dispatch:\n\nconcurrency:\n group: deploy-${{ github.repository }}\n cancel-in-progress: true\n\njobs:\n deploy:\n runs-on: ubuntu-latest\n permissions:\n contents: read\n steps:\n - uses: actions/checkout@v4\n\n - uses: pnpm/action-setup@v4\n\n - uses: actions/setup-node@v4\n with:\n node-version: 22\n cache: pnpm\n\n - name: Install\n run: pnpm install --frozen-lockfile\n\n # If your app uses VITE_* public config (OAuth client IDs, Firebase\n # config, etc.), add them as GitHub repo Variables and pass them here.\n # See https://freeappstore.online/skills.md \"App Config & Secrets\".\n # Example:\n # env:\n # VITE_GOOGLE_CLIENT_ID: ${{ vars.VITE_GOOGLE_CLIENT_ID }}\n - name: Resolve build target\n id: target\n run: npx @freeappstore/cli build-target --app-id \"${GITHUB_REPOSITORY##*/}\" --github-output\n\n - name: Build\n env:\n BUILD_COMMAND: ${{ steps.target.outputs.build-command }}\n run: bash -e -c \"$BUILD_COMMAND\"\n\n - name: Verify build output\n run: npx @freeappstore/cli build-target --artifact --app-id \"${GITHUB_REPOSITORY##*/}\"\n\n - name: Upload to R2\n env:\n OUTPUT_PATH: ${{ steps.target.outputs.output-path }}\n AWS_ACCESS_KEY_ID: ${{ secrets.R2_ACCESS_KEY_ID }}\n AWS_SECRET_ACCESS_KEY: ${{ secrets.R2_SECRET_ACCESS_KEY }}\n AWS_DEFAULT_REGION: auto\n R2_ACCOUNT_ID: ${{ secrets.R2_ACCOUNT_ID }}\n run: |\n aws s3 sync \"$OUTPUT_PATH\" \"s3://fas-apps/apps/${GITHUB_REPOSITORY##*/}/\" \\\n --endpoint-url \"https://$R2_ACCOUNT_ID.r2.cloudflarestorage.com\" \\\n --delete \\\n --no-progress\n echo \"Deployed apps/${GITHUB_REPOSITORY##*/} from ${GITHUB_SHA::7}\"\n\n - name: Code health scan\n run: npx @vibecodeqa/cli@0.31 --json --badge > /dev/null 2>&1 || true\n - name: Upload code health\n if: always()\n env:\n AWS_ACCESS_KEY_ID: ${{ secrets.R2_ACCESS_KEY_ID }}\n AWS_SECRET_ACCESS_KEY: ${{ secrets.R2_SECRET_ACCESS_KEY }}\n AWS_DEFAULT_REGION: auto\n R2_ACCOUNT_ID: ${{ secrets.R2_ACCOUNT_ID }}\n run: |\n APP_ID=\"${GITHUB_REPOSITORY##*/}\"\n EP=\"https://$R2_ACCOUNT_ID.r2.cloudflarestorage.com\"\n if [ -f .vibe-check/report.json ]; then\n aws s3 cp .vibe-check/report.json \"s3://fas-apps/apps/$APP_ID/.vcqa/report.json\" \\\n --endpoint-url \"$EP\" --content-type application/json --no-progress\n fi\n if [ -f .vibe-check/badge.svg ]; then\n aws s3 cp .vibe-check/badge.svg \"s3://fas-apps/apps/$APP_ID/.vcqa/badge.svg\" \\\n --endpoint-url \"$EP\" --content-type image/svg+xml --no-progress\n fi\n";
77
+ declare const DEPLOY_YML = "name: Deploy to R2\n\non:\n push:\n branches: [main]\n workflow_dispatch:\n\nconcurrency:\n group: deploy-${{ github.repository }}\n cancel-in-progress: true\n\njobs:\n deploy:\n runs-on: ubuntu-latest\n permissions:\n contents: read\n steps:\n - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0\n\n - uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4.3.0\n\n - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0\n with:\n node-version: 22\n cache: pnpm\n\n - name: Install\n run: pnpm install --frozen-lockfile\n\n # If your app uses VITE_* public config (OAuth client IDs, Firebase\n # config, etc.), add them as GitHub repo Variables and pass them here.\n # See https://freeappstore.online/skills.md \"App Config & Secrets\".\n # Example:\n # env:\n # VITE_GOOGLE_CLIENT_ID: ${{ vars.VITE_GOOGLE_CLIENT_ID }}\n - name: Resolve build target\n id: target\n run: npx @freeappstore/cli build-target --app-id \"${GITHUB_REPOSITORY##*/}\" --github-output\n\n - name: Build\n env:\n BUILD_COMMAND: ${{ steps.target.outputs.build-command }}\n run: bash -e -c \"$BUILD_COMMAND\"\n\n - name: Verify build output\n run: npx @freeappstore/cli build-target --artifact --app-id \"${GITHUB_REPOSITORY##*/}\"\n\n - name: Upload to R2\n env:\n OUTPUT_PATH: ${{ steps.target.outputs.output-path }}\n AWS_ACCESS_KEY_ID: ${{ secrets.R2_ACCESS_KEY_ID }}\n AWS_SECRET_ACCESS_KEY: ${{ secrets.R2_SECRET_ACCESS_KEY }}\n AWS_DEFAULT_REGION: auto\n R2_ACCOUNT_ID: ${{ secrets.R2_ACCOUNT_ID }}\n run: |\n aws s3 sync \"$OUTPUT_PATH\" \"s3://fas-apps/apps/${GITHUB_REPOSITORY##*/}/\" \\\n --endpoint-url \"https://$R2_ACCOUNT_ID.r2.cloudflarestorage.com\" \\\n --delete \\\n --no-progress\n echo \"Deployed apps/${GITHUB_REPOSITORY##*/} from ${GITHUB_SHA::7}\"\n\n - name: Code health scan\n run: npx @vibecodeqa/cli@0.31 --json --badge > /dev/null 2>&1 || true\n - name: Upload code health\n if: always()\n env:\n AWS_ACCESS_KEY_ID: ${{ secrets.R2_ACCESS_KEY_ID }}\n AWS_SECRET_ACCESS_KEY: ${{ secrets.R2_SECRET_ACCESS_KEY }}\n AWS_DEFAULT_REGION: auto\n R2_ACCOUNT_ID: ${{ secrets.R2_ACCOUNT_ID }}\n run: |\n APP_ID=\"${GITHUB_REPOSITORY##*/}\"\n EP=\"https://$R2_ACCOUNT_ID.r2.cloudflarestorage.com\"\n if [ -f .vibe-check/report.json ]; then\n aws s3 cp .vibe-check/report.json \"s3://fas-apps/apps/$APP_ID/.vcqa/report.json\" \\\n --endpoint-url \"$EP\" --content-type application/json --no-progress\n fi\n if [ -f .vibe-check/badge.svg ]; then\n aws s3 cp .vibe-check/badge.svg \"s3://fas-apps/apps/$APP_ID/.vcqa/badge.svg\" \\\n --endpoint-url \"$EP\" --content-type image/svg+xml --no-progress\n fi\n";
78
78
  /**
79
79
  * Ensure `.github/workflows/deploy.yml` exists and uses the current R2
80
80
  * template. If the file is missing it's created. If it already exists but
@@ -1 +1 @@
1
- {"version":3,"file":"publish.d.ts","sourceRoot":"","sources":["../../src/commands/publish.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,OAAO,MAAM,SAAS,CAAC;AAQ9B,QAAA,MAAM,UAAU,4LAYN,CAAC;AAEX,QAAA,MAAM,KAAK,2HAGD,CAAC;AAEX,MAAM,MAAM,KAAK,GAAG,MAAM,GAAG,OAAO,CAAC;AAErC,UAAU,eAAe;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;IACtC,IAAI,EAAE,CAAC,OAAO,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB;AAED,iFAAiF;AACjF,eAAO,MAAM,UAAU;;;;;;;;;;;CAWb,CAAC;AAMX,eAAO,MAAM,cAAc,SAuNxB,CAAC;AAaJ;;;;GAIG;AACH,wBAAsB,2BAA2B,CAC/C,IAAI,SAAgB,GACnB,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAU9B;AAgDD;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,CAAC,MAAM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750d5838078e36cf38b85af677262 # v4.4.0
500
500
 
501
- - uses: pnpm/action-setup@v4
501
+ - uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4.3.0
502
502
 
503
- - uses: actions/setup-node@v4
503
+ - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
504
504
  with:
505
505
  node-version: 22
506
506
  cache: pnpm
@@ -861,9 +861,9 @@ jobs:
861
861
  permissions:
862
862
  contents: ${config.store === 'apps' ? 'write' : 'read'}
863
863
  steps:
864
- - uses: actions/checkout@v4
865
- - uses: pnpm/action-setup@v4
866
- - uses: actions/setup-node@v4
864
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
865
+ - uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4.3.0
866
+ - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
867
867
  with:
868
868
  node-version: 22
869
869
  - name: Install
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@freeappstore/cli",
3
- "version": "0.4.76",
3
+ "version": "0.4.78",
4
4
  "description": "fas — CLI for publishing free apps to freeappstore.online",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -39,8 +39,8 @@
39
39
  "react": "^19.3.0",
40
40
  "semver": "^7.8.6",
41
41
  "typescript": "^5.9.3",
42
- "@freeappstore/quality": "0.1.5",
43
- "@freeappstore/compliance": "0.7.24"
42
+ "@freeappstore/compliance": "0.7.25",
43
+ "@freeappstore/quality": "0.1.5"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/node": "^22.20.2",