Skip to content

Commit

Permalink
Repairing dependencies for yarn 2 usage
Browse files Browse the repository at this point in the history
  • Loading branch information
fjavierv committed Aug 18, 2021
1 parent 48d3d7f commit 2cb9559
Show file tree
Hide file tree
Showing 46 changed files with 23,197 additions and 15,477 deletions.
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ Next, you'll need to build the `dev-utils` package to be able to build each
project and have some helpful utils available while developing `react-md`:

```sh
yarn dev-utils
yarn build-dev-utils
yarn --force
```

Expand Down
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,12 @@ coverage
# Don't want to include the lock files for these examples
# since they can be downloaded and reused
examples/*/*.lock

# Yarn berry not using zero install
.yarn/*
!.yarn/patches
!.yarn/releases
!.yarn/plugins
!.yarn/sdks
!.yarn/versions
.pnp.*
363 changes: 363 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

Large diffs are not rendered by default.

631 changes: 631 additions & 0 deletions .yarn/releases/yarn-berry.cjs

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"

yarnPath: .yarn/releases/yarn-berry.cjs

packageExtensions:
ts-jest@*:
dependencies:
"@jest/types": "*"
"@jest/transform": "*"
"@types/babel__core": "*"
2 changes: 1 addition & 1 deletion examples/create-react-app-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@testing-library/user-event": "^13.2.1",
"@types/jest": "^27.0.1",
"@types/node": "^16.6.1",
"@types/react": "^17.0.17",
"@types/react": "^17.0.18",
"@types/react-dom": "^17.0.9",
"@types/react-router-dom": "^5.1.5",
"react": "^17.0.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/nextjs-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"devDependencies": {
"@types/node": "^16.6.1",
"@types/react": "^17.0.17",
"@types/react": "^17.0.18",
"sass": "^1.37.5",
"typescript": "^4.3.5"
}
Expand Down
30 changes: 21 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "react-md",
"name": "base-react-md",
"private": true,
"version": "2.4.0",
"description": "The mono-repo for react-md",
Expand All @@ -12,8 +12,7 @@
"sassdoc": "dev-utils sassdoc",
"start": "yarn workspace documentation start-dev",
"dev": "npm-run-all -p watch start",
"setup": "npm-run-all build-dev-utils force-install build \"sandbox --empty\"",
"force-install": "yarn --force",
"setup": "npm-run-all build-dev-utils build \"sandbox --empty\"",
"combine-styles": "dev-utils combine-styles",
"styles": "dev-utils styles",
"variables": "dev-utils variables",
Expand Down Expand Up @@ -50,30 +49,43 @@
},
"homepage": "https://react-md.dev",
"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/plugin-transform-typescript": "^7.15.0",
"@mlaursen/eslint-config": "^1.1.4",
"@next/eslint-plugin-next": "^11.1.0",
"@react-md/dev-utils": "^3.0.0",
"@react-md/utils": "^3.0.0",
"@testing-library/dom": "^8.1.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@testing-library/react-hooks": "^7.0.1",
"@testing-library/user-event": "13.2.1",
"@testing-library/user-event": "^13.2.1",
"@types/fs-extra": "^9.0.12",
"@types/glob": "^7.1.4",
"@types/jest": "^27.0.0",
"@types/lodash": "^4.14.172",
"@types/node": "^15.14.7",
"@types/node": "^16.6.1",
"@types/prettier": "^2.3.2",
"@types/reach__router": "^1.3.9",
"@types/react": "^17.0.17",
"@types/react": "^17.0.18",
"@types/react-dom": "^17.0.9",
"@types/react-router": "^5.1.16",
"@types/react-router-dom": "^5.1.8",
"@types/react-test-renderer": "^17.0.1",
"@types/react-transition-group": "^4.4.2",
"@types/testing-library__jest-dom": "^5.14.1",
"@typescript-eslint/eslint-plugin": "^4.29.2",
"@typescript-eslint/parser": "^4.29.2",
"chokidar": "^3.5.2",
"commitizen": "^4.2.4",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.32.0",
"eslint-import-resolver-node": "^0.3.6",
"eslint-plugin-import": "^2.24.0",
"eslint-plugin-jest": "^24.4.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-tsdoc": "^0.2.14",
"husky": "^7.0.1",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.0.6",
Expand All @@ -83,10 +95,10 @@
"npm-run-all": "^4.1.5",
"prettier": "^2.3.2",
"react": "^17.0.2",
"react-dom": "^17.0.1",
"react-dom": "^17.0.2",
"react-test-renderer": "^17.0.2",
"sass-lint": "^1.13.1",
"ts-jest": "^27.0.4",
"ts-jest": "^27.0.5",
"typescript": "^4.3.5"
},
"lint-staged": {
Expand Down
31 changes: 23 additions & 8 deletions packages/alert/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,36 @@
"@react-md/transition": "^3.0.1",
"@react-md/typography": "^3.0.0",
"@react-md/utils": "^3.0.0",
"@types/react-transition-group": "^4.4.2",
"classnames": "^2.3.1",
"react-transition-group": "^4.4.2"
},
"devDependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.1"
},
"peerDependencies": {
"react": ">= 16.8",
"react-dom": ">= 16.8"
"@types/react": ">=16.8",
"react": ">=16.8",
"react-dom": ">=16.8"
},
"optionalDependencies": {
"prop-types": ">= 15.6"
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@testing-library/dom": "^8.1.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@testing-library/react-hooks": "^7.0.1",
"@testing-library/user-event": "^13.2.1",
"@types/node": "^16.6.1",
"@types/react": "^17.0.18",
"@types/react-dom": "^17.0.9",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"optionalDependencies": {
"prop-types": "^15.7.2"
}
}
30 changes: 22 additions & 8 deletions packages/app-bar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,32 @@
"@react-md/utils": "^3.0.0",
"classnames": "^2.3.1"
},
"devDependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.1"
},
"peerDependencies": {
"react": ">= 16.8",
"react-dom": ">= 16.8.0"
"@types/react": ">=16.8",
"react": ">=16.8",
"react-dom": ">=16.8"
},
"optionalDependencies": {
"prop-types": ">= 15.6"
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@testing-library/dom": "^8.1.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@testing-library/react-hooks": "^7.0.1",
"@testing-library/user-event": "^13.2.1",
"@types/node": "^16.6.1",
"@types/react": "^17.0.18",
"@types/react-dom": "^17.0.9",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"optionalDependencies": {
"prop-types": "^15.7.2"
}
}
31 changes: 23 additions & 8 deletions packages/autocomplete/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,33 @@
"@react-md/utils": "^3.0.0",
"classnames": "^2.3.1"
},
"devDependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.1"
},
"peerDependencies": {
"react": ">= 16.8",
"react-dom": ">= 16.8"
"@types/react": ">=16.8",
"react": ">=16.8",
"react-dom": ">=16.8",
"react-router-dom": ">=5.2.0"
},
"optionalDependencies": {
"prop-types": ">= 15.6"
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@testing-library/dom": "^8.1.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@testing-library/react-hooks": "^7.0.1",
"@testing-library/user-event": "^13.2.1",
"@types/node": "^16.6.1",
"@types/react": "^17.0.18",
"@types/react-dom": "^17.0.9",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"optionalDependencies": {
"prop-types": "^15.7.2"
}
}
29 changes: 22 additions & 7 deletions packages/avatar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,32 @@
"@react-md/utils": "^3.0.0",
"classnames": "^2.3.1"
},
"devDependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.1"
},
"peerDependencies": {
"react": ">= 16.8"
"@types/react": ">=16.8",
"react": ">=16.8",
"react-dom": ">=16.8"
},
"optionalDependencies": {
"prop-types": ">= 15.6"
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@testing-library/dom": "^8.1.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@testing-library/react-hooks": "^7.0.1",
"@testing-library/user-event": "^13.2.1",
"@types/node": "^16.6.1",
"@types/react": "^17.0.18",
"@types/react-dom": "^17.0.9",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"optionalDependencies": {
"prop-types": "^15.7.2"
}
}
30 changes: 22 additions & 8 deletions packages/badge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,32 @@
"@react-md/utils": "^3.0.0",
"classnames": "^2.3.1"
},
"devDependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.1"
},
"peerDependencies": {
"react": ">= 16.8",
"react-dom": ">= 16.8.0"
"@types/react": ">=16.8",
"react": ">=16.8",
"react-dom": ">=16.8"
},
"optionalDependencies": {
"prop-types": ">= 15.6"
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@testing-library/dom": "^8.1.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@testing-library/react-hooks": "^7.0.1",
"@testing-library/user-event": "^13.2.1",
"@types/node": "^16.6.1",
"@types/react": "^17.0.18",
"@types/react-dom": "^17.0.9",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"optionalDependencies": {
"prop-types": "^15.7.2"
}
}
30 changes: 22 additions & 8 deletions packages/button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,32 @@
"@react-md/utils": "^3.0.0",
"classnames": "^2.3.1"
},
"devDependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.1"
},
"peerDependencies": {
"react": ">= 16.8",
"react-dom": ">= 16.8"
"@types/react": ">=16.8",
"react": ">=16.8",
"react-dom": ">=16.8"
},
"optionalDependencies": {
"prop-types": ">= 15.6"
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@testing-library/dom": "^8.1.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@testing-library/react-hooks": "^7.0.1",
"@testing-library/user-event": "^13.2.1",
"@types/node": "^16.6.1",
"@types/react": "^17.0.18",
"@types/react-dom": "^17.0.9",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"optionalDependencies": {
"prop-types": "^15.7.2"
}
}
Loading

0 comments on commit 2cb9559

Please sign in to comment.