Skip to content

Commit

Permalink
feat(remix): support version 2.8.0 (nrwl#22326)
Browse files Browse the repository at this point in the history
  • Loading branch information
Coly010 authored and arekkubaczkowski committed Mar 19, 2024
1 parent a3ed4be commit 2c43de3
Show file tree
Hide file tree
Showing 5 changed files with 97 additions and 47 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -85,8 +85,8 @@
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
"@pnpm/lockfile-types": "^5.0.0",
"@reduxjs/toolkit": "1.9.0",
"@remix-run/dev": "^2.6.0",
"@remix-run/node": "^2.6.0",
"@remix-run/dev": "^2.8.1",
"@remix-run/node": "^2.8.1",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^20.0.0",
"@rollup/plugin-image": "^2.1.0",
Expand Down
29 changes: 29 additions & 0 deletions packages/remix/migrations.json
Expand Up @@ -102,6 +102,35 @@
"alwaysAddToPackageJson": false
}
}
},
"18.1.1": {
"version": "18.1.1-beta.0",
"packages": {
"@remix-run/node": {
"version": "^2.8.0",
"alwaysAddToPackageJson": true
},
"@remix-run/react": {
"version": "^2.8.0",
"alwaysAddToPackageJson": true
},
"@remix-run/serve": {
"version": "^2.8.0",
"alwaysAddToPackageJson": true
},
"@remix-run/dev": {
"version": "^2.8.0",
"alwaysAddToPackageJson": true
},
"@remix-run/css-bundle": {
"version": "^2.8.0",
"alwaysAddToPackageJson": true
},
"@remix-run/eslint-config": {
"version": "^2.8.0",
"alwaysAddToPackageJson": true
}
}
}
}
}
16 changes: 8 additions & 8 deletions packages/remix/src/generators/init/init.spec.ts
Expand Up @@ -16,15 +16,15 @@ describe('Remix Init Generator', () => {
const pkgJson = readJson(tree, 'package.json');
expect(pkgJson.dependencies).toMatchInlineSnapshot(`
{
"@remix-run/serve": "^2.6.0",
"@remix-run/serve": "^2.8.1",
}
`);
expect(pkgJson.devDependencies).toMatchInlineSnapshot(`
{
"@nx/web": "0.0.1",
"@remix-run/dev": "^2.6.0",
}
`);
{
"@nx/web": "0.0.1",
"@remix-run/dev": "^2.8.1",
}
`);

const nxJson = readJson(tree, 'nx.json');
expect(nxJson).toMatchInlineSnapshot(`
Expand Down Expand Up @@ -67,13 +67,13 @@ describe('Remix Init Generator', () => {
const pkgJson = readJson(tree, 'package.json');
expect(pkgJson.dependencies).toMatchInlineSnapshot(`
{
"@remix-run/serve": "^2.6.0",
"@remix-run/serve": "^2.8.1",
}
`);
expect(pkgJson.devDependencies).toMatchInlineSnapshot(`
{
"@nx/web": "0.0.1",
"@remix-run/dev": "^2.6.0",
"@remix-run/dev": "^2.8.1",
}
`);
});
Expand Down
2 changes: 1 addition & 1 deletion packages/remix/src/utils/versions.ts
Expand Up @@ -2,7 +2,7 @@ import { readJson, Tree } from '@nx/devkit';

export const nxVersion = require('../../package.json').version;

export const remixVersion = '^2.6.0';
export const remixVersion = '^2.8.1';
export const isbotVersion = '^4.4.0';
export const reactVersion = '^18.2.0';
export const reactDomVersion = '^18.2.0';
Expand Down
93 changes: 57 additions & 36 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2c43de3

Please sign in to comment.