Skip to content

Commit 99b0460

Browse files
authored
Upgrade Yarn to Yarn Berry (v2) (#430)
* Upgrade Yarn to Yarn Berry (v2) * Add missing workspace, fix link to parent lib
1 parent 8c94777 commit 99b0460

File tree

6 files changed

+11365
-5873
lines changed

6 files changed

+11365
-5873
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
.cache
33
.idea
44
.vscode
5+
.yarn/*
6+
!.yarn/releases
7+
!.yarn/plugins
58
dist
69
coverage
710
node_modules

.yarn/releases/yarn-2.2.2.cjs

+55
Large diffs are not rendered by default.

.yarnrc.yml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
nodeLinker: node-modules
2+
3+
yarnPath: .yarn/releases/yarn-2.2.2.cjs

package.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@
55
"main": "dist/umd/index.js",
66
"module": "dist/esm/index.js",
77
"source": "src/index.js",
8-
"sideEffects": ["*.css"],
8+
"sideEffects": [
9+
"*.css"
10+
],
11+
"workspaces": [
12+
".",
13+
"test"
14+
],
915
"scripts": {
1016
"build": "yarn build-js-all && yarn copy-styles && yarn build-styles",
1117
"build-js-all": "yarn build-js-esm && yarn build-js-umd",

test/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@wojtekmaj/date-utils": "^1.0.2",
1717
"prop-types": "^15.6.2",
1818
"react": "^16.5.0",
19-
"react-calendar": "latest",
19+
"react-calendar": "portal:../",
2020
"react-dom": "^16.5.0"
2121
},
2222
"devDependencies": {

0 commit comments

Comments
 (0)