Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
deps: update yarn to 4.3.1 (#905)
Browse files Browse the repository at this point in the history
* deps: update yarn

* wip: fix constraints

* wip: fix constriants

* wip: yarn dedupe

* wip: update sdks
  • Loading branch information
imccausl authored Jul 2, 2024
1 parent afc47d0 commit 38800c8
Show file tree
Hide file tree
Showing 20 changed files with 2,399 additions and 2,354 deletions.
9 changes: 8 additions & 1 deletion .yarn/sdks/eslint/bin/eslint.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
#!/usr/bin/env node

const {existsSync} = require(`fs`);
const {createRequire} = require(`module`);
const {createRequire, register} = require(`module`);
const {resolve} = require(`path`);
const {pathToFileURL} = require(`url`);

const relPnpApiPath = "../../../../.pnp.cjs";

const absPnpApiPath = resolve(__dirname, relPnpApiPath);
const absRequire = createRequire(absPnpApiPath);

const absPnpLoaderPath = resolve(absPnpApiPath, `../.pnp.loader.mjs`);
const isPnpLoaderEnabled = existsSync(absPnpLoaderPath);

if (existsSync(absPnpApiPath)) {
if (!process.versions.pnp) {
// Setup the environment to be able to require eslint/bin/eslint.js
require(absPnpApiPath).setup();
if (isPnpLoaderEnabled && register) {
register(pathToFileURL(absPnpLoaderPath));
}
}
}

Expand Down
9 changes: 8 additions & 1 deletion .yarn/sdks/prettier/bin/prettier.cjs
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
#!/usr/bin/env node

const {existsSync} = require(`fs`);
const {createRequire} = require(`module`);
const {createRequire, register} = require(`module`);
const {resolve} = require(`path`);
const {pathToFileURL} = require(`url`);

const relPnpApiPath = "../../../../.pnp.cjs";

const absPnpApiPath = resolve(__dirname, relPnpApiPath);
const absRequire = createRequire(absPnpApiPath);

const absPnpLoaderPath = resolve(absPnpApiPath, `../.pnp.loader.mjs`);
const isPnpLoaderEnabled = existsSync(absPnpLoaderPath);

if (existsSync(absPnpApiPath)) {
if (!process.versions.pnp) {
// Setup the environment to be able to require prettier/bin/prettier.cjs
require(absPnpApiPath).setup();
if (isPnpLoaderEnabled && register) {
register(pathToFileURL(absPnpLoaderPath));
}
}
}

Expand Down
9 changes: 8 additions & 1 deletion .yarn/sdks/prettier/index.cjs
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
#!/usr/bin/env node

const {existsSync} = require(`fs`);
const {createRequire} = require(`module`);
const {createRequire, register} = require(`module`);
const {resolve} = require(`path`);
const {pathToFileURL} = require(`url`);

const relPnpApiPath = "../../../.pnp.cjs";

const absPnpApiPath = resolve(__dirname, relPnpApiPath);
const absRequire = createRequire(absPnpApiPath);

const absPnpLoaderPath = resolve(absPnpApiPath, `../.pnp.loader.mjs`);
const isPnpLoaderEnabled = existsSync(absPnpLoaderPath);

if (existsSync(absPnpApiPath)) {
if (!process.versions.pnp) {
// Setup the environment to be able to require prettier
require(absPnpApiPath).setup();
if (isPnpLoaderEnabled && register) {
register(pathToFileURL(absPnpLoaderPath));
}
}
}

Expand Down
9 changes: 8 additions & 1 deletion .yarn/sdks/typescript/bin/tsc
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
#!/usr/bin/env node

const {existsSync} = require(`fs`);
const {createRequire} = require(`module`);
const {createRequire, register} = require(`module`);
const {resolve} = require(`path`);
const {pathToFileURL} = require(`url`);

const relPnpApiPath = "../../../../.pnp.cjs";

const absPnpApiPath = resolve(__dirname, relPnpApiPath);
const absRequire = createRequire(absPnpApiPath);

const absPnpLoaderPath = resolve(absPnpApiPath, `../.pnp.loader.mjs`);
const isPnpLoaderEnabled = existsSync(absPnpLoaderPath);

if (existsSync(absPnpApiPath)) {
if (!process.versions.pnp) {
// Setup the environment to be able to require typescript/bin/tsc
require(absPnpApiPath).setup();
if (isPnpLoaderEnabled && register) {
register(pathToFileURL(absPnpLoaderPath));
}
}
}

Expand Down
9 changes: 8 additions & 1 deletion .yarn/sdks/typescript/bin/tsserver
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
#!/usr/bin/env node

const {existsSync} = require(`fs`);
const {createRequire} = require(`module`);
const {createRequire, register} = require(`module`);
const {resolve} = require(`path`);
const {pathToFileURL} = require(`url`);

const relPnpApiPath = "../../../../.pnp.cjs";

const absPnpApiPath = resolve(__dirname, relPnpApiPath);
const absRequire = createRequire(absPnpApiPath);

const absPnpLoaderPath = resolve(absPnpApiPath, `../.pnp.loader.mjs`);
const isPnpLoaderEnabled = existsSync(absPnpLoaderPath);

if (existsSync(absPnpApiPath)) {
if (!process.versions.pnp) {
// Setup the environment to be able to require typescript/bin/tsserver
require(absPnpApiPath).setup();
if (isPnpLoaderEnabled && register) {
register(pathToFileURL(absPnpLoaderPath));
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ logFilters:
- level: discard
pattern: "lists build scripts, but its build has been explicitly disabled through configuration"
- level: discard
pattern: "react is listed by your project with version 18.2.0, which doesn't satisfy what gatsby"
pattern: react is listed by your project with version 18.2.0

npmRegistries:
//registry.npmjs.org/:
Expand Down
5 changes: 3 additions & 2 deletions e2e-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
"@monodeploy/types": "workspace:*",
"@tophat/conventional-changelog-config": "^1.0.1",
"@types/node": "^18.18.6",
"@yarnpkg/core": "^4.0.2",
"@yarnpkg/fslib": "^3.0.1",
"@yarnpkg/core": "^4.1.1",
"@yarnpkg/fslib": "^3.1.0",
"@yarnpkg/shell": "^4.0.2",
"helpers": "link:./helpers",
"monodeploy": "workspace:*"
}
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@
"@types/node": "^18.18.6",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"@yarnpkg/cli": "^4.0.2",
"@yarnpkg/core": "^4.0.2",
"@yarnpkg/fslib": "^3.0.1",
"@yarnpkg/plugin-npm": "^3.0.0",
"@yarnpkg/cli": "^4.3.1",
"@yarnpkg/core": "^4.1.1",
"@yarnpkg/fslib": "^3.1.0",
"@yarnpkg/plugin-npm": "^3.0.1",
"@yarnpkg/plugin-pack": "^4.0.0",
"@yarnpkg/sdks": "^3.1.0",
"@yarnpkg/shell": "^4.0.0",
"@yarnpkg/sdks": "^3.1.3",
"@yarnpkg/shell": "^4.0.2",
"@yarnpkg/types": "^4.0.0",
"all-contributors-cli": "^6.26.1",
"commitizen": "^4.3.0",
Expand Down Expand Up @@ -104,7 +104,7 @@
"built": false
}
},
"packageManager": "yarn@4.0.2",
"packageManager": "yarn@4.3.1",
"resolutions": {
"istanbul-lib-coverage": "patch:istanbul-lib-coverage@npm%3A3.2.0#./.yarn/patches/istanbul-lib-coverage-npm-3.2.0-93f84b2c8c.patch"
}
Expand Down
9 changes: 5 additions & 4 deletions packages/changelog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"@monodeploy/io": "workspace:^5.0.1",
"@monodeploy/logging": "workspace:^5.0.1",
"@monodeploy/types": "workspace:^5.0.1",
"@yarnpkg/core": "^4.0.2",
"@yarnpkg/fslib": "^3.0.1"
"@yarnpkg/core": "^4.1.1",
"@yarnpkg/fslib": "^3.1.0"
},
"dependencies": {
"conventional-changelog-writer": "^7.0.1",
Expand All @@ -49,7 +49,8 @@
"@types/conventional-commits-parser": "^3.0.5",
"@types/jest": "^29.5.6",
"@types/node": "^18.18.6",
"@yarnpkg/core": "^4.0.2",
"@yarnpkg/fslib": "^3.0.1"
"@yarnpkg/core": "^4.1.1",
"@yarnpkg/fslib": "^3.1.0",
"@yarnpkg/shell": "^4.0.2"
}
}
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
"@monodeploy/logging": "workspace:^5.0.1",
"@monodeploy/node": "workspace:^5.0.1",
"@monodeploy/types": "workspace:^5.0.1",
"@yarnpkg/core": "^4.0.2",
"@yarnpkg/fslib": "^3.0.1",
"@yarnpkg/core": "^4.1.1",
"@yarnpkg/fslib": "^3.1.0",
"ajv": "^8.12.0",
"clipanion": "^3.2.1",
"typanion": "^3.14.0"
Expand Down
6 changes: 3 additions & 3 deletions packages/dependencies/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@
"peerDependencies": {
"@monodeploy/logging": "workspace:^5.0.1",
"@monodeploy/types": "workspace:^5.0.1",
"@yarnpkg/core": "^4.0.2"
"@yarnpkg/core": "^4.1.1"
},
"devDependencies": {
"@monodeploy/logging": "workspace:*",
"@monodeploy/test-utils": "link:../../testUtils",
"@monodeploy/types": "workspace:*",
"@types/jest": "^29.5.6",
"@yarnpkg/core": "^4.0.2",
"@yarnpkg/fslib": "^3.0.1"
"@yarnpkg/core": "^4.1.1",
"@yarnpkg/fslib": "^3.1.0"
}
}
9 changes: 5 additions & 4 deletions packages/git/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@
"@types/jest": "^29.5.6",
"@types/micromatch": "^4.0.4",
"@types/node": "^18.18.6",
"@yarnpkg/core": "^4.0.2",
"@yarnpkg/fslib": "^3.0.1"
"@yarnpkg/core": "^4.1.1",
"@yarnpkg/fslib": "^3.1.0",
"@yarnpkg/shell": "^4.0.2"
},
"dependencies": {
"micromatch": "^4.0.5"
Expand All @@ -44,7 +45,7 @@
"@monodeploy/io": "workspace:^5.0.1",
"@monodeploy/logging": "workspace:^5.0.1",
"@monodeploy/types": "workspace:^5.0.1",
"@yarnpkg/core": "^4.0.2",
"@yarnpkg/fslib": "^3.0.1"
"@yarnpkg/core": "^4.1.1",
"@yarnpkg/fslib": "^3.1.0"
}
}
12 changes: 6 additions & 6 deletions packages/io/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@
"@types/jest": "^29.5.6",
"@types/node": "^18.18.6",
"@types/semver": "^7.5.4",
"@yarnpkg/core": "^4.0.2",
"@yarnpkg/fslib": "^3.0.1",
"@yarnpkg/shell": "^4.0.0"
"@yarnpkg/core": "^4.1.1",
"@yarnpkg/fslib": "^3.1.0",
"@yarnpkg/shell": "^4.0.2"
},
"peerDependencies": {
"@monodeploy/logging": "workspace:^5.0.1",
"@monodeploy/types": "workspace:^5.0.1",
"@yarnpkg/core": "^4.0.2",
"@yarnpkg/fslib": "^3.0.1",
"@yarnpkg/shell": "^4.0.0"
"@yarnpkg/core": "^4.1.1",
"@yarnpkg/fslib": "^3.1.0",
"@yarnpkg/shell": "^4.0.2"
}
}
4 changes: 2 additions & 2 deletions packages/logging/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"devDependencies": {
"@types/jest": "^29.5.6",
"@types/node": "^18.18.6",
"@yarnpkg/core": "^4.0.2"
"@yarnpkg/core": "^4.1.1"
},
"peerDependencies": {
"@yarnpkg/core": "^4.0.2"
"@yarnpkg/core": "^4.1.1"
}
}
10 changes: 5 additions & 5 deletions packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@
"@monodeploy/publish": "workspace:^5.0.1",
"@monodeploy/types": "workspace:^5.0.1",
"@monodeploy/versions": "workspace:^5.0.1",
"@yarnpkg/cli": "^4.0.2",
"@yarnpkg/core": "^4.0.2",
"@yarnpkg/fslib": "^3.0.1",
"@yarnpkg/plugin-npm": "^3.0.0",
"@yarnpkg/cli": "^4.3.1",
"@yarnpkg/core": "^4.1.1",
"@yarnpkg/fslib": "^3.1.0",
"@yarnpkg/plugin-npm": "^3.0.1",
"@yarnpkg/plugin-pack": "^4.0.0",
"@yarnpkg/shell": "^4.0.0",
"@yarnpkg/shell": "^4.0.2",
"tapable": "^2.2.1"
}
}
6 changes: 3 additions & 3 deletions packages/plugin-github/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
"@monodeploy/types": "workspace:^5.0.1",
"@octokit/core": "^5.0.1",
"@octokit/plugin-throttling": "^8.1.2",
"@yarnpkg/core": "^4.0.2",
"@yarnpkg/fslib": "^3.0.1",
"@yarnpkg/shell": "^4.0.0"
"@yarnpkg/core": "^4.1.1",
"@yarnpkg/fslib": "^3.1.0",
"@yarnpkg/shell": "^4.0.2"
}
}
19 changes: 10 additions & 9 deletions packages/publish/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,22 +37,23 @@
"@monodeploy/test-utils": "link:../../testUtils",
"@monodeploy/types": "workspace:*",
"@types/jest": "^29.5.6",
"@yarnpkg/cli": "^4.0.2",
"@yarnpkg/core": "^4.0.2",
"@yarnpkg/fslib": "^3.0.1",
"@yarnpkg/plugin-npm": "^3.0.0",
"@yarnpkg/plugin-pack": "^4.0.0"
"@yarnpkg/cli": "^4.3.1",
"@yarnpkg/core": "^4.1.1",
"@yarnpkg/fslib": "^3.1.0",
"@yarnpkg/plugin-npm": "^3.0.1",
"@yarnpkg/plugin-pack": "^4.0.0",
"@yarnpkg/shell": "^4.0.2"
},
"peerDependencies": {
"@monodeploy/dependencies": "workspace:^5.0.1",
"@monodeploy/git": "workspace:^5.0.1",
"@monodeploy/io": "workspace:^5.0.1",
"@monodeploy/logging": "workspace:^5.0.1",
"@monodeploy/types": "workspace:^5.0.1",
"@yarnpkg/cli": "^4.0.2",
"@yarnpkg/core": "^4.0.2",
"@yarnpkg/fslib": "^3.0.1",
"@yarnpkg/plugin-npm": "^3.0.0",
"@yarnpkg/cli": "^4.3.1",
"@yarnpkg/core": "^4.1.1",
"@yarnpkg/fslib": "^3.1.0",
"@yarnpkg/plugin-npm": "^3.0.1",
"@yarnpkg/plugin-pack": "^4.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
"tapable": "^2.2.1"
},
"peerDependencies": {
"@yarnpkg/core": "^4.0.2"
"@yarnpkg/core": "^4.1.1"
},
"devDependencies": {
"@types/jest": "^29.5.6",
"@types/node": "^18.18.6",
"@yarnpkg/core": "^4.0.2",
"@yarnpkg/core": "^4.1.1",
"ts-node": "^10.9.1",
"typedoc": "^0.25.2",
"typescript": "5.2.2"
Expand Down
Loading

0 comments on commit 38800c8

Please sign in to comment.