Skip to content

Commit f4f8654

Browse files
authored
Merge pull request #18946 from mozilla/FXA-10981
chore: update nx to 21
2 parents bd67544 + c006d41 commit f4f8654

42 files changed

Lines changed: 1985 additions & 1222 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.circleci/config.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ jobs:
652652
workflow:
653653
type: string
654654
executor: default-executor
655-
resource_class: medium+
655+
resource_class: large
656656
steps:
657657
- git-checkout
658658
- restore-workspace
@@ -716,7 +716,7 @@ jobs:
716716
- run:
717717
name: Run API Integration Tests
718718
command: |
719-
npx nx << parameters.nx_run >> << parameters.parallel >> << parameters.target >> << parameters.projects >>
719+
NODE_OPTIONS="--max-old-space-size=7168" npx nx << parameters.nx_run >> << parameters.parallel >> << parameters.target >> << parameters.projects >>
720720
environment:
721721
NODE_ENV: test
722722
no_output_timeout: 20m
@@ -785,6 +785,7 @@ jobs:
785785
command: ./packages/functional-tests/scripts/start-services.sh
786786
environment:
787787
NODE_ENV: test
788+
no_output_timeout: 20m
788789
- run-playwright-tests:
789790
project: local
790791
- store-artifacts

apps/payments/next/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
}
2727
},
2828
"lint": {
29-
"executor": "@nx/linter:eslint",
29+
"executor": "@nx/eslint:lint",
3030
"outputs": ["{options.outputFile}"],
3131
"options": {
3232
"lintFilePatterns": ["apps/payments/next/**/*.{ts,tsx,js,jsx}"]

jest.config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { getJestProjects } from '@nx/jest';
1+
import { getJestProjectsAsync } from '@nx/jest';
22

3-
export default {
4-
projects: getJestProjects(),
5-
};
3+
export default async () => ({
4+
projects: await getJestProjectsAsync(),
5+
});

libs/google/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
}
2020
},
2121
"lint": {
22-
"executor": "@nx/linter:eslint",
22+
"executor": "@nx/eslint:lint",
2323
"outputs": ["{options.outputFile}"],
2424
"options": {
2525
"lintFilePatterns": ["libs/google/**/*.ts", "libs/google/package.json"]

libs/payments/capability/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
}
3535
},
3636
"lint": {
37-
"executor": "@nx/linter:eslint",
37+
"executor": "@nx/eslint:lint",
3838
"outputs": ["{options.outputFile}"],
3939
"options": {
4040
"lintFilePatterns": ["libs/payments/capability/**/*.ts"]

libs/payments/cart/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
}
3434
},
3535
"lint": {
36-
"executor": "@nx/linter:eslint",
36+
"executor": "@nx/eslint:lint",
3737
"outputs": ["{options.outputFile}"],
3838
"options": {
3939
"lintFilePatterns": ["libs/payments/cart/**/*.ts"]

libs/payments/content-server/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
}
3434
},
3535
"lint": {
36-
"executor": "@nx/linter:eslint",
36+
"executor": "@nx/eslint:lint",
3737
"outputs": ["{options.outputFile}"],
3838
"options": {
3939
"lintFilePatterns": ["libs/payments/content-server/**/*.ts"]

libs/payments/currency/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
}
3535
},
3636
"lint": {
37-
"executor": "@nx/linter:eslint",
37+
"executor": "@nx/eslint:lint",
3838
"outputs": ["{options.outputFile}"],
3939
"options": {
4040
"lintFilePatterns": ["libs/payments/currency/**/*.ts"]

libs/payments/customer/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
}
3535
},
3636
"lint": {
37-
"executor": "@nx/linter:eslint",
37+
"executor": "@nx/eslint:lint",
3838
"outputs": ["{options.outputFile}"],
3939
"options": {
4040
"lintFilePatterns": [

libs/payments/eligibility/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
}
3535
},
3636
"lint": {
37-
"executor": "@nx/linter:eslint",
37+
"executor": "@nx/eslint:lint",
3838
"outputs": ["{options.outputFile}"],
3939
"options": {
4040
"lintFilePatterns": [

0 commit comments

Comments
 (0)