-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: migrate from yarn v1 to pnpm and use corepack (#129)
BREAKING CHANGE: Change build target from ES5 to ES2020 (technically, this isn't necessary, but for consistency) * chore: migrate from yarn v1 to pnpm and use corepack * chore: add dpes as workspace:* * chore: enable corepack pnpm on CI * fix: version number * fix: corepack command * pre-enable corepack * fix: incorrect yaml format * chore: update tsc target * chore: update tsc lib * fix: pass build scripts * fix: add useWorkspaces option for lerna * fix: update pnpm lock file * update pnpm lock file for demo apps * fix: lint errors * fix: use config.cache and igoore a tserror temporarily * refactor: use import type
- Loading branch information
Showing
28 changed files
with
10,980 additions
and
10,168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
/// <reference types="next" /> | ||
/// <reference types="next/image-types/global" /> | ||
/// <reference types="next/navigation-types/compat/navigation" /> | ||
|
||
// NOTE: This file should not be edited | ||
// see https://nextjs.org/docs/basic-features/typescript for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,8 @@ | |
{ | ||
"name": "next" | ||
} | ||
] | ||
], | ||
"strictNullChecks": true | ||
}, | ||
"include": [ | ||
"next-env.d.ts", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
{ | ||
"npmClient": "yarn", | ||
"npmClient": "pnpm", | ||
"packages": [ | ||
"packages/*" | ||
], | ||
"useWorkspaces": true, | ||
"version": "1.3.2" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,29 +8,30 @@ | |
], | ||
"scripts": { | ||
"build": "run-s build:devtools build:panel build:extensions", | ||
"build:devtools": "yarn workspace swr-devtools build", | ||
"build:demo": "yarn workspace swr-devtools-demo build", | ||
"build:extensions": "yarn workspace swr-devtools-extensions build", | ||
"build:panel": "yarn workspace swr-devtools-panel build", | ||
"build:devtools": "pnpm --filter \"swr-devtools\" build", | ||
"build:demo": "pnpm --filter \"swr-devtools-demo\" build", | ||
"build:extensions": "pnpm --filter \"swr-devtools-extensions\" build", | ||
"build:panel": "pnpm --filter \"swr-devtools-panel\" build", | ||
"deploy:demo": "run-s build:devtools build:panel build:demo", | ||
"prerelease": "run-s build lint", | ||
"release": "lerna publish --conventional-commits", | ||
"start:demo": "yarn workspace swr-devtools-demo dev", | ||
"start:dev": "yarn workspace swr-devtools start", | ||
"start:panel": "yarn workspace swr-devtools-panel start", | ||
"start:demo": "pnpm --filter swr-devtools-demo dev", | ||
"start:dev": "pnpm --filter swr-devtools start", | ||
"start:panel": "pnpm --filter swr-devtools-panel start", | ||
"start": "run-p -l start:*", | ||
"v1": "yarn workspace swr-v1-devtools-demo dev", | ||
"v1-legacy": "yarn workspace swr-v1-legacy-devtools-demo dev", | ||
"v1": "pnpm --filter swr-v1-devtools-demo dev", | ||
"v1-legacy": "pnpm --filter swr-v1-legacy-devtools-demo dev", | ||
"lint:eslint": "eslint '**/pages/**/*' '**/src/**/*'", | ||
"lint:tsc": "yarn workspaces run lint", | ||
"lint:tsc": "pnpm -r lint", | ||
"lint": "run-p -l lint:*", | ||
"test": "run-p -l test:*", | ||
"test:panel": "yarn workspace swr-devtools-panel test", | ||
"test:devtools": "yarn workspace swr-devtools test" | ||
"test:panel": "pnpm --filter swr-devtools-panel test", | ||
"test:devtools": "pnpm --filter swr-devtools test" | ||
}, | ||
"repository": "ssh://[email protected]/koba04/swr-devtools.git", | ||
"author": "Toru Kobayashi <[email protected]>", | ||
"license": "MIT", | ||
"packageManager": "[email protected]", | ||
"devDependencies": { | ||
"@cybozu/eslint-config": "^17.0.3", | ||
"eslint": "^8.23.1", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
810b914
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
swr-devtools – ./
swr-devtools-git-main-koba04.vercel.app
swr-devtools.vercel.app
swr-devtools-koba04.vercel.app