Coder Social home page Coder Social logo

domjtalbot / nx-mesh Goto Github PK

View Code? Open in Web Editor NEW
24.0 4.0 1.0 3.57 MB

GraphQL Mesh support for Nx

Home Page: https://www.npmjs.com/package/nx-mesh

License: MIT License

Shell 3.08% JavaScript 0.52% TypeScript 96.40%
nx graphql-mesh nx-plugin graphql api-gateway sdk executors generators swc tsc

nx-mesh's Introduction

nx–mesh — GraphQL Mesh support for Nx.


Contents


Features

  • Use GraphQL Mesh to combine multiple APIs into a single GraphQL API.
  • Create a new Nx workspace with a GraphQL Mesh preset.
  • Generate a GraphQL Mesh API Gateway
    • A standalone application for running GraphQL Mesh.
    • Choose from multiple starter templates.
  • Generate a GraphQL Mesh SDK
    • Supports deploying to Vercel as a NextJS route.
    • Choose from multiple starter templates.
  • Supports all GraphQL CLI commands (build, dev, start, validate)
  • Use SWC to compile a GraphQL Mesh SDK
  • Use graphql-codegen to build custom SDKs from GraphQL Mesh.
  • Automatically use the first available port when running dev, start, or serve.
  • Supports NX Cypress plugin

Installing

Using pnpm:

pnpm add -D nx-mesh
Using npm
npm install -D nx-mesh
Using yarn
yarn add -D nx-mesh

Peer Dependencies

Name Version Required Auto-installed by generators
nx >=15.7.1 -
@graphql-mesh/cli >=0.71.0
@graphql-codgen/cli >=2.16.1

Preset

Create a new Nx workspace with a GraphQL Mesh SDK!

npx create-nx-workspace@latest myorg --preset=nx-mesh

See the sdk generator for available options.


Generators

application

Create a GraphQL Mesh API Gateway application for Nx.

nx generate nx-mesh:application my-api-gateway

# Alias
nx generate nx-mesh:app my-api-gateway
application generator output
>  NX  Generating nx-mesh:application

CREATE apps/my-api-gateway/.meshrc.yml
CREATE apps/my-api-gateway/tsconfig.app.json
CREATE apps/my-api-gateway/tsconfig.json
CREATE apps/my-api-gateway/project.json
UPDATE workspace.json
CREATE apps/my-api-gateway-e2e/cypress.json
CREATE apps/my-api-gateway-e2e/src/fixtures/example.json
CREATE apps/my-api-gateway-e2e/src/integration/app.spec.ts
CREATE apps/my-api-gateway-e2e/src/support/app.po.ts
CREATE apps/my-api-gateway-e2e/src/support/commands.ts
CREATE apps/my-api-gateway-e2e/src/support/index.ts
CREATE apps/my-api-gateway-e2e/tsconfig.json
CREATE apps/my-api-gateway-e2e/project.json
CREATE apps/my-api-gateway-e2e/.eslintrc.json
CREATE apps/my-api-gateway/jest.config.ts
CREATE apps/my-api-gateway/tsconfig.spec.json
CREATE apps/my-api-gateway/.eslintrc.json
application generator options
Name Alias Type Required Default Description
name - string - What name would you like to use for the application?
directory d string - - The directory of the new application.
meshConfig mc cjs, js, json, yml - yml Which config format would you like to use?
example - country-info, fake-api, javascript-wiki, movies, rfam, stackexchange, star-wars, trippin - star-wars Which example project would you like to use?
babelJest - boolean - false Use babel instead of ts-jest?
e2eTestRunner - cypress, none - cypress Test runner to use for end to end (E2E) tests.
linter - eslint, tslint - eslint The tool to use for running lint checks
setParserOptionsProject - boolean - false Whether or not to configure the ESLint parserOptions.project option. We do not do this by default for lint performance reasons.
skipFormat - boolean - false Skip formatting files.
standaloneConfig - boolean - false Split the project configuration into <projectRoot>/project.json rather than including it inside workspace.json
tags t string - - Add tags to the application (used for linting).
unitTestRunner - jest, none - jest Test runner to use for unit tests.

sdk

Create a GraphQL Mesh SDK library for Nx.

nx generate nx-mesh:sdk my-mesh-sdk

# Alias
nx generate nx-mesh:sdk-library my-mesh-sdk
nx generate nx-mesh:library my-mesh-sdk
Example sdk tsc generator output
>  NX  Generating nx-mesh:sdk

CREATE libs/my-mesh-sdk/README.md
CREATE libs/my-mesh-sdk/.babelrc
CREATE libs/my-mesh-sdk/package.json
CREATE libs/my-mesh-sdk/src/index.ts
CREATE libs/my-mesh-sdk/tsconfig.json
CREATE libs/my-mesh-sdk/tsconfig.lib.json
UPDATE tsconfig.base.json
CREATE libs/my-mesh-sdk/project.json
UPDATE workspace.json
CREATE libs/my-mesh-sdk/.eslintrc.json
CREATE libs/my-mesh-sdk/jest.config.ts
CREATE libs/my-mesh-sdk/tsconfig.spec.json
CREATE libs/my-mesh-sdk/.meshrc.yml
CREATE libs/my-mesh-sdk/src/lib/sdk.ts
CREATE libs/my-mesh-sdk/codegen.ts
CREATE libs/my-mesh-sdk/src/lib/client.ts
UPDATE nx.json
Example sdk swc generator output
>  NX  Generating nx-mesh:sdk

CREATE libs/my-mesh-sdk/README.md
CREATE libs/my-mesh-sdk/package.json
CREATE libs/my-mesh-sdk/src/index.ts
CREATE libs/my-mesh-sdk/tsconfig.json
CREATE libs/my-mesh-sdk/tsconfig.lib.json
UPDATE tsconfig.base.json
CREATE libs/my-mesh-sdk/project.json
UPDATE workspace.json
CREATE libs/my-mesh-sdk/.eslintrc.json
CREATE libs/my-mesh-sdk/jest.config.ts
CREATE libs/my-mesh-sdk/tsconfig.spec.json
CREATE libs/my-mesh-sdk/.swcrc
CREATE libs/my-mesh-sdk/.meshrc.json
CREATE libs/my-mesh-sdk/src/lib/sdk.ts
CREATE libs/my-mesh-sdk/codegen.ts
CREATE libs/my-mesh-sdk/src/lib/client.ts
sdk generator options
Name Alias Type Required Default Description
name - string - What name would you like to use?
directory d string - - The directory of the new sdk.
meshConfig mc cjs, js, json, yml - yml Which config format would you like to use?
example - javascriptWiki, stackexchange, trippin, countryInfo - javascript-wiki Which example project would you like to use?
codegen - boolean - true Use graphql-codegen to generate custom files from the GraphQL Mesh schema.
babelJest - boolean - false Use babel instead of ts-jest.
compiler - tsc, swc - tsc The compiler used by the build and test targets.
importPath - string - - The library name used to import it, like @myorg/my-awesome-lib. Must be a valid npm name.
js - boolean - false Generate JavaScript files rather than TypeScript files.
linter - eslint, tslint - eslint The tool to use for running lint checks.?
pascalCaseFiles p boolean - false Use pascal case file names.
rootDir - string - - Sets the rootDir for TypeScript compilation. When not defined, it uses the project's root property, or srcRootForCompilationRoot if it is defined.
setParserOptionsProject - boolean - false Whether or not to configure the ESLint parserOptions.project option. We do not do this by default for lint performance reasons.
simpleModuleName - boolean - false Keep the module name simple (when using --directory).
skipFormat - boolean - false Skip formatting files.
skipTsConfig - boolean - false Do not update tsconfig.base.json for development experience.
standaloneConfig - boolean - false Split the project configuration into <projectRoot>/project.json rather than including it inside workspace.json
strict - boolean - false Whether to enable tsconfig strict mode or not.
tags t string - - Add tags to the application (used for linting).
testEnvironment - jsdom, none - jsdom The test environment to use if unitTestRunner is set to jest.
unitTestRunner - jest, none - jest Test runner to use for unit tests.

Executors

build

Builds artifacts for a GraphQL Mesh library.

This is the equivalent of using graphql-mesh dev, but with extra steps for packaging the library.

"targets": {
  "build": {
    "executor": "nx-mesh:build",
    "options": {
      "dir": "libs/example-lib",
      "outputPath": "dist/libs/example-lib",
      "tsConfig": "libs/example-lib/tsconfig.lib.json",
      "main": "libs/example-lib/src/index.ts"
    },
  },
}
build executor options
Name Type Required Default Description
assets string[] - - List of static assets.
buildableProjectDepsInPackageJsonType dependencies or peerDependencies - peerDependencies When updateBuildableProjectDepsInPackageJson is true, this adds dependencies to either peerDependencies or dependencies.
codegen object - - GraphQL Codegen settings
codegen.config string - Path to GraphQL codegen YAML config file, defaults to codegen.yml on the current directory.
codegen.overwrite boolean - true Overwrites existing files.
codegen.profile boolean - false Use profiler to measure performance.
codegen.project string - `` Name of a project in GraphQL Config.
codegen.require string[] - [] Loads specific require.extensions before running the codegen and reading the configuration.
codegen.silent boolean - false Suppresses printing errors.
codegen.watch boolean - false Watch for changes and execute generation automatically.
debug boolean - false Display debugging info by applying the DEBUG env variable.
dir string - The path of the directory containing the GraphQL Mesh config.
fileType json, ts or js - ts The filetype.
main string - The name of the main entry-point file.
outputPath string - The output path of the generated files.
require string[] - [] Loads specific require.extensions before running the codegen and reading the configuration.
transformers string[] - - List of TypeScript Transformer Plugins.
tsConfig string - The path to the Typescript configuration file.
updateBuildableProjectDepsInPackageJson boolean - true Whether to update the buildable project dependencies in package.json.
watch boolean - false Rebuild upon file changes.

build-gateway

Builds artifacts for a GraphQL Mesh API Gateway app.

