Skip to content

Commit

Permalink
fix(deps): update to yarn berry [PLAT-4330] (#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
prescottprue authored Mar 21, 2023
1 parent 579872c commit 40281fb
Show file tree
Hide file tree
Showing 7 changed files with 7,530 additions and 4,581 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,13 @@ jobs:
run: |
echo Configuring NPM_TOKEN globally for .npmrc
npm config set '//registry.npmjs.org/:_authToken' ${{ env.NPM_TOKEN }}
yarn config set npmAuthToken ${{ env.NPM_TOKEN }}
npm whoami
env:
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}

- name: Install dependencies
run: yarn install --frozen-lockfile
run: yarn install --immutable

- name: Lint
run: yarn lint
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,20 @@ jobs:
run: |
echo Configuring NPM_READ_TOKEN globally for .npmrc
npm config set '//registry.npmjs.org/:_authToken' ${{ env.NPM_TOKEN }}
yarn config set npmAuthToken ${{ env.NPM_TOKEN }}
npm whoami
env:
NPM_TOKEN: ${{ secrets.NPM_READ_TOKEN }}

- name: Install dependencies
run: yarn install --frozen-lockfile
run: yarn install --immutable

- name: Lint
run: yarn lint

- name: Check types
run: yarn types

# TODO: [PLAT-1074] Provide inversion of control for app teams to manage particular CI steps within package.json scripts
- name: Test
run: yarn test:cov

Expand Down
15 changes: 12 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
node_modules
package-lock.json
.npmrc
coverage
.DS_Store
.cache
*.log
Expand All @@ -18,3 +15,15 @@ coverage
# Ignore built TS files
dist
esm
coverage

# Package Manager
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
node_modules
package-lock.json
873 changes: 873 additions & 0 deletions .yarn/releases/yarn-3.5.0.cjs

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-3.5.0.cjs
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,6 @@
"prettier --write"
],
"*.{json,md,yaml,yml,graphql}": "prettier --write"
}
},
"packageManager": "yarn@3.5.0"
}
11,210 changes: 6,636 additions & 4,574 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 40281fb

Please sign in to comment.