Files
firefox-accounts-mirror/libs/payments/iap/project.json
julianpoyourow c006d418f7 chore(deps): update nx to 21
Because:

- Nx is on 19 currently and we want to support the new Nx caching
  features

This commit:

- Updates Nx from 19 to 21
- Bumps eslint to 8 across all packages and disables some rules that we
  do not respect
- Some resources needed to be bumped since many of the build steps have been cached, but when run without cache they consume more RAM than available
- Several version numbers have been consolidated across packages, but not necessarily upgraded outside of Nx itself.

Closes FXA-10981
2025-06-03 22:56:35 +00:00

61 lines
1.5 KiB
JSON

{
"name": "payments-iap",
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/payments/iap/src",
"projectType": "library",
"tags": [],
"targets": {
"codegen": {
"executor": "nx:run-commands",
"options": {
"command": "graphql-codegen --config libs/payments/iap/codegen.config.ts"
}
},
"build": {
"executor": "@nx/esbuild:esbuild",
"outputs": ["{options.outputPath}"],
"defaultConfiguration": "production",
"options": {
"main": "libs/payments/iap/src/index.ts",
"outputPath": "dist/libs/payments/iap",
"outputFileName": "main.js",
"tsConfig": "libs/payments/iap/tsconfig.lib.json",
"declaration": true,
"assets": [
{
"glob": "libs/payments/iap/README.md",
"input": ".",
"output": "."
}
],
"platform": "node"
},
"configurations": {
"development": {
"minify": false
},
"production": {
"minify": true
}
}
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": [
"libs/payments/iap/**/*.ts",
"libs/payments/iap/package.json"
]
}
},
"test-unit": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "libs/payments/iap/jest.config.ts"
}
}
}
}