This is the equivalent of using graphql-mesh build, but with extra steps for compiling an app.

"targets": {
  "build": {
    "executor": "nx-mesh:build-gateway",
    "options": {
      "dir": "apps/example-app",
      "outputPath": "dist/apps/example-app"
    },
  },
}
build-gateway executor options
Name Type Required Default Description
debug boolean - false Display debugging info by applying the DEBUG env variable.
dir string - The path of the directory containing the GraphQL Mesh config.
fileType json, ts or js - ts The filetype.
require string[] - [] Loads specific require.extensions before running the codegen and reading the configuration.

build-swc

Builds artifacts for a GraphQL Mesh library.

This is the equivalent of using graphql-mesh build, but with extra steps for packaging the library with SWC.

"targets": {
  "build": {
    "executor": "nx-mesh:build-swc",
    "options": {
      "dir": "libs/example-lib",
      "outputPath": "dist/libs/example-lib",
      "tsConfig": "libs/example-lib/tsconfig.lib.json",
      "main": "libs/example-lib/src/index.ts"
    },
  },
}
build-swc executor options
Name Type Required Default Description
assets string[] - - List of static assets.
buildableProjectDepsInPackageJsonType dependencies or peerDependencies - peerDependencies When updateBuildableProjectDepsInPackageJson is true, this adds dependencies to either peerDependencies or dependencies.
codegen object - - GraphQL Codegen settings
codegen.config string - Path to GraphQL codegen YAML config file, defaults to codegen.yml on the current directory.
codegen.overwrite boolean - true Overwrites existing files.
codegen.profile boolean - false Use profiler to measure performance.
codegen.project string - `` Name of a project in GraphQL Config.
codegen.require string[] - [] Loads specific require.extensions before running the codegen and reading the configuration.
codegen.silent boolean - false Suppresses printing errors.
codegen.watch boolean - false Watch for changes and execute generation automatically.
debug boolean - false Display debugging info by applying the DEBUG env variable.
dir string - The path of the directory containing the GraphQL Mesh config.
fileType json, ts or js - ts The filetype.
main string - The name of the main entry-point file.
outputPath string - The output path of the generated files.
require string[] - [] Loads specific require.extensions before running the codegen and reading the configuration.
skipTypeCheck boolean - false Whether to skip TypeScript type checking.
swcrc string - .swcrc The path to the SWC configuration file.
transformers string[] - - List of TypeScript Transformer Plugins.
tsConfig string - The path to the Typescript configuration file.
updateBuildableProjectDepsInPackageJson boolean - true Whether to update the buildable project dependencies in package.json.
watch boolean - false Rebuild upon file changes.

dev

Serves a GraphQL server with a GraphQL interface by building artifacts on the fly.

This is the equivalent of using graphql-mesh dev.

"targets": {
  "dev": {
    "executor": "nx-mesh:dev",
    "options": {
      "dir": "path/to/app/or/lib",
    },
  },
}
dev executor options
Name Type Required Default Description
debug boolean - false Display debugging info by applying the DEBUG env variable.
dir string - The path of the directory containing the GraphQL Mesh config.
port object - - Port selection settings
port.auto boolean - true Use the first available port
port.number number - 4200 Define the preferred port to use when auto is set to false
port.range object - - The range of ports to select from.
port.range.from number - - The first port of the range. Must be in the range 1024...65535
port.range.to number - - The last port of the range. Must be in the range 1024...65535 and must be greater than from.
port.fallback auto, none - auto The fallback strategy to use when the preferred port is unavailable.
port.host string - localhost The host to listen on (only used for port number lookup).
require string[] - [] Loads specific require.extensions before running the codegen and reading the configuration.

start

Serves a GraphQL server with a GraphQL interface based on your generated artifacts.

This is the equivalent of using graphql-mesh start.

"targets": {
  "start": {
    "executor": "nx-mesh:start",
    "options": {
      "dir": "path/to/app/or/lib",
    },
  },
}
start executor options
Name Type Required Default Description
debug boolean - false Display debugging info by applying the DEBUG env variable.
dir string - The path of the directory containing the GraphQL Mesh config.
port object - - Port selection settings
port.auto boolean - true Use the first available port
port.number number - 4200 Define the preferred port to use when auto is set to false
port.range object - - The range of ports to select from.
port.range.from number - - The first port of the range. Must be in the range 1024...65535
port.range.to number - - The last port of the range. Must be in the range 1024...65535 and must be greater than from.
port.fallback auto, none - auto The fallback strategy to use when the preferred port is unavailable.
port.host string - localhost The host to listen on (only used for port number lookup).
require string[] - [] Loads specific require.extensions before running the codegen and reading the configuration.

serve

Serves a GraphQL server.

This combines dev & start via a dev option toggle.

"targets": {
  "serve": {
    "executor": "nx-mesh:serve",
    "options": {
      "dir": "path/to/app/or/lib",
      "dev": true,
    },
    "configuration": {
      "production": {
        "dev": false,
      }
    }
  },
}
serve executor options
Name Type Required Default Description
debug boolean - false Display debugging info by applying the DEBUG env variable.
dev string - false Run the server in dev or production mode.
dir string - The path of the directory containing the GraphQL Mesh config.
port object - - Port selection settings
port.auto boolean - true Use the first available port
port.number number - 4200 Define the preferred port to use when auto is set to false
port.range object - - The range of ports to select from.
port.range.from number - - The first port of the range. Must be in the range 1024...65535
port.range.to number - - The last port of the range. Must be in the range 1024...65535 and must be greater than from.
port.fallback auto, none - auto The fallback strategy to use when the preferred port is unavailable.
port.host string - localhost The host to listen on (only used for port number lookup).
require string[] - [] Loads specific require.extensions before running the codegen and reading the configuration.

validate

Validates artifacts.

This is the equivalent of using graphql-mesh validate.

"targets": {
  "validate": {
    "executor": "nx-mesh:validate",
    "options": {
      "dir": "path/to/app/or/lib",
    },
  },
}
validate executor options
Name Type Required Default Description
debug boolean - false Display debugging info by applying the DEBUG env variable.
dir string - The path of the directory containing the GraphQL Mesh config.
require string[] - [] Loads specific require.extensions before running the codegen and reading the configuration.

Examples

Name Type Source Handler Config Notes
country-info sdk soap cjs -
fake-api sdk json-schema yml -
javascript-wiki gateway openapi json -
javascript-wiki sdk openapi yml -
movies sdk neo4j yml -
nextjs with sdks - - - Deployed to Vercel
rfam sdk mysql yml -
stackexchange sdk openapi json -
star-wars sdk graphql yml -
trippin sdk odata js API Key documentation

Compatibility

nx-mesh Nx
^4.0.0 ^15.7.1
^3.0.0 ^15.4.0

Credits

This plugin wouldn't be possible without the projects from these great teams:

Please show them your support! ❤️



🌳 🦌 🌳


nx-mesh's People

Contributors

domjtalbot avatar github-actions[bot] avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

nx-mesh's Issues

Compatibility issues with Nx `v16.3.2`

Automated tests failed against Nx v16.3.2.
These errors need to be addressed, before v16.3.2 can be supported.

Package Change
🐋 nrwl/nx v15.9.2 -> v16.3.2

Release Notes

nrwl/nx v16.3.2

v16.3.2

16.3.2 (2023-06-02)

