diff --git a/.gitattributes b/.gitattributes index 510d065a..e52fe298 100644 --- a/.gitattributes +++ b/.gitattributes @@ -6,17 +6,14 @@ /.github/pull_request_template.md linguist-generated /.github/workflows/auto-approve.yml linguist-generated /.github/workflows/auto-merge.yml linguist-generated -/.github/workflows/auto-tag-dev-v5.1.yml linguist-generated /.github/workflows/auto-tag-dev-v5.2.yml linguist-generated /.github/workflows/auto-tag-dev.yml linguist-generated -/.github/workflows/auto-tag-releases-v5.1.yml linguist-generated /.github/workflows/auto-tag-releases-v5.2.yml linguist-generated /.github/workflows/auto-tag-releases.yml linguist-generated /.github/workflows/build.yml linguist-generated /.github/workflows/pull-request-lint.yml linguist-generated /.github/workflows/release.yml linguist-generated /.github/workflows/upgrade-main.yml linguist-generated -/.github/workflows/upgrade-maintenance-v5.1.yml linguist-generated /.github/workflows/upgrade-maintenance-v5.2.yml linguist-generated /.gitignore linguist-generated /.npmignore linguist-generated diff --git a/.github/workflows/auto-tag-dev-v5.1.yml b/.github/workflows/auto-tag-dev-v5.1.yml deleted file mode 100644 index 8d43969b..00000000 --- a/.github/workflows/auto-tag-dev-v5.1.yml +++ /dev/null @@ -1,59 +0,0 @@ -# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen". - -name: auto-tag-dev-v5.1 -run-name: Auto-Tag Prerelease (v5.1) -on: - schedule: - - cron: 0 5 * * 0,2-6 - workflow_dispatch: {} -jobs: - pre-flight: - name: Pre-Flight Checks - runs-on: ubuntu-latest - permissions: - contents: read - outputs: - sha: ${{ steps.git.outputs.sha }} - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - repository: ${{ github.repository }} - ref: maintenance/v5.1 - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - cache: yarn - node-version: 18.12.0 - - name: Install dependencies - run: yarn install --frozen-lockfile - - name: Build - run: yarn build - - name: Identify git SHA - id: git - run: echo sha=$(git rev-parse HEAD) >> $GITHUB_OUTPUT - auto-tag: - name: Auto-Tag Release - needs: pre-flight - runs-on: ubuntu-latest - permissions: {} - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - repository: ${{ github.repository }} - token: ${{ secrets.PROJEN_GITHUB_TOKEN }} - ref: ${{ needs.pre-flight.outputs.sha }} - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - cache: yarn - node-version: 18.12.0 - - name: Install dependencies - run: yarn install --frozen-lockfile - - name: Set git identity - run: |- - git config user.name "github-actions" - git config user.email "github-actions@github.com" - - name: Tag PreRelease - run: yarn tag-release --idempotent --no-sign --push --prerelease=dev diff --git a/.github/workflows/auto-tag-dev-v5.2.yml b/.github/workflows/auto-tag-dev-v5.2.yml index d8846404..c77ffb52 100644 --- a/.github/workflows/auto-tag-dev-v5.2.yml +++ b/.github/workflows/auto-tag-dev-v5.2.yml @@ -4,7 +4,7 @@ name: auto-tag-dev-v5.2 run-name: Auto-Tag Prerelease (v5.2) on: schedule: - - cron: 0 10 * * 0,2-6 + - cron: 0 5 * * 0,2-6 workflow_dispatch: {} jobs: pre-flight: diff --git a/.github/workflows/auto-tag-releases-v5.1.yml b/.github/workflows/auto-tag-releases-v5.1.yml deleted file mode 100644 index 85543209..00000000 --- a/.github/workflows/auto-tag-releases-v5.1.yml +++ /dev/null @@ -1,59 +0,0 @@ -# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen". - -name: auto-tag-releases-v5.1 -run-name: Auto-Tag Release (v5.1) -on: - schedule: - - cron: 0 5 * * 1 - workflow_dispatch: {} -jobs: - pre-flight: - name: Pre-Flight Checks - runs-on: ubuntu-latest - permissions: - contents: read - outputs: - sha: ${{ steps.git.outputs.sha }} - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - repository: ${{ github.repository }} - ref: maintenance/v5.1 - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - cache: yarn - node-version: 18.12.0 - - name: Install dependencies - run: yarn install --frozen-lockfile - - name: Build - run: yarn build - - name: Identify git SHA - id: git - run: echo sha=$(git rev-parse HEAD) >> $GITHUB_OUTPUT - auto-tag: - name: Auto-Tag Release - needs: pre-flight - runs-on: ubuntu-latest - permissions: {} - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - repository: ${{ github.repository }} - token: ${{ secrets.PROJEN_GITHUB_TOKEN }} - ref: ${{ needs.pre-flight.outputs.sha }} - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - cache: yarn - node-version: 18.12.0 - - name: Install dependencies - run: yarn install --frozen-lockfile - - name: Set git identity - run: |- - git config user.name "github-actions" - git config user.email "github-actions@github.com" - - name: Tag Release - run: "yarn tag-release --idempotent --no-sign --push " diff --git a/.github/workflows/auto-tag-releases-v5.2.yml b/.github/workflows/auto-tag-releases-v5.2.yml index 797843dc..2beedaa5 100644 --- a/.github/workflows/auto-tag-releases-v5.2.yml +++ b/.github/workflows/auto-tag-releases-v5.2.yml @@ -4,7 +4,7 @@ name: auto-tag-releases-v5.2 run-name: Auto-Tag Release (v5.2) on: schedule: - - cron: 0 10 * * 1 + - cron: 0 5 * * 1 workflow_dispatch: {} jobs: pre-flight: diff --git a/.github/workflows/upgrade-maintenance-v5.1.yml b/.github/workflows/upgrade-maintenance-v5.1.yml deleted file mode 100644 index 60688da9..00000000 --- a/.github/workflows/upgrade-maintenance-v5.1.yml +++ /dev/null @@ -1,96 +0,0 @@ -# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen". - -name: upgrade-maintenance-v5.1 -on: - workflow_dispatch: {} - schedule: - - cron: 0 0 * * * -jobs: - upgrade: - name: Upgrade - runs-on: ubuntu-latest - permissions: - contents: read - outputs: - patch_created: ${{ steps.create_patch.outputs.patch_created }} - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - ref: maintenance/v5.1 - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: 18.12.0 - - name: Install dependencies - run: yarn install --check-files --frozen-lockfile - - name: Back-port projenrc changes from main - env: - CI: "false" - run: git fetch origin main && git checkout FETCH_HEAD -- .projenrc.ts projenrc README.md && yarn projen - - name: Upgrade dependencies - run: npx projen upgrade - - name: Find mutations - id: create_patch - run: |- - git add . - git diff --staged --patch --exit-code > .repo.patch || echo "patch_created=true" >> $GITHUB_OUTPUT - - name: Upload patch - if: steps.create_patch.outputs.patch_created - uses: actions/upload-artifact@v4 - with: - name: .repo.patch - path: .repo.patch - overwrite: true - pr: - name: Create Pull Request - needs: upgrade - runs-on: ubuntu-latest - permissions: - contents: read - if: ${{ needs.upgrade.outputs.patch_created }} - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - ref: maintenance/v5.1 - - name: Download patch - uses: actions/download-artifact@v4 - with: - name: .repo.patch - path: ${{ runner.temp }} - - name: Apply patch - run: '[ -s ${{ runner.temp }}/.repo.patch ] && git apply ${{ runner.temp }}/.repo.patch || echo "Empty patch. Skipping."' - - name: Set git identity - run: |- - git config user.name "github-actions" - git config user.email "github-actions@github.com" - - name: Create Pull Request - id: create-pr - uses: peter-evans/create-pull-request@v6 - with: - token: ${{ secrets.PROJEN_GITHUB_TOKEN }} - commit-message: |- - chore(deps): upgrade dependencies - - Upgrades project dependencies. See details in [workflow run]. - - [Workflow Run]: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} - - ------ - - *Automatically created by projen via the "upgrade-maintenance-v5.1" workflow* - branch: github-actions/upgrade-maintenance-v5.1 - title: "chore(deps): upgrade dependencies" - labels: auto-approve - body: |- - Upgrades project dependencies. See details in [workflow run]. - - [Workflow Run]: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} - - ------ - - *Automatically created by projen via the "upgrade-maintenance-v5.1" workflow* - author: github-actions - committer: github-actions - signoff: true diff --git a/.gitignore b/.gitignore index 4f121d1a..13a688a2 100644 --- a/.gitignore +++ b/.gitignore @@ -43,7 +43,6 @@ jspm_packages/ /dist/ !/.eslintrc.json !/.github/workflows/upgrade-main.yml -!/.github/workflows/upgrade-maintenance-v5.1.yml !/.github/workflows/upgrade-maintenance-v5.2.yml /build-tools/tsconfig.json /projenrc/tsconfig.json @@ -58,8 +57,6 @@ jspm_packages/ !/.github/workflows/release.yml !/.github/workflows/auto-tag-dev.yml !/.github/workflows/auto-tag-releases.yml -!/.github/workflows/auto-tag-dev-v5.1.yml -!/.github/workflows/auto-tag-releases-v5.1.yml !/.github/workflows/auto-tag-dev-v5.2.yml !/.github/workflows/auto-tag-releases-v5.2.yml !/.projenrc.ts diff --git a/.projen/files.json b/.projen/files.json index 4781ea32..042dced2 100644 --- a/.projen/files.json +++ b/.projen/files.json @@ -5,17 +5,14 @@ ".github/pull_request_template.md", ".github/workflows/auto-approve.yml", ".github/workflows/auto-merge.yml", - ".github/workflows/auto-tag-dev-v5.1.yml", ".github/workflows/auto-tag-dev-v5.2.yml", ".github/workflows/auto-tag-dev.yml", - ".github/workflows/auto-tag-releases-v5.1.yml", ".github/workflows/auto-tag-releases-v5.2.yml", ".github/workflows/auto-tag-releases.yml", ".github/workflows/build.yml", ".github/workflows/pull-request-lint.yml", ".github/workflows/release.yml", ".github/workflows/upgrade-main.yml", - ".github/workflows/upgrade-maintenance-v5.1.yml", ".github/workflows/upgrade-maintenance-v5.2.yml", ".gitignore", ".npmignore", diff --git a/yarn.lock b/yarn.lock index 787d841d..2d8231b7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1237,16 +1237,16 @@ integrity sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA== "@types/node@*": - version "20.11.20" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.11.20.tgz#f0a2aee575215149a62784210ad88b3a34843659" - integrity sha512-7/rR21OS+fq8IyHTgtLkDK949uzsa6n8BkziAKtPVpugIkO6D+/ooXMvzXxDnZrmtXVfjb1bKQafYpb8s89LOg== + version "20.11.21" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.11.21.tgz#ad67e65652f7be15686e2df87a38076a81c5e9c5" + integrity sha512-/ySDLGscFPNasfqStUuWWPfL78jompfIoVzLJPVVAHBh6rpG68+pI2Gk+fNLeI8/f1yPYL4s46EleVIc20F1Ow== dependencies: undici-types "~5.26.4" "@types/node@^18": - version "18.19.18" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.18.tgz#7526471b28828d1fef1f7e4960fb9477e6e4369c" - integrity sha512-80CP7B8y4PzZF0GWx15/gVWRrB5y/bIjNI84NK3cmQJu0WZwvmj2WMA5LcofQFVfLqqCSp545+U2LsrVzX36Zg== + version "18.19.19" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.19.tgz#fe8bdbf85683a461ad685ead52a57ab2ee2315e4" + integrity sha512-qqV6hSy9zACEhQUy5CEGeuXAZN0fNjqLWRIvOXOwdFYhFoKBiY08VKR5kgchr90+TitLVhpUEb54hk4bYaArUw== dependencies: undici-types "~5.26.4" @@ -1908,9 +1908,9 @@ camelcase@^7.0.1: integrity sha512-xlx1yCK2Oc1APsPXDL2LdlNP6+uu8OCDdhOBSVT279M/S+y75O30C2VuD8T2ogdePBBl7PfPF4504tnLgX3zfw== caniuse-lite@^1.0.30001587: - version "1.0.30001589" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001589.tgz#7ad6dba4c9bf6561aec8291976402339dc157dfb" - integrity sha512-vNQWS6kI+q6sBlHbh71IIeC+sRwK2N3EDySc/updIGhIee2x5z00J4c1242/5/d6EpEMdOnk/m+6tuk4/tcsqg== + version "1.0.30001591" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001591.tgz#16745e50263edc9f395895a7cd468b9f3767cf33" + integrity sha512-PCzRMei/vXjJyL5mJtzNiUCKP59dm8Apqc3PH8gJkMnMXZGox93RbE76jHsmLwmIo6/3nsYIpJtx0O7u5PqFuQ== case@^1.6.3: version "1.6.3" @@ -2384,9 +2384,9 @@ eastasianwidth@^0.2.0: integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== electron-to-chromium@^1.4.668: - version "1.4.682" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.682.tgz#27577b88ccccc810e09b05093345cf1830f1bd65" - integrity sha512-oCglfs8yYKs9RQjJFOHonSnhikPK3y+0SvSYc/YpYJV//6rqc0/hbwd0c7vgK4vrl6y2gJAwjkhkSGWK+z4KRA== + version "1.4.684" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.684.tgz#6076afb69ffa1a8cec49150c2925447744888bee" + integrity sha512-MoDE0pUsIzTewI96Vbv84sTkER9Nbp58pa1K7Ub03s6+2HvuJ+jbnxcLJm22mpomJe+5PWtiPXqhbU5ZkyHU5A== emittery@^0.13.1: version "0.13.1" @@ -2411,9 +2411,9 @@ encoding@^0.1.13: iconv-lite "^0.6.2" enhanced-resolve@^5.12.0: - version "5.15.0" - resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz#1af946c7d93603eb88e9896cee4904dc012e9c35" - integrity sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg== + version "5.15.1" + resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.15.1.tgz#384391e025f099e67b4b00bfd7f0906a408214e1" + integrity sha512-3d3JRbwsCLJsYgvb6NuWEG44jjPSOMuS73L/6+7BZuoKm3W+qXnSoIYVHi8dG7Qcg4inAY4jbzkZ7MnskePeDg== dependencies: graceful-fs "^4.2.4" tapable "^2.2.0" @@ -2577,9 +2577,9 @@ eslint-import-resolver-typescript@^3.6.1: is-glob "^4.0.3" eslint-module-utils@^2.7.4, eslint-module-utils@^2.8.0: - version "2.8.0" - resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.8.0.tgz#e439fee65fc33f6bba630ff621efc38ec0375c49" - integrity sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw== + version "2.8.1" + resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.8.1.tgz#52f2404300c3bd33deece9d7372fb337cc1d7c34" + integrity sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q== dependencies: debug "^3.2.7" @@ -6370,9 +6370,9 @@ typedarray-to-buffer@^3.1.5: is-typedarray "^1.0.0" typescript@next: - version "5.5.0-dev.20240226" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5.0-dev.20240226.tgz#b571688666f07e4d7db4c9863f3ee1401e161a7a" - integrity sha512-mLY9/pjzSCr7JLkMKHS3KQUKX+LPO9WWjiR+mRcWKcskSdMBZ0j1TPhk/zUyuBklOf3YX4orkvamNiZWZEK0CQ== + version "5.5.0-dev.20240227" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5.0-dev.20240227.tgz#ae8a02186ac1c76628d530c4a6954d2fc9620b69" + integrity sha512-cPljzopUqWPey1Yh7KAE78JSTjoOZUqm8csCGLiu+Hl12xZxGUZFLQRS74IwoDvM+lzoOBwnM528UbYITO9ouA== typescript@~3.9.10: version "3.9.10"