Skip to content

Commit

Permalink
chore: update to yarn v3 and lock colorette version
Browse files Browse the repository at this point in the history
  • Loading branch information
favna committed Oct 1, 2021
1 parent 2509ee4 commit 462c268
Show file tree
Hide file tree
Showing 13 changed files with 11,140 additions and 7,811 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ node_modules/
.env.test.local
.env.production.local

# Yarn files
.yarn/install-state.gz
.yarn/build-state.yml

# Build Artifacts
dist/
build/
Expand Down
363 changes: 363 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-typescript.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-3.0.2.cjs

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
enableGlobalCache: true

nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-typescript.cjs
spec: '@yarnpkg/plugin-typescript'
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: '@yarnpkg/plugin-workspace-tools'
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: '@yarnpkg/plugin-interactive-tools'

yarnPath: .yarn/releases/yarn-3.0.2.cjs
14 changes: 8 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@
"docs": "typedoc",
"commit": "git-cz",
"cz": "git-cz",
"update": "yarn upgrade-interactive --latest",
"update": "yarn upgrade-interactive",
"prepare": "husky install .github/husky"
},
"devDependencies": {
"@commitlint/cli": "^13.2.0",
"@commitlint/config-conventional": "^13.2.0",
"@favware/npm-deprecate": "^1.0.2",
"@favware/npm-deprecate": "^1.0.3",
"@sapphire/eslint-config": "^3.2.3",
"@sapphire/framework": "next",
"@sapphire/pieces": "^3.0.0",
"@sapphire/prettier-config": "^1.1.6",
"@sapphire/ts-config": "^3.0.0",
"@sapphire/utilities": "^2.0.1",
"@types/jest": "^27.0.2",
"@types/node": "^16.10.1",
"@types/node": "^16.10.2",
"@types/node-fetch": "^2.5.12",
"@types/ws": "^8.2.0",
"@typescript-eslint/eslint-plugin": "^4.32.0",
Expand All @@ -45,12 +45,12 @@
"jest-circus": "^27.2.4",
"lerna": "^4.0.0",
"lint-staged": "^11.1.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.4.1",
"pretty-quick": "^3.1.1",
"rimraf": "^3.0.2",
"ts-jest": "^27.0.5",
"ts-node": "^10.2.1",
"typedoc": "0.22.4",
"typedoc": "^0.22.4",
"typescript": "^4.4.3"
},
"repository": {
Expand All @@ -75,6 +75,7 @@
},
"resolutions": {
"acorn": "^8.5.0",
"colorette": "^2.0.13",
"dot-prop": "^6.0.1",
"i18next": "^21.2.0",
"jest-environment-jsdom": "https://registry.yarnpkg.com/@favware/skip-dependency/-/skip-dependency-1.1.1.tgz",
Expand All @@ -88,5 +89,6 @@
"trim-newlines": "^4.0.2",
"trim": "^1.0.1"
},
"prettier": "@sapphire/prettier-config"
"prettier": "@sapphire/prettier-config",
"packageManager": "yarn@3.0.2"
}
3 changes: 1 addition & 2 deletions packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
"scripts": {
"test": "jest",
"lint": "eslint src tests --ext ts --fix",
"build": "tsc -b src",
"postbuild": "run-p esm:**",
"build": "tsc -b src && yarn esm:register && yarn esm:default",
"esm:register": "gen-esm-wrapper dist/register.js dist/register.mjs",
"esm:default": "gen-esm-wrapper dist/index.js dist/index.mjs",
"prepublishOnly": "yarn build"
Expand Down
3 changes: 1 addition & 2 deletions packages/editable-commands/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
"homepage": "https://github.com/sapphiredev/plugins/tree/main/packages/editable-commands",
"scripts": {
"lint": "eslint src tests --ext ts --fix",
"build": "tsc -b src",
"postbuild": "run-p esm:**",
"build": "tsc -b src && yarn esm:register && yarn esm:default",
"esm:register": "gen-esm-wrapper dist/register.js dist/register.mjs",
"esm:default": "gen-esm-wrapper dist/index.js dist/index.mjs",
"prepublishOnly": "yarn build"
Expand Down
5 changes: 2 additions & 3 deletions packages/i18next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,15 @@
"scripts": {
"test": "jest",
"lint": "eslint src tests --ext ts --fix",
"build": "tsc -b src",
"postbuild": "run-p esm:**",
"build": "tsc -b src && yarn esm:register && yarn esm:default",
"esm:register": "gen-esm-wrapper dist/register.js dist/register.mjs",
"esm:default": "gen-esm-wrapper dist/index.js dist/index.mjs",
"prepublishOnly": "yarn build"
},
"dependencies": {
"@sapphire/utilities": "^2.0.1",
"@types/i18next-fs-backend": "^1.1.2",
"i18next": "^21.2.0",
"i18next": "^21.2.1",
"i18next-fs-backend": "^1.1.1",
"tslib": "^2.3.1"
},
Expand Down
5 changes: 2 additions & 3 deletions packages/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,14 @@
"scripts": {
"test": "jest",
"lint": "eslint src tests --ext ts --fix",
"build": "tsc -b src",
"postbuild": "run-p esm:**",
"build": "tsc -b src && yarn esm:register && yarn esm:default",
"esm:register": "gen-esm-wrapper dist/register.js dist/register.mjs",
"esm:default": "gen-esm-wrapper dist/index.js dist/index.mjs",
"prepublishOnly": "yarn build"
},
"dependencies": {
"@sapphire/time-utilities": "^1.3.8",
"colorette": "^2.0.12",
"colorette": "^2.0.13",
"tslib": "^2.3.1"
},
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/subcommands/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"homepage": "https://github.com/sapphiredev/plugins/tree/main/packages/subcommands",
"scripts": {
"lint": "eslint src tests --ext ts --fix",
"build": "tsc -b src",
"postbuild": "gen-esm-wrapper dist/index.js dist/index.mjs",
"build": "tsc -b src && yarn esm:default",
"esm:default": "gen-esm-wrapper dist/index.js dist/index.mjs",
"prepublishOnly": "yarn build"
},
"dependencies": {
Expand Down

0 comments on commit 462c268

Please sign in to comment.