-
Notifications
You must be signed in to change notification settings - Fork 15
Migrate from Create React App and add Vite #260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or 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
The prop value with an expression type of MetaProperty could not be resolved. Please file an issue ( https://github.com/jsx-eslint/jsx-ast-utils/issues/new ) to get this fixed immediately.
Fixes LessonOverview.stories.tsx and LessonsIndex.stories.tsx stories
Vite relies on `build.target` config
This ensures core settings are applied even if vite.config.ts has an error in it
This ensures Sentry releases only happen when running builds from deploy scripts with TYPEY_TYPE_RELEASE and not when running vite builds or build-storybook from the command line
Turn off debug now because we're done testing
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR closes #251
"vite""vite-plugin-svgr""vite-tsconfig-paths""vite-plugin-checker"webpackThis PR also:
package.jsonscripts for linting/lint-fixing, test coverage,vite preview, and type-checking, and splitsbuildscript intobuild:stagingandbuild:production"jest-mock-random""@sentry/browser": "^6.17.9"to"@sentry/react": "^10.22.0""@sentry/cli"and instead uses"@sentry/vite-plugin"eslintfrom"8.23.0"to"8.57.1""sass": "^1.49.8"with"sass-embedded": "^1.91.0""sass-migrator": "^2.4.2"(but did not save the dependency)tsconfig.jsonsettings like"jsx": "react"to"jsx": "react-jsx","moduleResolution": "node",to"moduleResolution": "bundler","@typescript-eslint/eslint-plugin"and"@typescript-eslint/parser"ahead of replacing"eslint-config-react-app""@storybook/preset-create-react-app""eslint-plugin-storybook"from^0.6.15to"0.12.0""@storybook/node-logger"(unused) andresolutionsfor"fork-ts-checker-webpack-plugin": "^6.5.3""@types/node": "^22.15.19""browserslist"and uses Vite's"baseline-widely-available"build.targetfor JS supportMostly unrelated changes:
.jsdiagrams to.jsx--itemize-changesto staging/qa deployrsyncstepsPageNotFoundGA/Sentry trigger tolocation.pathnameTo test this PR:
migrate-off-crayarnto install the changed dependenciesyarn startand check that Typey Type still works like it should! Lessons and progress especially!yarn testshould pass and watchyarn test:unitshould passyarn test:uishould passyarn storybookshould runyarn typesshould pass without erroryarn lintshould pass without error or warnings