The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
chore(ci): stop publishing retired create-twenty-app (#29245)
Weiko67182acef8f6
diff --git a/.github/verdaccio-config.yaml b/.github/verdaccio-config.yamlindex a592c5abefd..6f9f51805da 100644--- a/.github/verdaccio-config.yaml+++ b/.github/verdaccio-config.yaml@@ -18,9 +18,6 @@ packages:'twenty-ui':access: $allpublish: $all- 'create-twenty-app':- access: $all- publish: $all'**':access: $allproxy: npmjsdiff --git a/.github/workflows/ci-agent-skills-drift.yaml b/.github/workflows/ci-agent-skills-drift.yamlindex dbf34cdab90..56be056c62e 100644--- a/.github/workflows/ci-agent-skills-drift.yaml+++ b/.github/workflows/ci-agent-skills-drift.yaml@@ -1,7 +1,7 @@name: CI Agent Skills Drift# When a PR changes the app-development surface (twenty-cli, twenty-sdk,-# create-twenty-app, twenty-client-sdk, or shared manifest types), an agent checks+# twenty-client-sdk, or shared manifest types), an agent checks# whether the canonical skill content under packages/twenty-agent-skills is impacted and,# only when it is, posts a single sticky comment with its findings.#@@ -26,7 +26,6 @@ jobs:files: |packages/twenty-cli/**packages/twenty-sdk/**- packages/create-twenty-app/**packages/twenty-client-sdk/**packages/twenty-shared/src/application/**packages/twenty-shared/src/types/**diff --git a/.github/workflows/ci-app-docs-drift.yaml b/.github/workflows/ci-app-docs-drift.yamlindex 5caabfafb24..07a915229e3 100644--- a/.github/workflows/ci-app-docs-drift.yaml+++ b/.github/workflows/ci-app-docs-drift.yaml@@ -1,7 +1,7 @@name: CI App Docs Drift# When a PR changes the app-development surface (twenty-cli, twenty-sdk,-# create-twenty-app, twenty-client-sdk, or shared manifest types), an agent checks+# twenty-client-sdk, or shared manifest types), an agent checks# whether the app documentation under packages/twenty-docs/developers/extend/apps is# impacted and, only when it is, posts a single sticky comment with its findings.@@ -23,7 +23,6 @@ jobs:files: |packages/twenty-cli/**packages/twenty-sdk/**- packages/create-twenty-app/**packages/twenty-client-sdk/**packages/twenty-shared/src/application/**packages/twenty-shared/src/types/**diff --git a/.github/workflows/ci-create-app-e2e-minimal.yaml b/.github/workflows/ci-create-app-e2e-minimal.yamldeleted file mode 100644index d1c529f5b02..00000000000--- a/.github/workflows/ci-create-app-e2e-minimal.yaml+++ /dev/null@@ -1,55 +0,0 @@-name: CI Create App E2E minimal--on:- pull_request:- push:- branches: [main]--permissions:- contents: read--concurrency:- group: ${{ github.workflow }}-${{ github.ref }}- cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}--jobs:- changed-files-check:- uses: ./.github/workflows/changed-files.yaml- with:- files: |- packages/create-twenty-app/**- .github/workflows/ci-create-app-e2e-minimal.yaml- create-app-e2e-minimal:- needs: changed-files-check- if: needs.changed-files-check.outputs.any_changed == 'true'- timeout-minutes: 10- runs-on: ubuntu-latest- steps:- - name: Checkout- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1- - name: Install dependencies- uses: ./.github/actions/yarn-install- - name: Build retired package- run: npx nx build create-twenty-app- - name: Check migration instructions- shell: bash- run: |- test_directory=$(mktemp -d)- cd "$test_directory"- set +e- output=$(node "$GITHUB_WORKSPACE/packages/create-twenty-app/dist/cli.cjs" my-app 2>&1)- status=$?- set -e- test "$status" -eq 1- test ! -e my-app- echo "$output"- [[ "$output" == *"twenty app init my-app"* ]]- ci-create-app-e2e-minimal-status-check:- if: always() && !cancelled()- timeout-minutes: 5- runs-on: ubuntu-latest- needs: [changed-files-check, create-app-e2e-minimal]- steps:- - name: Fail job if any needs failed- if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')- run: exit 1diff --git a/.github/workflows/ci-create-app.yaml b/.github/workflows/ci-create-app.yamldeleted file mode 100644index a822ce5326a..00000000000--- a/.github/workflows/ci-create-app.yaml+++ /dev/null@@ -1,54 +0,0 @@-name: CI Create App--on:- push:- branches:- - main-- pull_request:--permissions:- contents: read--concurrency:- group: ${{ github.workflow }}-${{ github.ref }}- cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}--jobs:- changed-files-check:- uses: ./.github/workflows/changed-files.yaml- with:- files: |- packages/create-twenty-app/**- !packages/create-twenty-app/package.json- create-app-test:- needs: changed-files-check- if: needs.changed-files-check.outputs.any_changed == 'true'- timeout-minutes: 30- runs-on: ubuntu-latest- strategy:- matrix:- task: [lint, typecheck, test]- steps:- - name: Fetch custom Github Actions and base branch history- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1- with:- fetch-depth: 10- - name: Install dependencies- uses: ./.github/actions/yarn-install- - name: Build- run: npx nx build create-twenty-app- - name: Run ${{ matrix.task }} task- uses: ./.github/actions/nx-affected- with:- tag: scope:create-app- tasks: ${{ matrix.task }}- ci-create-app-status-check:- if: always() && !cancelled()- timeout-minutes: 5- runs-on: ubuntu-latest- needs: [changed-files-check, create-app-test]- steps:- - name: Fail job if any needs failed- if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')- run: exit 1diff --git a/.github/workflows/publish-npm-packages.yaml b/.github/workflows/publish-npm-packages.yamlindex 1633b9959a8..8ccd27ebed4 100644--- a/.github/workflows/publish-npm-packages.yaml+++ b/.github/workflows/publish-npm-packages.yaml@@ -46,7 +46,7 @@ jobs:.source_sha == $sha and (.dry_run | type == "boolean")and (.version | type == "string" and test("^[0-9]+[.][0-9]+[.][0-9]+([+-][0-9A-Za-z.-]+)*$"))and (.dist_tag | type == "string" and test("^[a-zA-Z][a-zA-Z0-9._-]*$"))- and (.packages == "twenty-client-sdk twenty-ui twenty-sdk twenty create-twenty-app"+ and (.packages == "twenty-client-sdk twenty-ui twenty-sdk twenty"or .packages == "twenty-ui" or .packages == "twenty")and ((.stage_only // false) | type == "boolean")and (.staging_version == null)@@ -194,7 +194,7 @@ jobs:sleep 15donefi- if [[ "$package" != twenty && "$package" != create-twenty-app ]]; then+ if [[ "$package" != twenty ]]; thenpublished_libraries="$published_libraries $package"fidone