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

Commit

Permalink
fix: update yarn to stable version (#14)
Browse files Browse the repository at this point in the history
* chore: update yarn to stable version

* fix: rebuild on 3.0.0-rc.13

* chore: downgrade yarn builder
  • Loading branch information
Noah authored Jul 30, 2021
1 parent 8dc6201 commit fe8d131
Show file tree
Hide file tree
Showing 12 changed files with 1,040 additions and 914 deletions.
591 changes: 0 additions & 591 deletions .yarn/releases/yarn-3.0.0-rc.2.cjs

This file was deleted.

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

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarn/sdks/eslint/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint",
"version": "7.26.0-pnpify",
"version": "7.26.0-sdk",
"main": "./lib/api.js",
"type": "commonjs"
}
4 changes: 2 additions & 2 deletions .yarn/sdks/integrations.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file is automatically generated by PnPify.
# Manual changes will be lost!
# This file is automatically generated by @yarnpkg/sdks.
# Manual changes might be lost!

integrations:
- vscode
Expand Down
2 changes: 1 addition & 1 deletion .yarn/sdks/prettier/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "prettier",
"version": "2.2.1-pnpify",
"version": "2.2.1-sdk",
"main": "./index.js",
"type": "commonjs"
}
2 changes: 1 addition & 1 deletion .yarn/sdks/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "typescript",
"version": "4.2.4-pnpify",
"version": "4.3.5-sdk",
"main": "./lib/typescript.js",
"type": "commonjs"
}
4 changes: 2 additions & 2 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ npmRegistries:
//registry.npmjs.org/:
npmAuthToken: "${NPM_PUBLISH_TOKEN:-invalid}"

yarnPath: .yarn/releases/yarn-3.0.0-rc.2.cjs

plugins:
- ./bundles/@yarnpkg/plugin-semver-up.js

yarnPath: .yarn/releases/yarn-3.0.0.cjs
15 changes: 10 additions & 5 deletions bundles/@yarnpkg/plugin-semver-up.js

Large diffs are not rendered by default.

35 changes: 18 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,18 @@
"@types/semver": "^7.3.6",
"@typescript-eslint/eslint-plugin": "^4.23.0",
"@typescript-eslint/parser": "^4.23.0",
"@yarnpkg/builder": "^3.0.0-rc.2",
"@yarnpkg/cli": "^3.0.0-rc.2",
"@yarnpkg/core": "^3.0.0-rc.2",
"@yarnpkg/fslib": "^2.5.0-rc.2",
"@yarnpkg/libzip": "^2.2.1",
"@yarnpkg/plugin-essentials": "^3.0.0-rc.2",
"@yarnpkg/plugin-npm": "^2.5.0-rc.2",
"@yarnpkg/pnpify": "^3.0.0-rc.3",
"@yarnpkg/builder": "^3.0.0-rc.13",
"@yarnpkg/cli": "^3.0.0",
"@yarnpkg/core": "^3.0.0",
"@yarnpkg/fslib": "^2.5.0",
"@yarnpkg/libzip": "^2.2.2",
"@yarnpkg/plugin-essentials": "^3.0.0",
"@yarnpkg/plugin-npm": "^2.5.0",
"@yarnpkg/plugin-pack": "^3.0.0",
"@yarnpkg/sdks": "^2.4.1-rc.4",
"all-contributors-cli": "^6.20.0",
"babel-jest": "^26.6.3",
"clipanion": "^3.0.0-rc.12",
"clipanion": "^3.0.1",
"commitizen": "^4.2.4",
"eslint": "^7.26.0",
"eslint-config-prettier": "^7.2.0",
Expand All @@ -66,17 +67,17 @@
"jest-junit": "^12.0.0",
"lint-staged": "^11.0.0",
"prettier": "^2.2.1",
"typescript": "~4.2.4",
"typescript": "~4.3.5",
"yaml-validator": "^3.0.1"
},
"peerDependencies": {
"@yarnpkg/cli": "^3.0.0-rc.2",
"@yarnpkg/core": "^3.0.0-rc.2",
"@yarnpkg/fslib": "^2.5.0-rc.2",
"@yarnpkg/libzip": "^2.2.1",
"@yarnpkg/plugin-essentials": "^3.0.0-rc.2",
"@yarnpkg/plugin-npm": "^2.5.0-rc.2",
"clipanion": "^3.0.0-rc.12"
"@yarnpkg/cli": "^3.0.0",
"@yarnpkg/core": "^3.0.0",
"@yarnpkg/fslib": "^2.5.0",
"@yarnpkg/libzip": "^2.2.2",
"@yarnpkg/plugin-essentials": "^3.0.0",
"@yarnpkg/plugin-npm": "^2.5.0",
"clipanion": "^3.0.1"
},
"lint-staged": {
"yarn.lock": [
Expand Down
2 changes: 1 addition & 1 deletion script/bootstrap
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
yarn && \
yarn husky install && \
yarn pnpify --sdk vscode vim
yarn sdks vscode vim
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ class SemverUpCommand extends Command<CommandContext> {

let configFromFile: Record<string, unknown> = {}
try {
configFromFile = miscUtils.dynamicRequireNoCache(configPPath)
configFromFile = miscUtils.dynamicRequire(configPPath)
} catch (e) {
// If no file and no command line args, default to match all packages
configFromFile = {
Expand Down
Loading

0 comments on commit fe8d131

Please sign in to comment.