Bug Fixes

  • angular: do not overwrite ng-packagr version if already installed (#17353) (a285367)
  • angular: dynamic host should not generate webpack.prod.config.js (#17385) (7159a03)
  • core: do not ship source maps with nx packages (#17389) (a9b9cd3)
  • core: reorganize global installation check for better clarity (#17373) (940a8d7)
  • js: do not overwrite supported typescript version (#17350) (80d1018)
  • node: When serving using js:node executor NODE_ENV should not be undefined (#17375) (c24a1c6)
  • storybook: re-enable x-prompt and remove custom handling (#17360) (62fb383)

Compare v16.3.2 with v15.9.2


Configuration

📅 Schedule: Daily at midnight (UTC).

This issue has been generated by the nx-latest workflow. 🖖

Compatibility issues with Nx `vnull`

Automated tests failed against Nx vnull. These errors need to be addressed, beofre vnull can be supported.

Package Change
🐋 nrwl/nx v15.5.0 -> vnull

Release Notes

nrwl/nx vnull

vnull

15.7.2 (2023-02-17)

Bug Fixes

  • angular: bump generated rxjs version (#15054) (9c154c5)
  • angular: handle projects without name in angular cli adapter (#15089) (d430a65)
  • angular: support large buffers in angular cli adapter (#15082) (aa59b4a)
  • core: fix setting of the interactive env var (#15084) (c9c640b)
  • core: nx plugin cache should load new plugins (#15072) (ea5e7f3)
  • core: run migrations with sync host (#15010) (e7d4a5e)
  • core: support decorators in local executor and generator runs (#15025) (6284ec5)
  • js: don't read dependency package.json if it doesn't exist (#15037) (22eb66b)
  • linter: add node_modules to linter ignore patterns (#14980) (fb440ab)
  • misc: isCI should return a boolean (bb1d51b)
  • nx-plugin: local plugin execution should work with ts-node (#15066) (2747380)
  • react: add override to class component render() method (#13743) (d8963ea)
  • react: install @nrwl/webpack when migrating (#15062) (c3eb66f)
  • storybook: dont fail migration if stories array is missing (#15017) (f47a59a)
  • storybook: dont touch config if is already using new schema (#15056) (ff469ad)
  • storybook: make v7 generator ignore uiFramework (#15023) (9f28951)
  • vite: explicitly export type instead of a value from d.ts files (#15029) (4095b95)
  • webpack: add babelUpwardRootMode (#15061) (2fbc152)
  • webpack: restore supporting a configuration array (#14977) (609867c)

Features


Compare vnull with v15.5.0


Configuration

📅 Schedule: Daily at midnight (UTC).

This issue has been generated by the nx-latest workflow. 🖖

Compatibility issues with Nx `v15.7.2`

Automated tests failed against Nx v15.7.2.
These errors need to be addressed, before v15.7.2 can be supported.

Package Change
🐋 nrwl/nx v15.5.0 -> v15.7.2

Release Notes

nrwl/nx v15.7.2

v15.7.2

15.7.2 (2023-02-17)

Bug Fixes

  • angular: bump generated rxjs version (#15054) (9c154c5)
  • angular: handle projects without name in angular cli adapter (#15089) (d430a65)
  • angular: support large buffers in angular cli adapter (#15082) (aa59b4a)
  • core: fix setting of the interactive env var (#15084) (c9c640b)
  • core: nx plugin cache should load new plugins (#15072) (ea5e7f3)
  • core: run migrations with sync host (#15010) (e7d4a5e)
  • core: support decorators in local executor and generator runs (#15025) (6284ec5)
  • js: don't read dependency package.json if it doesn't exist (#15037) (22eb66b)
  • linter: add node_modules to linter ignore patterns (#14980) (fb440ab)
  • misc: isCI should return a boolean (bb1d51b)
  • nx-plugin: local plugin execution should work with ts-node (#15066) (2747380)
  • react: add override to class component render() method (#13743) (d8963ea)
  • react: install @nrwl/webpack when migrating (#15062) (c3eb66f)
  • storybook: dont fail migration if stories array is missing (#15017) (f47a59a)
  • storybook: dont touch config if is already using new schema (#15056) (ff469ad)
  • storybook: make v7 generator ignore uiFramework (#15023) (9f28951)
  • vite: explicitly export type instead of a value from d.ts files (#15029) (4095b95)
  • webpack: add babelUpwardRootMode (#15061) (2fbc152)
  • webpack: restore supporting a configuration array (#14977) (609867c)

Features


Compare v15.7.2 with v15.5.0


Configuration

📅 Schedule: Daily at midnight (UTC).

This issue has been generated by the nx-latest workflow. 🖖

Compatibility issues with Nx `v15.6.0`

Automated tests failed against Nx v15.6.0.
These errors need to be addressed, before v15.6.0 can be supported.

Package Change
🐋 nrwl/nx v0 -> v15.6.0

Release Notes

nrwl/nx v15.6.0

v15.6.0

15.6.0 (2023-01-24)

Bug Fixes

  • angular: correctly error application when standalone is used in Angular < 14.1.0 (#14338) (3041b0a)
  • angular: correctly error scam-to-standalone when used in Angular < 14.1.0 (#14341) (81211bf)
  • angular: fix assets copying in ng-packagr-lite executor (#14355) (3e9f4bf)
  • angular: fix path for import (#14517) (9283858)
  • angular: karma setup should be generated correctly for v14 (#14459) (6330d9e)
  • angular: ngrx attaching to route and non-standalone apis for 14 (#14489) (b076f03)
  • angular: should find the tsconfig at root of project #14379 (#14514) (ce04b80)
  • bundling: fix esbuild watch yields success=false when no error (#14359) (2baa80d)
  • core: cap inferred max workers count at 8 (#14366) (ab8197c)
  • core: fix broken lines and columns import (#14394) (a70eec8)
  • core: fix cache mismatch in target project locator (#14445) (cb122e8)
  • core: fix implicit dependencies conversions from project inputs (#14364) (898db85)
  • core: project locator should use nodes when tsconfig is missing (#14417) (ebb2007)
  • core: rename aux to auxiliary for windows (#14564) (12d9669)
  • core: use require.resolve instead of randomly matching from our … (#14523) (21d65cb)
  • devkit: splitTarget should fall back to old behavior if not passed project graph (#14557) (b804fc0)
  • graph: encode id in project node tooltip (#14530) (d43d6b6)
  • js: fix reading tsconfig.json on TypeScript 4.9 (#14380) (ada727c)
  • linter: wildcard sourceTag should be respected for banned imports (#14418) (2b23963)
  • misc: add missing alt text to files-readme logo (#14446) (5adfc09)
  • misc: fix broken workspace claim link (#14536) (559faa7)
  • misc: loosen chalk version (#14276) (415d1c7)
  • misc: refine the prompts in create-nx-workspace (#14562) (f4c4ec0)
  • nextjs: incorrect path when serving production builds (#14553) (578f5c0)
  • node: add implicit dependency from node e2e project to the app p… (#14463) (bd3c387)
  • node: remove connect framework from node app generator (#14567) (71a7ebd)
  • node: update generated spec file to work better for standalone projects (#14461) (5575ae7)
  • react: add bundler to create-nx-workspace react preset so webpack package is installed (#14546) (c134efe)
  • react: add migration to install @nrwl/webpack if needed by Story… (#14480) (01b4289)
  • react: adding support for async plugins in compose-plugins utility (#14447) (d8bd8ab)
  • react: fix imports in tmpl (#14369) (1c3ebfc)
  • react: install tsconfig-paths-webpack-plugin when converting CRA… (#14442) (91b653e)
  • react: remove unit test runner prompt when generating library (#14457) (99b4918)
  • react: storybook plugin fixes (#14493) (61f7a9a)
  • storybook: better error handling (#14396) (55aba13)
  • storybook: hide storybook 7 flags (#14568) (3a8ec4f)
  • storybook: revert to previous defaults for Storybook CLI options (#14498) (9f0a7f0)
  • testing: do not set vitest root when not in workspaceRoot (#14362) (7857ae0)
  • testing: fixed a typo with the 15.5.0 cypress migration warning (#14384) (f8854d7)
  • testing: update jest snapshots (#14452) (9cc2be6)
  • vite: add configDir to vite config (#14559) (51b1f48)
  • vite: add fix for vitest configuration (#14404) (351b4aa)
  • vite: remove environments generation (#14515) (c2be735)
  • webpack: allow optimization to be turned off via CLI (#14431) (da8b855)
  • webpack: handle new https options in webpack-dev-server (#14520) (da0e3ba)
  • web: remove hard dependencies to @nrwl/vite and @nrwl/webpack (#14408) (e0bd338)

Features


Compare v15.6.0 with v0


Configuration

📅 Schedule: Daily at midnight (UTC).

This issue has been generated by the nx-latest workflow. 🖖

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Warning

These dependencies are deprecated:

Datasource Name Replacement PR?
npm @graphql-mesh/new-openapi Unavailable

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(deps): update actions/cache digest to e12d46a
  • chore(deps): update actions/checkout digest to f43a0e5
  • chore(deps): update actions/setup-node digest to 1a4442c
  • chore(deps): update actions/upload-artifact digest to a8a3f3a
  • chore(deps): update betahuhn/deploy-to-vercel-action digest to 9893d87
  • chore(deps): update jasonetco/create-an-issue digest to 1b14a70
  • chore(deps): update code-hex/first-label-interaction action to v1.0.3
  • chore(deps): update dependency @types/react-is to v17.0.7
  • chore(deps): update dependency eslint-plugin-react-hooks to v4.6.2
  • chore(deps): update dependency prettier to v2.8.8
  • chore(deps): update dependency styled-components to v5.3.11 (styled-components, @types/styled-components)
  • chore(deps): update dependency ts-jest to v28.0.8
  • chore(deps): update dependency ts-node to v10.9.2
  • chore(deps): update dependency watchpack to v2.4.1 (watchpack, @types/watchpack)
  • chore(deps): update jest monorepo to v28.1.3 (babel-jest, jest, jest-environment-jsdom)
  • chore(deps): update actions/first-interaction action to v1.3.0
  • chore(deps): update commitlint monorepo to v17.8.1 (@commitlint/cli, @commitlint/config-angular)
  • chore(deps): update dependency @changesets/changelog-github to v0.5.0
  • chore(deps): update dependency @changesets/cli to v2.27.7
  • chore(deps): update dependency @graphql-codegen/cli to v3.3.1
  • chore(deps): update dependency @graphql-mesh/cli to v0.92.0
  • chore(deps): update dependency @microsoft/eslint-formatter-sarif to v3.1.0
  • chore(deps): update dependency babel-plugin-styled-components to v1.13.3
  • chore(deps): update dependency cypress to v12.17.4
  • chore(deps): update dependency esbuild to ^0.23.0
  • chore(deps): update dependency graphql to v16.9.0
  • chore(deps): update dependency jsonc-eslint-parser to v2.4.0
  • chore(deps): update dependency lint-staged to v13.3.0
  • chore(deps): update dependency tslib to v2.6.3
  • chore(deps): update dependency type-fest to v3.13.1
  • chore(deps): update node.js to v18.20.4 (node, @types/node)
  • chore(deps): update pnpm to v8.15.8
  • fix(deps): update swc monorepo (@swc-node/register, @swc/cli, @swc/core, @swc/helpers, @swc/jest)
  • chore(deps): update actions/cache action to v4
  • chore(deps): update actions/checkout action to v4
  • chore(deps): update actions/github-script action to v7
  • chore(deps): update actions/setup-node action to v4
  • chore(deps): update actions/stale action to v9
  • chore(deps): update commitlint monorepo to v19 (major) (@commitlint/cli, @commitlint/config-angular)
  • chore(deps): update dependency babel-jest to v29
  • chore(deps): update dependency babel-plugin-styled-components to v2
  • chore(deps): update dependency fs-extra to v11 (fs-extra, @types/fs-extra)
  • chore(deps): update dependency get-port to v7
  • chore(deps): update dependency husky to v9
  • chore(deps): update dependency jsdom to v24
  • chore(deps): update dependency lint-staged to v15
  • chore(deps): update dependency styled-components to v6
  • chore(deps): update dependency type-fest to v4
  • chore(deps): update dependency ubuntu to v22
  • chore(deps): update github artifact actions to v4 (major) (actions/download-artifact, actions/upload-artifact)
  • chore(deps): update github/codeql-action action to v3
  • chore(deps): update graphqlcodegenerator monorepo (major) (@graphql-codegen/cli, @graphql-codegen/client-preset)
  • chore(deps): update jasonetco/is-sponsor-label-action action to v2
  • chore(deps): update node.js to v20 (node, @types/node)
  • chore(deps): update pnpm to v9
  • chore(deps): update sonarsource/sonarcloud-github-action action to v2
  • chore(deps): lock file maintenance
  • 🔐 Create all rate-limited PRs at once 🔐

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/actions/nx-affected/action.yml
  • actions/github-script v6@d7906e4ad0b1822421a7e6a35d5ca353c962f410
.github/actions/setup-job/action.yml
  • actions/setup-node v3@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
  • pnpm/action-setup v2
  • actions/cache v3@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
  • actions/cache v3@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
  • actions/cache v3@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
  • actions/cache v3@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
.github/workflows/__build.yml
  • actions/checkout v3@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
  • actions/upload-artifact v3@0b7f8abb1508181956e8e162db84b466c27e18ce
.github/workflows/__changesets.yml
  • actions/checkout v3@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
  • changesets/action v1
  • the-guild-org/changesets-snapshot-action v0.0.1@eeff4d8aecffd035c3d5513d9811f07893737425
.github/workflows/__code-analysis--codeql.yml
  • actions/checkout v3@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
  • github/codeql-action v2@b2c19fb9a2a485599ccf4ed5d65527d94bc57226
  • github/codeql-action v2@b2c19fb9a2a485599ccf4ed5d65527d94bc57226
  • github/codeql-action v2@b2c19fb9a2a485599ccf4ed5d65527d94bc57226
  • github/codeql-action v2@b2c19fb9a2a485599ccf4ed5d65527d94bc57226
.github/workflows/__code-analysis--sonar.yml
  • actions/checkout v3@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
  • notiz-dev/github-action-json-property v0.2.0@a5a9c668b16513c737c3e1f8956772c99c73f6e8
  • sonarsource/sonarcloud-github-action v1.9@db501078e936e4b4c8773d1bb949ba9ddb7b6b6a
.github/workflows/__deploy-vercel.yml
  • actions/checkout v3@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
  • BetaHuhn/deploy-to-vercel-action v1@0f16bc3af7db7d5171bf68bff6f82679de195113
.github/workflows/__deploy.yml
  • actions/checkout v3@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
.github/workflows/__e2e.yml
  • actions/checkout v3@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
  • cypress-io/github-action v5
  • cypress-io/github-action v5
.github/workflows/__generators.yml
  • actions/checkout v3@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
  • actions/cache v3@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
  • actions/download-artifact v3@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
  • actions/cache v3@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
.github/workflows/__lint.yml
  • actions/checkout v3@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
.github/workflows/__test.yml
  • actions/checkout v3@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
.github/workflows/delete-cache.yml
  • snnaplab/delete-branch-cache-action v1
  • snnaplab/delete-branch-cache-action v1
.github/workflows/nx-latest.yml
  • actions/checkout v3@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
  • actions/cache v3@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
  • actions/cache v3@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
  • actions/checkout v3@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
  • JasonEtco/create-an-issue v2@e27dddc79c92bc6e4562f268fffa5ed752639abd
.github/workflows/sponsors-label.yml
  • JasonEtco/is-sponsor-label-action v1@39d88e461a53ecb1b3c0a13673e6252f9976f2f5
.github/workflows/stale.yml
  • actions/stale v8@1160a2240286f5da8ec72b1c0816ce2481aabf84
  • ubuntu 20.04
.github/workflows/welcome.yml
  • actions/first-interaction v1.1.1@1d8459ca65b335265f1285568221e229d45a995e
  • Code-Hex/first-label-interaction v1.0.2@68f71358707a913224afdbf8dc47764807345d4c
  • ubuntu 20.04
npm
package.json
  • @swc-node/register 1.6.2
  • @swc/cli 0.1.62
  • @swc/core 1.3.42
  • @changesets/changelog-github 0.4.8
  • @changesets/cli 2.26.0
  • @commitlint/cli 17.4.4
  • @commitlint/config-angular 17.4.4
  • @graphql-codegen/cli 3.2.2
  • @graphql-codegen/client-preset 2.1.1
  • @graphql-mesh/cache-file 1.0.0
  • @graphql-mesh/cli 0.82.34
  • @graphql-mesh/graphql 1.0.0
  • @graphql-mesh/json-schema 1.0.0
  • @graphql-mesh/mysql 1.0.0
  • @graphql-mesh/neo4j 1.0.0
  • @graphql-mesh/new-openapi 0.8.2
  • @graphql-mesh/odata 1.0.0
  • @graphql-mesh/openapi 1.0.0
  • @graphql-mesh/plugin-mock 1.0.0
  • @graphql-mesh/plugin-snapshot 1.0.0
  • @graphql-mesh/runtime 1.0.0
  • @graphql-mesh/soap 1.0.0
  • @graphql-typed-document-node/core 3.2.0
  • @microsoft/eslint-formatter-sarif 3.0.0
  • @swc/helpers 0.4.14
  • @swc/jest 0.2.20
  • @testing-library/react 13.4.0
  • @types/fs-extra 9.0.13
  • @types/jest 28.1.8
  • @types/node 18.11.9
  • @types/react-dom 18.0.9
  • @types/react-is 17.0.3
  • @types/react 18.0.25
  • @types/styled-components 5.1.26
  • @types/watchpack 2.4.0
  • @typescript-eslint/eslint-plugin 5.56.0
  • @typescript-eslint/parser 5.56.0
  • babel-jest 28.1.1
  • babel-plugin-styled-components 1.10.7
  • cypress ^12.2.0
  • esbuild ^0.17.15
  • eslint-config-next 13.1.1
  • eslint-config-prettier 8.1.0
  • eslint-plugin-cypress 2.12.1
  • eslint-plugin-import 2.26.0
  • eslint-plugin-jsx-a11y 6.6.1
  • eslint-plugin-react-hooks 4.6.0
  • eslint-plugin-react 7.31.11
  • eslint 8.15.0
  • fs-extra 10.1.0
  • get-port 5.1.1
  • graphql 16.6.0
  • husky 8.0.3
  • jest-environment-jsdom 28.1.1
  • jest 28.1.1
  • jsdom ~20.0.3
  • jsonc-eslint-parser 2.2.0
  • lint-staged 13.2.0
  • next 13.1.1
  • prettier 2.8.6
  • react-dom 18.2.0
  • react-is 18.2.0
  • react-test-renderer 18.2.0
  • react 18.2.0
  • regenerator-runtime 0.13.7
  • styled-components 5.3.6
  • ts-jest 28.0.5
  • ts-node 10.9.1
  • tslib 2.5.0
  • type-fest 3.6.1
  • typescript 4.8.4
  • watchpack 2.4.0
  • pnpm >=8
  • node 18.15.0
  • pnpm 8.0.0
packages/nx-mesh/package.json
  • @swc-node/register ^1.6.2
  • @swc/core ^1.3.42
  • @swc/helpers ^0.4.14
  • @graphql-mesh/cli >=0.82.27
  • graphql ^16.6.0

  • Check this box to trigger a request for Renovate to run again on this repository

Add an option for choosing the example Generators use

All generators currently use the 'JavaScript Wiki' example, but there are multiple other examples used in this repo.
It would be great to be able to choose which example is generated.
Ideally there would be an example for each source type to choose from.

Compatibility issues with Nx `v16.3.0`

Automated tests failed against Nx v16.3.0.
These errors need to be addressed, before v16.3.0 can be supported.

Package Change
🐋 nrwl/nx v15.9.2 -> v16.3.0

Release Notes

nrwl/nx v16.3.0

v16.3.0

16.3.0 (2023-05-31)

Bug Fixes

  • core: add @monodon/rust back to the plugins array (#17332) (346c1f7)
  • core: add watcherOptions to server-process.json watcher (c4db74d)
  • core: change "minimal" stack to "none" (5afe34e)
  • core: use windowsHide for hashRuntime (b0e3a1d)
  • js: postProcessInlinedDependencies throwing error on movePackage (#16127) (dfa19f5)
  • misc: do not check against the global version on npm (7154c87)
  • misc: revert the check to investigate the perf (48d1c89)
  • testing: normalize path for react CT spec generator (#17221) (21f642a)
  • webpack: support webworker (#17136) (#17137) (8251906)

Compare v16.3.0 with v15.9.2


Configuration

📅 Schedule: Daily at midnight (UTC).

This issue has been generated by the nx-latest workflow. 🖖

[BUG] (0 , se.createPackageJson) is not a function on "build-gateway" executor

Hi,

I'm trying to use the build-gateway executor. It always generates all the mesh build files successfully but in the end, I'm getting an error like this:

...
💡 🕸️  Mesh Generating artifacts
💡 🕸️  Mesh Generating index file in TypeScript
💡 🕸️  Mesh Writing index.ts for ESM to the disk.
💡 🕸️  Mesh Writing index.ts for CJS to the disk.
💡 🕸️  Mesh Cleanup
💡 🕸️  Mesh Done! => /workspaces/my-project/graph/my-project/.mesh

Creating package.json...

 >  NX   (0 , se.createPackageJson) is not a function


TypeError: (0 , se.createPackageJson) is not a function
    at Qn (/workspaces/my-project/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]_graph_m5iwccy7kfnbcedxjgauqqaxsa/node_modules/nx-mesh/src/executors/build-gateway/build-gateway.js:11:21091)
    at Wi (/workspaces/my-project/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]_graph_m5iwccy7kfnbcedxjgauqqaxsa/node_modules/nx-mesh/src/executors/build-gateway/build-gateway.js:11:22798)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

 ———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————

 >  NX   Running target build for project my-project failed

   Failed tasks:
   
   - my-project:build

And this is my build config in the project.json file:

"build": {
      "executor": "nx-mesh:build-gateway",
      "options": {
        "dir": "graph/my-project",
        "outputPath": "dist/graph/my-project"
      }
    },

It seems it's related to this part:

await createPackageJson(
{
dir: options.dir,
outputPath: options.outputPath,
},
context
);

SDK builds keep failing CI

The following error message keeps appearing in CI:

> NX   ENOENT: no such file or directory, open '/home/runner/work/nx-plugin-graphql-mesh/nx-plugin-graphql-mesh/libs/sdk/weatherbit/.mesh/index.ts'

It is only affecting SDK libraries using build or build-swc targets. So far I've been unable to replicate the same issue locally.

Compatibility issues with Nx `v16.0.1`

Automated tests failed against Nx v16.0.1.
These errors need to be addressed, before v16.0.1 can be supported.

Package Change
🐋 nrwl/nx v15.9.2 -> v16.0.1

Release Notes

nrwl/nx v16.0.1

v16.0.1

16.0.1 (2023-04-28)

Bug Fixes

  • angular: do not run migration generator bumping angular cli version when update is skipped (#16643) (6e745f8)
  • core: empty exclude pattern should not result in error (#16645) (2695e97)
  • core: ensure stale dependencies are pruned in graph (#16533) (f138a34)
  • core: fix nx migrate to the same version (#16626) (08ecd81)
  • core: include more binary extensions (#16639) (deee934)
  • core: nx report should not display duplicate packages (#16647) (e09c055)
  • core: prefer NX_TASKS_RUNNER over NX_RUNNER (#16618) (58d089c)
  • core: preserve deps in package.json for nx init react (#16528) (d384415)
  • js: do not depend on nx for typescript utils (#16642) (feef647)
  • nextjs: show a warning when user uses emotion with appDir layout (#16636) (a7c4009)
  • node: default webpack build to not perform default optimizations for Node (#16625) (b3d07a8)
  • react-native: fix react native npm preset (#16624) (828f77a)
  • react: Fix .module css being generated when --globalCss is passed (#16648) (99b69b8)
  • repo: fix broken npm-audit after pnpm migration (#16631) (d8f9af8)
  • testing: ensure e2e cypress can use 4200 port in the test (#16646) (2fc5d33)
  • testing: fix react CT w/ vite and dependant projects (#16475) (4554f65)

Features

  • bundling: add esbuild migration to correctly set thirdParty option (#16640) (341c916)
  • nx-dev: change code-fences and code-output styles (#16649) (f559e67)
  • vite: throw an error if vite config is not found at provided path (#16600) (94300fe)

Compare v16.0.1 with v15.9.2


Configuration

📅 Schedule: Daily at midnight (UTC).

This issue has been generated by the nx-latest workflow. 🖖

Compatibility issues with Nx `v16.3.1`

Automated tests failed against Nx v16.3.1.
These errors need to be addressed, before v16.3.1 can be supported.

Package Change
🐋 nrwl/nx v15.9.2 -> v16.3.1

Release Notes

nrwl/nx v16.3.1

v16.3.1

16.3.1 (2023-06-01)

Bug Fixes

  • core: export a function to create a projectFileMap from project graph (9047db4)
  • node: extend @nx/node:webpack migration to all targets (#17337) (51ff862)

Compare v16.3.1 with v15.9.2


Configuration

📅 Schedule: Daily at midnight (UTC).

This issue has been generated by the nx-latest workflow. 🖖

Add publish workflow

A publish workflow should consist of:

  • Automated workflow to build and publish packages to registries
  • Publish the package to GitHub Packages
  • Publish the package to NPM
  • Be linked to a tagged release

Compatibility issues with Nx `v16.1.0`

Automated tests failed against Nx v16.1.0.
These errors need to be addressed, before v16.1.0 can be supported.

Package Change
🐋 nrwl/nx v15.9.2 -> v16.1.0

Release Notes

nrwl/nx v16.1.0

v16.1.0

16.1.0 (2023-05-04)

Bug Fixes

  • angular: add jasmine-marbles with a version compatible with installed rxjs version in migration (#16717) (9c36989)
  • angular: clean up ssr main.server.ts generation (#16699) (4be6f74)
  • angular: do not run migration generator bumping angular cli version when update is skipped (#16643) (6e745f8)
  • angular: do not wrap bootstrap call when setting up ssr in workspaces with angular >= 15.2.0 (#16714) (ae89df9)
  • bundling: handle projects without targets in esbuild thirdParty migration (#16712) (1e7aa39)
  • core: add support for .mts and .mjs files when creating pro… (#16679) (13aaa20)
  • core: cmd window flickers on save when on windows (#16671) (e7229d1)
  • core: empty exclude pattern should not result in error (#16645) (ebd6d2f)
  • core: ensure stale dependencies are pruned in graph (#16533) (f138a34)
  • core: fix nx migrate to the same version (#16626) (08ecd81)
  • core: have child process exit properly in case of error (85ddd8b)
  • core: improve touched projects locator performance (#16682) (96fca45)
  • core: include more binary extensions (#16639) (deee934)
  • core: nx report should not display duplicate packages (#16647) (7287ab5)
  • core: only modify angular.json on read when @nx/angular is present (#16693) (32cbab7)
  • core: prefer NX_TASKS_RUNNER over NX_RUNNER (#16618) (22c0047)
  • core: preserve deps in package.json for nx init react (#16528) (341f764)
  • core: task runner parallel should read from taskRunnerOptions (#16707) (d084e67)
  • devkit: ensurePackage should obey npmrc and yarnrc.yml (#16652) (2381dd3)
  • devkit: formatFiles should work when writing initial prettierrc in generator (#16711) (7b56a8c)
  • devkit: use the old package dependency version for new package (#16709) (fa55ca4)
  • expo: expo generator on windows (#16703) (e291c9c)
  • js: do not depend on nx for typescript utils (#16642) (feef647)
  • misc: publish legacy readmes (#16678) (9de97d0)
  • misc: show proper messaging when generating a workspace generator (#16683) (4e97ee9)
  • nextjs: show a warning when user uses emotion with appDir layout (#16636) (a7c4009)
  • node: default webpack build to not perform default optimizations for Node (#16625) (b3d07a8)
  • node: ensure that bundlers for node is webpack/esbuild (#16702) (8dec11e)
  • react-native: fix react native npm preset (#16624) (828f77a)
  • react: Fix .module css being generated when --globalCss is passed (#16648) (36c162c)
  • react: fix external npm packages for rollup (#16713) (68c262d)
  • repo: fix broken npm-audit after pnpm migration (#16631) (d8f9af8)
  • repo: local registry is not available during issue-notifier script (#16669) (db1b5dd)
  • testing: add --quiet cypress executor option (#16680) (179930f)
  • testing: ensure e2e cypress can use 4200 port in the test (#16646) (23cc160)
  • testing: fix react CT w/ vite and dependant projects (#16475) (ebcc436)
  • angular: generate applications with zone.js 0.13.0 (#16747) (5b99313)
  • angular: throw error when no parent module found (#16728) (c2e88ad)
  • core: convert extension to lowercase before comparing extension (#16727) (a8783c6)
  • core: use legacy peer deps during migrate process (#16745) (9bdf22f)
  • js: default to analyzing source code and package.json (#16737) (3788723)
  • misc: sort plugin names when displaying them (#16702) (#16734) (2d6ea2b)
  • misc: use generated directory path as cwd rather than attempting to rederive it (#16740) (a8aeca4)
  • angular: ssr distFolder path should be more correctly defined (#16758) (8484a8e)
  • angular: sync migration generators for angular v16 target versions (#16773) (c13cb3c)
  • angular: update component module error message to suggest standalone (#16754) (b526e1d)
  • angular: update ngrx parent description to give better info about standalone api usage (#16755) (0a81c64)
  • core: ensure safe removal of folders on daemon reset (#16766) (b7b04a7)
  • misc: restore using legacy-peer-deps for npm installs (#16767) (137b743)
  • nest: fix invalid nestjs versions (#16771) (80464ac)
  • nextjs: with stylus and less support (#16764) (66addbf)
  • repo: fix windows nightly runs (#16765) (68ae304)
  • storybook: ignore nx storybook plugin from sb eslint (#16725) (83ed247)
  • testing: do not error when no vite config is found (#16746) (f8fe2a1)

Features

  • angular: support angular v16 (#15592) (f45aa07)
  • bundling: add esbuild migration to correctly set thirdParty option (#16640) (341c916)
  • core: support matching projects specifiers in dependsOn (#16675) (ef63dcb)
  • core: support specific project dependency in dependsOn with string syntax (#16674) (e164d50)
  • expo: upgrade expo to 48.0.15 (#16701) (30a7907)
  • misc: list should link to nx.dev/community for more plugins (#16673) (a425f5b)
  • nx-dev: change code-fences and code-output styles (#16649) (0739bbb)
  • testing: update cypress to support angular 16 (#16611) (38be288)
  • vite: throw an error if vite config is not found at provided path (#16600) (94300fe)
  • angular: update angular 16 packages to stable versions (#16732) (203a874)
  • react-native: upgrade @storybook/react-native to 6.5 (#16670) (58e23b1)
  • core: bump version of @nrwl/ci workflow (#16724) (2163d72)
  • core: remove tasks-runner-v2 from @nx/workspace (#16751) (112a77c)
  • linter: support custom build targets for buildability check (#16743) (e328bfa)
  • storybook: deprecate v6 support (#16650) (17e6db5)

Compare v16.1.0 with v15.9.2


Configuration

📅 Schedule: Daily at midnight (UTC).

This issue has been generated by the nx-latest workflow. 🖖

Use first available port

Allow the serve, dev & start targets to use the first available port.

There could be 2 settings:

  1. Default to Auto (MVP)
  2. Define port, fallback to auto.

Use get-port behind the scenes.

Add `serve` executor

serve is commonly used in Nx as a combination of dev & start.
The serve executor in this instance should do the same. It could be toggled using a dev option.

For example

{
  "serve": {
    "executor": "@domjtalbot/nx-plugin-graphql-mesh:serve",
    "outputs": ["example/.mesh", "{options.outputPath}"],
    "options": {
      "dir": "apps/api-gateway/trippin",
      "outputPath": "dist/apps/api-gateway/trippin",
      "dev": true,
    },
    "configurations": {
      "production": {
        "dev": false
      }
    }
  },
}

There may need to be a serve-gateway executor in addition to serve.

Compatibility issues with Nx `v15.9.1`

Automated tests failed against Nx v15.9.1.
These errors need to be addressed, before v15.9.1 can be supported.

Package Change
🐋 nrwl/nx v15.8.9 -> v15.9.1

Release Notes

nrwl/nx v15.9.1

v15.9.1

15.9.1 (2023-03-30)

Bug Fixes

  • misc: create-nx-workspace errors should display properly (#15988) (5d51ed9)
  • web: add migration for dropped dependencies (#15991) (9723859)

Compare v15.9.1 with v15.8.9


Configuration

📅 Schedule: Daily at midnight (UTC).

This issue has been generated by the nx-latest workflow. 🖖

Compatibility issues with Nx `v15.9.2`

Automated tests failed against Nx v15.9.2.
These errors need to be addressed, before v15.9.2 can be supported.

Package Change
🐋 nrwl/nx v15.8.9 -> v15.9.2

Release Notes

nrwl/nx v15.9.2

v15.9.2

15.9.2 (2023-03-31)

Bug Fixes

  • angular: generate ngrx code using rxjs operators from rxjs/operators when workspace has rxjs <7.2.0 (#15977) (77f2d0a)
  • angular: use @nrwl/web:file-server in serve-static targets (#16009) (ad37d77)
  • bundling: pass tsConfig from project when --bundle=false so the correct file is applied (#16006) (47c671c)
  • core: fix handling of legacy angular versions in nx init (#16000) (6eca9b6)
  • detox: typo at buildTarget (#15787) (ba93808)
  • misc: filter shared libraries by import name in module federation helpers (#15980) (5c33797)
  • misc: skip formatting files in nested generator calls (#15961) (4eb7cc7)
  • nextjs: adding "none" style option to next component generator (#15990) (5211382)
  • react-native: fix pnpm module resolver (#15956) (a404595)
  • repo: increase timeouts until we improve tests (#16007) (26ad1f6)

Compare v15.9.2 with v15.8.9


Configuration

📅 Schedule: Daily at midnight (UTC).

This issue has been generated by the nx-latest workflow. 🖖

Add support for `mesh dev`

yarn graphql-mesh dev --help
bin.js dev

Serves a GraphQL server with GraphQL interface by building artifacts on the fly

Options:
      --version  Show version number                                   [boolean]
      --help     Show help                                             [boolean]
  -r, --require  Loads specific require.extensions before running the codegen
                 and reading the configuration             [array] [default: []]
      --dir      Modified the base directory to use for looking for mesh config
                 file
                                [string] [default: "***/nx-plugin-graphql-mesh"]
      --port                                                            [number]

Nx `v15.7.2` failed tests

Automated tests failed against Nx v15.7.2.

Package Change
nx-cli/nx v15.5.0 -> v15.7.2

Release Notes

nrwl/nx v15.7.2

v15.7.2

15.7.2 (2023-02-17)

Bug Fixes

  • angular: bump generated rxjs version (#15054) (9c154c5)
  • angular: handle projects without name in angular cli adapter (#15089) (d430a65)
  • angular: support large buffers in angular cli adapter (#15082) (aa59b4a)
  • core: fix setting of the interactive env var (#15084) (c9c640b)
  • core: nx plugin cache should load new plugins (#15072) (ea5e7f3)
  • core: run migrations with sync host (#15010) (e7d4a5e)
  • core: support decorators in local executor and generator runs (#15025) (6284ec5)
  • js: don't read dependency package.json if it doesn't exist (#15037) (22eb66b)
  • linter: add node_modules to linter ignore patterns (#14980) (fb440ab)
  • misc: isCI should return a boolean (bb1d51b)
  • nx-plugin: local plugin execution should work with ts-node (#15066) (2747380)
  • react: add override to class component render() method (#13743) (d8963ea)
  • react: install @nrwl/webpack when migrating (#15062) (c3eb66f)
  • storybook: dont fail migration if stories array is missing (#15017) (f47a59a)
  • storybook: dont touch config if is already using new schema (#15056) (ff469ad)
  • storybook: make v7 generator ignore uiFramework (#15023) (9f28951)
  • vite: explicitly export type instead of a value from d.ts files (#15029) (4095b95)
  • webpack: add babelUpwardRootMode (#15061) (2fbc152)
  • webpack: restore supporting a configuration array (#14977) (609867c)

Features


Compare v15.7.2 with v15.5.0


Configuration

📅 Schedule: Daily at midnight UTC.

This issue has been generated by the nx-latest workflow. 🖖

Compatibility issues with Nx `v16.1.1`

Automated tests failed against Nx v16.1.1.
These errors need to be addressed, before v16.1.1 can be supported.

Package Change
🐋 nrwl/nx v15.9.2 -> v16.1.1

Release Notes

nrwl/nx v16.1.1

v16.1.1

16.1.1 (2023-05-05)

Bug Fixes

  • core: handle schema property with const value (#16797) (e7e78c5)
  • core: match all occurences when substituting tokens in targetDef… (#16783) (f0a1c33)
  • core: obey nx.json package manager property (#16777) (7eec0d7)
  • core: register task timings correctly in task profiling life cycle (#16801) (1d8be1c)
  • devkit: ensure ignore has been initialized in visitNotIgnoredFiles (#16820) (a0fb8df)
  • devkit: fix issue replacing package dependencies in malformed pa… (#16823) (b93d46d)
  • misc: ignore more binary formats during migration (#16784) (c15c4dd)
  • misc: make Nx 16 migration safer when treee throws an exception (#16782) (197105a)
  • misc: update URL to point to live page for plugin registry (#16817) (4942eb4)
  • nextjs: add workspace dependencies to transpilePackages automatically (#16774) (8d35eda)
  • nextjs: enable Next.js 13.4 support (#16819) (8beb4e4)
  • react: add app directory in the default tailwind.config.js (#16656) (402ccbf)
  • repo: fix nightly registry failing on windows (#16804) (747050e)

Features

  • node: allow executing esm compiled scripts (#10414) (1c791db)
  • react: support allowJs customization in the rollup executor (#16789) (575c6a1)
  • repo: add CI check for valid codeowners patterns (#16729) (84dd418)
  • repo: enable daemon for nightly tests (#16808) (c55630b)

Reverts

  • Revert "chore(misc): publish 16.1.1-beta.0" (127e8d4)

Compare v16.1.1 with v15.9.2


Configuration

📅 Schedule: Daily at midnight (UTC).

This issue has been generated by the nx-latest workflow. 🖖

have some issue with dependsOn for executor

I have many subgraphs in my mono-repo with a single supergraph based on GraphQL-Mesh. In the project.json for my supergroup, I have an executor like this:

"dev": {
      "executor": "nx-mesh:dev",
      "dependsOn": ["^start"],
      "options": {
        "dir": "supergraph/my-supergraph"
      }
    },

And I also have a setting like this:
"implicitDependencies": ["subgraph*"],

when I try to run the dev command with pnpm nx dev it correctly detects the dependencies and runs all of them but it didn't run the dev command itself. Is it a bug or did I miss anything in the settings or setup?

Compatibility issues with Nx `v16.0.0`

Automated tests failed against Nx v16.0.0.
These errors need to be addressed, before v16.0.0 can be supported.

Package Change
🐋 nrwl/nx v15.9.2 -> v16.0.0

Release Notes

nrwl/nx v16.0.0

v16.0.0

16.0.0 (2023-04-27)

Bug Fixes

  • angular: fix migrations cli type and use @angular-devkit/build-angular to determine ng devkit version (#16157) (e9f97f8)
  • angular: fix path and selector handling in directive generator (#16017) (9b60863)
  • angular: fix path handling and validate standalone option in pipe generator (#16080) (74633f5)
  • angular: host and remote app generation with directory (#16113) (44c5471)
  • angular: validate standalone option in the directive generator (#16051) (bf9542a)
  • bundling: add missing @babel/core dependency to @nrwl/webpack (#16023) (bfea455)
  • core: anyOf should validate if at least 1 condition passes (#14769) (c3ba5ab)
  • core: deleted projects should not be in cached graph (#16210) (1df2d68)
  • core: don't error if lock file not present when precomputing js dependencies (#16094) (18c016b)
  • core: don't show global version warning when Nx is invoked by itself (#16102) (2887596)
  • core: ensurePackage fails on pnpm workspaces (#16002) (b3a3f2a)
  • core: fix "migrate-to-inputs" migration (#16145) (aaa1113)
  • core: fix broken command-line unit test (#16152) (00ed85d)
  • core: fix NX_PERF_LOGGING toggles (#16054) (45a1a6e)
  • core: fix parallel cli argument not default to 3 when not specified (#13837) (f14aac6)
  • core: only use native hasher if available (#16197) (7625956)
  • core: respect analyzePackageJson for processProjectGraph (#16220) (afb37c8)
  • core: should not throw 'unable to resolve nx/package.json' (#16072) (8092df3)
  • core: split nightly e2e target (#16176) (6889f93)
  • core: support yarn berry patches in pruned lock file (#15993) (30f993e)
  • core: update links shown after create-nx-workspace (4d01b61)
  • devkit: tree.children should support writes to directories that have the same name as their parent (#16074) (63e67bf)
  • esbuild: don't set outfile or outdir if already defined (#14636) (3636756)
  • js: remove thirdParty default so that package.json will be generated by default (#16015) (c02ec9f)
  • linter: support ESM js imports in ast utils (#16049) (89d0b8b)
  • misc: allow npmScope to be single @ (#16053) (c0d95a7)
  • misc: create-nx-workspace should show some stdout if stderr empty on error (#16020) (778400b)
  • misc: fix docs for nx watch --includeDependentProjects (#16026) (775f651)
  • misc: shared deps that rely on default configuration are filtered out (#16193) (432e074)
  • node: update ts-jest config for jest 29 (#16201) (3f4d010)
  • nx-dev: adjust tab cmp spacing (#16027) (059447b)
  • react-native: add aliasFields to handle replaced files in browser env (#16106) (7a4adf5)
  • repo: add CODEOWNERS to prettier ignore list (#16224) (0024706)
  • repo: cache nightly node_modules per run to avoid stale graph (#16216) (98501aa)
  • repo: enable mac tests on nightly and fix CI (#16150) (e81bdd4)
  • repo: fix codeowners (#16218) (7c5c36d)
  • repo: use lerna command in e2e with yarn --silent (#16155) (cb5a7d8)
  • storybook: v7 gen docs and install react deps (#16057) (c91c365)
  • testing: correctly error with jest.mock for invalid filepaths (#15445) (083f4f1)
  • testing: allow removing projects in standalone apps (#16093) (5afb5fc)
  • testing: merge reporter/coverage values from vite config (#16165) (9ba8444)
  • testing: prevent loop w/ Cypress watch & Vite processor (#16099) (8b4e5f6)
  • angular: consider app-routing.module.ts when setting up module federation host routes (#16285) (3e45445)
  • core: correctly pass resolved compilerOptions to ts-node (#16240) (98b4aa6)
  • core: migrate should read both generators and schematics (#16294) (bd63cbf)
  • core: run-many doesn't strip quotes surrounding target names (#16211) (5da650a)
  • core: update @monodon/rust (#16334) (f0cbb84)
  • js: report createGlobPatternsForDependencies errors on tailwind (#16266) (e6f6fc1)
  • nextjs: clean up favicon & remove unnecessary property (#16233) (63d0230)
  • nextjs: Let Next.js handler serve public/ folder (#16318) (d54f848)
  • storybook: add correct v7 packages when generating storybook configuration (#16272) (5628969)
  • testing: support custom workspaceRoot for angular CT (#15485) (26fbd1d)
  • testing: use jest v29 deps in @nrwl/jest (#16256) (b15db06)
  • core: fix failing unit test (#16357) (0d561ef)
  • core: replace @nrwl with @nx in nx core packages (#16344) (4ee1ba5)
  • core: use the module name as the name of the nx plugin (#16335) (fa40367)
  • federation: dont default to esm (#16011) (81f5603)
  • nx-dev: add redirects for new tutorials (#16355) (739e1ab)
  • angular: add component import path correctly to NgModule when flat=false (#16364) (0ce1f37)
  • angular: fix resolve builder in ngcli adapter (#16375) (52acf07)
  • angular: schematics warning should only occur when run as schematic (#16396) (4446bf7)
  • angular: throw error when generating component with multiple candidate modules (#16332) (48b356d)
  • core: do not attempt to remove non-existent package from package.json (#16399) (1b7587f)
  • core: fix preset unit tests (#16384) (c6310e6)
  • js: update swc options so path mappings can work in all environments (#16390) (ab609a2)
  • react: install rollup package when generating lib (#16373) (a4ef959)
  • storybook: check storybook is installed and not on v7 already (#16402) (2e97962)
  • storybook: do not override existing v7 on init (#16405) (157b35b)
  • storybook: handle @nrwl packages in storybook installed check (#16380) (3d3cc74)
  • core: fix devkit compatibility (#16413) (1ff450b)
  • core: hide duplicate log entry when displaying generator help (#16353) (b3ca503)
  • linter: don't confuse buildable libs for secondary ng entry point (#16367) (c8960b7)
  • misc: mark workspace-lint as deprecated in yargs config (#16385) (9fa6d41)
  • react-native: remove listDevices default value for run-android (#16410) (9c9abaa)
  • storybook: dont use swc addon on sb7 and format (#16408) (c963393)
  • testing: nullcheck polyfills in ng component testing (#16411) (1ad7e3d)
  • core: do not expect each package to have hoisted version in lockfile (#16393) (a51ac58)
  • core: enforce fixed versions only for apps with createPackageJson (#16398) (4a4fc19)
  • misc: handle packages rescope in nx init flows (#16404) (752a923)
  • misc: pass e2eTestRunner to child preset generator (#16414) (a798576)
  • nextjs: make lint generator rootProject aware (#16436) (86b674f)
  • nextjs: styled-jsx and styled-components should have "use client directive" (#16440) (5e0893a)
  • react-native: log errors for pod install (#16386) (16e115f)
  • storybook: only check existence of storybook before migrating (#16431) (e447f2c)
  • angular: build plugin runtime code with ts module option set to esnext (#16448) (258cda3)
  • core: fix cache recalculation (#16468) (a10b6b1)
  • core: fix nx package group to have correct legacy eslint-plugin (#16470) (dbce22a)
  • core: hide message when migrating to a new major and already connected to cloud (#16466) (505b5dc)
  • core: optional dependencies should be tracked by project graph (#16383) (61451a1)
  • core: whitelist registries that support obtaining migration config via 'npm view' (#16423) (a7c14fc)
  • devkit: writing a file inside a deleted directory should undelete it (6e9d4ec)
  • linter: fix legacy linter migrations (#16462) (88b9687)
  • misc: cleanup migration to workspace-plugin (be768ca)
  • misc: set default e2e test runner when creating angular and next workspaces (#16464) (a421fce)
  • nextjs: add e2e test case for standalone nextjs (#16447) (425124f)
  • nextjs: Add exclude to root projects e2e tsconfig so that tests will be picked up. (#16459) (a908ef5)
  • nextjs: output path for standalone apps (#16465) (f43ac5b)
  • nextjs: remove the need to install @nx/next for production builds (#16469) (564ffae)
  • nextjs: support workspace libs with standalone Next.js app (#16471) (bb11fe3)
  • nx-plugin: correct importPath and import updates for migration to local plugins (#16437) (b44dbf9)
  • nx-plugin: don't add tslib if compiling with swc (#16418) (c337998)
  • nx-plugin: generated root plugin should not have wonky paths (#16445) (219ad67)
  • react: swapped fragments with
    so avoid lint warnings for default (#16449) (db6e14e)
  • react: use babel-loader when using styled-jsx with rspack (#16443) (0a6d376)
  • bundling: export collections from @nx/vite (#16514) (9aa355f)
  • core: do not replace @nrwl mentions in CHANGELOG.md (#16512) (5272e5a)
  • core: use located tsconfig name for tsconfig-paths when registering local plugin transpiler (#16476) (0e68441)
  • js: throw better error messaging when a dependency is not in the graph (#16510) (db32400)
  • linter: replace eslint ignore comments during @nrwl -> @nx migra… (#16521) (aeb5950)
  • misc: create-nx-workspace should display short error messages (#16474) (ddf613c)
  • misc: create-nx-workspace should work with custom presets on windows (#16473) (04a0c77)
  • misc: safely iterate over package.json scripts in nx init command (#16508) (dffb3d3)
  • nextjs: do not generate test for appDir page.tsx (#16509) (808b4d1)
  • nextjs: Nightly failures since yarn eagerly reads imports (#16522) (4dea8b7)
  • nextjs: use require("next") since exports.default is no longer provided (#16497) (786323d)
  • repo: fix mismatched package manager e2e utils (#16502) (8519fbc)
  • angular: remote static serve target should not watch for changes (#16542) (4e0df09)
  • core: do not replace @nrwl mentions in excluded files anywhere i… (#16555) (8329395)
  • core: do not replace legacy package mentions in binary files (#16547) (cba3c48)
  • core: handle symbol in migration path and infer angular material and cdk migration type correctly (#16538) (85366d5)
  • devkit: add .pxd and .pxz to binary extensions (#16556) (c0e5dd9)
  • devkit: don't visit files that are ignored by nxignore (#16544) (f0295fa)
  • devkit: handle moving a file back to the spot it was already on disk (#16554) (7acc5da)
  • js: ensure publishable libraries are not marked as private (#16549) (b374bd3)
  • js: fix minimal publish script devkit import (#16559) (555cacd)
  • linter: ensure target project locator is using stale graph in IDE (#16534) (d47df3d)
  • misc: don't generate workspace-generators directory (#16525) (c688df6)
  • nextjs: ignore components in appDir when generating cy files (#16520) (87ac061)
  • node: use consistent default port (#16491) (3d5b849)
  • nx-plugin: cleanup some paths that are strange when root project (#16548) (b409095)
  • nx-plugin: generate example file with .template extension (#16543) (5b0527b)
  • nx-plugin: make cli schema json migration safer (#16558) (b3b61f5)
  • react-native: fix @nrwl/react-native and @nrwl/expo dep conficts (#16524) (7e64afc)
  • repo: fix publish script's use of pnpm part 2 (#16568) (240a27b)
  • repo: fix publish scripts use of pnpm (#16566) (d22b037)
  • webpack: web app in default nx config not working with @aws-sdk (#15962) (440a85c)
  • angular: fix the imports of @angular-devkit/architect/node for n… (#16595) (eb425b6)
  • core: deprecate mf utils from devkit public api (#16574) (f34fec3)
  • core: fix missing top-level dependencies (#14832) (369ee09)
  • core: improve docker detection with cgroup (#16589) (7263b48)
  • core: use nx@next when migrating to next (#16557) (0add1a1)
  • misc: add a migration to update or remove references to @nrwl/web/babel (#16581) (38c3221)
  • nextjs: Add debug ability when verbose is passed to build (#16545) (d24862d)
  • node: Propagate --bundler when passed via CNW (#16580) (d5062e7)
  • nx-dev: toc width (#16592) (ae48f04)
  • nx-plugin: remove createPackageName prompt for nx plugin (#16585) (e4aad48)
  • nx-plugin: runNxCommand should default to using tmpProjPath as the cwd (#16562) (0193967)
  • vite: build executor should not overwrite package.json in dist (#16586) (2d78de5)
  • core: do not strip additional angular.json properties (#16615) (b1e3545)
  • core: handle nested gitignores in the filewatcher (9753acb)
  • linter: do not replace legacy package in binary files (#16617) (9ed96a1)
  • react: skip DefinePlugin for SSR (#16612) (9d71c71)
  • repo: replace remaining instances of yarn with pnpm (#16571) (f004e22)
  • repo: run nightly e2e with pnpm (#16602) (0947eb4)

Features

  • angular: export some utils as public api #15669 (#16056) (e71d015)
  • bundling: add support for esbuild.config.js file (#16092) (807884c)
  • core: add support for pnpm v8 (#15925) (443d45d)
  • core: add support for tags with (print-)affected(:*) and run-many (#10085) (454344b)
  • core: allow dependsOn to accept a single project dependency (#16100) (f2f6e35)
  • core: allow local execution transpiler overriding with env var (#16037) (6e86866)
  • core: allow referencing other packages to specify implementations for executors + generators (#15987) (39646cf)
  • core: deprecate implicitDependency in nx.json (#16084) (f34564c)
  • core: error when a project graph plugin fails (#16095) (ad6ec99)
  • core: remove @nrwl/cli (#16129) (601a64d)
  • misc: bump tsquery dependency version (#16050) (675a5a9)
  • nextjs: add support for experimental appDir (#16132) (18e965d)
  • node: Added E2E project generation option to NestJs app generator (#14805) (3af649d)
  • nx-dev: add markdoc title card component (#16098) (ee1f7c1)
  • nx-dev: add table of content for documents (#15910) (d9c55aa)
  • nx-dev: display toc for smaller viewport sizes (#16061) (b9c901b)
  • nx-plugin: reuse utilities from create-nx-workspace for create-nx-plugin (#15743) (6e7234c)
  • repo: add brew cache to preinstall step on nightly (#16048) (db0fd2f)
  • repo: add recently closed count to issues tracker (#16018) (6ba60a0)
  • repo: report time of runs (#16115) (e58a059)
  • storybook: make v7 default (#16159) (f36d65c)
  • testing: remove deperecated @nrwl/cypress/plugins/preprocessor (#16170) (99fafa5)
  • angular: remove deprecated simpleModuleName option from library generator (#16219) (c8a2f50)
  • core: add hasher implementation info in nx report (#16261) (cfaf649)
  • core: remove @nrwl/workspace:lib (#16122) (cafb49a)
  • core: remove @nrwl/workspace:run-commands and @nrwl/workspace:r… (#16298) (95f2f80)
  • core: remove support for targetDependencies (#16101) (5080f2f)
  • core: remove usage of --legacy-peer-deps (#16271) (afcf7ba)
  • core: support both @nrwl/nx-cloud and nx-cloud (1fb9edc)
  • core: switch packages to use the @nx scope (#16069) (2d19500)
  • linter: update @typescript-eslint/* to 5.58.0 (#16250) (cdc0906)
  • misc: add --integrated option to nx init command (#16148) (4b32716)
  • nextjs: add composePlugins util when using multiple plugins (#16296) (7322751)
  • nextjs: remove "--server=..." app generator option (#16312) (c3c77d5)
  • nextjs: update to Next.js 13.3.0 (#16130) (0578116)
  • nx-plugin: remove cli property from generators and executors schema.json file (#16259) (de520d0)
  • react: deprecate styl from react and next for 17 (#16135) (3eede1c)
  • react: remove standaloneConfig since it does nothing (#16313) (8b48ba9)
  • repo: update storybook to v7 (#16174) (c4d9a5b)
  • core: add presetVersion flag for the create-nx-workspace (#16303) (dc98485)
  • misc: make createWorkspace quieter by default (#16202) (6428294)
  • misc: update @swc/helpers version to match @swc/core (#16343) (df81c0d)
  • nextjs: add migration for Next.js 13.3.0 (#16370) (ced3ab9)
  • storybook: added sb7 generator to migrations (#16369) (a7bc1c6)
  • angular: replace usages of @nrwl with @nx (#16377) (da158bc)
  • core: extract js related code from affected and hasher (#16244) (2dd59c3)
  • js: update @swc/core and @swc/helpers packages (#16372) (fda18e0)
  • nest: Add strict option (#16371) (ce4a76a)
  • node: replace usages of @nrwl with @nx (#16379) (ad805cb)
  • nx-plugin: slim down default generated nx-plugin (#16168) (00f424a)
  • react: add @nx/web as a dependency since it is needed by cypress/etc. (#16407) (1780aac)
  • repo: replace usages of @nrwl/ with @nx/ in tooling packages (#16351) (5a0a4e8)
  • web: replace usages of @nrwl with @nx (#16376) (76dfc62)
  • core: add migration to update workspace generators to a local plugin (#12700) (1743ff1)
  • misc: expose nx init command flags (#16287) (6677a9c)
  • react: add rspack experimental support (#16252) (f04f316)
  • testing: bump ts-jest to 29.1.0 to support typescript 5.x (#16401) (5d7ad34)
  • testing: export cypressE2EConfigurationGenerator (#16394) (a8e85da)
  • bundling: remove esbuild 0.16.0 support (#16435) (bef152d)
  • core: remove deprecated affected commands (#16349) (fc07794)
  • core: update create-nx-plugin to generate cli library (#15994) (8400484)
  • devkit: bump support range to be 15 <= x <= 17 (#16421) (16e4061)
  • js: update the lib version in base tsconfig to es2020 (#16429) (9f4d02d)
  • linter: add internal rules to prevent deep nx imports (#16430) (bc0bbb0)
  • linter: rename @nx/eslint-plugin-nx to @nx/eslint-plugin (#16420) (739b4c2)
  • nextjs: Add standalone Nextjs option to react selection when running CNW (#16317) (338dc64)
  • nx-plugin: rename @nx/nx-plugin to @nx/plugin (#16422) (fb54f67)
  • react: remove empty
    from generated app (#16439) (9163960)
  • angular: add migration to remove karma generator defaults (#16400) (14d9a8b)
  • angular: add migration to remove protractor generator defaults (#16409) (ec3c642)
  • next: support nextjs cypress component testing (#16292) (06a885a)
  • nx-plugin: slim down generated code when creating a new generator (#16444) (35bda81)
  • web: remove deprecated executors (#16416) (8de17ab)
  • core: add a monkey-patch for require to use @nx packages instea… (#16511) (26ad8eb)
  • core: support directory patterns for --projects (#16288) (6c613ce)
  • react-native: upgrade react-native to 0.71.7 (#16504) (cc0d912)
  • repo: ignore macos timings for nightly duration report (#16454) (4d5cc73)
  • repo: update storybook to v7 (#16174) (#16289) (9bb5d0d)
  • repo: use @pnpm/exe over pnpm for CI runs (#16495) (ceab87d)
  • core: deprecate @nrwl/tao (#16550) (b42d3f7)
  • repo: migrate to pnpm (#16284) (2628658)
  • web: expose cache, compression options for file-server (#16546) (ae8c47b)
  • core: remove git file hasher implementation (#16517) (3703846)
  • core: update dependsOn configuration to use dependencies property (#16584) (ac64773)
  • core: update nx schema to include more tasksRunnerOptions options (#16591) (010ddee)
  • nx-plugin: simplify generated plugin code (#16590) (7b0f96b)
  • vite: add --testFile argument to @nrwl/vite:test (#16324) (83ada9d)
  • vite: allow setting of build target (#16588) (4465425)
  • core: remove tasks runner v2 (#16616) (24b2dee)
  • js: adding simpleName option to library generator (#16025) (fbf8d9c)
  • nest: adding simpleName option to library generator (#16024) (2be25eb)
  • react: refactor util getModuleFederationConfig to avoid to pass function to determinate the remote url (#16488) (6dd1385)

Reverts

  • Revert "chore(misc): publish 16.0.0-beta.1" (ecad35c)
  • Revert "chore(misc): publish 16.0.0-beta.8" (fe7d8aa)
  • Revert "chore(misc): publish 16.0.0-beta.8" (c2fe62a)

Compare v16.0.0 with v15.9.2


Configuration

📅 Schedule: Daily at midnight (UTC).

This issue has been generated by the nx-latest workflow. 🖖

Compatibility issues with Nx `v16.1.4`

Automated tests failed against Nx v16.1.4.
These errors need to be addressed, before v16.1.4 can be supported.

Package Change
🐋 nrwl/nx v15.9.2 -> v16.1.4

Release Notes

nrwl/nx v16.1.4

v16.1.4

16.1.4 (2023-05-09)

Bug Fixes

  • angular: handle ngrx imports for apps that do not migrate to config file (#16812) (b439c31)
  • core: fix version report when version is missing (#16888) (ad536c4)
  • core: keep all explicit dependencies in the graph (#16576) (5d983ef)
  • devkit: catch errors resolving configs while formatting files (#16872) (d6afd62)
  • expo: fix expo detox test (#16779) (da912b2)
  • expo: update package.json eas build scripts to fix eas build (#16742) (d1e55b0)
  • js: info about jest global setup/teardown + swc (#16681) (f6b05e4)
  • nextjs: inline dev-only dependencies and add e2e test to catch issues (#16890) (feb2b31)
  • react-native: fix buildable react native library (#16749) (39f3282)

Features

  • testing: add --strict flag for jest-preset-angular test env opts (#16467) (0d90bc8)

Compare v16.1.4 with v15.9.2


Configuration

📅 Schedule: Daily at midnight (UTC).

This issue has been generated by the nx-latest workflow. 🖖

Compatibility issues with Nx `v16.0.3`

Automated tests failed against Nx v16.0.3.
These errors need to be addressed, before v16.0.3 can be supported.

Package Change
🐋 nrwl/nx v15.9.2 -> v16.0.3

Release Notes

nrwl/nx v16.0.3

v16.0.3

16.0.3 (2023-05-02)

Bug Fixes

  • angular: clean up ssr main.server.ts generation (#16699) (b94bb35)
  • core: task runner parallel should read from taskRunnerOptions (#16707) (36f9f7d)
  • devkit: use the old package dependency version for new package (#16709) (a34cb02)
  • node: ensure that bundlers for node is webpack/esbuild (#16702) (7f060ae)

Features

  • misc: list should link to nx.dev/community for more plugins (#16673) (236686a)

Compare v16.0.3 with v15.9.2


Configuration

📅 Schedule: Daily at midnight (UTC).

This issue has been generated by the nx-latest workflow. 🖖

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.