Skip to content

Commit

Permalink
chore: migrate from yarn to npm (#757)
Browse files Browse the repository at this point in the history
Keep packages up-to-date.

- use dependabot to keep track of updates and easily apply them
- remove zero-install committed package zip files (as this does not work with dependabot, or even renovate)
- use npm instead of yarn as a more common default choice (as this works just as well if we don't have zero install)
  • Loading branch information
steabert authored Sep 22, 2023
1 parent 20e5cd2 commit 41d33f1
Show file tree
Hide file tree
Showing 869 changed files with 12,796 additions and 4,934 deletions.
19 changes: 19 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: 2

updates:
- package-ecosystem: 'npm'
directory: '/'
groups:
dev-dependencies:
dependency-type: 'development'
update-types:
- 'minor'
- 'patch'
dependencies:
dependency-type: 'production'
update-types:
- 'minor'
- 'patch'
rebase-strategy: 'disabled'
schedule:
interval: 'daily'
10 changes: 4 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,8 @@ jobs:

- name: Deploy NPM packages
env:
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
run: |
if [[ $GITHUB_REF =~ alpha|beta ]]; then
yarn workspaces foreach --no-private npm publish --tag next
else
yarn workspaces foreach --no-private npm publish --tag latest
fi
npm publish --workspace overlay --tag latest
npm publish --workspace player --tag latest
npm publish --workspace streams --tag latest
9 changes: 2 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ coverage/
# Bundles
dist/
tsconfig.tsbuildinfo
*.min.js*

# Cypress
cypress/videos/
Expand All @@ -17,13 +18,7 @@ cypress/screenshots/
.vscode/
.vim/

# Yarn
.yarn/*
!.yarn/cache
!.yarn/releases
!.yarn/plugins
!.yarn/sdks
!.yarn/versions
# NPM
node_modules/

# Linting
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions .yarn/cache/@babel-core-npm-7.21.3-625d9d4efe-bef25fbea9.zip

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions .yarn/cache/@babel-types-npm-7.12.0-142638aa7b-0bc5c34018.zip

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions .yarn/cache/@babel-types-npm-7.20.7-8dc703d95e-b39af241f0.zip

This file was deleted.

3 changes: 0 additions & 3 deletions .yarn/cache/@babel-types-npm-7.21.3-2a27aede05-b750274718.zip

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions .yarn/cache/@cypress-xvfb-npm-1.2.4-396a3691f7-7bdcdaeb1b.zip

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions .yarn/cache/@esbuild-darwin-x64-npm-0.17.12-73adb3420f-8.zip

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions .yarn/cache/@esbuild-linux-arm64-npm-0.17.12-0a8ea6736d-8.zip

This file was deleted.

3 changes: 0 additions & 3 deletions .yarn/cache/@esbuild-linux-x64-npm-0.17.12-14d23a4e4c-8.zip

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions .yarn/cache/@eslint-js-npm-8.36.0-1f52b8accd-b7d6b84b82.zip

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 41d33f1

Please sign in to comment.