Skip to content

Commit

Permalink
Update to Remix 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lpsinger committed Sep 19, 2023
1 parent c0ce0f2 commit 07cb3a5
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 15 deletions.
4 changes: 2 additions & 2 deletions app/routes/_index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { V2_MetaFunction } from '@remix-run/node'
import type { MetaFunction } from '@remix-run/node'

export const meta: V2_MetaFunction = () => {
export const meta: MetaFunction = () => {
return [
{ title: 'New Remix App' },
{ name: 'description', content: 'Welcome to Remix!' },
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"deploy": "arc deploy --no-hydrate --prune --production"
},
"dependencies": {
"@remix-run/architect": "^1.19.2",
"@remix-run/css-bundle": "^1.19.2",
"@remix-run/node": "^1.19.2",
"@remix-run/react": "^1.19.2",
"@remix-run/architect": "^2.0.0",
"@remix-run/css-bundle": "^2.0.0",
"@remix-run/node": "^2.0.0",
"@remix-run/react": "^2.0.0",
"@trussworks/react-uswds": "^5.1.1",
"cross-env": "^7.0.3",
"isbot": "^3.6.8",
Expand All @@ -27,8 +27,8 @@
"devDependencies": {
"@architect/architect": "^10.12.1",
"@nasa-gcn/eslint-config-gitignore": "^0.0.1",
"@remix-run/dev": "^1.19.2",
"@remix-run/eslint-config": "^1.19.2",
"@remix-run/dev": "^2.0.0",
"@remix-run/eslint-config": "^2.0.0",
"@trivago/prettier-plugin-sort-imports": "^4.2.0",
"@types/react": "^18.0.35",
"@types/react-dom": "^18.0.11",
Expand Down
12 changes: 5 additions & 7 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,21 @@
"include": ["remix.env.d.ts", "**/*.ts", "**/*.tsx"],
"compilerOptions": {
"incremental": true,
"lib": ["DOM", "DOM.Iterable", "ES2019"],
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"isolatedModules": true,
"esModuleInterop": true,
"jsx": "react-jsx",
"moduleResolution": "node",
"moduleResolution": "Bundler",
"resolveJsonModule": true,
"target": "ES2019",
"target": "ES2022",
"strict": true,
"allowJs": true,
"forceConsistentCasingInFileNames": true,
"baseUrl": ".",
"paths": {
"~/*": ["./app/*"]
},
"skipLibCheck": true,

// Remix takes care of building everything in `remix build`.
"noEmit": true
"noEmit": true,
"skipLibCheck": true
}
}

0 comments on commit 07cb3a5

Please sign in to comment.