Skip to content

Commit f874d80

Browse files
chore: upgrade to yarn v3 (#2718)
* chore: upgrade to yarn v3 * updates PR validation workflow to use node 18.x * updating pack to escape command line expansions of globs * improving dev loop --------- Co-authored-by: Sébastien Levert <[email protected]>
1 parent 09ec636 commit f874d80

File tree

3,490 files changed

+39266
-28866
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,490 files changed

+39266
-28866
lines changed

.gitattributes

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
* text eol=lf
22
*.png -text
3-
*.zip -text
3+
*.zip -text
4+
/.yarn/releases/** binary
5+
/.yarn/plugins/** binary

.github/workflows/pr.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,13 @@ jobs:
1818
node-version: [18.x]
1919

2020
steps:
21-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@v4
2222
- name: Use Node.js ${{ matrix.node-version }}
2323
uses: actions/setup-node@v1
2424
with:
2525
node-version: ${{ matrix.node-version }}
26-
- name: Cache Node Modules
27-
id: cache-node-modules
28-
uses: actions/cache@v2
29-
with:
30-
path: |
31-
node_modules
32-
*/*/node_modules
33-
key: ${{ runner.os }}-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
34-
- run: npm install -g yarn lerna
26+
- run: npm install -g lerna
3527
- name: Install node_modules
36-
if: steps.cache-node-modules.outputs.cache-hit != 'true'
3728
run: yarn
3829
- run: node scripts/setVersion.js --next
3930
- run: yarn build

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,13 @@ package-lock.json
4545
storybook-static/
4646
custom-elements.json
4747
workbench.html
48+
49+
# modern yarn using zero-install
50+
.yarn/*
51+
!.yarn/cache
52+
!.yarn/patches
53+
!.yarn/plugins
54+
!.yarn/releases
55+
!.yarn/sdks
56+
!.yarn/versions
57+

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.
7.69 KB
Binary file not shown.
Binary file not shown.
37.4 KB
Binary file not shown.
6.19 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)