From 7d0cfed5deaeec972d9fbd8a796613812f2fadb6 Mon Sep 17 00:00:00 2001 From: Bharat Kashyap Date: Mon, 20 Jan 2025 15:51:13 +0530 Subject: [PATCH 1/2] fix: Remove indent --- .../src/templates/gitignore.ts | 292 +++++++++--------- 1 file changed, 146 insertions(+), 146 deletions(-) diff --git a/packages/create-toolpad-app/src/templates/gitignore.ts b/packages/create-toolpad-app/src/templates/gitignore.ts index 8ccd0b95cf7..1cc389710b7 100644 --- a/packages/create-toolpad-app/src/templates/gitignore.ts +++ b/packages/create-toolpad-app/src/templates/gitignore.ts @@ -1,149 +1,149 @@ const gitignore = ` - # Logs - logs - *.log - npm-debug.log* - yarn-debug.log* - yarn-error.log* - lerna-debug.log* - .pnpm-debug.log* - - # Diagnostic reports (https://nodejs.org/api/report.html) - report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json - - # Runtime data - pids - *.pid - *.seed - *.pid.lock - - # Directory for instrumented libs generated by jscoverage/JSCover - lib-cov - - # Coverage directory used by tools like istanbul - coverage - *.lcov - - # nyc test coverage - .nyc_output - - # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) - .grunt - - # Bower dependency directory (https://bower.io/) - bower_components - - # node-waf configuration - .lock-wscript - - # Compiled binary addons (https://nodejs.org/api/addons.html) - build/Release - - # Dependency directories - node_modules/ - jspm_packages/ - - # Snowpack dependency directory (https://snowpack.dev/) - web_modules/ - - # TypeScript cache - *.tsbuildinfo - - # Optional npm cache directory - .npm - - # Optional eslint cache - .eslintcache - - # Optional stylelint cache - .stylelintcache - - # Microbundle cache - .rpt2_cache/ - .rts2_cache_cjs/ - .rts2_cache_es/ - .rts2_cache_umd/ - - # Optional REPL history - .node_repl_history - - # Output of 'npm pack' - *.tgz - - # Yarn Integrity file - .yarn-integrity - - # dotenv environment variable files - .env - .env.development.local - .env.test.local - .env.production.local - .env.local - - # parcel-bundler cache (https://parceljs.org/) - .cache - .parcel-cache - - # Next.js build output - .next - out - - # Nuxt.js build / generate output - .nuxt - dist - - # Vite build output - dist-ssr - - # Gatsby files - .cache/ - # Comment in the public line in if your project uses Gatsby and not Next.js - # https://nextjs.org/blog/next-9-1#public-directory-support - # public - - # vuepress build output - .vuepress/dist - - # vuepress v2.x temp and cache directory - .temp - .cache - - # Docusaurus cache and generated files - .docusaurus - - # Serverless directories - .serverless/ - - # FuseBox cache - .fusebox/ - - # DynamoDB Local files - .dynamodb/ - - # TernJS port file - .tern-port - - - # Editor directories and files - .vscode/* - !.vscode/extensions.json - .idea - .DS_Store - *.suo - *.ntvs* - *.njsproj - *.sln - *.sw? - - - # Stores VS Code versions used for testing VS Code extensions - .vscode-test - - # yarn v2 - .yarn/cache - .yarn/unplugged - .yarn/build-state.yml - .yarn/install-state.gz - `; +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +lerna-debug.log* +.pnpm-debug.log* + +# Diagnostic reports (https://nodejs.org/api/report.html) +report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage +*.lcov + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# Snowpack dependency directory (https://snowpack.dev/) +web_modules/ + +# TypeScript cache +*.tsbuildinfo + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional stylelint cache +.stylelintcache + +# Microbundle cache +.rpt2_cache/ +.rts2_cache_cjs/ +.rts2_cache_es/ +.rts2_cache_umd/ + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variable files +.env +.env.development.local +.env.test.local +.env.production.local +.env.local + +# parcel-bundler cache (https://parceljs.org/) +.cache +.parcel-cache + +# Next.js build output +.next +out + +# Nuxt.js build / generate output +.nuxt +dist + +# Vite build output +dist-ssr + +# Gatsby files +.cache/ +# Comment in the public line in if your project uses Gatsby and not Next.js +# https://nextjs.org/blog/next-9-1#public-directory-support +# public + +# vuepress build output +.vuepress/dist + +# vuepress v2.x temp and cache directory +.temp +.cache + +# Docusaurus cache and generated files +.docusaurus + +# Serverless directories +.serverless/ + +# FuseBox cache +.fusebox/ + +# DynamoDB Local files +.dynamodb/ + +# TernJS port file +.tern-port + + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? + + +# Stores VS Code versions used for testing VS Code extensions +.vscode-test + +# yarn v2 +.yarn/cache +.yarn/unplugged +.yarn/build-state.yml +.yarn/install-state.gz +`; export default gitignore; From 94fa3ec20e472f7279289b605c6f6928150d80b0 Mon Sep 17 00:00:00 2001 From: Bharat Kashyap Date: Mon, 20 Jan 2025 15:56:38 +0530 Subject: [PATCH 2/2] fix: Use React 19 `title` hoisting --- packages/toolpad-core/src/SignInPage/SignInPage.tsx | 1 + playground/nextjs/next-env.d.ts | 2 +- pnpm-lock.yaml | 8 ++++---- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/toolpad-core/src/SignInPage/SignInPage.tsx b/packages/toolpad-core/src/SignInPage/SignInPage.tsx index 5a5c489d992..c4bace1bc71 100644 --- a/packages/toolpad-core/src/SignInPage/SignInPage.tsx +++ b/packages/toolpad-core/src/SignInPage/SignInPage.tsx @@ -311,6 +311,7 @@ function SignInPage(props: SignInPageProps) { ...sx, }} > + Sign In // NOTE: This file should not be edited -// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information. +// see https://nextjs.org/docs/app/api-reference/config/typescript for more information. diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 36d95d798b6..8e1959acad5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -201,7 +201,7 @@ importers: version: 7.37.3(eslint@8.57.1) eslint-plugin-react-compiler: specifier: latest - version: 19.0.0-beta-e552027-20250112(eslint@8.57.1) + version: 19.0.0-beta-decd7b8-20250118(eslint@8.57.1) eslint-plugin-react-hooks: specifier: 5.1.0 version: 5.1.0(eslint@8.57.1) @@ -6090,8 +6090,8 @@ packages: peerDependencies: eslint: '>=7.0.0' - eslint-plugin-react-compiler@19.0.0-beta-e552027-20250112: - resolution: {integrity: sha512-VjkIXHouCYyJHgk5HmZ1LH+fAK5CX+ULRX9iNYtwYJ+ljbivFhIT+JJyxNT/USQpCeS2Dt5ahjFeeMv0RRwTww==} + eslint-plugin-react-compiler@19.0.0-beta-decd7b8-20250118: + resolution: {integrity: sha512-qfs+Xo+VcYPbbVLI2tCP+KBGwm0oksAhjFJO1GwOvP+4b18LLcPZu7xopRhUTOaNd+nn1vOp9EQLZC1wMNxSrQ==} engines: {node: ^14.17.0 || ^16.0.0 || >= 18.0.0} peerDependencies: eslint: '>=7' @@ -16276,7 +16276,7 @@ snapshots: globals: 13.24.0 rambda: 7.5.0 - eslint-plugin-react-compiler@19.0.0-beta-e552027-20250112(eslint@8.57.1): + eslint-plugin-react-compiler@19.0.0-beta-decd7b8-20250118(eslint@8.57.1): dependencies: '@babel/core': 7.26.0 '@babel/parser': 7.26.2