-
Notifications
You must be signed in to change notification settings - Fork 951
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #756 from scaffold-eth/main-backmerge
- Loading branch information
Showing
20 changed files
with
137 additions
and
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
"create-eth": patch | ||
--- | ||
|
||
- Yarn flatten (#745) | ||
- Fix local next build (#749) | ||
- Fix emit event value in contract (#765, 833d09b) | ||
- Fix useScaffoldContractWrite so it properly throws errors (#758) | ||
- Fix vercel deployment mismatch (#757) | ||
- Remove extra notifications when using useTransactor (#766) | ||
- Ignore JetBrains IDE settings file (#732) | ||
- Fix hardhat lint errors (ac1d2ac) |
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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
import { withDefaults } from "../utils.js"; | ||
|
||
const contents = ({ packageVercelIgnoreContent }) => | ||
`# --- Monorepo files --- | ||
.yarn/* | ||
!.yarn/patches | ||
!.yarn/plugins | ||
!.yarn/releases | ||
!.yarn/sdks | ||
!.yarn/versions | ||
.eslintcache | ||
.DS_Store | ||
.vscode | ||
.idea | ||
.vercel | ||
# --- Next.js files --- | ||
# dependencies | ||
packages/nextjs/node_modules | ||
packages/nextjs/.pnp | ||
packages/nextjs/.pnp.js | ||
# testing | ||
packages/nextjs/coverage | ||
# next.js | ||
packages/nextjs/.next/ | ||
packages/nextjs/out/ | ||
# production | ||
packages/nextjs/build | ||
# misc | ||
packages/nextjs/.DS_Store | ||
packages/nextjs/*.pem | ||
# debug | ||
packages/nextjs/npm-debug.log* | ||
packages/nextjs/yarn-debug.log* | ||
packages/nextjs/yarn-error.log* | ||
packages/nextjs/.pnpm-debug.log* | ||
# local env files | ||
packages/nextjs/.env.local | ||
packages/nextjs/.env.development.local | ||
packages/nextjs/.env.test.local | ||
packages/nextjs/.env.production.local | ||
# typescript | ||
packages/nextjs/*.tsbuildinfo | ||
${packageVercelIgnoreContent.join("\n")}`; | ||
|
||
export default withDefaults(contents, { | ||
packageVercelIgnoreContent: "", | ||
}); |
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 |
---|---|---|
|
@@ -13,16 +13,19 @@ | |
"next:lint": "yarn workspace @se-2/nextjs lint", | ||
"next:format": "yarn workspace @se-2/nextjs format", | ||
"next:check-types": "yarn workspace @se-2/nextjs check-types", | ||
"next:build": "yarn workspace @se-2/nextjs build", | ||
"format": "yarn next:format", | ||
"postinstall": "husky install", | ||
"precommit": "lint-staged", | ||
"vercel": "yarn workspace @se-2/nextjs vercel", | ||
"vercel:yolo": "yarn workspace @se-2/nextjs vercel:yolo" | ||
"vercel": "vercel", | ||
"vercel:yolo": "vercel --build-env NEXT_PUBLIC_IGNORE_BUILD_ERROR=true" | ||
}, | ||
"packageManager": "[email protected]", | ||
"devDependencies": { | ||
"husky": "~8.0.3", | ||
"lint-staged": "~13.2.2" | ||
"lint-staged": "~13.2.2", | ||
"next": "~14.0.4", | ||
"vercel": "~32.4.1" | ||
}, | ||
"resolutions": { | ||
"usehooks-ts@^2.7.2": "patch:usehooks-ts@npm:^2.7.2#./.yarn/patches/usehooks-ts-npm-2.7.2-fceffe0e43.patch" | ||
|
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 |
---|---|---|
|
@@ -32,9 +32,6 @@ yarn-error.log* | |
.env.test.local | ||
.env.production.local | ||
# vercel | ||
.vercel | ||
# typescript | ||
*.tsbuildinfo` | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"installCommand": "yarn install --frozen-lockfile", | ||
"buildCommand": "yarn next:build", | ||
"outputDirectory": "packages/nextjs/.next", | ||
"framework": "nextjs" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
export const packageVercelIgnoreContent = `# --- Foundry files --- | ||
# Compiler files | ||
packages/foundry/cache | ||
packages/foundry/out | ||
# Ignores development broadcast logs | ||
packages/foundry/broadcast | ||
# Docs | ||
packages/foundry/docs | ||
# Dotenv file | ||
packages/foundry/.env | ||
packages/foundry/localhost.json`; |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
export const packageVercelIgnoreContent = `# --- Hardhat files --- | ||
packages/hardhat/node_modules | ||
packages/hardhat/.env | ||
packages/hardhat/coverage | ||
packages/hardhat/coverage.json | ||
packages/hardhat/typechain | ||
packages/hardhat/typechain-types | ||
packages/hardhat/temp | ||
packages/hardhat/cache | ||
packages/hardhat/artifacts | ||
packages/hardhat/artifacts-zk | ||
packages/hardhat/cache-zk | ||
packages/hardhat/deployments`; |
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