Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion e2e/next/src/next-jest-config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe('Next.js Jest Configuration', () => {
let proj: string;

beforeAll(() => {
proj = newProject();
proj = newProject({ packages: ['@nx/next'] });
});

afterAll(() => cleanupProject());
Expand Down
4 changes: 2 additions & 2 deletions e2e/nx/src/affected-graph.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { join } from 'path';
describe('Nx Affected and Graph Tests', () => {
let proj: string;

beforeAll(() => (proj = newProject()));
beforeAll(() => (proj = newProject({ packages: ['@nx/js', '@nx/web'] })));
afterAll(() => cleanupProject());

describe('affected:*', () => {
Expand Down Expand Up @@ -530,7 +530,7 @@ describe('Nx Affected and Graph Tests', () => {
describe('show projects --affected', () => {
let proj: string;

beforeAll(() => (proj = newProject()));
beforeAll(() => (proj = newProject({ packages: ['@nx/js', '@nx/web'] })));
afterAll(() => cleanupProject());

it('should print information about affected projects', async () => {
Expand Down
2 changes: 1 addition & 1 deletion e2e/nx/src/run.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ describe('Nx Running Tests', () => {
describe('run-many', () => {
it('should build specific and all projects', () => {
// This is required to ensure the numbers used in the assertions make sense for this test
const proj = newProject();
const proj = newProject({ packages: ['@nx/js', '@nx/node', '@nx/web'] });
const appA = uniq('appa-rand');
const libA = uniq('liba-rand');
const libB = uniq('libb-rand');
Expand Down
2 changes: 1 addition & 1 deletion e2e/nx/src/workspace.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ describe('@nx/workspace:convert-to-monorepo', () => {

describe('Workspace Tests', () => {
beforeAll(() => {
proj = newProject();
proj = newProject({ packages: ['@nx/workspace', '@nx/js'] });
});

afterAll(() => cleanupProject());
Expand Down
2 changes: 1 addition & 1 deletion e2e/plugin/src/nx-plugin.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe('Nx Plugin', () => {
let workspaceName: string;

beforeAll(() => {
workspaceName = newProject();
workspaceName = newProject({ packages: ['@nx/plugin'] });
});

afterAll(() => cleanupProject());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe('Federate Module', () => {
let proj: string;

beforeAll(() => {
proj = newProject();
proj = newProject({ packages: ['@nx/react', '@nx/js'] });
});

afterAll(() => cleanupProject());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe('Federate Module', () => {
let proj: string;

beforeAll(() => {
proj = newProject();
proj = newProject({ packages: ['@nx/react', '@nx/js'] });
});

afterAll(() => cleanupProject());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ describe('Independent Deployability', () => {
let proj: string;

beforeAll(() => {
proj = newProject();
proj = newProject({ packages: ['@nx/react', '@nx/js'] });
});

afterAll(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ describe('Independent Deployability', () => {
let proj: string;
beforeAll(() => {
process.env.NX_ADD_PLUGINS = 'false';
proj = newProject();
proj = newProject({ packages: ['@nx/react', '@nx/js'] });
});

afterAll(() => {
Expand Down
2 changes: 1 addition & 1 deletion e2e/rollup/src/rollup.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ describe('Rollup Plugin', () => {

it('should work correctly with custom, non-Nx rollup config', () => {
// ARRANGE
packageInstall('@rollup/plugin-babel', undefined, '5.3.0', 'prod');
packageInstall('@rollup/plugin-babel', undefined, '6.1.0', 'prod');
packageInstall('@rollup/plugin-commonjs', undefined, '25.0.7', 'prod');
packageInstall('rollup-plugin-typescript2', undefined, '0.36.0', 'prod');
runCLI(`generate @nx/js:init --no-interactive`);
Expand Down
1 change: 1 addition & 0 deletions e2e/utils/create-project-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ const nxPackages = [
`@nx/react-native`,
`@nx/expo`,
'@nx/dotnet',
`@nx/workspace`,
] as const;

type NxPackage = (typeof nxPackages)[number];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ describe('lib', () => {
"main": "./src/index.ts",
"name": "@proj/my-lib",
"peerDependencies": {
"react": "19.0.0",
"react": "^19.0.0",
"react-native": "~0.79.3",
},
"types": "./src/index.ts",
Expand Down Expand Up @@ -625,7 +625,7 @@ describe('lib', () => {
}
},
"peerDependencies": {
"react": "19.0.0",
"react": "^19.0.0",
"react-native": "~0.79.3"
}
}
Expand Down
10 changes: 5 additions & 5 deletions packages/react-native/src/utils/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ export const reactNativeWebVersion = '~0.20.0';

export const metroVersion = '~0.82.4';

export const reactVersion = '19.0.0';
export const reactDomVersion = '19.0.0';
export const typesReactVersion = '~19.0.10';
export const typesReactDomVersion = '~19.0.6';
export const reactVersion = '^19.0.0';
export const reactDomVersion = '^19.0.0';
export const typesReactVersion = '^19.0.10';
export const typesReactDomVersion = '^19.0.6';

export const testingLibraryReactNativeVersion = '~13.2.0';
export const reactTestRendererVersion = '~19.0.0';
export const reactTestRendererVersion = '^19.2.0';

export const reactNativeSvgTransformerVersion = '~1.5.1';
export const reactNativeSvgVersion = '~15.11.2';
Expand Down
Loading