Skip to content

Commit 55d8bc9

Browse files
authored
Build/yarn 2 3 (#2765)
* build: use yarn 2.3 with nohoisting * build: correct debug version * build: add output to clean script * build: update lint script * build: fix unit testing * build: add yarn plugin version * build: ignore tests when cutting versions * build: remove duplicate testing * build: remove lerna tooling
1 parent 7857c62 commit 55d8bc9

File tree

32 files changed

+31070
-25347
lines changed

32 files changed

+31070
-25347
lines changed

.github/workflows/gh-pages.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ jobs:
1515
with:
1616
node-version: 12.x
1717

18-
- run: npm i -g pnpm
19-
- run: pnpm install
20-
- run: pnpm build
18+
- run: yarn install
19+
- run: yarn build
2120
- run: yarn lerna run build_site --scope react-dnd-documentation
2221

2322
- name: deploy

.github/workflows/node-ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,10 @@ jobs:
1818
with:
1919
node-version: ${{ matrix.node-version }}
2020

21-
- run: npm i -g pnpm
22-
- run: pnpm install
21+
- run: yarn install
2322
name: Install Dependencies
2423

25-
- run: pnpm ci
24+
- run: yarn ci
2625
name: Execute Tests
2726
env:
2827
CI: true

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,12 @@ coverage
99
test-results.xml
1010
*-*.log
1111
.jest-cache
12+
13+
# Yarn v2
14+
# https://yarnpkg.com/advanced/qa#which-files-should-be-gitignored
15+
.yarn/*
16+
!.yarn/releases
17+
!.yarn/plugins
18+
!.yarn/sdks
19+
!.yarn/versions
20+
.pnp.*

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ lib/
44
build/
55
pnpm-lock.yaml
66
pnpm-workspace.yaml
7+
.yarn/

.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

Lines changed: 38 additions & 0 deletions
Large diffs are not rendered by default.

.yarn/plugins/@yarnpkg/plugin-version.cjs

Lines changed: 52 additions & 0 deletions
Large diffs are not rendered by default.

.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

Lines changed: 29 additions & 0 deletions
Large diffs are not rendered by default.

.yarn/releases/yarn-2.3.0.cjs

Lines changed: 55 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
nmHoistingLimits: dependencies
2+
3+
nodeLinker: node-modules
4+
5+
plugins:
6+
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
7+
spec: '@yarnpkg/plugin-workspace-tools'
8+
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
9+
spec: '@yarnpkg/plugin-interactive-tools'
10+
- path: .yarn/plugins/@yarnpkg/plugin-version.cjs
11+
spec: '@yarnpkg/plugin-version'
12+
13+
yarnPath: .yarn/releases/yarn-2.3.0.cjs
14+
15+
changesetBaseRefs:
16+
- 'main'
17+
- 'origin/main'
18+
- 'upstream/main'
19+
20+
changesetIgnorePatterns:
21+
- '**/*.spec.{js,ts,tsx}'

lerna.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)