Skip to content

Commit afb1553

Browse files
Merge pull request #5240 from Shopify/deprecate-old-packages
Workflow to deprecate old packages in NPM
2 parents a8a9a68 + 9fd0ffa commit afb1553

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Deprecate old packages
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
release:
8+
name: Deprecate old packages
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Deprecate
12+
run: |
13+
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
14+
npm deprecate @shopify/app@"*" "$MESSAGE"
15+
npm deprecate @shopify/theme@"*" "$MESSAGE"
16+
env:
17+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
18+
MESSAGE: This package is deprecated. As of Shopify CLI version 3.59.0, it is bundled with @shopify/cli. Please use that package instead.

0 commit comments

Comments
 (0)