Skip to content

Commit 1be4e2c

Browse files
committed
Upgrade to Yarn berry
1 parent abd97a1 commit 1be4e2c

9 files changed

Lines changed: 22608 additions & 15499 deletions

File tree

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/.yarn/** linguist-vendored
2+
/.yarn/releases/* binary
3+
/.yarn/plugins/**/* binary
4+
/.pnp.* binary linguist-generated

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,12 @@ coverage
4646
# Don't want to include the lock files for these examples
4747
# since they can be downloaded and reused
4848
examples/*/*.lock
49+
50+
# Yarn berry
51+
.pnp.*
52+
.yarn/*
53+
!.yarn/patches
54+
!.yarn/plugins
55+
!.yarn/releases
56+
!.yarn/sdks
57+
!.yarn/versions

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

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

.yarn/releases/yarn-3.5.0.cjs

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

.yarnrc.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
nodeLinker: node-modules
2+
3+
plugins:
4+
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
5+
spec: "@yarnpkg/plugin-workspace-tools"
6+
7+
yarnPath: .yarn/releases/yarn-3.5.0.cjs

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
11
{
2-
"name": "react-md",
2+
"name": "react-md-monorepo",
33
"private": true,
44
"version": "2.4.0",
55
"description": "The mono-repo for react-md",
66
"main": "index.js",
77
"scripts": {
88
"prepare": "husky install",
99
"cz": "cz",
10-
"release": "dev-utils release",
11-
"sandbox": "dev-utils sandbox",
12-
"sassdoc": "dev-utils sassdoc",
10+
"release": "yarn workspace @react-md/dev-utils dev-utils release",
11+
"sandbox": "yarn workspace @react-md/dev-utils dev-utils sandbox",
12+
"sassdoc": "yarn workspace @react-md/dev-utils dev-utils sassdoc",
1313
"start": "yarn workspace documentation start-dev",
1414
"dev": "npm-run-all -p watch start",
15-
"setup": "npm-run-all build-dev-utils force-install build \"sandbox --empty\"",
16-
"force-install": "yarn --force",
17-
"styles": "dev-utils styles",
18-
"variables": "dev-utils variables",
19-
"run-indexer": "dev-utils doc-index",
20-
"generate-typedoc": "dev-utils typedoc",
15+
"setup": "npm-run-all build-dev-utils build \"sandbox --empty\"",
16+
"styles": "yarn workspace @react-md/dev-utils dev-utils styles",
17+
"variables": "yarn workspace @react-md/dev-utils dev-utils variables",
18+
"run-indexer": "yarn workspace @react-md/dev-utils dev-utils doc-index",
19+
"generate-typedoc": "yarn workspace @react-md/dev-utils dev-utils typedoc",
2120
"build-docs-meta": "npm-run-all sandbox sassdoc run-indexer generate-typedoc",
2221
"build-docs": "yarn workspace documentation build",
2322
"build-website": "npm-run-all build-docs-meta build-docs",
@@ -39,7 +38,7 @@
3938
"clean": "dev-utils clean",
4039
"clean-dev-utils": "yarn workspace @react-md/dev-utils clean",
4140
"clean-all": "npm-run-all clean clean-dev-utils",
42-
"watch": "dev-utils watch"
41+
"watch": "yarn workspace @react-md/dev-utils dev-utils watch"
4342
},
4443
"repository": {
4544
"type": "git",
@@ -110,5 +109,6 @@
110109
"commitizen": {
111110
"path": "cz-conventional-changelog"
112111
}
113-
}
112+
},
113+
"packageManager": "yarn@3.5.0"
114114
}

packages/dev-utils/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
"version": "2.9.1",
44
"description": "Common build utilities for react-md. Contains helpers for building, watching, testing, etc",
55
"private": true,
6-
"bin": {
7-
"dev-utils": "./bin/cli.js"
8-
},
6+
"bin": "./bin/cli.js",
97
"scripts": {
108
"clean": "rimraf bin dist",
119
"executable": "node executable.js",

packages/documentation/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"private": true,
66
"scripts": {
77
"prebuild": "node updateProdEnv.js",
8-
"run-indexer": "dev-utils doc-index",
8+
"run-indexer": "yarn workspace @react-md/dev-utils dev-utils doc-index",
99
"dev": "cross-env NEXT_TELEMETRY_DISABLED=1 next dev",
1010
"build": "cross-env NEXT_TELEMETRY_DISABLED=1 next build",
1111
"start": "cross-env NEXT_TELEMETRY_DISABLED=1 NODE_ENV=production next start",

yarn.lock

Lines changed: 21673 additions & 15483 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)