Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix deprecate versions #3670

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
44e01c4
chore: added chunk size to deprecation script
petertonysmith94 Jan 21, 2025
8e9e361
chore: filtering for deprecations
petertonysmith94 Jan 21, 2025
7cf8356
chore: log error messages
petertonysmith94 Jan 21, 2025
3e9217e
chore: setup npm
petertonysmith94 Jan 21, 2025
14bc544
Merge branch 'master' of github.com:FuelLabs/fuels-ts into ps/chore/f…
petertonysmith94 Feb 5, 2025
7910aa8
chore: upload action to allow for deprecations
petertonysmith94 Feb 5, 2025
605806c
added missing input
petertonysmith94 Feb 5, 2025
74c7bce
hail mary
petertonysmith94 Feb 6, 2025
36a13b8
Merge branch 'master' of github.com:FuelLabs/fuels-ts into ps/chore/f…
petertonysmith94 Feb 6, 2025
058fcdb
chore: simplify the deprecation process
petertonysmith94 Feb 6, 2025
a866f30
chore: use `0.0.0-x`
petertonysmith94 Feb 6, 2025
486947d
chore: Sergio's Super Fix 🚀
petertonysmith94 Feb 6, 2025
ec8ce1e
chore: fix
petertonysmith94 Feb 6, 2025
e79b695
chore: LFGGGGGGG 🚀
petertonysmith94 Feb 6, 2025
e3d158c
chore: add all legacy packages to clean up
petertonysmith94 Feb 6, 2025
9390046
Avoid exiting on failure
petertonysmith94 Feb 6, 2025
8005a13
chore: deprecate versions method
petertonysmith94 Feb 7, 2025
c026129
chore: remove dist-tags
petertonysmith94 Feb 7, 2025
6015d18
chore: move entrypoint
petertonysmith94 Feb 7, 2025
caf0e31
chore: removed unused dep
petertonysmith94 Feb 7, 2025
51046c3
Update scripts/release-deprecate.mts
petertonysmith94 Feb 7, 2025
8c1ec4c
Merge branch 'master' into ps/chore/fix-deprecate-versions
arboleya Feb 7, 2025
68e036e
Update scripts/release-deprecate.mts
petertonysmith94 Feb 7, 2025
1b189d9
Merge branch 'master' into ps/chore/fix-deprecate-versions
petertonysmith94 Feb 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/release-deprecate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,6 @@ on:
type: string
description: Filter by package name
default: ""
filter_by_package_version:
type: string
description: Filter by package version
default: ""
chunk_size:
type: number
description: Chunk size
default: 1000

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -41,10 +33,18 @@ jobs:
with:
npm-token: ${{ secrets.NPM_DEPLOY_TOKEN }}

- name: Ensure NPM access
run: npm whoami
env:
HOME: ${{ github.workspace }}
NPM_TOKEN: ${{ secrets.NPM_DEPLOY_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_DEPLOY_TOKEN }}

- name: Deprecate
run: pnpm release:deprecate
env:
HOME: ${{ github.workspace }}
NPM_TOKEN: ${{ secrets.NPM_DEPLOY_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_DEPLOY_TOKEN }}
DEPRECATE_VERSIONS: ${{ github.event.inputs.deprecate_versions }}
FILTER_BY_PACKAGE_NAME: ${{ github.event.inputs.filter_by_package_name }}
FILTER_BY_VERSION: ${{ github.event.inputs.filter_by_package_version }}
CHUNK_SIZE: ${{ github.event.inputs.chunk_size }}
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"changeset:update-changelog": "tsx ./scripts/changeset/update-changelog.mts",
"changeset:get-latest-release": "tsx ./scripts/changeset/get-latest-release.mts",
"changeset:dependabot": "./scripts/changeset/dependabot-changeset.sh",
"release:deprecate": "tsx ./scripts/release-deprecate.ts",
"release:deprecate": "tsx ./scripts/release-deprecate.mts",
"forc:update": "tsx ./scripts/forc-update",
"forc:check": "./scripts/forc-check.sh",
"forc:format": "./scripts/forc-format.sh",
Expand Down Expand Up @@ -87,7 +87,6 @@
"@typescript-eslint/parser": "6.21.0",
"@vitest/browser": "2.0.5",
"@vitest/coverage-istanbul": "2.0.5",
"compare-versions": "6.1.1",
"coverage-diff": "3.2.0",
"eslint": "8.57.0",
"eslint-config-airbnb-base": "15.0.0",
Expand Down
Loading
Loading