AFFiNE/.github/actions/build-rust/action.yml

56 lines
1.6 KiB
YAML
Raw Normal View History

2023-05-10 13:38:23 +03:00
name: 'AFFiNE Rust build'
description: 'Rust build setup, including cache configuration'
inputs:
target:
description: 'Cargo target'
required: true
package:
description: 'Package to build'
required: true
nx_token:
description: 'Nx Cloud access token'
required: false
2023-05-10 13:38:23 +03:00
runs:
using: 'composite'
steps:
2023-11-29 13:11:38 +03:00
- name: Print rustup toolchain version
shell: bash
id: rustup-version
run: |
export RUST_TOOLCHAIN_VERSION="$(grep 'channel' rust-toolchain.toml | head -1 | awk -F '"' '{print $2}')"
echo "Rust toolchain version: $RUST_TOOLCHAIN_VERSION"
echo "RUST_TOOLCHAIN_VERSION=$RUST_TOOLCHAIN_VERSION" >> "$GITHUB_OUTPUT"
2023-05-10 13:38:23 +03:00
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
2023-11-29 13:11:38 +03:00
toolchain: '${{ steps.rustup-version.outputs.RUST_TOOLCHAIN_VERSION }}'
2023-05-10 13:38:23 +03:00
targets: ${{ inputs.target }}
env:
CARGO_INCREMENTAL: '1'
2023-05-10 13:38:23 +03:00
- name: Set CC
if: ${{ contains(inputs.target, 'linux') && inputs.package != '@affine/native' }}
shell: bash
run: |
echo "CC=clang" >> "$GITHUB_ENV"
echo "TARGET_CC=clang" >> "$GITHUB_ENV"
2023-05-10 13:38:23 +03:00
- name: Cache cargo
uses: actions/cache@v4
2023-05-10 13:38:23 +03:00
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
~/.napi-rs
2023-05-10 13:38:23 +03:00
target/${{ inputs.target }}
key: stable-${{ inputs.target }}-cargo-cache
- name: Build
shell: bash
run: |
chore: bump up nx version to v20 (#8437) 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 <details> <summary>nrwl/nx (nx)</summary> ### [`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 ([#&#8203;143](https://redirect.github.com/nrwl/nx/pull/143)) - add rspack plugin ([#&#8203;143](https://redirect.github.com/nrwl/nx/pull/143)) - upgrade rspack to 0.4.4 ([#&#8203;352](https://redirect.github.com/nrwl/nx/pull/352)) - **core:** allow prompts from init generators during nx init ([#&#8203;28003](https://redirect.github.com/nrwl/nx/pull/28003)) - **core:** update github action pnpm version ([#&#8203;27815](https://redirect.github.com/nrwl/nx/pull/27815)) - **core:** remove node task hasher ([#&#8203;28147](https://redirect.github.com/nrwl/nx/pull/28147)) - **core:** allow circular project dependencies to execute tasks ([#&#8203;28227](https://redirect.github.com/nrwl/nx/pull/28227)) - **core:** deprecate custom task runners ([#&#8203;28253](https://redirect.github.com/nrwl/nx/pull/28253)) - **core:** open sqlite databases with `SQLITE_OPEN_FULL_MUTEX` ([#&#8203;28276](https://redirect.github.com/nrwl/nx/pull/28276)) - **core:** enable db cache by default ([#&#8203;28048](https://redirect.github.com/nrwl/nx/pull/28048)) - **devkit:** bump compatibility to Nx 19 - 21.x ([#&#8203;28243](https://redirect.github.com/nrwl/nx/pull/28243)) - **graph:** enable composite graph functionality ([#&#8203;27789](https://redirect.github.com/nrwl/nx/pull/27789)) - **graph:** show owners in pdv ([#&#8203;28211](https://redirect.github.com/nrwl/nx/pull/28211)) - **js:** add the setup-prettier generator ([#&#8203;27996](https://redirect.github.com/nrwl/nx/pull/27996)) - **js:** generate experimental simplified library with ts solution setup ([#&#8203;27910](https://redirect.github.com/nrwl/nx/pull/27910)) - **js:** new workspace uses scoped named in root package.json ([#&#8203;28271](https://redirect.github.com/nrwl/nx/pull/28271)) - **linter:** update eslint-import-plugin to a version that supports eslint v9 ([#&#8203;28273](https://redirect.github.com/nrwl/nx/pull/28273)) - **misc:** update to Nx 16 and rescoped packages ([#&#8203;235](https://redirect.github.com/nrwl/nx/pull/235)) - **misc:** update to Nx 16 and rescoped packages ([#&#8203;235](https://redirect.github.com/nrwl/nx/pull/235)) - **misc:** remove derived generator paths ([#&#8203;27714](https://redirect.github.com/nrwl/nx/pull/27714)) - **misc:** remove @&#8203;nrwl/ scoped packages ([#&#8203;27858](https://redirect.github.com/nrwl/nx/pull/27858)) - **misc:** make directory a required option for generators ([#&#8203;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 ([#&#8203;28199](https://redirect.github.com/nrwl/nx/pull/28199)) - ⚠️ **misc:** handle v20 deprecations in plugins ([#&#8203;28222](https://redirect.github.com/nrwl/nx/pull/28222)) - **nx-dev:** powerpack landing page ([#&#8203;27963](https://redirect.github.com/nrwl/nx/pull/27963)) - **nx-dev:** add Powerpack video to the landing page ([#&#8203;28126](https://redirect.github.com/nrwl/nx/pull/28126)) - **nx-dev:** add nx powerpack to pricing page ([#&#8203;28232](https://redirect.github.com/nrwl/nx/pull/28232)) - **nx-dev:** add nx powerpack gcp & azure mentions ([#&#8203;28256](https://redirect.github.com/nrwl/nx/pull/28256)) - **react:** make vitest the default test runner since it supports ESM and different moduleResolution better ([#&#8203;28153](https://redirect.github.com/nrwl/nx/pull/28153)) - ⚠️ **release:** releasePublish always returns status code per project ([#&#8203;28224](https://redirect.github.com/nrwl/nx/pull/28224)) - ⚠️ **release:** version.generatorOptions.updateDependents is "auto" by default ([#&#8203;28231](https://redirect.github.com/nrwl/nx/pull/28231)) - ⚠️ **release:** rewrite ChangelogRenderer to a class API and remove deprecated config ([#&#8203;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 ([#&#8203;159](https://redirect.github.com/nrwl/nx/pull/159)) - **rspack:** add missing features (less/sass/stylus, assets, etc.) ([#&#8203;160](https://redirect.github.com/nrwl/nx/pull/160)) - **rspack:** add missing features (less/sass/stylus, assets, etc.) ([#&#8203;160](https://redirect.github.com/nrwl/nx/pull/160)) - **rspack:** clean-up project setup ([#&#8203;161](https://redirect.github.com/nrwl/nx/pull/161)) - **rspack:** clean-up project setup ([#&#8203;161](https://redirect.github.com/nrwl/nx/pull/161)) - **rspack:** update and pin rspack to 0.1.0 ([#&#8203;173](https://redirect.github.com/nrwl/nx/pull/173)) - **rspack:** set mode in configuration and expose option ([#&#8203;177](https://redirect.github.com/nrwl/nx/pull/177)) - **rspack:** install latest patch when configuring ([#&#8203;195](https://redirect.github.com/nrwl/nx/pull/195)) - **rspack:** configuration generator better ux ([#&#8203;201](https://redirect.github.com/nrwl/nx/pull/201)) - **rspack:** builder returns outfile ([#&#8203;207](https://redirect.github.com/nrwl/nx/pull/207)) - **rspack:** simplify app generator ([#&#8203;212](https://redirect.github.com/nrwl/nx/pull/212)) - **rspack:** simplify app generator ([#&#8203;212](https://redirect.github.com/nrwl/nx/pull/212)) - **rspack:** Add extractLicenses option to rspack's project configuration ([#&#8203;230](https://redirect.github.com/nrwl/nx/pull/230)) - **rspack:** Add extractLicenses option to rspack's project configuration ([#&#8203;230](https://redirect.github.com/nrwl/nx/pull/230)) - **rspack:** add typecheck ([#&#8203;338](https://redirect.github.com/nrwl/nx/pull/338)) - **rspack:** add generatePackageJson plugin ([#&#8203;341](https://redirect.github.com/nrwl/nx/pull/341)) - **rspack:** add generatePackageJson plugin ([#&#8203;341](https://redirect.github.com/nrwl/nx/pull/341)) - **rspack:** update rspack to install the latest version ([#&#8203;379](https://redirect.github.com/nrwl/nx/pull/379)) - **rspack:** add option to keep existing versions of packages for init generator ([#&#8203;378](https://redirect.github.com/nrwl/nx/pull/378)) - **rspack:** support object configs ([#&#8203;402](https://redirect.github.com/nrwl/nx/pull/402)) - **rspack:** add crystal plugin for inferring projects ([#&#8203;407](https://redirect.github.com/nrwl/nx/pull/407)) - **rspack:** add crystal plugin for inferring projects ([#&#8203;407](https://redirect.github.com/nrwl/nx/pull/407)) - **rspack:** bump to latest rspack ([#&#8203;412](https://redirect.github.com/nrwl/nx/pull/412)) - **rspack:** add module federation support ([#&#8203;416](https://redirect.github.com/nrwl/nx/pull/416)) - **rspack:** add module federation support ([#&#8203;416](https://redirect.github.com/nrwl/nx/pull/416)) - **rspack:** add module-federation-static-server ([#&#8203;418](https://redirect.github.com/nrwl/nx/pull/418)) - **rspack:** move rspack into main nx repo ([#&#8203;27969](https://redirect.github.com/nrwl/nx/pull/27969)) - **storybook:** remove cypress options for e2e testing ([#&#8203;27850](https://redirect.github.com/nrwl/nx/pull/27850)) - **testing:** update test generators to exclude test files from the runtime tsconfig file ([#&#8203;27991](https://redirect.github.com/nrwl/nx/pull/27991)) ##### 🩹 Fixes - **angular:** ensure async webpack configs are awaited [#&#8203;28200](https://redirect.github.com/nrwl/nx/issues/28200) ([#&#8203;28213](https://redirect.github.com/nrwl/nx/pull/28213), [#&#8203;28200](https://redirect.github.com/nrwl/nx/issues/28200)) - **angular:** ensure [@&#8203;typescript-eslint/utils](https://redirect.github.com/typescript-eslint/utils) is used with eslint flat config ([#&#8203;28267](https://redirect.github.com/nrwl/nx/pull/28267)) - **bundling:** remove unused `babel-plugin-transform-async-to-promises` from `@nx/rollup` ([#&#8203;27669](https://redirect.github.com/nrwl/nx/pull/27669)) - **core:** allow creating a db cache without linking task details ([#&#8203;28023](https://redirect.github.com/nrwl/nx/pull/28023)) - **core:** fix output text for multiple targets ([#&#8203;28043](https://redirect.github.com/nrwl/nx/pull/28043)) - **core:** sort projects after updating from context ([#&#8203;28024](https://redirect.github.com/nrwl/nx/pull/28024)) - **core:** add flag when db is disabled for task history ([#&#8203;28059](https://redirect.github.com/nrwl/nx/pull/28059)) - **core:** set windowsHide: true wherever possible ([#&#8203;28073](https://redirect.github.com/nrwl/nx/pull/28073)) - **core:** support more structured errors in sync generators ([#&#8203;28075](https://redirect.github.com/nrwl/nx/pull/28075)) - **core:** nx add should show errors ([#&#8203;28079](https://redirect.github.com/nrwl/nx/pull/28079)) - **core:** several powerpack fixes ([#&#8203;28088](https://redirect.github.com/nrwl/nx/pull/28088)) - **core:** remove wasi compatibility while db is unsupported in wasi ([#&#8203;28089](https://redirect.github.com/nrwl/nx/pull/28089)) - **core:** hide no file server process json log ([#&#8203;27626](https://redirect.github.com/nrwl/nx/pull/27626)) - **core:** fix output for 0 task ([#&#8203;28122](https://redirect.github.com/nrwl/nx/pull/28122)) - **core:** log error for runTaskInForkedProcess ([#&#8203;28078](https://redirect.github.com/nrwl/nx/pull/28078)) - **core:** remove strong-log-transformer ([#&#8203;28094](https://redirect.github.com/nrwl/nx/pull/28094)) - **core:** calculate project dependencies upfront in the schedule ([#&#8203;28152](https://redirect.github.com/nrwl/nx/pull/28152)) - **core:** only stop daemon if enabled ([#&#8203;28146](https://redirect.github.com/nrwl/nx/pull/28146)) - **core:** adjust nx import messaging without relative source dir ([#&#8203;28052](https://redirect.github.com/nrwl/nx/pull/28052)) - **core:** move getDetails to top ([#&#8203;28158](https://redirect.github.com/nrwl/nx/pull/28158)) - **core:** fix env override run command ([#&#8203;28156](https://redirect.github.com/nrwl/nx/pull/28156)) - **core:** fix link to powerpack plugins ([#&#8203;28182](https://redirect.github.com/nrwl/nx/pull/28182)) - **core:** Remove nameAndDirectoryFormat option from generators ([#&#8203;28110](https://redirect.github.com/nrwl/nx/pull/28110)) - **core:** remove axios import from main code loading ([#&#8203;28230](https://redirect.github.com/nrwl/nx/pull/28230)) - **core:** change getCache signature to only accept options ([#&#8203;28248](https://redirect.github.com/nrwl/nx/pull/28248)) - **core:** allow prompts during nx add ([#&#8203;28247](https://redirect.github.com/nrwl/nx/pull/28247)) - **core:** add stub for conformance:check, add messaging ([#&#8203;28250](https://redirect.github.com/nrwl/nx/pull/28250)) - **core:** filter out task dependencies on itself ([#&#8203;28261](https://redirect.github.com/nrwl/nx/pull/28261)) - **core:** handle unique constraint errors when adding duplicate hashes to the cache db ([#&#8203;28310](https://redirect.github.com/nrwl/nx/pull/28310)) - **expo:** change force to be an option for yarn ([#&#8203;28115](https://redirect.github.com/nrwl/nx/pull/28115)) - **graph:** add spacing between graph details top ([#&#8203;28055](https://redirect.github.com/nrwl/nx/pull/28055)) - **js:** ensure prettier is available for generators if it is meant to be installed ([#&#8203;28082](https://redirect.github.com/nrwl/nx/pull/28082)) - **js:** [@&#8203;nx/js](https://redirect.github.com/nx/js):init ensures tslib is installed if importHelpers is true ([#&#8203;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 ([#&#8203;28130](https://redirect.github.com/nrwl/nx/pull/28130)) - **js:** improve typescript-sync generator messaging ([#&#8203;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 ([#&#8203;28218](https://redirect.github.com/nrwl/nx/pull/28218)) - **js:** throw an error when generating a publishable lib with `--bundler=none` ([#&#8203;28221](https://redirect.github.com/nrwl/nx/pull/28221)) - **js:** resolve VerdaccioWarning on the "logs" configuration property ([#&#8203;28234](https://redirect.github.com/nrwl/nx/pull/28234)) - **linter:** do not generate docs.recommended property ([#&#8203;28009](https://redirect.github.com/nrwl/nx/pull/28009)) - **linter:** ignore dist and use compat helper for eslint-plugin-react-hooks ([#&#8203;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 ([#&#8203;28102](https://redirect.github.com/nrwl/nx/pull/28102)) - **misc:** replace missed references to [@&#8203;nrwl](https://redirect.github.com/nrwl) scope ([#&#8203;239](https://redirect.github.com/nrwl/nx/pull/239)) - **misc:** target commonjs for legacy packages ([#&#8203;241](https://redirect.github.com/nrwl/nx/pull/241)) - **module-federation:** pin mf enhanced version ([#&#8203;28196](https://redirect.github.com/nrwl/nx/pull/28196)) - **module-federation:** exports could be objects and not strings [#&#8203;28129](https://redirect.github.com/nrwl/nx/issues/28129) ([#&#8203;28215](https://redirect.github.com/nrwl/nx/pull/28215), [#&#8203;28129](https://redirect.github.com/nrwl/nx/issues/28129)) - **module-federation:** additionalShared should check node_modules when applying to support transitive deps [#&#8203;28137](https://redirect.github.com/nrwl/nx/issues/28137) ([#&#8203;28216](https://redirect.github.com/nrwl/nx/pull/28216), [#&#8203;28137](https://redirect.github.com/nrwl/nx/issues/28137)) - **module-federation:** normalize kebab-cased names to snake_cased ([#&#8203;28237](https://redirect.github.com/nrwl/nx/pull/28237)) - **nx-cloud:** use create-workspace-v1 endpoint if v2 returns with 404 ([#&#8203;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 ([#&#8203;28112](https://redirect.github.com/nrwl/nx/pull/28112)) - **nx-dev:** Update Power pack docs to include OSS projects ([#&#8203;28176](https://redirect.github.com/nrwl/nx/pull/28176)) - **nx-dev:** Blog url ([#&#8203;27597](https://redirect.github.com/nrwl/nx/pull/27597)) - **nx-dev:** 404 urls ([#&#8203;27599](https://redirect.github.com/nrwl/nx/pull/27599)) - **nx-dev:** fix markdoc table data alignment ([#&#8203;28274](https://redirect.github.com/nrwl/nx/pull/28274)) - **react:** vite should be default bundler in app generator ([#&#8203;28013](https://redirect.github.com/nrwl/nx/pull/28013)) - **react:** setup-ssr generator should infer bundler based on the executor for build [#&#8203;28128](https://redirect.github.com/nrwl/nx/issues/28128) ([#&#8203;28217](https://redirect.github.com/nrwl/nx/pull/28217), [#&#8203;28128](https://redirect.github.com/nrwl/nx/issues/28128)) - **react:** host generator should pass normalized name to remote generator ([#&#8203;28295](https://redirect.github.com/nrwl/nx/pull/28295)) - **release:** allow dynamically continuing when current version is unresolvable ([#&#8203;28034](https://redirect.github.com/nrwl/nx/pull/28034)) - **release:** add groupPreVersionCommand to schema, improve logging ([#&#8203;28087](https://redirect.github.com/nrwl/nx/pull/28087)) - **release:** ensure updateDependents only works for independent projects ([#&#8203;28283](https://redirect.github.com/nrwl/nx/pull/28283)) - **repo:** fix publishing for legacy packages ([#&#8203;240](https://redirect.github.com/nrwl/nx/pull/240)) - **repo:** fix publishing for legacy packages ([#&#8203;240](https://redirect.github.com/nrwl/nx/pull/240)) - **repo:** add json files to assets ([#&#8203;243](https://redirect.github.com/nrwl/nx/pull/243)) - **rspack:** use correct app dir when generating non-root projects ([#&#8203;162](https://redirect.github.com/nrwl/nx/pull/162)) - **rspack:** use correct app dir when generating non-root projects ([#&#8203;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 ([#&#8203;182](https://redirect.github.com/nrwl/nx/pull/182)) - **rspack:** add dependency to ajv-keywords that match the version used by rspack ([#&#8203;187](https://redirect.github.com/nrwl/nx/pull/187)) - **rspack:** pass devServer options to devServer ([#&#8203;193](https://redirect.github.com/nrwl/nx/pull/193)) - **rspack:** set externals for target node ([#&#8203;194](https://redirect.github.com/nrwl/nx/pull/194)) - **rspack:** add withWeb if web app ([#&#8203;200](https://redirect.github.com/nrwl/nx/pull/200)) - **rspack:** use ensureTypescript before tsquery ([#&#8203;215](https://redirect.github.com/nrwl/nx/pull/215)) - **rspack:** implement watch mode ([#&#8203;217](https://redirect.github.com/nrwl/nx/pull/217)) - **rspack:** do not force cssmodules ([#&#8203;222](https://redirect.github.com/nrwl/nx/pull/222)) - **rspack:** use builtin minify instead ([#&#8203;172](https://redirect.github.com/nrwl/nx/pull/172)) - **rspack:** use built-in tsconfig paths support ([#&#8203;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 ([#&#8203;229](https://redirect.github.com/nrwl/nx/pull/229)) - **rspack:** lock version to 0.1.11 ([#&#8203;279](https://redirect.github.com/nrwl/nx/pull/279)) - **rspack:** refine output filename patterns ([#&#8203;280](https://redirect.github.com/nrwl/nx/pull/280)) - **rspack:** add missing license-webpack-plugin dependency ([#&#8203;301](https://redirect.github.com/nrwl/nx/pull/301)) - **rspack:** add fileReplacements support ([#&#8203;231](https://redirect.github.com/nrwl/nx/pull/231)) - **rspack:** Add missing peer dep ([#&#8203;372](https://redirect.github.com/nrwl/nx/pull/372)) - **rspack:** do not depend directly on ajv to allow for correct hoisting ([#&#8203;384](https://redirect.github.com/nrwl/nx/pull/384)) - **rspack:** ensure react-refresh is installed ([#&#8203;385](https://redirect.github.com/nrwl/nx/pull/385)) - **rspack:** User port should be respected. ([#&#8203;387](https://redirect.github.com/nrwl/nx/pull/387)) - **rspack:** add postcss-loader for css files ([#&#8203;415](https://redirect.github.com/nrwl/nx/pull/415)) - **rspack:** add hook for dev server to log when compilation completed ([#&#8203;417](https://redirect.github.com/nrwl/nx/pull/417)) - **rspack:** ensure process is default import ([#&#8203;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 ([#&#8203;28181](https://redirect.github.com/nrwl/nx/pull/28181)) - **storybook:** only add [@&#8203;storybook/test-runner](https://redirect.github.com/storybook/test-runner) to externalDependencies if installed ([#&#8203;28060](https://redirect.github.com/nrwl/nx/pull/28060)) - **testing:** add support for playwright --last-failed ([#&#8203;28161](https://redirect.github.com/nrwl/nx/pull/28161)) - **testing:** migration for getJestProjects -> getJestProjectsAsync handles both CJS and ESM ([#&#8203;28299](https://redirect.github.com/nrwl/nx/pull/28299)) - **testing:** getJestProjectsAsync no longer duplicates project paths ([#&#8203;28311](https://redirect.github.com/nrwl/nx/pull/28311)) ##### ⚠️ Breaking Changes - ⚠️ **misc:** handle v20 deprecations in plugins ([#&#8203;28222](https://redirect.github.com/nrwl/nx/pull/28222)) - ⚠️ **release:** rewrite ChangelogRenderer to a class API and remove deprecated config ([#&#8203;28229](https://redirect.github.com/nrwl/nx/pull/28229)) - ⚠️ **release:** version.generatorOptions.updateDependents is "auto" by default ([#&#8203;28231](https://redirect.github.com/nrwl/nx/pull/28231)) - ⚠️ **release:** releasePublish always returns status code per project ([#&#8203;28224](https://redirect.github.com/nrwl/nx/pull/28224)) ##### ❤️ Thank You - Andrew Goldis [@&#8203;agoldis](https://redirect.github.com/agoldis) - Austin Fahsl [@&#8203;fahslaj](https://redirect.github.com/fahslaj) - Benjamin Cabanes [@&#8203;bcabanes](https://redirect.github.com/bcabanes) - Caleb Ukle - Chau Tran - Colum Ferry [@&#8203;Coly010](https://redirect.github.com/Coly010) - Craigory Coppola [@&#8203;AgentEnder](https://redirect.github.com/AgentEnder) - Douglas Machado [@&#8203;dgmachado](https://redirect.github.com/dgmachado) - Emily Xiong [@&#8203;xiongemi](https://redirect.github.com/xiongemi) - FrozenPandaz [@&#8203;FrozenPandaz](https://redirect.github.com/FrozenPandaz) - Gengkun [@&#8203;ahabhgk](https://redirect.github.com/ahabhgk) - Jack Hsu [@&#8203;jaysoo](https://redirect.github.com/jaysoo) - James Henry [@&#8203;JamesHenry](https://redirect.github.com/JamesHenry) - Jason Jean [@&#8203;FrozenPandaz](https://redirect.github.com/FrozenPandaz) - Jonathan Cammisuli - Julián Gómez Sibecas [@&#8203;juliangsibecas](https://redirect.github.com/juliangsibecas) - Juri [@&#8203;juristr](https://redirect.github.com/juristr) - Juri Strumpflohner [@&#8203;juristr](https://redirect.github.com/juristr) - Katerina Skroumpelou [@&#8203;mandarini](https://redirect.github.com/mandarini) - Leosvel Pérez Espinosa [@&#8203;leosvelperez](https://redirect.github.com/leosvelperez) - Louie Weng [@&#8203;lourw](https://redirect.github.com/lourw) - MaxKless [@&#8203;MaxKless](https://redirect.github.com/MaxKless) - Nicholas Cunningham [@&#8203;ndcunningham](https://redirect.github.com/ndcunningham) - pawel-twardziak - Phillip Barta [@&#8203;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 ([#&#8203;28227](https://redirect.github.com/nrwl/nx/pull/28227)) - **nx-dev:** add nx powerpack to pricing page ([#&#8203;28232](https://redirect.github.com/nrwl/nx/pull/28232)) - **nx-dev:** add nx powerpack gcp & azure mentions ([#&#8203;28256](https://redirect.github.com/nrwl/nx/pull/28256)) ##### 🩹 Fixes - **angular:** ensure [@&#8203;typescript-eslint/utils](https://redirect.github.com/typescript-eslint/utils) is used with eslint flat config ([#&#8203;28267](https://redirect.github.com/nrwl/nx/pull/28267)) - **core:** remove axios import from main code loading ([#&#8203;28230](https://redirect.github.com/nrwl/nx/pull/28230)) - **core:** change getCache signature to only accept options ([#&#8203;28248](https://redirect.github.com/nrwl/nx/pull/28248)) - **core:** allow prompts during nx add ([#&#8203;28247](https://redirect.github.com/nrwl/nx/pull/28247)) - **core:** add stub for conformance:check, add messaging ([#&#8203;28250](https://redirect.github.com/nrwl/nx/pull/28250)) - **core:** filter out task dependencies on itself ([#&#8203;28261](https://redirect.github.com/nrwl/nx/pull/28261)) - **core:** fixing target groups not merging ([#&#8203;28280](https://redirect.github.com/nrwl/nx/pull/28280)) - **js:** resolve VerdaccioWarning on the "logs" configuration property ([#&#8203;28234](https://redirect.github.com/nrwl/nx/pull/28234)) - **nx-cloud:** use create-workspace-v1 endpoint if v2 returns with 404 ([#&#8203;28015](https://redirect.github.com/nrwl/nx/pull/28015)) - **nx-dev:** fix markdoc table data alignment ([#&#8203;28274](https://redirect.github.com/nrwl/nx/pull/28274)) - **react:** host generator should pass normalized name to remote generator ([#&#8203;28295](https://redirect.github.com/nrwl/nx/pull/28295)) - **testing:** add support for playwright --last-failed ([#&#8203;28161](https://redirect.github.com/nrwl/nx/pull/28161)) ##### ❤️ Thank You - Andrew Goldis [@&#8203;agoldis](https://redirect.github.com/agoldis) - Benjamin Cabanes [@&#8203;bcabanes](https://redirect.github.com/bcabanes) - Colum Ferry [@&#8203;Coly010](https://redirect.github.com/Coly010) - Jack Hsu [@&#8203;jaysoo](https://redirect.github.com/jaysoo) - James Henry [@&#8203;JamesHenry](https://redirect.github.com/JamesHenry) - Jason Jean [@&#8203;FrozenPandaz](https://redirect.github.com/FrozenPandaz) - Jonathan Cammisuli - Louie Weng [@&#8203;lourw](https://redirect.github.com/lourw) - Nicholas Cunningham [@&#8203;ndcunningham](https://redirect.github.com/ndcunningham) - Shahar Kazaz - Zachary DeRose [@&#8203;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 ([#&#8203;28126](https://redirect.github.com/nrwl/nx/pull/28126)) ##### 🩹 Fixes - **angular:** ensure async webpack configs are awaited [#&#8203;28200](https://redirect.github.com/nrwl/nx/issues/28200) ([#&#8203;28213](https://redirect.github.com/nrwl/nx/pull/28213), [#&#8203;28200](https://redirect.github.com/nrwl/nx/issues/28200)) - **core:** fix output for 0 task ([#&#8203;28122](https://redirect.github.com/nrwl/nx/pull/28122)) - **core:** log error for runTaskInForkedProcess ([#&#8203;28078](https://redirect.github.com/nrwl/nx/pull/28078)) - **core:** calculate project dependencies upfront in the schedule ([#&#8203;28152](https://redirect.github.com/nrwl/nx/pull/28152)) - **core:** only stop daemon if enabled ([#&#8203;28146](https://redirect.github.com/nrwl/nx/pull/28146)) - **core:** adjust nx import messaging without relative source dir ([#&#8203;28052](https://redirect.github.com/nrwl/nx/pull/28052)) - **core:** move getDetails to top ([#&#8203;28158](https://redirect.github.com/nrwl/nx/pull/28158)) - **core:** fix env override run command ([#&#8203;28156](https://redirect.github.com/nrwl/nx/pull/28156)) - **core:** fix link to powerpack plugins ([#&#8203;28182](https://redirect.github.com/nrwl/nx/pull/28182)) - **expo:** change force to be an option for yarn ([#&#8203;28115](https://redirect.github.com/nrwl/nx/pull/28115)) - **graph:** add spacing between graph details top ([#&#8203;28055](https://redirect.github.com/nrwl/nx/pull/28055)) - **js:** improve typescript-sync generator messaging ([#&#8203;28162](https://redirect.github.com/nrwl/nx/pull/28162)) - **module-federation:** exports could be objects and not strings [#&#8203;28129](https://redirect.github.com/nrwl/nx/issues/28129) ([#&#8203;28215](https://redirect.github.com/nrwl/nx/pull/28215), [#&#8203;28129](https://redirect.github.com/nrwl/nx/issues/28129)) - **module-federation:** additionalShared should check node_modules when applying to support transitive deps [#&#8203;28137](https://redirect.github.com/nrwl/nx/issues/28137) ([#&#8203;28216](https://redirect.github.com/nrwl/nx/pull/28216), [#&#8203;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 ([#&#8203;28112](https://redirect.github.com/nrwl/nx/pull/28112)) - **nx-dev:** Update Power pack docs to include OSS projects ([#&#8203;28176](https://redirect.github.com/nrwl/nx/pull/28176)) - **nx-dev:** 404 urls ([#&#8203;27599](https://redirect.github.com/nrwl/nx/pull/27599)) - **react:** setup-ssr generator should infer bundler based on the executor for build [#&#8203;28128](https://redirect.github.com/nrwl/nx/issues/28128) ([#&#8203;28217](https://redirect.github.com/nrwl/nx/pull/28217), [#&#8203;28128](https://redirect.github.com/nrwl/nx/issues/28128)) - **storybook:** only add [@&#8203;storybook/test-runner](https://redirect.github.com/storybook/test-runner) to externalDependencies if installed ([#&#8203;28060](https://redirect.github.com/nrwl/nx/pull/28060)) ##### ❤️ Thank You - Colum Ferry [@&#8203;Coly010](https://redirect.github.com/Coly010) - Emily Xiong [@&#8203;xiongemi](https://redirect.github.com/xiongemi) - Jason Jean [@&#8203;FrozenPandaz](https://redirect.github.com/FrozenPandaz) - Juri [@&#8203;juristr](https://redirect.github.com/juristr) - Juri Strumpflohner [@&#8203;juristr](https://redirect.github.com/juristr) - Leosvel Pérez Espinosa [@&#8203;leosvelperez](https://redirect.github.com/leosvelperez) - MaxKless [@&#8203;MaxKless](https://redirect.github.com/MaxKless) - Nicholas Cunningham [@&#8203;ndcunningham](https://redirect.github.com/ndcunningham) - pawel-twardziak </details> --- ### 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. --- - [ ] <!-- rebase-check -->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). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzguMTE1LjEiLCJ0YXJnZXRCcmFuY2giOiJjYW5hcnkiLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
2024-10-22 09:06:48 +03:00
yarn workspace ${{ inputs.package }} build --target ${{ inputs.target }} --use-napi-cross
env:
NX_CLOUD_ACCESS_TOKEN: ${{ inputs.nx_token }}
DEBUG: 'napi:*'