From 4c48aee88bcdb3fd5ea1a26737449353edaea4ef Mon Sep 17 00:00:00 2001 From: Brooooooklyn Date: Thu, 19 Dec 2024 07:58:45 +0000 Subject: [PATCH] ci: remove nx-cloud (#9203) --- .github/actions/build-rust/action.yml | 6 +- .github/workflows/build-images.yml | 10 +- .github/workflows/build-test.yml | 5 +- .github/workflows/copilot-test.yml | 2 - .github/workflows/deploy.yml | 2 - .github/workflows/release-desktop.yml | 3 - .github/workflows/release-mobile.yml | 6 +- docs/building-desktop-client-app.md | 5 +- nx.json | 100 ----- package.json | 6 +- packages/backend/native/package.json | 1 - packages/backend/native/project.json | 25 -- packages/frontend/apps/android/project.json | 69 --- packages/frontend/apps/electron/project.json | 17 - packages/frontend/apps/ios/project.json | 69 --- packages/frontend/apps/mobile/project.json | 69 --- packages/frontend/apps/web/project.json | 69 --- packages/frontend/i18n/project.json | 17 - packages/frontend/native/package.json | 1 - packages/frontend/native/project.json | 25 -- yarn.lock | 428 ++----------------- 21 files changed, 40 insertions(+), 895 deletions(-) delete mode 100644 nx.json delete mode 100644 packages/backend/native/project.json delete mode 100644 packages/frontend/apps/android/project.json delete mode 100644 packages/frontend/apps/electron/project.json delete mode 100644 packages/frontend/apps/ios/project.json delete mode 100644 packages/frontend/apps/mobile/project.json delete mode 100644 packages/frontend/apps/web/project.json delete mode 100644 packages/frontend/i18n/project.json delete mode 100644 packages/frontend/native/project.json diff --git a/.github/actions/build-rust/action.yml b/.github/actions/build-rust/action.yml index 8e0aeb02cae5d..3a36e64050f11 100644 --- a/.github/actions/build-rust/action.yml +++ b/.github/actions/build-rust/action.yml @@ -7,9 +7,6 @@ inputs: package: description: 'Package to build' required: true - nx_token: - description: 'Nx Cloud access token' - required: false runs: using: 'composite' @@ -49,7 +46,6 @@ runs: - name: Build shell: bash run: | - yarn workspace ${{ inputs.package }} nx build ${{ inputs.package }} --verbose -- --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/.github/workflows/build-images.yml b/.github/workflows/build-images.yml index 1054d304af6a2..326fc85803d14 100644 --- a/.github/workflows/build-images.yml +++ b/.github/workflows/build-images.yml @@ -7,9 +7,6 @@ on: type: string required: true -env: - NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} - permissions: contents: 'write' id-token: 'write' @@ -50,7 +47,7 @@ jobs: - name: Setup Node.js uses: ./.github/actions/setup-node - name: Build Core - run: yarn nx build @affine/web --skip-nx-cache + run: yarn workspace @affine/web build env: R2_ACCOUNT_ID: ${{ secrets.R2_ACCOUNT_ID }} R2_ACCESS_KEY_ID: ${{ secrets.R2_ACCESS_KEY_ID }} @@ -83,7 +80,7 @@ jobs: - name: Setup Node.js uses: ./.github/actions/setup-node - name: Build Admin - run: yarn nx build @affine/admin --skip-nx-cache + run: yarn workspace @affine/admin build env: R2_ACCOUNT_ID: ${{ secrets.R2_ACCOUNT_ID }} R2_ACCESS_KEY_ID: ${{ secrets.R2_ACCESS_KEY_ID }} @@ -115,7 +112,7 @@ jobs: - name: Setup Node.js uses: ./.github/actions/setup-node - name: Build Mobile - run: yarn nx build @affine/mobile --skip-nx-cache + run: yarn workspace @affine/mobile build env: R2_ACCOUNT_ID: ${{ secrets.R2_ACCOUNT_ID }} R2_ACCESS_KEY_ID: ${{ secrets.R2_ACCESS_KEY_ID }} @@ -163,7 +160,6 @@ jobs: with: target: ${{ matrix.targets.name }} package: '@affine/server-native' - nx_token: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} - name: Upload ${{ matrix.targets.file }} uses: actions/upload-artifact@v4 with: diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index d1599299fa3cc..c6d34e549e316 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -19,7 +19,6 @@ env: AFFINE_ENV: dev COVERAGE: true MACOSX_DEPLOYMENT_TARGET: '10.13' - NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} PLAYWRIGHT_BROWSERS_PATH: ${{ github.workspace }}/node_modules/.cache/ms-playwright DEPLOYMENT_TYPE: affine @@ -195,7 +194,7 @@ jobs: path: ./packages/frontend/native - name: Unit Test - run: yarn nx test:coverage @affine/monorepo + run: yarn test:coverage - name: Upload unit test coverage results uses: codecov/codecov-action@v5 @@ -238,7 +237,6 @@ jobs: with: target: ${{ matrix.spec.target }} package: '@affine/native' - nx_token: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} - name: Upload ${{ steps.filename.outputs.filename }} uses: actions/upload-artifact@v4 with: @@ -263,7 +261,6 @@ jobs: with: target: 'x86_64-unknown-linux-gnu' package: '@affine/server-native' - nx_token: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} - name: Upload server-native.node uses: actions/upload-artifact@v4 with: diff --git a/.github/workflows/copilot-test.yml b/.github/workflows/copilot-test.yml index 6933a49a39f12..6f3cc8156fc6f 100644 --- a/.github/workflows/copilot-test.yml +++ b/.github/workflows/copilot-test.yml @@ -4,7 +4,6 @@ on: workflow_dispatch: env: - NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} PLAYWRIGHT_BROWSERS_PATH: ${{ github.workspace }}/node_modules/.cache/ms-playwright jobs: @@ -25,7 +24,6 @@ jobs: with: target: 'x86_64-unknown-linux-gnu' package: '@affine/server-native' - nx_token: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} - name: Upload server-native.node uses: actions/upload-artifact@v4 with: diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 116b41787dcd9..7198f08179878 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -12,8 +12,6 @@ on: - beta - stable - internal -env: - NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} permissions: contents: 'write' diff --git a/.github/workflows/release-desktop.yml b/.github/workflows/release-desktop.yml index c62cb8678e308..2a9b32ca0adb3 100644 --- a/.github/workflows/release-desktop.yml +++ b/.github/workflows/release-desktop.yml @@ -60,7 +60,6 @@ jobs: SENTRY_DSN: ${{ secrets.SENTRY_DSN }} SENTRY_RELEASE: ${{ steps.version.outputs.APP_VERSION }} RELEASE_VERSION: ${{ steps.version.outputs.APP_VERSION }} - SKIP_NX_CACHE: 'true' MIXPANEL_TOKEN: ${{ secrets.MIXPANEL_TOKEN }} - name: Upload web artifact @@ -117,7 +116,6 @@ jobs: with: target: ${{ matrix.spec.target }} package: '@affine/native' - nx_token: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} - uses: actions/download-artifact@v4 with: name: web @@ -233,7 +231,6 @@ jobs: with: target: ${{ matrix.spec.target }} package: '@affine/native' - nx_token: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} - uses: actions/download-artifact@v4 with: name: web diff --git a/.github/workflows/release-mobile.yml b/.github/workflows/release-mobile.yml index dddc11a6a9a14..19a6ce1ccb829 100644 --- a/.github/workflows/release-mobile.yml +++ b/.github/workflows/release-mobile.yml @@ -68,7 +68,7 @@ jobs: - name: Setup @sentry/cli uses: ./.github/actions/setup-sentry - name: Build Mobile - run: yarn nx build @affine/ios --skip-nx-cache + run: yarn workspace @affine/ios build env: PUBLIC_PATH: '/' MIXPANEL_TOKEN: ${{ secrets.MIXPANEL_TOKEN }} @@ -78,7 +78,6 @@ jobs: SENTRY_DSN: ${{ secrets.SENTRY_DSN }} SENTRY_RELEASE: ${{ steps.version.outputs.APP_VERSION }} RELEASE_VERSION: ${{ steps.version.outputs.APP_VERSION }} - SKIP_NX_CACHE: 'true' - name: Upload ios artifact uses: actions/upload-artifact@v4 with: @@ -102,7 +101,7 @@ jobs: - name: Setup @sentry/cli uses: ./.github/actions/setup-sentry - name: Build Mobile - run: yarn nx build @affine/android --skip-nx-cache + run: yarn workspace @affine/android build env: PUBLIC_PATH: '/' MIXPANEL_TOKEN: ${{ secrets.MIXPANEL_TOKEN }} @@ -112,7 +111,6 @@ jobs: SENTRY_DSN: ${{ secrets.SENTRY_DSN }} SENTRY_RELEASE: ${{ steps.version.outputs.APP_VERSION }} RELEASE_VERSION: ${{ steps.version.outputs.APP_VERSION }} - SKIP_NX_CACHE: 'true' - name: Upload android artifact uses: actions/upload-artifact@v4 with: diff --git a/docs/building-desktop-client-app.md b/docs/building-desktop-client-app.md index d8317a76caeb9..f7d631e1a6e8e 100644 --- a/docs/building-desktop-client-app.md +++ b/docs/building-desktop-client-app.md @@ -46,17 +46,16 @@ Please refer to `Build Native Dependencies` section in [BUILDING.md](./BUILDING. On Mac & Linux ```shell -BUILD_TYPE=canary SKIP_NX_CACHE=1 yarn workspace @affine/electron generate-assets +BUILD_TYPE=canary yarn workspace @affine/electron generate-assets ``` On Windows (powershell) ```powershell $env:BUILD_TYPE="canary" -$env:SKIP_NX_CACHE=1 $env:DISTRIBUTION=desktop $env:SKIP_WEB_BUILD=1 -yarn build --skip-nx-cache +yarn build ``` ### 2. Re-config yarn, clean up the node_modules and reinstall the dependencies diff --git a/nx.json b/nx.json deleted file mode 100644 index d4d0c1b4df65e..0000000000000 --- a/nx.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "$schema": "./node_modules/nx/schemas/nx-schema.json", - "npmScope": "toeverything", - "nxCloudAccessToken": "MzUwNTU4YWItZGFhYi00YjE2LWIxODAtODk4NmIwYjMwYzZkfHJlYWQ=", - "tasksRunnerOptions": { - "default": { - "runner": "nx-cloud", - "options": { - "cacheableOperations": ["build", "test", "e2e", "lint"], - "runtimeCacheInputs": ["node -v"] - } - } - }, - "defaultBase": "canary", - "namedInputs": { - "default": ["{projectRoot}/**/*", "sharedGlobals"], - "sharedGlobals": [ - "{workspaceRoot}/tsconfig.json", - "{workspaceRoot}/nx.json" - ], - "production": [ - "default", - "!{projectRoot}/.eslintrc.json", - "!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)" - ] - }, - "targetDefaults": { - "build": { - "dependsOn": ["^build"], - "outputs": [ - "{projectRoot}/dist", - "{projectRoot}/build", - "{projectRoot}/out", - "{projectRoot}/storybook-static" - ], - "inputs": [ - "{workspaceRoot}/packages/frontend/infra/**/*", - "{workspaceRoot}/packages/frontend/sdk/**/*", - { - "runtime": "node -v" - }, - { - "env": "BUILD_TYPE" - }, - { - "env": "PERFSEE_TOKEN" - }, - { - "env": "SENTRY_ORG" - }, - { - "env": "SENTRY_PROJECT" - }, - { - "env": "SENTRY_AUTH_TOKEN" - }, - { - "env": "SENTRY_DSN" - }, - { - "env": "DISTRIBUTION" - }, - { - "env": "COVERAGE" - } - ] - }, - "e2e": { - "outputs": ["{workspaceRoot}/.nyc_output", "{projectRoot}/test-results"], - "inputs": [ - { - "runtime": "node -v" - }, - { - "runtime": "yarn playwright --version" - } - ] - }, - "test": { - "outputs": ["{workspaceRoot}/.nyc_output"], - "inputs": [ - { - "env": "COVERAGE" - } - ] - }, - "test:ui": { - "outputs": ["{workspaceRoot}/.nyc_output"], - "inputs": [ - { - "env": "COVERAGE" - } - ] - }, - "test:coverage": { - "outputs": ["{workspaceRoot}/.nyc_output"], - "inputs": [] - } - } -} diff --git a/package.json b/package.json index ba95f87de66c0..57bb522fd6903 100644 --- a/package.json +++ b/package.json @@ -20,8 +20,8 @@ "dev": "yarn workspace @affine/cli dev", "build": "yarn workspace @affine/cli bundle", "dev:electron": "yarn workspace @affine/electron dev", - "build:electron": "yarn nx build @affine/electron", - "build:server-native": "yarn nx run-many -t build -p @affine/server-native", + "build:electron": "yarn workspace @affine/electron build", + "build:server-native": "yarn workspace @affine/server-native build", "start:web-static": "yarn workspace @affine/web static-server", "lint:eslint": "cross-env NODE_OPTIONS=\"--max-old-space-size=8192\" eslint --report-unused-disable-directives-severity=off . --cache", "lint:eslint:fix": "yarn lint:eslint --fix", @@ -83,8 +83,6 @@ "husky": "^9.1.7", "lint-staged": "^15.2.11", "msw": "^2.6.8", - "nx": "^20.2.2", - "nx-cloud": "^19.1.0", "oxlint": "0.15.0", "prettier": "^3.4.2", "semver": "^7.6.3", diff --git a/packages/backend/native/package.json b/packages/backend/native/package.json index 38e7f87a6bc5d..918540051b834 100644 --- a/packages/backend/native/package.json +++ b/packages/backend/native/package.json @@ -35,7 +35,6 @@ "devDependencies": { "@napi-rs/cli": "3.0.0-alpha.64", "lib0": "^0.2.99", - "nx": "^20.2.2", "tiktoken": "^1.0.17", "tinybench": "^3.0.7", "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 deleted file mode 100644 index f583f6c623df4..0000000000000 --- a/packages/backend/native/project.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "@affine/server-native", - "$schema": "../../../node_modules/nx/schemas/project-schema.json", - "projectType": "application", - "root": "packages/backend/native", - "sourceRoot": "packages/backend/native/src", - "targets": { - "build": { - "executor": "nx:run-script", - "dependsOn": ["^build"], - "options": { - "script": "build" - }, - "inputs": [ - { - "runtime": "rustc --version" - }, - { - "externalDependencies": ["nx"] - } - ], - "outputs": ["{projectRoot}/*.node"] - } - } -} diff --git a/packages/frontend/apps/android/project.json b/packages/frontend/apps/android/project.json deleted file mode 100644 index a3efc02cc1df0..0000000000000 --- a/packages/frontend/apps/android/project.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "name": "@affine/android", - "$schema": "../../../node_modules/nx/schemas/project-schema.json", - "targets": { - "build": { - "executor": "nx:run-script", - "dependsOn": [ - { - "projects": ["tag:infra"], - "target": "build", - "params": "ignore" - }, - "^build" - ], - "inputs": [ - "{projectRoot}/**/*", - "{workspaceRoot}/tools/**/*", - "{workspaceRoot}/packages/frontend/core/**/*", - "{workspaceRoot}/packages/**/*", - { - "env": "BUILD_TYPE" - }, - { - "env": "BUILD_TYPE_OVERRIDE" - }, - { - "env": "PERFSEE_TOKEN" - }, - { - "env": "SENTRY_ORG" - }, - { - "env": "SENTRY_PROJECT" - }, - { - "env": "SENTRY_AUTH_TOKEN" - }, - { - "env": "SENTRY_DSN" - }, - { - "env": "DISTRIBUTION" - }, - { - "env": "COVERAGE" - }, - { - "env": "DISABLE_DEV_OVERLAY" - }, - { - "env": "CAPTCHA_SITE_KEY" - }, - { - "env": "R2_ACCOUNT_ID" - }, - { - "env": "R2_ACCESS_KEY_ID" - }, - { - "env": "R2_SECRET_ACCESS_KEY" - } - ], - "options": { - "script": "build" - }, - "outputs": ["{projectRoot}/dist"] - } - } -} diff --git a/packages/frontend/apps/electron/project.json b/packages/frontend/apps/electron/project.json deleted file mode 100644 index 6222f6500c41d..0000000000000 --- a/packages/frontend/apps/electron/project.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "@affine/electron", - "$schema": "../../../node_modules/nx/schemas/project-schema.json", - "projectType": "application", - "root": "packages/frontend/apps/electron", - "sourceRoot": "packages/frontend/apps/electron/src", - "targets": { - "build": { - "executor": "nx:run-script", - "dependsOn": ["^build"], - "options": { - "script": "build" - }, - "outputs": ["{projectRoot}/dist"] - } - } -} diff --git a/packages/frontend/apps/ios/project.json b/packages/frontend/apps/ios/project.json deleted file mode 100644 index 1f61de93e12c2..0000000000000 --- a/packages/frontend/apps/ios/project.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "name": "@affine/ios", - "$schema": "../../../node_modules/nx/schemas/project-schema.json", - "targets": { - "build": { - "executor": "nx:run-script", - "dependsOn": [ - { - "projects": ["tag:infra"], - "target": "build", - "params": "ignore" - }, - "^build" - ], - "inputs": [ - "{projectRoot}/**/*", - "{workspaceRoot}/tools/**/*", - "{workspaceRoot}/packages/frontend/core/**/*", - "{workspaceRoot}/packages/**/*", - { - "env": "BUILD_TYPE" - }, - { - "env": "BUILD_TYPE_OVERRIDE" - }, - { - "env": "PERFSEE_TOKEN" - }, - { - "env": "SENTRY_ORG" - }, - { - "env": "SENTRY_PROJECT" - }, - { - "env": "SENTRY_AUTH_TOKEN" - }, - { - "env": "SENTRY_DSN" - }, - { - "env": "DISTRIBUTION" - }, - { - "env": "COVERAGE" - }, - { - "env": "DISABLE_DEV_OVERLAY" - }, - { - "env": "CAPTCHA_SITE_KEY" - }, - { - "env": "R2_ACCOUNT_ID" - }, - { - "env": "R2_ACCESS_KEY_ID" - }, - { - "env": "R2_SECRET_ACCESS_KEY" - } - ], - "options": { - "script": "build" - }, - "outputs": ["{projectRoot}/dist"] - } - } -} diff --git a/packages/frontend/apps/mobile/project.json b/packages/frontend/apps/mobile/project.json deleted file mode 100644 index ca8ed34e3b1aa..0000000000000 --- a/packages/frontend/apps/mobile/project.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "name": "@affine/mobile", - "$schema": "../../../node_modules/nx/schemas/project-schema.json", - "targets": { - "build": { - "executor": "nx:run-script", - "dependsOn": [ - { - "projects": ["tag:infra"], - "target": "build", - "params": "ignore" - }, - "^build" - ], - "inputs": [ - "{projectRoot}/**/*", - "{workspaceRoot}/tools/**/*", - "{workspaceRoot}/packages/frontend/core/**/*", - "{workspaceRoot}/packages/**/*", - { - "env": "BUILD_TYPE" - }, - { - "env": "BUILD_TYPE_OVERRIDE" - }, - { - "env": "PERFSEE_TOKEN" - }, - { - "env": "SENTRY_ORG" - }, - { - "env": "SENTRY_PROJECT" - }, - { - "env": "SENTRY_AUTH_TOKEN" - }, - { - "env": "SENTRY_DSN" - }, - { - "env": "DISTRIBUTION" - }, - { - "env": "COVERAGE" - }, - { - "env": "DISABLE_DEV_OVERLAY" - }, - { - "env": "CAPTCHA_SITE_KEY" - }, - { - "env": "R2_ACCOUNT_ID" - }, - { - "env": "R2_ACCESS_KEY_ID" - }, - { - "env": "R2_SECRET_ACCESS_KEY" - } - ], - "options": { - "script": "build" - }, - "outputs": ["{projectRoot}/dist"] - } - } -} diff --git a/packages/frontend/apps/web/project.json b/packages/frontend/apps/web/project.json deleted file mode 100644 index d5a45d4a5c857..0000000000000 --- a/packages/frontend/apps/web/project.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "name": "@affine/web", - "$schema": "../../../../node_modules/nx/schemas/project-schema.json", - "targets": { - "build": { - "executor": "nx:run-script", - "dependsOn": [ - { - "projects": ["tag:infra"], - "target": "build", - "params": "ignore" - }, - "^build" - ], - "inputs": [ - "{projectRoot}/**/*", - "{workspaceRoot}/tools/**/*", - "{workspaceRoot}/packages/frontend/core/**/*", - "{workspaceRoot}/packages/**/*", - { - "env": "BUILD_TYPE" - }, - { - "env": "BUILD_TYPE_OVERRIDE" - }, - { - "env": "PERFSEE_TOKEN" - }, - { - "env": "SENTRY_ORG" - }, - { - "env": "SENTRY_PROJECT" - }, - { - "env": "SENTRY_AUTH_TOKEN" - }, - { - "env": "SENTRY_DSN" - }, - { - "env": "DISTRIBUTION" - }, - { - "env": "COVERAGE" - }, - { - "env": "DISABLE_DEV_OVERLAY" - }, - { - "env": "CAPTCHA_SITE_KEY" - }, - { - "env": "R2_ACCOUNT_ID" - }, - { - "env": "R2_ACCESS_KEY_ID" - }, - { - "env": "R2_SECRET_ACCESS_KEY" - } - ], - "options": { - "script": "build" - }, - "outputs": ["{projectRoot}/dist"] - } - } -} diff --git a/packages/frontend/i18n/project.json b/packages/frontend/i18n/project.json deleted file mode 100644 index ed327f24b5738..0000000000000 --- a/packages/frontend/i18n/project.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "i18n", - "$schema": "../../../node_modules/nx/schemas/project-schema.json", - "projectType": "library", - "sourceRoot": "packages/frontend/i18n/src", - "targets": { - "build": { - "outputs": ["{workspaceRoot}/src/i18n-generated.ts"], - "executor": "nx:run-commands", - "options": { - "cwd": "packages/frontend/i18n", - "command": "node ./build.mjs" - } - } - }, - "tags": ["infra"] -} diff --git a/packages/frontend/native/package.json b/packages/frontend/native/package.json index e55c592d28522..effd39e3d626c 100644 --- a/packages/frontend/native/package.json +++ b/packages/frontend/native/package.json @@ -36,7 +36,6 @@ "@napi-rs/cli": "3.0.0-alpha.64", "@types/node": "^20.17.10", "ava": "^6.2.0", - "nx": "^20.2.2", "ts-node": "^10.9.2", "typescript": "^5.7.2" }, diff --git a/packages/frontend/native/project.json b/packages/frontend/native/project.json deleted file mode 100644 index fb98aa19dd6c0..0000000000000 --- a/packages/frontend/native/project.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "@affine/native", - "$schema": "../../../node_modules/nx/schemas/project-schema.json", - "projectType": "application", - "root": "packages/frontend/native", - "sourceRoot": "packages/frontend/native/src", - "targets": { - "build": { - "executor": "nx:run-script", - "dependsOn": ["^build"], - "options": { - "script": "build" - }, - "inputs": [ - { - "runtime": "rustc --version" - }, - { - "externalDependencies": ["nx"] - } - ], - "outputs": ["{projectRoot}/*.node", "{workspaceRoot}/affine.db"] - } - } -} diff --git a/yarn.lock b/yarn.lock index a27e7328c9beb..4544f80bf61b0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -651,8 +651,6 @@ __metadata: husky: "npm:^9.1.7" lint-staged: "npm:^15.2.11" msw: "npm:^2.6.8" - nx: "npm:^20.2.2" - nx-cloud: "npm:^19.1.0" oxlint: "npm:0.15.0" prettier: "npm:^3.4.2" semver: "npm:^7.6.3" @@ -672,7 +670,6 @@ __metadata: "@napi-rs/cli": "npm:3.0.0-alpha.64" "@types/node": "npm:^20.17.10" ava: "npm:^6.2.0" - nx: "npm:^20.2.2" ts-node: "npm:^10.9.2" typescript: "npm:^5.7.2" languageName: unknown @@ -721,7 +718,6 @@ __metadata: dependencies: "@napi-rs/cli": "npm:3.0.0-alpha.64" lib0: "npm:^0.2.99" - nx: "npm:^20.2.2" tiktoken: "npm:^1.0.17" tinybench: "npm:^3.0.7" yjs: "patch:yjs@npm%3A13.6.18#~/.yarn/patches/yjs-npm-13.6.18-ad0d5f7c43.patch" @@ -6873,15 +6869,6 @@ __metadata: languageName: node linkType: hard -"@jest/schemas@npm:^29.6.3": - version: 29.6.3 - resolution: "@jest/schemas@npm:29.6.3" - dependencies: - "@sinclair/typebox": "npm:^0.27.8" - checksum: 10/910040425f0fc93cd13e68c750b7885590b8839066dfa0cd78e7def07bbb708ad869381f725945d66f2284de5663bbecf63e8fdd856e2ae6e261ba30b1687e93 - languageName: node - linkType: hard - "@joshwooding/vite-plugin-react-docgen-typescript@npm:0.4.2": version: 0.4.2 resolution: "@joshwooding/vite-plugin-react-docgen-typescript@npm:0.4.2" @@ -8074,17 +8061,6 @@ __metadata: languageName: node linkType: hard -"@napi-rs/wasm-runtime@npm:0.2.4": - version: 0.2.4 - resolution: "@napi-rs/wasm-runtime@npm:0.2.4" - dependencies: - "@emnapi/core": "npm:^1.1.0" - "@emnapi/runtime": "npm:^1.1.0" - "@tybys/wasm-util": "npm:^0.9.0" - checksum: 10/af335867eca9696b0dbb1b8439878e0408a853c42419cd71d2c5dcf9f7c9f6a8549ea88b3a31b9544bb3a9376e5742f3268e58ee066925d3726bd76a121eb8a6 - languageName: node - linkType: hard - "@napi-rs/wasm-runtime@npm:^0.2.3, @napi-rs/wasm-runtime@npm:^0.2.4, @napi-rs/wasm-runtime@npm:^0.2.5": version: 0.2.5 resolution: "@napi-rs/wasm-runtime@npm:0.2.5" @@ -8977,15 +8953,6 @@ __metadata: languageName: node linkType: hard -"@nrwl/nx-cloud@npm:19.1.0": - version: 19.1.0 - resolution: "@nrwl/nx-cloud@npm:19.1.0" - dependencies: - nx-cloud: "npm:19.1.0" - checksum: 10/ecae86aa0af80fb5d82f7f1cfc8e985231624f19b0131237a891895804def6f20a3c69fb2dbab020889b0351361ba9e9108a104c6f40243b029a7f98868a0042 - languageName: node - linkType: hard - "@nuxtjs/opencollective@npm:0.3.2": version: 0.3.2 resolution: "@nuxtjs/opencollective@npm:0.3.2" @@ -8999,76 +8966,6 @@ __metadata: languageName: node linkType: hard -"@nx/nx-darwin-arm64@npm:20.2.2": - version: 20.2.2 - resolution: "@nx/nx-darwin-arm64@npm:20.2.2" - conditions: os=darwin & cpu=arm64 - languageName: node - linkType: hard - -"@nx/nx-darwin-x64@npm:20.2.2": - version: 20.2.2 - resolution: "@nx/nx-darwin-x64@npm:20.2.2" - conditions: os=darwin & cpu=x64 - languageName: node - linkType: hard - -"@nx/nx-freebsd-x64@npm:20.2.2": - version: 20.2.2 - resolution: "@nx/nx-freebsd-x64@npm:20.2.2" - conditions: os=freebsd & cpu=x64 - languageName: node - linkType: hard - -"@nx/nx-linux-arm-gnueabihf@npm:20.2.2": - version: 20.2.2 - resolution: "@nx/nx-linux-arm-gnueabihf@npm:20.2.2" - conditions: os=linux & cpu=arm - languageName: node - linkType: hard - -"@nx/nx-linux-arm64-gnu@npm:20.2.2": - version: 20.2.2 - resolution: "@nx/nx-linux-arm64-gnu@npm:20.2.2" - conditions: os=linux & cpu=arm64 & libc=glibc - languageName: node - linkType: hard - -"@nx/nx-linux-arm64-musl@npm:20.2.2": - version: 20.2.2 - resolution: "@nx/nx-linux-arm64-musl@npm:20.2.2" - conditions: os=linux & cpu=arm64 & libc=musl - languageName: node - linkType: hard - -"@nx/nx-linux-x64-gnu@npm:20.2.2": - version: 20.2.2 - resolution: "@nx/nx-linux-x64-gnu@npm:20.2.2" - conditions: os=linux & cpu=x64 & libc=glibc - languageName: node - linkType: hard - -"@nx/nx-linux-x64-musl@npm:20.2.2": - version: 20.2.2 - resolution: "@nx/nx-linux-x64-musl@npm:20.2.2" - conditions: os=linux & cpu=x64 & libc=musl - languageName: node - linkType: hard - -"@nx/nx-win32-arm64-msvc@npm:20.2.2": - version: 20.2.2 - resolution: "@nx/nx-win32-arm64-msvc@npm:20.2.2" - conditions: os=win32 & cpu=arm64 - languageName: node - linkType: hard - -"@nx/nx-win32-x64-msvc@npm:20.2.2": - version: 20.2.2 - resolution: "@nx/nx-win32-x64-msvc@npm:20.2.2" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - "@octokit/auth-token@npm:^5.0.0": version: 5.1.1 resolution: "@octokit/auth-token@npm:5.1.1" @@ -12368,13 +12265,6 @@ __metadata: languageName: node linkType: hard -"@sinclair/typebox@npm:^0.27.8": - version: 0.27.8 - resolution: "@sinclair/typebox@npm:0.27.8" - checksum: 10/297f95ff77c82c54de8c9907f186076e715ff2621c5222ba50b8d40a170661c0c5242c763cba2a4791f0f91cb1d8ffa53ea1d7294570cf8cd4694c0e383e484d - languageName: node - linkType: hard - "@sindresorhus/is@npm:^4.0.0": version: 4.6.0 resolution: "@sindresorhus/is@npm:4.6.0" @@ -15530,23 +15420,6 @@ __metadata: languageName: node linkType: hard -"@yarnpkg/lockfile@npm:^1.1.0": - version: 1.1.0 - resolution: "@yarnpkg/lockfile@npm:1.1.0" - checksum: 10/cd19e1114aaf10a05126aeea8833ef4ca8af8a46e88e12884f8359d19333fd19711036dbc2698dbe937f81f037070cf9a8da45c2e8c6ca19cafd7d15659094ed - languageName: node - linkType: hard - -"@yarnpkg/parsers@npm:3.0.2": - version: 3.0.2 - resolution: "@yarnpkg/parsers@npm:3.0.2" - dependencies: - js-yaml: "npm:^3.10.0" - tslib: "npm:^2.4.0" - checksum: 10/87506f140d6c401bdd89ff22073c3dd3ec7b6858e7f576e63ec1aea1b0b8a8ec241eb46ca5582dc2071098a86d6a55c3b0628da5eeff91d33afb4fa7cac0cf65 - languageName: node - linkType: hard - "@zeit/schemas@npm:2.36.0": version: 2.36.0 resolution: "@zeit/schemas@npm:2.36.0" @@ -15554,17 +15427,6 @@ __metadata: languageName: node linkType: hard -"@zkochan/js-yaml@npm:0.0.7": - version: 0.0.7 - resolution: "@zkochan/js-yaml@npm:0.0.7" - dependencies: - argparse: "npm:^2.0.1" - bin: - js-yaml: bin/js-yaml.js - checksum: 10/83642debff31400764e8721ba8f386e0f5444b118c7a6c17dbdcb316b56fefa061ea0587af47de75e04d60059215a703a1ca8bbc479149581cd57d752cb3d4e0 - languageName: node - linkType: hard - "JSONStream@npm:^1.3.5": version: 1.3.5 resolution: "JSONStream@npm:1.3.5" @@ -15767,13 +15629,6 @@ __metadata: languageName: node linkType: hard -"ansi-colors@npm:^4.1.1": - version: 4.1.3 - resolution: "ansi-colors@npm:4.1.3" - checksum: 10/43d6e2fc7b1c6e4dc373de708ee76311ec2e0433e7e8bd3194e7ff123ea6a747428fc61afdcf5969da5be3a5f0fd054602bec56fc0ebe249ce2fcde6e649e3c2 - languageName: node - linkType: hard - "ansi-escapes@npm:^4.2.1, ansi-escapes@npm:^4.3.0, ansi-escapes@npm:^4.3.2": version: 4.3.2 resolution: "ansi-escapes@npm:4.3.2" @@ -16395,7 +16250,7 @@ __metadata: languageName: node linkType: hard -"axios@npm:^1.6.0, axios@npm:^1.7.4, axios@npm:^1.7.8": +"axios@npm:^1.7.8": version: 1.7.9 resolution: "axios@npm:1.7.9" dependencies: @@ -17637,7 +17492,7 @@ __metadata: languageName: node linkType: hard -"cli-cursor@npm:3.1.0, cli-cursor@npm:^3.1.0": +"cli-cursor@npm:^3.1.0": version: 3.1.0 resolution: "cli-cursor@npm:3.1.0" dependencies: @@ -17664,13 +17519,6 @@ __metadata: languageName: node linkType: hard -"cli-spinners@npm:2.6.1": - version: 2.6.1 - resolution: "cli-spinners@npm:2.6.1" - checksum: 10/3e2dc5df72cf02120bebe256881fc8e3ec49867e5023d39f1e7340d7da57964f5236f4c75e568aa9dea6460b56f7a6d5870b89453c743c6c15e213cb52be2122 - languageName: node - linkType: hard - "cli-spinners@npm:^2.5.0, cli-spinners@npm:^2.6.1": version: 2.9.2 resolution: "cli-spinners@npm:2.9.2" @@ -19207,13 +19055,6 @@ __metadata: languageName: node linkType: hard -"diff-sequences@npm:^29.6.3": - version: 29.6.3 - resolution: "diff-sequences@npm:29.6.3" - checksum: 10/179daf9d2f9af5c57ad66d97cb902a538bcf8ed64963fa7aa0c329b3de3665ce2eb6ffdc2f69f29d445fa4af2517e5e55e5b6e00c00a9ae4f43645f97f7078cb - languageName: node - linkType: hard - "diff@npm:^4.0.1": version: 4.0.2 resolution: "diff@npm:4.0.2" @@ -19421,7 +19262,7 @@ __metadata: languageName: node linkType: hard -"dotenv-expand@npm:^11.0.6, dotenv-expand@npm:~11.0.6": +"dotenv-expand@npm:^11.0.6": version: 11.0.7 resolution: "dotenv-expand@npm:11.0.7" dependencies: @@ -19437,7 +19278,7 @@ __metadata: languageName: node linkType: hard -"dotenv@npm:^16.0.0, dotenv@npm:^16.3.1, dotenv@npm:^16.4.5, dotenv@npm:^16.4.7, dotenv@npm:~16.4.5": +"dotenv@npm:^16.0.0, dotenv@npm:^16.3.1, dotenv@npm:^16.4.5, dotenv@npm:^16.4.7": version: 16.4.7 resolution: "dotenv@npm:16.4.7" checksum: 10/f13bfe97db88f0df4ec505eeffb8925ec51f2d56a3d0b6d916964d8b4af494e6fb1633ba5d09089b552e77ab2a25de58d70259b2c5ed45ec148221835fc99a0c @@ -19451,13 +19292,6 @@ __metadata: languageName: node linkType: hard -"dotenv@npm:~10.0.0": - version: 10.0.0 - resolution: "dotenv@npm:10.0.0" - checksum: 10/55f701ae213e3afe3f4232fae5edfb6e0c49f061a363ff9f1c5a0c2bf3fb990a6e49aeada11b2a116efb5fdc3bc3f1ef55ab330be43033410b267f7c0809a9dc - languageName: node - linkType: hard - "ds-store@npm:^0.1.5": version: 0.1.6 resolution: "ds-store@npm:0.1.6" @@ -19864,15 +19698,6 @@ __metadata: languageName: node linkType: hard -"enquirer@npm:~2.3.6": - version: 2.3.6 - resolution: "enquirer@npm:2.3.6" - dependencies: - ansi-colors: "npm:^4.1.1" - checksum: 10/751d14f037eb7683997e696fb8d5fe2675e0b0cde91182c128cf598acf3f5bd9005f35f7c2a9109e291140af496ebec237b6dac86067d59a9b44f3688107f426 - languageName: node - linkType: hard - "entities@npm:^2.0.0": version: 2.2.0 resolution: "entities@npm:2.2.0" @@ -21137,7 +20962,7 @@ __metadata: languageName: node linkType: hard -"figures@npm:3.2.0, figures@npm:^3.0.0": +"figures@npm:^3.0.0": version: 3.2.0 resolution: "figures@npm:3.2.0" dependencies: @@ -21497,15 +21322,6 @@ __metadata: languageName: node linkType: hard -"front-matter@npm:^4.0.2": - version: 4.0.2 - resolution: "front-matter@npm:4.0.2" - dependencies: - js-yaml: "npm:^3.13.1" - checksum: 10/8897a831a82c5d35413b02b806ed421e793068ad8bf75e864163ec07b7f0cfd87e2fcce0893e8ceccc8f6c63a46e953a6c01208e573627626867a8b86cf6abb9 - languageName: node - linkType: hard - "fs-capacitor@npm:^8.0.0": version: 8.0.0 resolution: "fs-capacitor@npm:8.0.0" @@ -23059,7 +22875,7 @@ __metadata: languageName: node linkType: hard -"ignore@npm:^5.0.4, ignore@npm:^5.2.0, ignore@npm:^5.2.4, ignore@npm:^5.3.1": +"ignore@npm:^5.2.0, ignore@npm:^5.2.4, ignore@npm:^5.3.1": version: 5.3.2 resolution: "ignore@npm:5.3.2" checksum: 10/cceb6a457000f8f6a50e1196429750d782afce5680dd878aa4221bd79972d68b3a55b4b1458fc682be978f4d3c6a249046aa0880637367216444ab7b014cfc98 @@ -23200,13 +23016,6 @@ __metadata: languageName: node linkType: hard -"ini@npm:4.1.3, ini@npm:^4.1.1": - version: 4.1.3 - resolution: "ini@npm:4.1.3" - checksum: 10/f536b414d1442e5b233429e2b56efcdb354109b2d65ddd489e5939d8f0f5ad23c88aa2b19c92987249d0dd63ba8192e9aeb1a02b0459549c5a9ff31acd729a5d - languageName: node - linkType: hard - "ini@npm:^1.3.4, ini@npm:~1.3.0": version: 1.3.8 resolution: "ini@npm:1.3.8" @@ -23214,6 +23023,13 @@ __metadata: languageName: node linkType: hard +"ini@npm:^4.1.1": + version: 4.1.3 + resolution: "ini@npm:4.1.3" + checksum: 10/f536b414d1442e5b233429e2b56efcdb354109b2d65ddd489e5939d8f0f5ad23c88aa2b19c92987249d0dd63ba8192e9aeb1a02b0459549c5a9ff31acd729a5d + languageName: node + linkType: hard + "input-otp@npm:^1.4.1": version: 1.4.1 resolution: "input-otp@npm:1.4.1" @@ -23997,25 +23813,6 @@ __metadata: languageName: node linkType: hard -"jest-diff@npm:^29.4.1": - version: 29.7.0 - resolution: "jest-diff@npm:29.7.0" - dependencies: - chalk: "npm:^4.0.0" - diff-sequences: "npm:^29.6.3" - jest-get-type: "npm:^29.6.3" - pretty-format: "npm:^29.7.0" - checksum: 10/6f3a7eb9cd9de5ea9e5aa94aed535631fa6f80221832952839b3cb59dd419b91c20b73887deb0b62230d06d02d6b6cf34ebb810b88d904bb4fe1e2e4f0905c98 - languageName: node - linkType: hard - -"jest-get-type@npm:^29.6.3": - version: 29.6.3 - resolution: "jest-get-type@npm:29.6.3" - checksum: 10/88ac9102d4679d768accae29f1e75f592b760b44277df288ad76ce5bf038c3f5ce3719dea8aa0f035dac30e9eb034b848ce716b9183ad7cc222d029f03e92205 - languageName: node - linkType: hard - "jest-worker@npm:^27.4.5": version: 27.5.1 resolution: "jest-worker@npm:27.5.1" @@ -24100,7 +23897,7 @@ __metadata: languageName: node linkType: hard -"js-yaml@npm:^3.10.0, js-yaml@npm:^3.13.1, js-yaml@npm:^3.14.1": +"js-yaml@npm:^3.14.1": version: 3.14.1 resolution: "js-yaml@npm:3.14.1" dependencies: @@ -24225,13 +24022,6 @@ __metadata: languageName: node linkType: hard -"jsonc-parser@npm:3.2.0": - version: 3.2.0 - resolution: "jsonc-parser@npm:3.2.0" - checksum: 10/bd68b902e5f9394f01da97921f49c5084b2dc03a0c5b4fdb2a429f8d6f292686c1bf87badaeb0a8148d024192a88f5ad2e57b2918ba43fe25cf15f3371db64d4 - languageName: node - linkType: hard - "jsonfile@npm:^4.0.0": version: 4.0.0 resolution: "jsonfile@npm:4.0.0" @@ -24452,13 +24242,6 @@ __metadata: languageName: node linkType: hard -"lines-and-columns@npm:2.0.3": - version: 2.0.3 - resolution: "lines-and-columns@npm:2.0.3" - checksum: 10/b5bb0d6ee2f82ae834ceddc9251af2060c30db476673e9c817c34c00bed58e0c5d90a6866b64afe7bdcb2c5eb1b418a5b1ee631d2592dc8ff381540901fa4da6 - languageName: node - linkType: hard - "lines-and-columns@npm:^1.1.6": version: 1.2.4 resolution: "lines-and-columns@npm:1.2.4" @@ -26116,15 +25899,6 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:9.0.3": - version: 9.0.3 - resolution: "minimatch@npm:9.0.3" - dependencies: - brace-expansion: "npm:^2.0.1" - checksum: 10/c81b47d28153e77521877649f4bab48348d10938df9e8147a58111fe00ef89559a2938de9f6632910c4f7bf7bb5cd81191a546167e58d357f0cfb1e18cecc1c5 - languageName: node - linkType: hard - "minimatch@npm:9.0.5, minimatch@npm:^9.0.3, minimatch@npm:^9.0.4, minimatch@npm:^9.0.5": version: 9.0.5 resolution: "minimatch@npm:9.0.5" @@ -26843,13 +26617,6 @@ __metadata: languageName: node linkType: hard -"node-machine-id@npm:1.1.12, node-machine-id@npm:^1.1.12": - version: 1.1.12 - resolution: "node-machine-id@npm:1.1.12" - checksum: 10/46bf3d4fab8d0e63b24c42bcec2b6975c7ec5bc16e53d7a589d095668d0fdf0bfcbcdc28246dd1ef74cf95a37fbd774cd4b17b41f518d79dfad7fdc99f995903 - languageName: node - linkType: hard - "node-releases@npm:^2.0.18": version: 2.0.19 resolution: "node-releases@npm:2.0.19" @@ -27027,109 +26794,6 @@ __metadata: languageName: node linkType: hard -"nx-cloud@npm:19.1.0, nx-cloud@npm:^19.1.0": - version: 19.1.0 - resolution: "nx-cloud@npm:19.1.0" - dependencies: - "@nrwl/nx-cloud": "npm:19.1.0" - axios: "npm:^1.6.0" - chalk: "npm:^4.1.0" - dotenv: "npm:~10.0.0" - fs-extra: "npm:^11.1.0" - ini: "npm:4.1.3" - node-machine-id: "npm:^1.1.12" - open: "npm:~8.4.0" - tar: "npm:6.2.1" - yargs-parser: "npm:>=21.1.1" - bin: - nx-cloud: bin/nx-cloud.js - checksum: 10/c4cfaac8b048580e6d0b18d1cc6c94107762c91fc9530806465a7286f2fff924bc98914883ddb052c53c4066fbe2bfe19674f69729e28fe4928e25dd1e911828 - languageName: node - linkType: hard - -"nx@npm:^20.2.2": - version: 20.2.2 - resolution: "nx@npm:20.2.2" - dependencies: - "@napi-rs/wasm-runtime": "npm:0.2.4" - "@nx/nx-darwin-arm64": "npm:20.2.2" - "@nx/nx-darwin-x64": "npm:20.2.2" - "@nx/nx-freebsd-x64": "npm:20.2.2" - "@nx/nx-linux-arm-gnueabihf": "npm:20.2.2" - "@nx/nx-linux-arm64-gnu": "npm:20.2.2" - "@nx/nx-linux-arm64-musl": "npm:20.2.2" - "@nx/nx-linux-x64-gnu": "npm:20.2.2" - "@nx/nx-linux-x64-musl": "npm:20.2.2" - "@nx/nx-win32-arm64-msvc": "npm:20.2.2" - "@nx/nx-win32-x64-msvc": "npm:20.2.2" - "@yarnpkg/lockfile": "npm:^1.1.0" - "@yarnpkg/parsers": "npm:3.0.2" - "@zkochan/js-yaml": "npm:0.0.7" - axios: "npm:^1.7.4" - chalk: "npm:^4.1.0" - cli-cursor: "npm:3.1.0" - cli-spinners: "npm:2.6.1" - cliui: "npm:^8.0.1" - dotenv: "npm:~16.4.5" - dotenv-expand: "npm:~11.0.6" - enquirer: "npm:~2.3.6" - figures: "npm:3.2.0" - flat: "npm:^5.0.2" - front-matter: "npm:^4.0.2" - ignore: "npm:^5.0.4" - jest-diff: "npm:^29.4.1" - jsonc-parser: "npm:3.2.0" - lines-and-columns: "npm:2.0.3" - minimatch: "npm:9.0.3" - node-machine-id: "npm:1.1.12" - npm-run-path: "npm:^4.0.1" - open: "npm:^8.4.0" - ora: "npm:5.3.0" - semver: "npm:^7.5.3" - string-width: "npm:^4.2.3" - tar-stream: "npm:~2.2.0" - tmp: "npm:~0.2.1" - tsconfig-paths: "npm:^4.1.2" - tslib: "npm:^2.3.0" - yaml: "npm:^2.6.0" - yargs: "npm:^17.6.2" - yargs-parser: "npm:21.1.1" - peerDependencies: - "@swc-node/register": ^1.8.0 - "@swc/core": ^1.3.85 - dependenciesMeta: - "@nx/nx-darwin-arm64": - optional: true - "@nx/nx-darwin-x64": - optional: true - "@nx/nx-freebsd-x64": - optional: true - "@nx/nx-linux-arm-gnueabihf": - optional: true - "@nx/nx-linux-arm64-gnu": - optional: true - "@nx/nx-linux-arm64-musl": - optional: true - "@nx/nx-linux-x64-gnu": - optional: true - "@nx/nx-linux-x64-musl": - optional: true - "@nx/nx-win32-arm64-msvc": - optional: true - "@nx/nx-win32-x64-msvc": - optional: true - peerDependenciesMeta: - "@swc-node/register": - optional: true - "@swc/core": - optional: true - bin: - nx: bin/nx.js - nx-cloud: bin/nx-cloud.js - checksum: 10/713050390b3fbab51fc65fb888fa97e736f34df266250ccda927521bfd77a8ad95394a129634f05961e95dbd3375db9406636d6e5981c64bf2d326d09cd26016 - languageName: node - linkType: hard - "nypm@npm:^0.3.8": version: 0.3.12 resolution: "nypm@npm:0.3.12" @@ -27319,7 +26983,7 @@ __metadata: languageName: node linkType: hard -"open@npm:^8.0.4, open@npm:^8.4.0, open@npm:^8.4.2, open@npm:~8.4.0": +"open@npm:^8.0.4, open@npm:^8.4.0, open@npm:^8.4.2": version: 8.4.2 resolution: "open@npm:8.4.2" dependencies: @@ -27378,22 +27042,6 @@ __metadata: languageName: node linkType: hard -"ora@npm:5.3.0": - version: 5.3.0 - resolution: "ora@npm:5.3.0" - dependencies: - bl: "npm:^4.0.3" - chalk: "npm:^4.1.0" - cli-cursor: "npm:^3.1.0" - cli-spinners: "npm:^2.5.0" - is-interactive: "npm:^1.0.0" - log-symbols: "npm:^4.0.0" - strip-ansi: "npm:^6.0.0" - wcwidth: "npm:^1.0.1" - checksum: 10/989a075b596c297acfee647010e555709bd657dedd9eee9ff99d923cbc65c68b6189c2c9ea58167675b101433509f87d1674a84047c7b766babab15d9220f1d5 - languageName: node - linkType: hard - "ora@npm:^5.1.0, ora@npm:^5.4.1": version: 5.4.1 resolution: "ora@npm:5.4.1" @@ -28822,17 +28470,6 @@ __metadata: languageName: node linkType: hard -"pretty-format@npm:^29.7.0": - version: 29.7.0 - resolution: "pretty-format@npm:29.7.0" - dependencies: - "@jest/schemas": "npm:^29.6.3" - ansi-styles: "npm:^5.0.0" - react-is: "npm:^18.0.0" - checksum: 10/dea96bc83c83cd91b2bfc55757b6b2747edcaac45b568e46de29deee80742f17bc76fe8898135a70d904f4928eafd8bb693cd1da4896e8bdd3c5e82cadf1d2bb - languageName: node - linkType: hard - "pretty-ms@npm:^9.0.0, pretty-ms@npm:^9.1.0": version: 9.2.0 resolution: "pretty-ms@npm:9.2.0" @@ -29307,13 +28944,6 @@ __metadata: languageName: node linkType: hard -"react-is@npm:^18.0.0": - version: 18.3.1 - resolution: "react-is@npm:18.3.1" - checksum: 10/d5f60c87d285af24b1e1e7eaeb123ec256c3c8bdea7061ab3932e3e14685708221bf234ec50b21e10dd07f008f1b966a2730a0ce4ff67905b3872ff2042aec22 - languageName: node - linkType: hard - "react-paginate@npm:^8.2.0": version: 8.2.0 resolution: "react-paginate@npm:8.2.0" @@ -32130,7 +31760,7 @@ __metadata: languageName: node linkType: hard -"tar-stream@npm:^2.1.4, tar-stream@npm:~2.2.0": +"tar-stream@npm:^2.1.4": version: 2.2.0 resolution: "tar-stream@npm:2.2.0" dependencies: @@ -32143,7 +31773,7 @@ __metadata: languageName: node linkType: hard -"tar@npm:6.2.1, tar@npm:^6.0.5, tar@npm:^6.1.11, tar@npm:^6.1.12, tar@npm:^6.1.2, tar@npm:^6.2.0, tar@npm:^6.2.1": +"tar@npm:^6.0.5, tar@npm:^6.1.11, tar@npm:^6.1.12, tar@npm:^6.1.2, tar@npm:^6.2.0, tar@npm:^6.2.1": version: 6.2.1 resolution: "tar@npm:6.2.1" dependencies: @@ -32446,7 +32076,7 @@ __metadata: languageName: node linkType: hard -"tmp@npm:^0.2.0, tmp@npm:~0.2.1": +"tmp@npm:^0.2.0": version: 0.2.3 resolution: "tmp@npm:0.2.3" checksum: 10/7b13696787f159c9754793a83aa79a24f1522d47b87462ddb57c18ee93ff26c74cbb2b8d9138f571d2e0e765c728fb2739863a672b280528512c6d83d511c6fa @@ -32665,7 +32295,7 @@ __metadata: languageName: node linkType: hard -"tsconfig-paths@npm:^4.1.2, tsconfig-paths@npm:^4.2.0": +"tsconfig-paths@npm:^4.2.0": version: 4.2.0 resolution: "tsconfig-paths@npm:4.2.0" dependencies: @@ -32676,7 +32306,7 @@ __metadata: languageName: node linkType: hard -"tslib@npm:2.8.1, tslib@npm:^2.0.0, tslib@npm:^2.0.1, tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.2.0, tslib@npm:^2.3.0, tslib@npm:^2.4.0, tslib@npm:^2.5.0, tslib@npm:^2.6.2, tslib@npm:^2.6.3, tslib@npm:^2.8.1": +"tslib@npm:2.8.1, tslib@npm:^2.0.0, tslib@npm:^2.0.1, tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.2.0, tslib@npm:^2.4.0, tslib@npm:^2.5.0, tslib@npm:^2.6.2, tslib@npm:^2.6.3, tslib@npm:^2.8.1": version: 2.8.1 resolution: "tslib@npm:2.8.1" checksum: 10/3e2e043d5c2316461cb54e5c7fe02c30ef6dccb3384717ca22ae5c6b5bc95232a6241df19c622d9c73b809bea33b187f6dbc73030963e29950c2141bc32a79f7 @@ -34411,7 +34041,7 @@ __metadata: languageName: node linkType: hard -"yaml@npm:^2.3.1, yaml@npm:^2.3.4, yaml@npm:^2.6.0, yaml@npm:^2.6.1, yaml@npm:~2.6.1": +"yaml@npm:^2.3.1, yaml@npm:^2.3.4, yaml@npm:^2.6.1, yaml@npm:~2.6.1": version: 2.6.1 resolution: "yaml@npm:2.6.1" bin: @@ -34420,13 +34050,6 @@ __metadata: languageName: node linkType: hard -"yargs-parser@npm:21.1.1, yargs-parser@npm:>=21.1.1, yargs-parser@npm:^21.1.1": - version: 21.1.1 - resolution: "yargs-parser@npm:21.1.1" - checksum: 10/9dc2c217ea3bf8d858041252d43e074f7166b53f3d010a8c711275e09cd3d62a002969a39858b92bbda2a6a63a585c7127014534a560b9c69ed2d923d113406e - languageName: node - linkType: hard - "yargs-parser@npm:^18.1.2": version: 18.1.3 resolution: "yargs-parser@npm:18.1.3" @@ -34444,6 +34067,13 @@ __metadata: languageName: node linkType: hard +"yargs-parser@npm:^21.1.1": + version: 21.1.1 + resolution: "yargs-parser@npm:21.1.1" + checksum: 10/9dc2c217ea3bf8d858041252d43e074f7166b53f3d010a8c711275e09cd3d62a002969a39858b92bbda2a6a63a585c7127014534a560b9c69ed2d923d113406e + languageName: node + linkType: hard + "yargs@npm:^15.3.1": version: 15.4.1 resolution: "yargs@npm:15.4.1" @@ -34478,7 +34108,7 @@ __metadata: languageName: node linkType: hard -"yargs@npm:^17.0.0, yargs@npm:^17.0.1, yargs@npm:^17.6.2, yargs@npm:^17.7.0, yargs@npm:^17.7.2": +"yargs@npm:^17.0.0, yargs@npm:^17.0.1, yargs@npm:^17.7.0, yargs@npm:^17.7.2": version: 17.7.2 resolution: "yargs@npm:17.7.2" dependencies: