From d482e2f82ec549d79e90ee403ee804e71f5bfc9b Mon Sep 17 00:00:00 2001 From: renovate <29139614+renovate@users.noreply.github.com> Date: Tue, 22 Oct 2024 06:06:48 +0000 Subject: [PATCH] chore: bump up nx version to v20 (#8437) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [nx](https://nx.dev) ([source](https://redirect.github.com/nrwl/nx/tree/HEAD/packages/nx)) | [`^19.0.0` -> `^20.0.0`](https://renovatebot.com/diffs/npm/nx/19.8.2/20.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/nx/20.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/nx/20.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/nx/19.8.2/20.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/nx/19.8.2/20.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
nrwl/nx (nx) ### [`v20.0.0`](https://redirect.github.com/nrwl/nx/releases/tag/20.0.0) [Compare Source](https://redirect.github.com/nrwl/nx/compare/19.8.4...20.0.0) ##### 20.0.0 (2024-10-07) ##### 🚀 Features - add rspack plugin ([#​143](https://redirect.github.com/nrwl/nx/pull/143)) - add rspack plugin ([#​143](https://redirect.github.com/nrwl/nx/pull/143)) - upgrade rspack to 0.4.4 ([#​352](https://redirect.github.com/nrwl/nx/pull/352)) - **core:** allow prompts from init generators during nx init ([#​28003](https://redirect.github.com/nrwl/nx/pull/28003)) - **core:** update github action pnpm version ([#​27815](https://redirect.github.com/nrwl/nx/pull/27815)) - **core:** remove node task hasher ([#​28147](https://redirect.github.com/nrwl/nx/pull/28147)) - **core:** allow circular project dependencies to execute tasks ([#​28227](https://redirect.github.com/nrwl/nx/pull/28227)) - **core:** deprecate custom task runners ([#​28253](https://redirect.github.com/nrwl/nx/pull/28253)) - **core:** open sqlite databases with `SQLITE_OPEN_FULL_MUTEX` ([#​28276](https://redirect.github.com/nrwl/nx/pull/28276)) - **core:** enable db cache by default ([#​28048](https://redirect.github.com/nrwl/nx/pull/28048)) - **devkit:** bump compatibility to Nx 19 - 21.x ([#​28243](https://redirect.github.com/nrwl/nx/pull/28243)) - **graph:** enable composite graph functionality ([#​27789](https://redirect.github.com/nrwl/nx/pull/27789)) - **graph:** show owners in pdv ([#​28211](https://redirect.github.com/nrwl/nx/pull/28211)) - **js:** add the setup-prettier generator ([#​27996](https://redirect.github.com/nrwl/nx/pull/27996)) - **js:** generate experimental simplified library with ts solution setup ([#​27910](https://redirect.github.com/nrwl/nx/pull/27910)) - **js:** new workspace uses scoped named in root package.json ([#​28271](https://redirect.github.com/nrwl/nx/pull/28271)) - **linter:** update eslint-import-plugin to a version that supports eslint v9 ([#​28273](https://redirect.github.com/nrwl/nx/pull/28273)) - **misc:** update to Nx 16 and rescoped packages ([#​235](https://redirect.github.com/nrwl/nx/pull/235)) - **misc:** update to Nx 16 and rescoped packages ([#​235](https://redirect.github.com/nrwl/nx/pull/235)) - **misc:** remove derived generator paths ([#​27714](https://redirect.github.com/nrwl/nx/pull/27714)) - **misc:** remove @​nrwl/ scoped packages ([#​27858](https://redirect.github.com/nrwl/nx/pull/27858)) - **misc:** make directory a required option for generators ([#​28093](https://redirect.github.com/nrwl/nx/pull/28093)) - **misc:** enable new ts minimal setup by default and guard execution of generators with no support for it ([#​28199](https://redirect.github.com/nrwl/nx/pull/28199)) - ⚠️ **misc:** handle v20 deprecations in plugins ([#​28222](https://redirect.github.com/nrwl/nx/pull/28222)) - **nx-dev:** powerpack landing page ([#​27963](https://redirect.github.com/nrwl/nx/pull/27963)) - **nx-dev:** add Powerpack video to the landing page ([#​28126](https://redirect.github.com/nrwl/nx/pull/28126)) - **nx-dev:** add nx powerpack to pricing page ([#​28232](https://redirect.github.com/nrwl/nx/pull/28232)) - **nx-dev:** add nx powerpack gcp & azure mentions ([#​28256](https://redirect.github.com/nrwl/nx/pull/28256)) - **react:** make vitest the default test runner since it supports ESM and different moduleResolution better ([#​28153](https://redirect.github.com/nrwl/nx/pull/28153)) - ⚠️ **release:** releasePublish always returns status code per project ([#​28224](https://redirect.github.com/nrwl/nx/pull/28224)) - ⚠️ **release:** version.generatorOptions.updateDependents is "auto" by default ([#​28231](https://redirect.github.com/nrwl/nx/pull/28231)) - ⚠️ **release:** rewrite ChangelogRenderer to a class API and remove deprecated config ([#​28229](https://redirect.github.com/nrwl/nx/pull/28229)) - **repo:** merge main from https://github.com/nrwl/nx-labs ([e9b03641ac](https://redirect.github.com/nrwl/nx/commit/e9b03641ac)) - **repo:** merge main from https://github.com/nrwl/nx-labs ([b0ffe29e55](https://redirect.github.com/nrwl/nx/commit/b0ffe29e55)) - **repo:** merge main from https://github.com/nrwl/nx-labs ([23c365f426](https://redirect.github.com/nrwl/nx/commit/23c365f426)) - **rspack:** update to latest rspack version ([#​159](https://redirect.github.com/nrwl/nx/pull/159)) - **rspack:** add missing features (less/sass/stylus, assets, etc.) ([#​160](https://redirect.github.com/nrwl/nx/pull/160)) - **rspack:** add missing features (less/sass/stylus, assets, etc.) ([#​160](https://redirect.github.com/nrwl/nx/pull/160)) - **rspack:** clean-up project setup ([#​161](https://redirect.github.com/nrwl/nx/pull/161)) - **rspack:** clean-up project setup ([#​161](https://redirect.github.com/nrwl/nx/pull/161)) - **rspack:** update and pin rspack to 0.1.0 ([#​173](https://redirect.github.com/nrwl/nx/pull/173)) - **rspack:** set mode in configuration and expose option ([#​177](https://redirect.github.com/nrwl/nx/pull/177)) - **rspack:** install latest patch when configuring ([#​195](https://redirect.github.com/nrwl/nx/pull/195)) - **rspack:** configuration generator better ux ([#​201](https://redirect.github.com/nrwl/nx/pull/201)) - **rspack:** builder returns outfile ([#​207](https://redirect.github.com/nrwl/nx/pull/207)) - **rspack:** simplify app generator ([#​212](https://redirect.github.com/nrwl/nx/pull/212)) - **rspack:** simplify app generator ([#​212](https://redirect.github.com/nrwl/nx/pull/212)) - **rspack:** Add extractLicenses option to rspack's project configuration ([#​230](https://redirect.github.com/nrwl/nx/pull/230)) - **rspack:** Add extractLicenses option to rspack's project configuration ([#​230](https://redirect.github.com/nrwl/nx/pull/230)) - **rspack:** add typecheck ([#​338](https://redirect.github.com/nrwl/nx/pull/338)) - **rspack:** add generatePackageJson plugin ([#​341](https://redirect.github.com/nrwl/nx/pull/341)) - **rspack:** add generatePackageJson plugin ([#​341](https://redirect.github.com/nrwl/nx/pull/341)) - **rspack:** update rspack to install the latest version ([#​379](https://redirect.github.com/nrwl/nx/pull/379)) - **rspack:** add option to keep existing versions of packages for init generator ([#​378](https://redirect.github.com/nrwl/nx/pull/378)) - **rspack:** support object configs ([#​402](https://redirect.github.com/nrwl/nx/pull/402)) - **rspack:** add crystal plugin for inferring projects ([#​407](https://redirect.github.com/nrwl/nx/pull/407)) - **rspack:** add crystal plugin for inferring projects ([#​407](https://redirect.github.com/nrwl/nx/pull/407)) - **rspack:** bump to latest rspack ([#​412](https://redirect.github.com/nrwl/nx/pull/412)) - **rspack:** add module federation support ([#​416](https://redirect.github.com/nrwl/nx/pull/416)) - **rspack:** add module federation support ([#​416](https://redirect.github.com/nrwl/nx/pull/416)) - **rspack:** add module-federation-static-server ([#​418](https://redirect.github.com/nrwl/nx/pull/418)) - **rspack:** move rspack into main nx repo ([#​27969](https://redirect.github.com/nrwl/nx/pull/27969)) - **storybook:** remove cypress options for e2e testing ([#​27850](https://redirect.github.com/nrwl/nx/pull/27850)) - **testing:** update test generators to exclude test files from the runtime tsconfig file ([#​27991](https://redirect.github.com/nrwl/nx/pull/27991)) ##### 🩹 Fixes - **angular:** ensure async webpack configs are awaited [#​28200](https://redirect.github.com/nrwl/nx/issues/28200) ([#​28213](https://redirect.github.com/nrwl/nx/pull/28213), [#​28200](https://redirect.github.com/nrwl/nx/issues/28200)) - **angular:** ensure [@​typescript-eslint/utils](https://redirect.github.com/typescript-eslint/utils) is used with eslint flat config ([#​28267](https://redirect.github.com/nrwl/nx/pull/28267)) - **bundling:** remove unused `babel-plugin-transform-async-to-promises` from `@nx/rollup` ([#​27669](https://redirect.github.com/nrwl/nx/pull/27669)) - **core:** allow creating a db cache without linking task details ([#​28023](https://redirect.github.com/nrwl/nx/pull/28023)) - **core:** fix output text for multiple targets ([#​28043](https://redirect.github.com/nrwl/nx/pull/28043)) - **core:** sort projects after updating from context ([#​28024](https://redirect.github.com/nrwl/nx/pull/28024)) - **core:** add flag when db is disabled for task history ([#​28059](https://redirect.github.com/nrwl/nx/pull/28059)) - **core:** set windowsHide: true wherever possible ([#​28073](https://redirect.github.com/nrwl/nx/pull/28073)) - **core:** support more structured errors in sync generators ([#​28075](https://redirect.github.com/nrwl/nx/pull/28075)) - **core:** nx add should show errors ([#​28079](https://redirect.github.com/nrwl/nx/pull/28079)) - **core:** several powerpack fixes ([#​28088](https://redirect.github.com/nrwl/nx/pull/28088)) - **core:** remove wasi compatibility while db is unsupported in wasi ([#​28089](https://redirect.github.com/nrwl/nx/pull/28089)) - **core:** hide no file server process json log ([#​27626](https://redirect.github.com/nrwl/nx/pull/27626)) - **core:** fix output for 0 task ([#​28122](https://redirect.github.com/nrwl/nx/pull/28122)) - **core:** log error for runTaskInForkedProcess ([#​28078](https://redirect.github.com/nrwl/nx/pull/28078)) - **core:** remove strong-log-transformer ([#​28094](https://redirect.github.com/nrwl/nx/pull/28094)) - **core:** calculate project dependencies upfront in the schedule ([#​28152](https://redirect.github.com/nrwl/nx/pull/28152)) - **core:** only stop daemon if enabled ([#​28146](https://redirect.github.com/nrwl/nx/pull/28146)) - **core:** adjust nx import messaging without relative source dir ([#​28052](https://redirect.github.com/nrwl/nx/pull/28052)) - **core:** move getDetails to top ([#​28158](https://redirect.github.com/nrwl/nx/pull/28158)) - **core:** fix env override run command ([#​28156](https://redirect.github.com/nrwl/nx/pull/28156)) - **core:** fix link to powerpack plugins ([#​28182](https://redirect.github.com/nrwl/nx/pull/28182)) - **core:** Remove nameAndDirectoryFormat option from generators ([#​28110](https://redirect.github.com/nrwl/nx/pull/28110)) - **core:** remove axios import from main code loading ([#​28230](https://redirect.github.com/nrwl/nx/pull/28230)) - **core:** change getCache signature to only accept options ([#​28248](https://redirect.github.com/nrwl/nx/pull/28248)) - **core:** allow prompts during nx add ([#​28247](https://redirect.github.com/nrwl/nx/pull/28247)) - **core:** add stub for conformance:check, add messaging ([#​28250](https://redirect.github.com/nrwl/nx/pull/28250)) - **core:** filter out task dependencies on itself ([#​28261](https://redirect.github.com/nrwl/nx/pull/28261)) - **core:** handle unique constraint errors when adding duplicate hashes to the cache db ([#​28310](https://redirect.github.com/nrwl/nx/pull/28310)) - **expo:** change force to be an option for yarn ([#​28115](https://redirect.github.com/nrwl/nx/pull/28115)) - **graph:** add spacing between graph details top ([#​28055](https://redirect.github.com/nrwl/nx/pull/28055)) - **js:** ensure prettier is available for generators if it is meant to be installed ([#​28082](https://redirect.github.com/nrwl/nx/pull/28082)) - **js:** [@​nx/js](https://redirect.github.com/nx/js):init ensures tslib is installed if importHelpers is true ([#​28083](https://redirect.github.com/nrwl/nx/pull/28083)) - **js:** handle ts project refs pointing to non-existing files and prune ts refs for projects with no deps ([#​28130](https://redirect.github.com/nrwl/nx/pull/28130)) - **js:** improve typescript-sync generator messaging ([#​28162](https://redirect.github.com/nrwl/nx/pull/28162)) - **js:** generate nx release config correctly for js libraries in new ts setup and set tags ([#​28218](https://redirect.github.com/nrwl/nx/pull/28218)) - **js:** throw an error when generating a publishable lib with `--bundler=none` ([#​28221](https://redirect.github.com/nrwl/nx/pull/28221)) - **js:** resolve VerdaccioWarning on the "logs" configuration property ([#​28234](https://redirect.github.com/nrwl/nx/pull/28234)) - **linter:** do not generate docs.recommended property ([#​28009](https://redirect.github.com/nrwl/nx/pull/28009)) - **linter:** ignore dist and use compat helper for eslint-plugin-react-hooks ([#​28080](https://redirect.github.com/nrwl/nx/pull/28080)) - **linter:** add files entry to angular flat config to avoid applying TS rules to JSON files ([#​28102](https://redirect.github.com/nrwl/nx/pull/28102)) - **misc:** replace missed references to [@​nrwl](https://redirect.github.com/nrwl) scope ([#​239](https://redirect.github.com/nrwl/nx/pull/239)) - **misc:** target commonjs for legacy packages ([#​241](https://redirect.github.com/nrwl/nx/pull/241)) - **module-federation:** pin mf enhanced version ([#​28196](https://redirect.github.com/nrwl/nx/pull/28196)) - **module-federation:** exports could be objects and not strings [#​28129](https://redirect.github.com/nrwl/nx/issues/28129) ([#​28215](https://redirect.github.com/nrwl/nx/pull/28215), [#​28129](https://redirect.github.com/nrwl/nx/issues/28129)) - **module-federation:** additionalShared should check node_modules when applying to support transitive deps [#​28137](https://redirect.github.com/nrwl/nx/issues/28137) ([#​28216](https://redirect.github.com/nrwl/nx/pull/28216), [#​28137](https://redirect.github.com/nrwl/nx/issues/28137)) - **module-federation:** normalize kebab-cased names to snake_cased ([#​28237](https://redirect.github.com/nrwl/nx/pull/28237)) - **nx-cloud:** use create-workspace-v1 endpoint if v2 returns with 404 ([#​28015](https://redirect.github.com/nrwl/nx/pull/28015)) - **nx-dev:** adjust powerpack mobile view ([fc39beae7a](https://redirect.github.com/nrwl/nx/commit/fc39beae7a)) - **nx-dev:** options of the affected are messed up ([#​28112](https://redirect.github.com/nrwl/nx/pull/28112)) - **nx-dev:** Update Power pack docs to include OSS projects ([#​28176](https://redirect.github.com/nrwl/nx/pull/28176)) - **nx-dev:** Blog url ([#​27597](https://redirect.github.com/nrwl/nx/pull/27597)) - **nx-dev:** 404 urls ([#​27599](https://redirect.github.com/nrwl/nx/pull/27599)) - **nx-dev:** fix markdoc table data alignment ([#​28274](https://redirect.github.com/nrwl/nx/pull/28274)) - **react:** vite should be default bundler in app generator ([#​28013](https://redirect.github.com/nrwl/nx/pull/28013)) - **react:** setup-ssr generator should infer bundler based on the executor for build [#​28128](https://redirect.github.com/nrwl/nx/issues/28128) ([#​28217](https://redirect.github.com/nrwl/nx/pull/28217), [#​28128](https://redirect.github.com/nrwl/nx/issues/28128)) - **react:** host generator should pass normalized name to remote generator ([#​28295](https://redirect.github.com/nrwl/nx/pull/28295)) - **release:** allow dynamically continuing when current version is unresolvable ([#​28034](https://redirect.github.com/nrwl/nx/pull/28034)) - **release:** add groupPreVersionCommand to schema, improve logging ([#​28087](https://redirect.github.com/nrwl/nx/pull/28087)) - **release:** ensure updateDependents only works for independent projects ([#​28283](https://redirect.github.com/nrwl/nx/pull/28283)) - **repo:** fix publishing for legacy packages ([#​240](https://redirect.github.com/nrwl/nx/pull/240)) - **repo:** fix publishing for legacy packages ([#​240](https://redirect.github.com/nrwl/nx/pull/240)) - **repo:** add json files to assets ([#​243](https://redirect.github.com/nrwl/nx/pull/243)) - **rspack:** use correct app dir when generating non-root projects ([#​162](https://redirect.github.com/nrwl/nx/pull/162)) - **rspack:** use correct app dir when generating non-root projects ([#​162](https://redirect.github.com/nrwl/nx/pull/162)) - **rspack:** fix rspack build ([cab70e5487](https://redirect.github.com/nrwl/nx/commit/cab70e5487)) - **rspack:** handle existing stylePreprocessorOptions ([#​182](https://redirect.github.com/nrwl/nx/pull/182)) - **rspack:** add dependency to ajv-keywords that match the version used by rspack ([#​187](https://redirect.github.com/nrwl/nx/pull/187)) - **rspack:** pass devServer options to devServer ([#​193](https://redirect.github.com/nrwl/nx/pull/193)) - **rspack:** set externals for target node ([#​194](https://redirect.github.com/nrwl/nx/pull/194)) - **rspack:** add withWeb if web app ([#​200](https://redirect.github.com/nrwl/nx/pull/200)) - **rspack:** use ensureTypescript before tsquery ([#​215](https://redirect.github.com/nrwl/nx/pull/215)) - **rspack:** implement watch mode ([#​217](https://redirect.github.com/nrwl/nx/pull/217)) - **rspack:** do not force cssmodules ([#​222](https://redirect.github.com/nrwl/nx/pull/222)) - **rspack:** use builtin minify instead ([#​172](https://redirect.github.com/nrwl/nx/pull/172)) - **rspack:** use built-in tsconfig paths support ([#​227](https://redirect.github.com/nrwl/nx/pull/227)) - **rspack:** add back `resolve.alias` configuration since `resolve.tsConfigPaths` seem to be incorrect in some scenarios ([#​229](https://redirect.github.com/nrwl/nx/pull/229)) - **rspack:** lock version to 0.1.11 ([#​279](https://redirect.github.com/nrwl/nx/pull/279)) - **rspack:** refine output filename patterns ([#​280](https://redirect.github.com/nrwl/nx/pull/280)) - **rspack:** add missing license-webpack-plugin dependency ([#​301](https://redirect.github.com/nrwl/nx/pull/301)) - **rspack:** add fileReplacements support ([#​231](https://redirect.github.com/nrwl/nx/pull/231)) - **rspack:** Add missing peer dep ([#​372](https://redirect.github.com/nrwl/nx/pull/372)) - **rspack:** do not depend directly on ajv to allow for correct hoisting ([#​384](https://redirect.github.com/nrwl/nx/pull/384)) - **rspack:** ensure react-refresh is installed ([#​385](https://redirect.github.com/nrwl/nx/pull/385)) - **rspack:** User port should be respected. ([#​387](https://redirect.github.com/nrwl/nx/pull/387)) - **rspack:** add postcss-loader for css files ([#​415](https://redirect.github.com/nrwl/nx/pull/415)) - **rspack:** add hook for dev server to log when compilation completed ([#​417](https://redirect.github.com/nrwl/nx/pull/417)) - **rspack:** ensure process is default import ([#​420](https://redirect.github.com/nrwl/nx/pull/420)) - **rspack:** pin rspack to 1.0.5 ([b1dae52101](https://redirect.github.com/nrwl/nx/commit/b1dae52101)) - **rspack:** update url repository url ([#​28181](https://redirect.github.com/nrwl/nx/pull/28181)) - **storybook:** only add [@​storybook/test-runner](https://redirect.github.com/storybook/test-runner) to externalDependencies if installed ([#​28060](https://redirect.github.com/nrwl/nx/pull/28060)) - **testing:** add support for playwright --last-failed ([#​28161](https://redirect.github.com/nrwl/nx/pull/28161)) - **testing:** migration for getJestProjects -> getJestProjectsAsync handles both CJS and ESM ([#​28299](https://redirect.github.com/nrwl/nx/pull/28299)) - **testing:** getJestProjectsAsync no longer duplicates project paths ([#​28311](https://redirect.github.com/nrwl/nx/pull/28311)) ##### ⚠️ Breaking Changes - ⚠️ **misc:** handle v20 deprecations in plugins ([#​28222](https://redirect.github.com/nrwl/nx/pull/28222)) - ⚠️ **release:** rewrite ChangelogRenderer to a class API and remove deprecated config ([#​28229](https://redirect.github.com/nrwl/nx/pull/28229)) - ⚠️ **release:** version.generatorOptions.updateDependents is "auto" by default ([#​28231](https://redirect.github.com/nrwl/nx/pull/28231)) - ⚠️ **release:** releasePublish always returns status code per project ([#​28224](https://redirect.github.com/nrwl/nx/pull/28224)) ##### ❤️ Thank You - Andrew Goldis [@​agoldis](https://redirect.github.com/agoldis) - Austin Fahsl [@​fahslaj](https://redirect.github.com/fahslaj) - Benjamin Cabanes [@​bcabanes](https://redirect.github.com/bcabanes) - Caleb Ukle - Chau Tran - Colum Ferry [@​Coly010](https://redirect.github.com/Coly010) - Craigory Coppola [@​AgentEnder](https://redirect.github.com/AgentEnder) - Douglas Machado [@​dgmachado](https://redirect.github.com/dgmachado) - Emily Xiong [@​xiongemi](https://redirect.github.com/xiongemi) - FrozenPandaz [@​FrozenPandaz](https://redirect.github.com/FrozenPandaz) - Gengkun [@​ahabhgk](https://redirect.github.com/ahabhgk) - Jack Hsu [@​jaysoo](https://redirect.github.com/jaysoo) - James Henry [@​JamesHenry](https://redirect.github.com/JamesHenry) - Jason Jean [@​FrozenPandaz](https://redirect.github.com/FrozenPandaz) - Jonathan Cammisuli - Julián Gómez Sibecas [@​juliangsibecas](https://redirect.github.com/juliangsibecas) - Juri [@​juristr](https://redirect.github.com/juristr) - Juri Strumpflohner [@​juristr](https://redirect.github.com/juristr) - Katerina Skroumpelou [@​mandarini](https://redirect.github.com/mandarini) - Leosvel Pérez Espinosa [@​leosvelperez](https://redirect.github.com/leosvelperez) - Louie Weng [@​lourw](https://redirect.github.com/lourw) - MaxKless [@​MaxKless](https://redirect.github.com/MaxKless) - Nicholas Cunningham [@​ndcunningham](https://redirect.github.com/ndcunningham) - pawel-twardziak - Phillip Barta [@​Phillip9587](https://redirect.github.com/Phillip9587) - Shahar Kazaz - Travis Tarr ### [`v19.8.4`](https://redirect.github.com/nrwl/nx/releases/tag/19.8.4) [Compare Source](https://redirect.github.com/nrwl/nx/compare/19.8.3...19.8.4) ##### 19.8.4 (2024-10-04) ##### 🚀 Features - **core:** allow circular project dependencies to execute tasks ([#​28227](https://redirect.github.com/nrwl/nx/pull/28227)) - **nx-dev:** add nx powerpack to pricing page ([#​28232](https://redirect.github.com/nrwl/nx/pull/28232)) - **nx-dev:** add nx powerpack gcp & azure mentions ([#​28256](https://redirect.github.com/nrwl/nx/pull/28256)) ##### 🩹 Fixes - **angular:** ensure [@​typescript-eslint/utils](https://redirect.github.com/typescript-eslint/utils) is used with eslint flat config ([#​28267](https://redirect.github.com/nrwl/nx/pull/28267)) - **core:** remove axios import from main code loading ([#​28230](https://redirect.github.com/nrwl/nx/pull/28230)) - **core:** change getCache signature to only accept options ([#​28248](https://redirect.github.com/nrwl/nx/pull/28248)) - **core:** allow prompts during nx add ([#​28247](https://redirect.github.com/nrwl/nx/pull/28247)) - **core:** add stub for conformance:check, add messaging ([#​28250](https://redirect.github.com/nrwl/nx/pull/28250)) - **core:** filter out task dependencies on itself ([#​28261](https://redirect.github.com/nrwl/nx/pull/28261)) - **core:** fixing target groups not merging ([#​28280](https://redirect.github.com/nrwl/nx/pull/28280)) - **js:** resolve VerdaccioWarning on the "logs" configuration property ([#​28234](https://redirect.github.com/nrwl/nx/pull/28234)) - **nx-cloud:** use create-workspace-v1 endpoint if v2 returns with 404 ([#​28015](https://redirect.github.com/nrwl/nx/pull/28015)) - **nx-dev:** fix markdoc table data alignment ([#​28274](https://redirect.github.com/nrwl/nx/pull/28274)) - **react:** host generator should pass normalized name to remote generator ([#​28295](https://redirect.github.com/nrwl/nx/pull/28295)) - **testing:** add support for playwright --last-failed ([#​28161](https://redirect.github.com/nrwl/nx/pull/28161)) ##### ❤️ Thank You - Andrew Goldis [@​agoldis](https://redirect.github.com/agoldis) - Benjamin Cabanes [@​bcabanes](https://redirect.github.com/bcabanes) - Colum Ferry [@​Coly010](https://redirect.github.com/Coly010) - Jack Hsu [@​jaysoo](https://redirect.github.com/jaysoo) - James Henry [@​JamesHenry](https://redirect.github.com/JamesHenry) - Jason Jean [@​FrozenPandaz](https://redirect.github.com/FrozenPandaz) - Jonathan Cammisuli - Louie Weng [@​lourw](https://redirect.github.com/lourw) - Nicholas Cunningham [@​ndcunningham](https://redirect.github.com/ndcunningham) - Shahar Kazaz - Zachary DeRose [@​ZackDeRose](https://redirect.github.com/ZackDeRose) ### [`v19.8.3`](https://redirect.github.com/nrwl/nx/releases/tag/19.8.3) [Compare Source](https://redirect.github.com/nrwl/nx/compare/19.8.2...19.8.3) ##### 19.8.3 (2024-10-01) ##### 🚀 Features - **nx-dev:** add Powerpack video to the landing page ([#​28126](https://redirect.github.com/nrwl/nx/pull/28126)) ##### 🩹 Fixes - **angular:** ensure async webpack configs are awaited [#​28200](https://redirect.github.com/nrwl/nx/issues/28200) ([#​28213](https://redirect.github.com/nrwl/nx/pull/28213), [#​28200](https://redirect.github.com/nrwl/nx/issues/28200)) - **core:** fix output for 0 task ([#​28122](https://redirect.github.com/nrwl/nx/pull/28122)) - **core:** log error for runTaskInForkedProcess ([#​28078](https://redirect.github.com/nrwl/nx/pull/28078)) - **core:** calculate project dependencies upfront in the schedule ([#​28152](https://redirect.github.com/nrwl/nx/pull/28152)) - **core:** only stop daemon if enabled ([#​28146](https://redirect.github.com/nrwl/nx/pull/28146)) - **core:** adjust nx import messaging without relative source dir ([#​28052](https://redirect.github.com/nrwl/nx/pull/28052)) - **core:** move getDetails to top ([#​28158](https://redirect.github.com/nrwl/nx/pull/28158)) - **core:** fix env override run command ([#​28156](https://redirect.github.com/nrwl/nx/pull/28156)) - **core:** fix link to powerpack plugins ([#​28182](https://redirect.github.com/nrwl/nx/pull/28182)) - **expo:** change force to be an option for yarn ([#​28115](https://redirect.github.com/nrwl/nx/pull/28115)) - **graph:** add spacing between graph details top ([#​28055](https://redirect.github.com/nrwl/nx/pull/28055)) - **js:** improve typescript-sync generator messaging ([#​28162](https://redirect.github.com/nrwl/nx/pull/28162)) - **module-federation:** exports could be objects and not strings [#​28129](https://redirect.github.com/nrwl/nx/issues/28129) ([#​28215](https://redirect.github.com/nrwl/nx/pull/28215), [#​28129](https://redirect.github.com/nrwl/nx/issues/28129)) - **module-federation:** additionalShared should check node_modules when applying to support transitive deps [#​28137](https://redirect.github.com/nrwl/nx/issues/28137) ([#​28216](https://redirect.github.com/nrwl/nx/pull/28216), [#​28137](https://redirect.github.com/nrwl/nx/issues/28137)) - **nx-dev:** adjust powerpack mobile view ([b76e84dbb1](https://redirect.github.com/nrwl/nx/commit/b76e84dbb1)) - **nx-dev:** options of the affected are messed up ([#​28112](https://redirect.github.com/nrwl/nx/pull/28112)) - **nx-dev:** Update Power pack docs to include OSS projects ([#​28176](https://redirect.github.com/nrwl/nx/pull/28176)) - **nx-dev:** 404 urls ([#​27599](https://redirect.github.com/nrwl/nx/pull/27599)) - **react:** setup-ssr generator should infer bundler based on the executor for build [#​28128](https://redirect.github.com/nrwl/nx/issues/28128) ([#​28217](https://redirect.github.com/nrwl/nx/pull/28217), [#​28128](https://redirect.github.com/nrwl/nx/issues/28128)) - **storybook:** only add [@​storybook/test-runner](https://redirect.github.com/storybook/test-runner) to externalDependencies if installed ([#​28060](https://redirect.github.com/nrwl/nx/pull/28060)) ##### ❤️ Thank You - Colum Ferry [@​Coly010](https://redirect.github.com/Coly010) - Emily Xiong [@​xiongemi](https://redirect.github.com/xiongemi) - Jason Jean [@​FrozenPandaz](https://redirect.github.com/FrozenPandaz) - Juri [@​juristr](https://redirect.github.com/juristr) - Juri Strumpflohner [@​juristr](https://redirect.github.com/juristr) - Leosvel Pérez Espinosa [@​leosvelperez](https://redirect.github.com/leosvelperez) - MaxKless [@​MaxKless](https://redirect.github.com/MaxKless) - Nicholas Cunningham [@​ndcunningham](https://redirect.github.com/ndcunningham) - pawel-twardziak
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE). --- .github/actions/build-rust/action.yml | 2 +- nx.json | 4 +- package.json | 3 +- packages/backend/native/package.json | 4 +- packages/backend/native/project.json | 8 +- packages/frontend/native/package.json | 2 +- packages/frontend/native/project.json | 2 +- yarn.lock | 135 ++++++++++---------------- 8 files changed, 66 insertions(+), 94 deletions(-) diff --git a/.github/actions/build-rust/action.yml b/.github/actions/build-rust/action.yml index 6e7ffe06d2..852745be76 100644 --- a/.github/actions/build-rust/action.yml +++ b/.github/actions/build-rust/action.yml @@ -49,7 +49,7 @@ runs: - name: Build shell: bash run: | - yarn workspace ${{ inputs.package }} nx build ${{ inputs.package }} -- --target ${{ inputs.target }} --use-napi-cross + yarn workspace ${{ inputs.package }} build --target ${{ inputs.target }} --use-napi-cross env: NX_CLOUD_ACCESS_TOKEN: ${{ inputs.nx_token }} DEBUG: 'napi:*' diff --git a/nx.json b/nx.json index 2408e09d50..d4d0c1b4df 100644 --- a/nx.json +++ b/nx.json @@ -11,9 +11,7 @@ } } }, - "affected": { - "defaultBase": "canary" - }, + "defaultBase": "canary", "namedInputs": { "default": ["{projectRoot}/**/*", "sharedGlobals"], "sharedGlobals": [ diff --git a/package.json b/package.json index 4820551c7d..41d22f6ab2 100644 --- a/package.json +++ b/package.json @@ -85,7 +85,8 @@ "husky": "^9.0.11", "lint-staged": "^15.2.2", "msw": "^2.3.0", - "nx": "^19.0.0", + "nx": "^20.0.3", + "nx-cloud": "^19.1.0", "oxlint": "0.10.1", "prettier": "^3.3.3", "semver": "^7.6.0", diff --git a/packages/backend/native/package.json b/packages/backend/native/package.json index 87cf5e03fa..f56c440977 100644 --- a/packages/backend/native/package.json +++ b/packages/backend/native/package.json @@ -35,8 +35,8 @@ "devDependencies": { "@napi-rs/cli": "3.0.0-alpha.62", "lib0": "^0.2.93", - "nx": "^19.0.0", - "nx-cloud": "^19.0.0", + "nx": "^20.0.3", + "nx-cloud": "^19.1.0", "tiktoken": "^1.0.15", "tinybench": "^2.8.0", "yjs": "patch:yjs@npm%3A13.6.18#~/.yarn/patches/yjs-npm-13.6.18-ad0d5f7c43.patch" diff --git a/packages/backend/native/project.json b/packages/backend/native/project.json index c6a7b8bed0..5f2cf6111e 100644 --- a/packages/backend/native/project.json +++ b/packages/backend/native/project.json @@ -15,7 +15,13 @@ { "fileset": "{workspaceRoot}/rust-toolchain.toml" }, { "fileset": "{workspaceRoot}/Cargo.lock" }, { "fileset": "{workspaceRoot}/packages/backend/native/**/*.rs" }, - { "fileset": "{workspaceRoot}/packages/backend/native/Cargo.toml" } + { "fileset": "{workspaceRoot}/packages/backend/native/Cargo.toml" }, + { + "runtime": "rustc --version" + }, + { + "externalDependencies": ["nx"] + } ], "outputs": ["{projectRoot}/*.node"] } diff --git a/packages/frontend/native/package.json b/packages/frontend/native/package.json index 274a517a31..6837b310c0 100644 --- a/packages/frontend/native/package.json +++ b/packages/frontend/native/package.json @@ -38,7 +38,7 @@ "@napi-rs/cli": "3.0.0-alpha.62", "@types/node": "^20.12.7", "ava": "^6.1.2", - "nx": "^19.0.0", + "nx": "^20.0.3", "ts-node": "^10.9.2", "typescript": "^5.4.5" }, diff --git a/packages/frontend/native/project.json b/packages/frontend/native/project.json index 05c557a661..fb98aa19dd 100644 --- a/packages/frontend/native/project.json +++ b/packages/frontend/native/project.json @@ -16,7 +16,7 @@ "runtime": "rustc --version" }, { - "runtime": "node -v" + "externalDependencies": ["nx"] } ], "outputs": ["{projectRoot}/*.node", "{workspaceRoot}/affine.db"] diff --git a/yarn.lock b/yarn.lock index 0ba606b47b..3032b632d2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -666,7 +666,8 @@ __metadata: husky: "npm:^9.0.11" lint-staged: "npm:^15.2.2" msw: "npm:^2.3.0" - nx: "npm:^19.0.0" + nx: "npm:^20.0.3" + nx-cloud: "npm:^19.1.0" oxlint: "npm:0.10.1" prettier: "npm:^3.3.3" semver: "npm:^7.6.0" @@ -685,7 +686,7 @@ __metadata: "@napi-rs/cli": "npm:3.0.0-alpha.62" "@types/node": "npm:^20.12.7" ava: "npm:^6.1.2" - nx: "npm:^19.0.0" + nx: "npm:^20.0.3" ts-node: "npm:^10.9.2" typescript: "npm:^5.4.5" languageName: unknown @@ -697,8 +698,8 @@ __metadata: dependencies: "@napi-rs/cli": "npm:3.0.0-alpha.62" lib0: "npm:^0.2.93" - nx: "npm:^19.0.0" - nx-cloud: "npm:^19.0.0" + nx: "npm:^20.0.3" + nx-cloud: "npm:^19.1.0" tiktoken: "npm:^1.0.15" tinybench: "npm:^2.8.0" yjs: "patch:yjs@npm%3A13.6.18#~/.yarn/patches/yjs-npm-13.6.18-ad0d5f7c43.patch" @@ -8237,18 +8238,6 @@ __metadata: languageName: node linkType: hard -"@nrwl/tao@npm:19.8.2": - version: 19.8.2 - resolution: "@nrwl/tao@npm:19.8.2" - dependencies: - nx: "npm:19.8.2" - tslib: "npm:^2.3.0" - bin: - tao: index.js - checksum: 10/5db4f551d302efba29c8ff3a0c4b214c6f0a05da2fe6fc4837214386088260f228b821907ed106501b7f93bcce85da7064f0883a6b06133d303c3e1c507ae7e2 - languageName: node - linkType: hard - "@nuxtjs/opencollective@npm:0.3.2": version: 0.3.2 resolution: "@nuxtjs/opencollective@npm:0.3.2" @@ -8262,72 +8251,72 @@ __metadata: languageName: node linkType: hard -"@nx/nx-darwin-arm64@npm:19.8.2": - version: 19.8.2 - resolution: "@nx/nx-darwin-arm64@npm:19.8.2" +"@nx/nx-darwin-arm64@npm:20.0.3": + version: 20.0.3 + resolution: "@nx/nx-darwin-arm64@npm:20.0.3" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@nx/nx-darwin-x64@npm:19.8.2": - version: 19.8.2 - resolution: "@nx/nx-darwin-x64@npm:19.8.2" +"@nx/nx-darwin-x64@npm:20.0.3": + version: 20.0.3 + resolution: "@nx/nx-darwin-x64@npm:20.0.3" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@nx/nx-freebsd-x64@npm:19.8.2": - version: 19.8.2 - resolution: "@nx/nx-freebsd-x64@npm:19.8.2" +"@nx/nx-freebsd-x64@npm:20.0.3": + version: 20.0.3 + resolution: "@nx/nx-freebsd-x64@npm:20.0.3" conditions: os=freebsd & cpu=x64 languageName: node linkType: hard -"@nx/nx-linux-arm-gnueabihf@npm:19.8.2": - version: 19.8.2 - resolution: "@nx/nx-linux-arm-gnueabihf@npm:19.8.2" +"@nx/nx-linux-arm-gnueabihf@npm:20.0.3": + version: 20.0.3 + resolution: "@nx/nx-linux-arm-gnueabihf@npm:20.0.3" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@nx/nx-linux-arm64-gnu@npm:19.8.2": - version: 19.8.2 - resolution: "@nx/nx-linux-arm64-gnu@npm:19.8.2" +"@nx/nx-linux-arm64-gnu@npm:20.0.3": + version: 20.0.3 + resolution: "@nx/nx-linux-arm64-gnu@npm:20.0.3" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@nx/nx-linux-arm64-musl@npm:19.8.2": - version: 19.8.2 - resolution: "@nx/nx-linux-arm64-musl@npm:19.8.2" +"@nx/nx-linux-arm64-musl@npm:20.0.3": + version: 20.0.3 + resolution: "@nx/nx-linux-arm64-musl@npm:20.0.3" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@nx/nx-linux-x64-gnu@npm:19.8.2": - version: 19.8.2 - resolution: "@nx/nx-linux-x64-gnu@npm:19.8.2" +"@nx/nx-linux-x64-gnu@npm:20.0.3": + version: 20.0.3 + resolution: "@nx/nx-linux-x64-gnu@npm:20.0.3" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@nx/nx-linux-x64-musl@npm:19.8.2": - version: 19.8.2 - resolution: "@nx/nx-linux-x64-musl@npm:19.8.2" +"@nx/nx-linux-x64-musl@npm:20.0.3": + version: 20.0.3 + resolution: "@nx/nx-linux-x64-musl@npm:20.0.3" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@nx/nx-win32-arm64-msvc@npm:19.8.2": - version: 19.8.2 - resolution: "@nx/nx-win32-arm64-msvc@npm:19.8.2" +"@nx/nx-win32-arm64-msvc@npm:20.0.3": + version: 20.0.3 + resolution: "@nx/nx-win32-arm64-msvc@npm:20.0.3" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@nx/nx-win32-x64-msvc@npm:19.8.2": - version: 19.8.2 - resolution: "@nx/nx-win32-x64-msvc@npm:19.8.2" +"@nx/nx-win32-x64-msvc@npm:20.0.3": + version: 20.0.3 + resolution: "@nx/nx-win32-x64-msvc@npm:20.0.3" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -18871,13 +18860,6 @@ __metadata: languageName: node linkType: hard -"duplexer@npm:^0.1.1": - version: 0.1.2 - resolution: "duplexer@npm:0.1.2" - checksum: 10/62ba61a830c56801db28ff6305c7d289b6dc9f859054e8c982abd8ee0b0a14d2e9a8e7d086ffee12e868d43e2bbe8a964be55ddbd8c8957714c87373c7a4f9b0 - languageName: node - linkType: hard - "eastasianwidth@npm:^0.2.0": version: 0.2.0 resolution: "eastasianwidth@npm:0.2.0" @@ -26642,7 +26624,7 @@ __metadata: languageName: node linkType: hard -"nx-cloud@npm:19.1.0, nx-cloud@npm:^19.0.0": +"nx-cloud@npm:19.1.0, nx-cloud@npm:^19.1.0": version: 19.1.0 resolution: "nx-cloud@npm:19.1.0" dependencies: @@ -26662,22 +26644,21 @@ __metadata: languageName: node linkType: hard -"nx@npm:19.8.2, nx@npm:^19.0.0": - version: 19.8.2 - resolution: "nx@npm:19.8.2" +"nx@npm:^20.0.3": + version: 20.0.3 + resolution: "nx@npm:20.0.3" dependencies: "@napi-rs/wasm-runtime": "npm:0.2.4" - "@nrwl/tao": "npm:19.8.2" - "@nx/nx-darwin-arm64": "npm:19.8.2" - "@nx/nx-darwin-x64": "npm:19.8.2" - "@nx/nx-freebsd-x64": "npm:19.8.2" - "@nx/nx-linux-arm-gnueabihf": "npm:19.8.2" - "@nx/nx-linux-arm64-gnu": "npm:19.8.2" - "@nx/nx-linux-arm64-musl": "npm:19.8.2" - "@nx/nx-linux-x64-gnu": "npm:19.8.2" - "@nx/nx-linux-x64-musl": "npm:19.8.2" - "@nx/nx-win32-arm64-msvc": "npm:19.8.2" - "@nx/nx-win32-x64-msvc": "npm:19.8.2" + "@nx/nx-darwin-arm64": "npm:20.0.3" + "@nx/nx-darwin-x64": "npm:20.0.3" + "@nx/nx-freebsd-x64": "npm:20.0.3" + "@nx/nx-linux-arm-gnueabihf": "npm:20.0.3" + "@nx/nx-linux-arm64-gnu": "npm:20.0.3" + "@nx/nx-linux-arm64-musl": "npm:20.0.3" + "@nx/nx-linux-x64-gnu": "npm:20.0.3" + "@nx/nx-linux-x64-musl": "npm:20.0.3" + "@nx/nx-win32-arm64-msvc": "npm:20.0.3" + "@nx/nx-win32-x64-msvc": "npm:20.0.3" "@yarnpkg/lockfile": "npm:^1.1.0" "@yarnpkg/parsers": "npm:3.0.0-rc.46" "@zkochan/js-yaml": "npm:0.0.7" @@ -26703,7 +26684,6 @@ __metadata: ora: "npm:5.3.0" semver: "npm:^7.5.3" string-width: "npm:^4.2.3" - strong-log-transformer: "npm:^2.1.0" tar-stream: "npm:~2.2.0" tmp: "npm:~0.2.1" tsconfig-paths: "npm:^4.1.2" @@ -26742,7 +26722,7 @@ __metadata: bin: nx: bin/nx.js nx-cloud: bin/nx-cloud.js - checksum: 10/2caec97e60730256bf48d0a2d28f0a785253ef8c832a5372342c01fa58f5416baac0ec8bae71db3d40aa98b1f43bc9aa416e425d4a157cc1b410534f05c63e42 + checksum: 10/f68b60be78fd6acba395ebe9d17ca7e5bdf9703aaf3abb2638b4095ece31d4fc9d7cfc96286115637c1a699a43380e98a29eed2417d5a016c78c1a2976cafb64 languageName: node linkType: hard @@ -31410,19 +31390,6 @@ __metadata: languageName: node linkType: hard -"strong-log-transformer@npm:^2.1.0": - version: 2.1.0 - resolution: "strong-log-transformer@npm:2.1.0" - dependencies: - duplexer: "npm:^0.1.1" - minimist: "npm:^1.2.0" - through: "npm:^2.3.4" - bin: - sl-log-transformer: bin/sl-log-transformer.js - checksum: 10/2fd14eb0a68893fdadefd89f964df404e3d637729c48aca015eb12d1c47455dee28b2522ad7150de23f7a57cce503656585e7644c9cd8532023ea572f8cc5a80 - languageName: node - linkType: hard - "strtok3@npm:^8.1.0": version: 8.1.0 resolution: "strtok3@npm:8.1.0" @@ -31900,7 +31867,7 @@ __metadata: languageName: node linkType: hard -"through@npm:>=2.2.7 <3, through@npm:^2.3.4, through@npm:^2.3.6, through@npm:^2.3.8": +"through@npm:>=2.2.7 <3, through@npm:^2.3.6, through@npm:^2.3.8": version: 2.3.8 resolution: "through@npm:2.3.8" checksum: 10/5da78346f70139a7d213b65a0106f3c398d6bc5301f9248b5275f420abc2c4b1e77c2abc72d218dedc28c41efb2e7c312cb76a7730d04f9c2d37d247da3f4198