Skip to content

Commit

Permalink
chore(refine-remix): update to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
aliemir committed Jan 4, 2024
1 parent 80570e6 commit bc6806b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 20 deletions.
24 changes: 12 additions & 12 deletions refine-remix/template/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,26 @@
"sideEffects": false,
"scripts": {
"dev": "refine dev",
"build": "remix build",
"start": "remix-serve build",
"build": "refine build",
"start": "refine start ./build/index.js",
"refine": "refine"
},
"dependencies": {
"@refinedev/cli": "^2.16.21",
"@refinedev/core": "^4.46.1",
"@refinedev/devtools": "^1.1.29",
"@refinedev/remix-router": "^2.3.1",
"@refinedev/inferencer": "^4.5.16",
"@refinedev/cli": "^2.16.22",
"@refinedev/core": "^4.46.2",
"@refinedev/devtools": "^1.1.30",
"@refinedev/remix-router": "^3.0.0",
"@refinedev/inferencer": "^4.5.17",
"@refinedev/kbar": "^1.3.5",
"@remix-run/node": "^1.6.7",
"@remix-run/react": "^1.6.7",
"@remix-run/serve": "^1.6.7",
"@remix-run/node": "^2.4.1",
"@remix-run/react": "^2.4.1",
"@remix-run/serve": "^2.4.1",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"devDependencies": {
"@remix-run/dev": "^1.6.8",
"@remix-run/eslint-config": "^1.6.8",
"@remix-run/dev": "^2.4.1",
"@remix-run/eslint-config": "^2.4.1",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"eslint": "^8.24.0",
Expand Down
14 changes: 6 additions & 8 deletions refine-remix/template/remix.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
/** @type {import('@remix-run/dev').AppConfig} */
module.exports = {
ignoredRouteFiles: ["**/.*"],
future: {
v2_routeConvention: true,
},
// appDirectory: "app",
// assetsBuildDirectory: "public/build",
// serverBuildPath: "build/index.js",
// publicPath: "/build/",
ignoredRouteFiles: ["**/.*"],
serverModuleFormat: "cjs",
// appDirectory: "app",
// assetsBuildDirectory: "public/build",
// serverBuildPath: "build/index.js",
// publicPath: "/build/",
};

0 comments on commit bc6806b

Please sign in to comment.