Skip to content

Commit

Permalink
Upgrade Yarn to Yarn Berry (v2) (#130)
Browse files Browse the repository at this point in the history
* Upgrade Yarn to Yarn Berry (v2)

* Fix link to parent lib
  • Loading branch information
wojtekmaj authored Sep 11, 2020
1 parent 0b351b9 commit f4b145a
Show file tree
Hide file tree
Showing 6 changed files with 11,460 additions and 6,031 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
.cache
.idea
.vscode
.yarn/*
!.yarn/releases
!.yarn/plugins
dist
coverage
node_modules
Expand Down
55 changes: 55 additions & 0 deletions .yarn/releases/yarn-2.2.2.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-2.2.2.cjs
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
"description": "A date range picker for your React app.",
"main": "dist/entry.js",
"source": "src/entry.js",
"workspaces": [
".",
"test"
],
"scripts": {
"build": "yarn build-js && yarn copy-styles && yarn build-styles",
"build-js": "babel src -d dist --ignore **/*.spec.js,**/*.spec.jsx",
Expand Down
2 changes: 1 addition & 1 deletion test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@wojtekmaj/date-utils": "^1.0.0",
"prop-types": "^15.6.2",
"react": "^16.7.0",
"react-datetime-picker": "latest",
"react-datetime-picker": "portal:../",
"react-dom": "^16.7.0"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit f4b145a

Please sign in to comment.