mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-22 09:13:18 +03:00
feat: use nx
to manage monorepo (#2748)
This commit is contained in:
parent
1e6e0336c3
commit
eeb536d460
3
.github/actions/setup-node/action.yml
vendored
3
.github/actions/setup-node/action.yml
vendored
@ -113,6 +113,3 @@ runs:
|
||||
shell: bash
|
||||
if: inputs.playwright-install == 'true' && steps.playwright-cache.outputs.cache-hit != 'true'
|
||||
run: yarn playwright install --with-deps
|
||||
- name: Build Infra
|
||||
shell: bash
|
||||
run: yarn build:infra
|
||||
|
63
.github/workflows/build.yml
vendored
63
.github/workflows/build.yml
vendored
@ -23,6 +23,7 @@ on:
|
||||
env:
|
||||
DEBUG: napi:*
|
||||
APP_NAME: affine
|
||||
COVERAGE: true
|
||||
MACOSX_DEPLOYMENT_TARGET: '10.13'
|
||||
|
||||
jobs:
|
||||
@ -51,7 +52,7 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Setup Node.js
|
||||
uses: ./.github/actions/setup-node
|
||||
- run: yarn build:storybook
|
||||
- run: yarn nx build @affine/storybook
|
||||
- name: Upload storybook artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
@ -59,7 +60,7 @@ jobs:
|
||||
path: ./packages/storybook/storybook-static
|
||||
if-no-files-found: error
|
||||
|
||||
build:
|
||||
build-web:
|
||||
name: Build @affine/web
|
||||
runs-on: ubuntu-latest
|
||||
environment: development
|
||||
@ -77,22 +78,14 @@ jobs:
|
||||
restore-keys: |
|
||||
${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-
|
||||
- name: Build
|
||||
run: yarn build
|
||||
run: yarn nx build @affine/web
|
||||
env:
|
||||
NEXT_PUBLIC_FIREBASE_API_KEY: ${{ secrets.NEXT_PUBLIC_FIREBASE_API_KEY }}
|
||||
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN: ${{ secrets.NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN }}
|
||||
NEXT_PUBLIC_FIREBASE_PROJECT_ID: ${{ secrets.NEXT_PUBLIC_FIREBASE_PROJECT_ID }}
|
||||
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET: ${{ secrets.NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET }}
|
||||
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID: ${{ secrets.NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID }}
|
||||
NEXT_PUBLIC_FIREBASE_APP_ID: ${{ secrets.NEXT_PUBLIC_FIREBASE_APP_ID }}
|
||||
NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID: ${{ secrets.NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID }}
|
||||
API_SERVER_PROFILE: local
|
||||
ENABLE_DEBUG_PAGE: 1
|
||||
ENABLE_PLUGIN: true
|
||||
ENABLE_ALL_PAGE_FILTER: true
|
||||
ENABLE_LEGACY_PROVIDER: true
|
||||
ENABLE_PRELOADING: false
|
||||
COVERAGE: true
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
@ -101,23 +94,33 @@ jobs:
|
||||
path: ./apps/web/.next
|
||||
if-no-files-found: error
|
||||
|
||||
- name: Build @affine/web for desktop
|
||||
run: yarn build
|
||||
build-web-for-desktop:
|
||||
name: Build @affine/web for desktop
|
||||
runs-on: ubuntu-latest
|
||||
environment: development
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Setup Node.js
|
||||
uses: ./.github/actions/setup-node
|
||||
- name: Cache Next.js
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
${{ github.workspace }}/apps/web/.next/cache
|
||||
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-
|
||||
|
||||
- name: Build
|
||||
run: yarn nx build @affine/web
|
||||
env:
|
||||
NEXT_PUBLIC_FIREBASE_API_KEY: ${{ secrets.NEXT_PUBLIC_FIREBASE_API_KEY }}
|
||||
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN: ${{ secrets.NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN }}
|
||||
NEXT_PUBLIC_FIREBASE_PROJECT_ID: ${{ secrets.NEXT_PUBLIC_FIREBASE_PROJECT_ID }}
|
||||
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET: ${{ secrets.NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET }}
|
||||
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID: ${{ secrets.NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID }}
|
||||
NEXT_PUBLIC_FIREBASE_APP_ID: ${{ secrets.NEXT_PUBLIC_FIREBASE_APP_ID }}
|
||||
NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID: ${{ secrets.NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID }}
|
||||
API_SERVER_PROFILE: affine
|
||||
ENABLE_DEBUG_PAGE: 1
|
||||
ENABLE_PLUGIN: true
|
||||
ENABLE_ALL_PAGE_FILTER: true
|
||||
ENABLE_LEGACY_PROVIDER: false
|
||||
ENABLE_PRELOADING: false
|
||||
COVERAGE: true
|
||||
|
||||
- name: Export static resources
|
||||
run: yarn workspace @affine/web export
|
||||
@ -169,8 +172,7 @@ jobs:
|
||||
env:
|
||||
DATABASE_URL: postgresql://affine:affine@localhost:5432/affine
|
||||
- name: Run server tests
|
||||
run: yarn test:coverage
|
||||
working-directory: apps/server
|
||||
run: yarn nx test:coverage @affine/server
|
||||
env:
|
||||
DATABASE_URL: postgresql://affine:affine@localhost:5432/affine
|
||||
- name: Upload server test coverage results
|
||||
@ -201,7 +203,7 @@ jobs:
|
||||
- name: Run storybook tests
|
||||
working-directory: ./packages/storybook
|
||||
run: |
|
||||
yarn exec concurrently -k -s first -n "SB,TEST" -c "magenta,blue" "yarn exec serve ./storybook-static -l 6006" "yarn exec wait-on tcp:6006 && yarn test-storybook"
|
||||
yarn exec concurrently -k -s first -n "SB,TEST" -c "magenta,blue" "yarn exec serve ./storybook-static -l 6006" "yarn exec wait-on tcp:6006 && yarn test"
|
||||
|
||||
e2e-test:
|
||||
name: E2E Test
|
||||
@ -211,7 +213,7 @@ jobs:
|
||||
matrix:
|
||||
shard: [1, 2, 3, 4]
|
||||
environment: development
|
||||
needs: [build, build-storybook]
|
||||
needs: [build-web, build-storybook]
|
||||
services:
|
||||
octobase:
|
||||
image: ghcr.io/toeverything/cloud-self-hosted:nightly-latest
|
||||
@ -245,7 +247,7 @@ jobs:
|
||||
node ./scripts/wait-3000-healthz.mjs
|
||||
|
||||
- name: Run playwright tests
|
||||
run: yarn test --forbid-only --shard=${{ matrix.shard }}/${{ strategy.job-total }}
|
||||
run: yarn e2e --forbid-only --shard=${{ matrix.shard }}/${{ strategy.job-total }}
|
||||
env:
|
||||
COVERAGE: true
|
||||
|
||||
@ -306,7 +308,7 @@ jobs:
|
||||
target: x86_64-pc-windows-msvc,
|
||||
test: true,
|
||||
}
|
||||
needs: [build]
|
||||
needs: [build-web-for-desktop]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Setup Node.js
|
||||
@ -320,12 +322,11 @@ jobs:
|
||||
- name: Run unit tests
|
||||
if: ${{ matrix.spec.test }}
|
||||
shell: bash
|
||||
run: yarn test:unit
|
||||
run: yarn nx test @affine/monorepo
|
||||
env:
|
||||
NATIVE_TEST: 'true'
|
||||
- name: Build layers
|
||||
run: yarn workspace @affine/electron build-layers
|
||||
|
||||
run: yarn workspace @affine/electron build
|
||||
- name: Download static resource artifact
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
@ -386,7 +387,7 @@ jobs:
|
||||
uses: ./.github/actions/setup-node
|
||||
|
||||
- name: Unit Test
|
||||
run: yarn run test:unit:coverage
|
||||
run: yarn nx test:coverage @affine/monorepo
|
||||
|
||||
- name: Upload unit test coverage results
|
||||
uses: codecov/codecov-action@v3
|
||||
|
11
.github/workflows/nightly-build.yml
vendored
11
.github/workflows/nightly-build.yml
vendored
@ -50,15 +50,6 @@ jobs:
|
||||
working-directory: apps/electron
|
||||
run: yarn generate-assets
|
||||
env:
|
||||
NEXT_PUBLIC_FIREBASE_API_KEY: ${{ secrets.NEXT_PUBLIC_FIREBASE_API_KEY }}
|
||||
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN: ${{ secrets.NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN }}
|
||||
NEXT_PUBLIC_FIREBASE_PROJECT_ID: ${{ secrets.NEXT_PUBLIC_FIREBASE_PROJECT_ID }}
|
||||
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET: ${{ secrets.NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET }}
|
||||
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID: ${{ secrets.NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID }}
|
||||
NEXT_PUBLIC_FIREBASE_APP_ID: ${{ secrets.NEXT_PUBLIC_FIREBASE_APP_ID }}
|
||||
NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID: ${{ secrets.NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID }}
|
||||
AFFINE_GOOGLE_CLIENT_ID: ${{ secrets.AFFINE_GOOGLE_CLIENT_ID }}
|
||||
AFFINE_GOOGLE_CLIENT_SECRET: ${{ secrets.AFFINE_GOOGLE_CLIENT_SECRET }}
|
||||
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
|
||||
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
||||
NEXT_PUBLIC_SENTRY_DSN: ${{ secrets.NEXT_PUBLIC_SENTRY_DSN }}
|
||||
@ -66,8 +57,8 @@ jobs:
|
||||
API_SERVER_PROFILE: prod
|
||||
ENABLE_TEST_PROPERTIES: false
|
||||
ENABLE_IMAGE_PREVIEW_MODAL: false
|
||||
RELEASE_VERSION: ${{ needs.set-build-version.outputs.version }}
|
||||
ENABLE_BOOKMARK_OPERATION: true
|
||||
RELEASE_VERSION: ${{ needs.set-build-version.outputs.version }}
|
||||
|
||||
- name: Upload Artifact (web-static)
|
||||
uses: actions/upload-artifact@v3
|
||||
|
12
.github/workflows/release-desktop-app.yml
vendored
12
.github/workflows/release-desktop-app.yml
vendored
@ -51,24 +51,14 @@ jobs:
|
||||
- name: generate-assets
|
||||
run: yarn workspace @affine/electron generate-assets
|
||||
env:
|
||||
NEXT_PUBLIC_FIREBASE_API_KEY: ${{ secrets.NEXT_PUBLIC_FIREBASE_API_KEY }}
|
||||
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN: ${{ secrets.NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN }}
|
||||
NEXT_PUBLIC_FIREBASE_PROJECT_ID: ${{ secrets.NEXT_PUBLIC_FIREBASE_PROJECT_ID }}
|
||||
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET: ${{ secrets.NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET }}
|
||||
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID: ${{ secrets.NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID }}
|
||||
NEXT_PUBLIC_FIREBASE_APP_ID: ${{ secrets.NEXT_PUBLIC_FIREBASE_APP_ID }}
|
||||
NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID: ${{ secrets.NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID }}
|
||||
AFFINE_GOOGLE_CLIENT_ID: ${{ secrets.AFFINE_GOOGLE_CLIENT_ID }}
|
||||
AFFINE_GOOGLE_CLIENT_SECRET: ${{ secrets.AFFINE_GOOGLE_CLIENT_SECRET }}
|
||||
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
|
||||
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
||||
NEXT_PUBLIC_SENTRY_DSN: ${{ secrets.NEXT_PUBLIC_SENTRY_DSN }}
|
||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||
API_SERVER_PROFILE: prod
|
||||
ENABLE_TEST_PROPERTIES: false
|
||||
ENABLE_IMAGE_PREVIEW_MODAL: false
|
||||
RELEASE_VERSION: ${{ github.event.inputs.version }}
|
||||
ENABLE_BOOKMARK_OPERATION: true
|
||||
RELEASE_VERSION: ${{ github.event.inputs.version }}
|
||||
|
||||
- name: Upload Artifact (web-static)
|
||||
uses: actions/upload-artifact@v3
|
||||
|
@ -13,7 +13,7 @@
|
||||
"dev": "yarn cross-env DEV_SERVER_URL=http://localhost:8080 node scripts/dev.mjs",
|
||||
"watch": "yarn cross-env DEV_SERVER_URL=http://localhost:8080 node scripts/dev.mjs --watch",
|
||||
"prod": "yarn node scripts/dev.mjs",
|
||||
"build-layers": "zx scripts/build-layers.mjs",
|
||||
"build": "zx scripts/build-layers.mjs",
|
||||
"generate-assets": "zx scripts/generate-assets.mjs",
|
||||
"package": "electron-forge package",
|
||||
"make": "electron-forge make",
|
||||
|
47
nx.json
Normal file
47
nx.json
Normal file
@ -0,0 +1,47 @@
|
||||
{
|
||||
"$schema": "./node_modules/nx/schemas/nx-schema.json",
|
||||
"npmScope": "toeverything",
|
||||
"tasksRunnerOptions": {
|
||||
"default": {
|
||||
"runner": "nx/tasks-runners/default",
|
||||
"options": {
|
||||
"cacheableOperations": ["build", "test"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"affected": {
|
||||
"defaultBase": "master"
|
||||
},
|
||||
"implicitDependencies": {
|
||||
"package.json": {
|
||||
"dependencies": "*",
|
||||
"devDependencies": "*"
|
||||
},
|
||||
"tsconfig.json": "*",
|
||||
"nx.json": "*"
|
||||
},
|
||||
"namedInputs": {
|
||||
"default": ["{projectRoot}/**/*"],
|
||||
"production": ["!{projectRoot}/**/*.spec.tsx"]
|
||||
},
|
||||
"targetDefaults": {
|
||||
"build": {
|
||||
"dependsOn": ["^build"]
|
||||
},
|
||||
"e2e": {
|
||||
"dependsOn": ["^build"]
|
||||
},
|
||||
"e2e:coverage": {
|
||||
"dependsOn": ["^build"]
|
||||
},
|
||||
"test": {
|
||||
"dependsOn": ["^build"]
|
||||
},
|
||||
"test:ui": {
|
||||
"dependsOn": ["^build"]
|
||||
},
|
||||
"test:coverage": {
|
||||
"dependsOn": ["^build"]
|
||||
}
|
||||
}
|
||||
}
|
30
package.json
30
package.json
@ -1,10 +1,11 @@
|
||||
{
|
||||
"name": "AFFiNE",
|
||||
"name": "@affine/monorepo",
|
||||
"version": "0.7.0-canary.11",
|
||||
"private": true,
|
||||
"author": "toeverything",
|
||||
"license": "MPL-2.0",
|
||||
"workspaces": [
|
||||
".",
|
||||
"apps/*",
|
||||
"plugins/*",
|
||||
"packages/*",
|
||||
@ -13,30 +14,26 @@
|
||||
],
|
||||
"scripts": {
|
||||
"dev": "dev-web",
|
||||
"dev:ac": "API_SERVER_PROFILE=ac yarn workspace @affine/web dev",
|
||||
"dev:local": "PORT=8080 API_SERVER_PROFILE=local yarn workspace @affine/web dev",
|
||||
"dev:electron": "yarn workspace @affine/electron dev:app",
|
||||
"dev:plugins": "./apps/electron/scripts/plugins/dev-plugins.mjs",
|
||||
"build": "yarn build:infra && yarn workspace @affine/web build",
|
||||
"build": "nx build @affine/web",
|
||||
"build:infra": "yarn workspace @toeverything/plugin-infra build && yarn workspace @toeverything/infra build",
|
||||
"build:storybook": "yarn build:infra && yarn workspace @affine/storybook build-storybook",
|
||||
"build:storybook": "nx build @affine/storybook",
|
||||
"build:plugins": "./apps/electron/scripts/plugins/build-plugins.mjs",
|
||||
"bump:nightly": "./scripts/bump-blocksuite.sh",
|
||||
"circular": "madge --circular --ts-config ./tsconfig.json ./apps/web/src/pages/**/*.tsx",
|
||||
"export": "yarn workspace @affine/web export",
|
||||
"start": "yarn workspace @affine/web start",
|
||||
"start:web": "yarn workspace @affine/web start",
|
||||
"start:storybook": "yarn exec serve packages/storybook/storybook-static -l 6006",
|
||||
"serve:test-static": "yarn exec serve tests/fixtures --cors -p 8081",
|
||||
"start:e2e": "yar dlx run-p start start:storybook",
|
||||
"lint": "eslint . --ext .js,mjs,.ts,.tsx --cache",
|
||||
"lint:fix": "yarn lint --fix",
|
||||
"test": "playwright test",
|
||||
"test:coverage": "COVERAGE=true yarn test --forbid-only",
|
||||
"test:unit": "ENABLE_PRELOADING=false vitest --run",
|
||||
"test:unit:ui": "ENABLE_PRELOADING=false vitest --ui",
|
||||
"test:unit:coverage": "ENABLE_PRELOADING=false vitest run --coverage",
|
||||
"e2e": "playwright test",
|
||||
"e2e:coverage": "COVERAGE=true yarn e2e --forbid-only",
|
||||
"start:e2e": "yar dlx run-p start start:storybook",
|
||||
"test": "ENABLE_PRELOADING=false vitest --run",
|
||||
"test:ui": "ENABLE_PRELOADING=false vitest --ui",
|
||||
"test:coverage": "ENABLE_PRELOADING=false vitest run --coverage",
|
||||
"postinstall": "i18n-codegen gen && husky install",
|
||||
"notify": "node scripts/notify.mjs",
|
||||
"circular": "madge --circular --ts-config ./tsconfig.json ./apps/web/src/pages/**/*.tsx",
|
||||
"typecheck": "tsc -b tsconfig.json --diagnostics"
|
||||
},
|
||||
"lint-staged": {
|
||||
@ -58,6 +55,8 @@
|
||||
"@playwright/test": "=1.33.0",
|
||||
"@taplo/cli": "^0.5.2",
|
||||
"@testing-library/react": "^14.0.0",
|
||||
"@toeverything/infra": "workspace:*",
|
||||
"@toeverything/plugin-infra": "workspace:*",
|
||||
"@types/eslint": "^8.40.0",
|
||||
"@types/node": "^18.16.16",
|
||||
"@typescript-eslint/eslint-plugin": "^5.59.8",
|
||||
@ -82,6 +81,7 @@
|
||||
"madge": "^6.1.0",
|
||||
"msw": "^1.2.1",
|
||||
"nanoid": "^4.0.2",
|
||||
"nx": "16.3.2",
|
||||
"nyc": "^15.1.0",
|
||||
"prettier": "^2.8.8",
|
||||
"react": "18.3.0-canary-16d053d59-20230506",
|
||||
|
@ -15,7 +15,6 @@
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc --project ./tsconfig.json",
|
||||
"sync-languages": "NODE_OPTIONS=--experimental-fetch ts-node-esm src/scripts/sync.ts",
|
||||
"sync-languages:check": "yarn run sync-languages --check",
|
||||
"download-resources": "NODE_OPTIONS=--experimental-fetch ts-node-esm src/scripts/download.ts"
|
||||
|
@ -2,9 +2,9 @@
|
||||
"name": "@affine/storybook",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"storybook": "storybook dev -p 6006",
|
||||
"build-storybook": "NODE_OPTIONS=--max_old_space_size=4096 storybook build",
|
||||
"test-storybook": "test-storybook"
|
||||
"dev": "storybook dev -p 6006",
|
||||
"build": "NODE_OPTIONS=--max_old_space_size=4096 storybook build",
|
||||
"test": "test-storybook"
|
||||
},
|
||||
"dependencies": {
|
||||
"@affine/component": "workspace:*",
|
||||
|
@ -43,7 +43,7 @@ const config: PlaywrightTestConfig = {
|
||||
|
||||
webServer: [
|
||||
{
|
||||
command: 'yarn serve:test-static',
|
||||
command: 'yarn run serve:test-static',
|
||||
port: 8081,
|
||||
timeout: 120 * 1000,
|
||||
reuseExistingServer: !process.env.CI,
|
||||
@ -65,7 +65,7 @@ const config: PlaywrightTestConfig = {
|
||||
},
|
||||
// Intentionally not building the web, reminds you to run it by yourself.
|
||||
{
|
||||
command: 'yarn start -p 8080',
|
||||
command: 'yarn run start:web -p 8080',
|
||||
port: 8080,
|
||||
timeout: 120 * 1000,
|
||||
reuseExistingServer: !process.env.CI,
|
||||
|
@ -1,19 +0,0 @@
|
||||
import { resolve } from 'node:path';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
|
||||
import { spawnSync } from 'child_process';
|
||||
import { beforeAll } from 'vitest';
|
||||
|
||||
const rootDir = fileURLToPath(new URL('../../', import.meta.url));
|
||||
|
||||
beforeAll(async () => {
|
||||
console.log('Build plugin infra');
|
||||
spawnSync('yarn', ['build'], {
|
||||
stdio: 'inherit',
|
||||
cwd: resolve(rootDir, './packages/plugin-infra'),
|
||||
});
|
||||
|
||||
console.log('Build plugins');
|
||||
// @ts-expect-error
|
||||
await import('../../apps/electron/scripts/plugins/build-plugins.mjs');
|
||||
});
|
@ -9,7 +9,7 @@ import { test as baseTest } from '@playwright/test';
|
||||
export const rootDir = resolve(__dirname, '..', '..');
|
||||
// assert that the rootDir is the root of the project
|
||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||
ok(require(resolve(rootDir, 'package.json')).name.toLowerCase() === 'affine');
|
||||
ok(require(resolve(rootDir, 'package.json')).name.toLowerCase() === '@affine/monorepo');
|
||||
|
||||
export const testResultDir = resolve(rootDir, 'test-results');
|
||||
|
||||
|
@ -22,7 +22,6 @@ export default defineConfig({
|
||||
},
|
||||
test: {
|
||||
setupFiles: [
|
||||
resolve(rootDir, './scripts/setup/build-plugins.ts'),
|
||||
resolve(rootDir, './scripts/setup/lit.ts'),
|
||||
resolve(rootDir, './scripts/setup/i18n.ts'),
|
||||
resolve(rootDir, './scripts/setup/search.ts'),
|
||||
|
500
yarn.lock
500
yarn.lock
@ -261,6 +261,63 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@affine/monorepo@workspace:.":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@affine/monorepo@workspace:."
|
||||
dependencies:
|
||||
"@affine-test/kit": "workspace:*"
|
||||
"@affine/cli": "workspace:*"
|
||||
"@commitlint/cli": ^17.6.5
|
||||
"@commitlint/config-conventional": ^17.6.5
|
||||
"@faker-js/faker": ^8.0.2
|
||||
"@istanbuljs/schema": ^0.1.3
|
||||
"@magic-works/i18n-codegen": ^0.5.0
|
||||
"@perfsee/sdk": ^1.8.1
|
||||
"@playwright/test": =1.33.0
|
||||
"@taplo/cli": ^0.5.2
|
||||
"@testing-library/react": ^14.0.0
|
||||
"@toeverything/infra": "workspace:*"
|
||||
"@toeverything/plugin-infra": "workspace:*"
|
||||
"@types/eslint": ^8.40.0
|
||||
"@types/node": ^18.16.16
|
||||
"@typescript-eslint/eslint-plugin": ^5.59.8
|
||||
"@typescript-eslint/parser": ^5.59.8
|
||||
"@vanilla-extract/vite-plugin": ^3.8.2
|
||||
"@vitejs/plugin-react": ^4.0.0
|
||||
"@vitest/coverage-istanbul": ^0.31.4
|
||||
"@vitest/ui": ^0.31.4
|
||||
eslint: ^8.42.0
|
||||
eslint-config-prettier: ^8.8.0
|
||||
eslint-plugin-import: ^2.27.5
|
||||
eslint-plugin-prettier: ^4.2.1
|
||||
eslint-plugin-react: ^7.32.2
|
||||
eslint-plugin-react-hooks: ^4.6.0
|
||||
eslint-plugin-simple-import-sort: ^10.0.0
|
||||
eslint-plugin-unicorn: ^47.0.0
|
||||
eslint-plugin-unused-imports: ^2.0.0
|
||||
fake-indexeddb: 4.0.1
|
||||
happy-dom: ^9.20.3
|
||||
husky: ^8.0.3
|
||||
lint-staged: ^13.2.2
|
||||
madge: ^6.1.0
|
||||
msw: ^1.2.1
|
||||
nanoid: ^4.0.2
|
||||
nx: 16.3.2
|
||||
nyc: ^15.1.0
|
||||
prettier: ^2.8.8
|
||||
react: 18.3.0-canary-16d053d59-20230506
|
||||
react-dom: 18.3.0-canary-16d053d59-20230506
|
||||
serve: ^14.2.0
|
||||
typescript: ^5.1.3
|
||||
vite: ^4.3.9
|
||||
vite-plugin-istanbul: ^4.1.0
|
||||
vite-tsconfig-paths: ^4.2.0
|
||||
vitest: ^0.31.4
|
||||
vitest-fetch-mock: ^0.2.2
|
||||
vitest-mock-extended: ^1.1.3
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@affine/native@workspace:*, @affine/native@workspace:packages/native":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@affine/native@workspace:packages/native"
|
||||
@ -6442,6 +6499,17 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@nrwl/tao@npm:16.3.2":
|
||||
version: 16.3.2
|
||||
resolution: "@nrwl/tao@npm:16.3.2"
|
||||
dependencies:
|
||||
nx: 16.3.2
|
||||
bin:
|
||||
tao: index.js
|
||||
checksum: 85f6c83170b0beccee7d86ae7cc3a09154d003be4fb9ab7b34f66044b71161d439766b6b19ef63424671780285476bad3375306c7e2af099d82c39d755997678
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@nuxtjs/opencollective@npm:0.3.2":
|
||||
version: 0.3.2
|
||||
resolution: "@nuxtjs/opencollective@npm:0.3.2"
|
||||
@ -6455,6 +6523,76 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@nx/nx-darwin-arm64@npm:16.3.2":
|
||||
version: 16.3.2
|
||||
resolution: "@nx/nx-darwin-arm64@npm:16.3.2"
|
||||
conditions: os=darwin & cpu=arm64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@nx/nx-darwin-x64@npm:16.3.2":
|
||||
version: 16.3.2
|
||||
resolution: "@nx/nx-darwin-x64@npm:16.3.2"
|
||||
conditions: os=darwin & cpu=x64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@nx/nx-freebsd-x64@npm:16.3.2":
|
||||
version: 16.3.2
|
||||
resolution: "@nx/nx-freebsd-x64@npm:16.3.2"
|
||||
conditions: os=freebsd & cpu=x64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@nx/nx-linux-arm-gnueabihf@npm:16.3.2":
|
||||
version: 16.3.2
|
||||
resolution: "@nx/nx-linux-arm-gnueabihf@npm:16.3.2"
|
||||
conditions: os=linux & cpu=arm
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@nx/nx-linux-arm64-gnu@npm:16.3.2":
|
||||
version: 16.3.2
|
||||
resolution: "@nx/nx-linux-arm64-gnu@npm:16.3.2"
|
||||
conditions: os=linux & cpu=arm64 & libc=glibc
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@nx/nx-linux-arm64-musl@npm:16.3.2":
|
||||
version: 16.3.2
|
||||
resolution: "@nx/nx-linux-arm64-musl@npm:16.3.2"
|
||||
conditions: os=linux & cpu=arm64 & libc=musl
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@nx/nx-linux-x64-gnu@npm:16.3.2":
|
||||
version: 16.3.2
|
||||
resolution: "@nx/nx-linux-x64-gnu@npm:16.3.2"
|
||||
conditions: os=linux & cpu=x64 & libc=glibc
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@nx/nx-linux-x64-musl@npm:16.3.2":
|
||||
version: 16.3.2
|
||||
resolution: "@nx/nx-linux-x64-musl@npm:16.3.2"
|
||||
conditions: os=linux & cpu=x64 & libc=musl
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@nx/nx-win32-arm64-msvc@npm:16.3.2":
|
||||
version: 16.3.2
|
||||
resolution: "@nx/nx-win32-arm64-msvc@npm:16.3.2"
|
||||
conditions: os=win32 & cpu=arm64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@nx/nx-win32-x64-msvc@npm:16.3.2":
|
||||
version: 16.3.2
|
||||
resolution: "@nx/nx-win32-x64-msvc@npm:16.3.2"
|
||||
conditions: os=win32 & cpu=x64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@open-draft/until@npm:^1.0.3":
|
||||
version: 1.0.3
|
||||
resolution: "@open-draft/until@npm:1.0.3"
|
||||
@ -6462,6 +6600,17 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@parcel/watcher@npm:2.0.4":
|
||||
version: 2.0.4
|
||||
resolution: "@parcel/watcher@npm:2.0.4"
|
||||
dependencies:
|
||||
node-addon-api: ^3.2.1
|
||||
node-gyp: latest
|
||||
node-gyp-build: ^4.3.0
|
||||
checksum: 890bdc69a52942791b276caa2cd65ef816576d6b5ada91aa28cf302b35d567c801dafe167f2525dcb313f5b420986ea11bd56228dd7ddde1116944d8f924a0a1
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@parcel/watcher@npm:^2.1.0":
|
||||
version: 2.1.0
|
||||
resolution: "@parcel/watcher@npm:2.1.0"
|
||||
@ -10618,6 +10767,23 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@yarnpkg/lockfile@npm:^1.1.0":
|
||||
version: 1.1.0
|
||||
resolution: "@yarnpkg/lockfile@npm:1.1.0"
|
||||
checksum: 05b881b4866a3546861fee756e6d3812776ea47fa6eb7098f983d6d0eefa02e12b66c3fff931574120f196286a7ad4879ce02743c8bb2be36c6a576c7852083a
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@yarnpkg/parsers@npm:^3.0.0-rc.18":
|
||||
version: 3.0.0-rc.45
|
||||
resolution: "@yarnpkg/parsers@npm:3.0.0-rc.45"
|
||||
dependencies:
|
||||
js-yaml: ^3.10.0
|
||||
tslib: ^2.4.0
|
||||
checksum: 10f3b10e2e9b0ac97f4fdc0a97e5f08d149c3e33bd09244bd148fe2c5ff3986c39fcc281129d2154aa4ce885bd5decf66feb7131327c2633d3f90f35c0bf71d2
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@zeit/schemas@npm:2.29.0":
|
||||
version: 2.29.0
|
||||
resolution: "@zeit/schemas@npm:2.29.0"
|
||||
@ -10625,6 +10791,17 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@zkochan/js-yaml@npm:0.0.6":
|
||||
version: 0.0.6
|
||||
resolution: "@zkochan/js-yaml@npm:0.0.6"
|
||||
dependencies:
|
||||
argparse: ^2.0.1
|
||||
bin:
|
||||
js-yaml: bin/js-yaml.js
|
||||
checksum: 51b81597a1d1d79c778b8fae48317eaad78d75223d0b7477ad2b35f47cf63b19504da430bb7a03b326e668b282874242cc123e323e57293be038684cb5e755f8
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@zxing/text-encoding@npm:0.9.0":
|
||||
version: 0.9.0
|
||||
resolution: "@zxing/text-encoding@npm:0.9.0"
|
||||
@ -10632,60 +10809,6 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"AFFiNE@workspace:.":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "AFFiNE@workspace:."
|
||||
dependencies:
|
||||
"@affine-test/kit": "workspace:*"
|
||||
"@affine/cli": "workspace:*"
|
||||
"@commitlint/cli": ^17.6.5
|
||||
"@commitlint/config-conventional": ^17.6.5
|
||||
"@faker-js/faker": ^8.0.2
|
||||
"@istanbuljs/schema": ^0.1.3
|
||||
"@magic-works/i18n-codegen": ^0.5.0
|
||||
"@perfsee/sdk": ^1.8.1
|
||||
"@playwright/test": =1.33.0
|
||||
"@taplo/cli": ^0.5.2
|
||||
"@testing-library/react": ^14.0.0
|
||||
"@types/eslint": ^8.40.0
|
||||
"@types/node": ^18.16.16
|
||||
"@typescript-eslint/eslint-plugin": ^5.59.8
|
||||
"@typescript-eslint/parser": ^5.59.8
|
||||
"@vanilla-extract/vite-plugin": ^3.8.2
|
||||
"@vitejs/plugin-react": ^4.0.0
|
||||
"@vitest/coverage-istanbul": ^0.31.4
|
||||
"@vitest/ui": ^0.31.4
|
||||
eslint: ^8.42.0
|
||||
eslint-config-prettier: ^8.8.0
|
||||
eslint-plugin-import: ^2.27.5
|
||||
eslint-plugin-prettier: ^4.2.1
|
||||
eslint-plugin-react: ^7.32.2
|
||||
eslint-plugin-react-hooks: ^4.6.0
|
||||
eslint-plugin-simple-import-sort: ^10.0.0
|
||||
eslint-plugin-unicorn: ^47.0.0
|
||||
eslint-plugin-unused-imports: ^2.0.0
|
||||
fake-indexeddb: 4.0.1
|
||||
happy-dom: ^9.20.3
|
||||
husky: ^8.0.3
|
||||
lint-staged: ^13.2.2
|
||||
madge: ^6.1.0
|
||||
msw: ^1.2.1
|
||||
nanoid: ^4.0.2
|
||||
nyc: ^15.1.0
|
||||
prettier: ^2.8.8
|
||||
react: 18.3.0-canary-16d053d59-20230506
|
||||
react-dom: 18.3.0-canary-16d053d59-20230506
|
||||
serve: ^14.2.0
|
||||
typescript: ^5.1.3
|
||||
vite: ^4.3.9
|
||||
vite-plugin-istanbul: ^4.1.0
|
||||
vite-tsconfig-paths: ^4.2.0
|
||||
vitest: ^0.31.4
|
||||
vitest-fetch-mock: ^0.2.2
|
||||
vitest-mock-extended: ^1.1.3
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"JSONStream@npm:^1.0.4":
|
||||
version: 1.3.5
|
||||
resolution: "JSONStream@npm:1.3.5"
|
||||
@ -10888,7 +11011,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"ansi-colors@npm:^4.1.3":
|
||||
"ansi-colors@npm:^4.1.1, ansi-colors@npm:^4.1.3":
|
||||
version: 4.1.3
|
||||
resolution: "ansi-colors@npm:4.1.3"
|
||||
checksum: a9c2ec842038a1fabc7db9ece7d3177e2fe1c5dc6f0c51ecfbf5f39911427b89c00b5dc6b8bd95f82a26e9b16aaae2e83d45f060e98070ce4d1333038edceb0e
|
||||
@ -11444,6 +11567,17 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"axios@npm:^1.0.0":
|
||||
version: 1.4.0
|
||||
resolution: "axios@npm:1.4.0"
|
||||
dependencies:
|
||||
follow-redirects: ^1.15.0
|
||||
form-data: ^4.0.0
|
||||
proxy-from-env: ^1.1.0
|
||||
checksum: 7fb6a4313bae7f45e89d62c70a800913c303df653f19eafec88e56cea2e3821066b8409bc68be1930ecca80e861c52aa787659df0ffec6ad4d451c7816b9386b
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"axobject-query@npm:^3.1.1":
|
||||
version: 3.1.1
|
||||
resolution: "axobject-query@npm:3.1.1"
|
||||
@ -12530,7 +12664,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:
|
||||
@ -12539,6 +12673,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"cli-spinners@npm:2.6.1":
|
||||
version: 2.6.1
|
||||
resolution: "cli-spinners@npm:2.6.1"
|
||||
checksum: 423409baaa7a58e5104b46ca1745fbfc5888bbd0b0c5a626e052ae1387060839c8efd512fb127e25769b3dc9562db1dc1b5add6e0b93b7ef64f477feb6416a45
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"cli-spinners@npm:^2.5.0":
|
||||
version: 2.9.0
|
||||
resolution: "cli-spinners@npm:2.9.0"
|
||||
@ -14197,6 +14338,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"dotenv@npm:~10.0.0":
|
||||
version: 10.0.0
|
||||
resolution: "dotenv@npm:10.0.0"
|
||||
checksum: f412c5fe8c24fbe313d302d2500e247ba8a1946492db405a4de4d30dd0eb186a88a43f13c958c5a7de303938949c4231c56994f97d05c4bc1f22478d631b4005
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"ds-store@npm:^0.1.5":
|
||||
version: 0.1.6
|
||||
resolution: "ds-store@npm:0.1.6"
|
||||
@ -14224,7 +14372,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"duplexer@npm:~0.1.1":
|
||||
"duplexer@npm:^0.1.1, duplexer@npm:~0.1.1":
|
||||
version: 0.1.2
|
||||
resolution: "duplexer@npm:0.1.2"
|
||||
checksum: 62ba61a830c56801db28ff6305c7d289b6dc9f859054e8c982abd8ee0b0a14d2e9a8e7d086ffee12e868d43e2bbe8a964be55ddbd8c8957714c87373c7a4f9b0
|
||||
@ -14514,6 +14662,15 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"enquirer@npm:~2.3.6":
|
||||
version: 2.3.6
|
||||
resolution: "enquirer@npm:2.3.6"
|
||||
dependencies:
|
||||
ansi-colors: ^4.1.1
|
||||
checksum: 1c0911e14a6f8d26721c91e01db06092a5f7675159f0261d69c403396a385afd13dd76825e7678f66daffa930cfaa8d45f506fb35f818a2788463d022af1b884
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"entities@npm:^1.1.1":
|
||||
version: 1.1.2
|
||||
resolution: "entities@npm:1.1.2"
|
||||
@ -15634,6 +15791,19 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"fast-glob@npm:3.2.7":
|
||||
version: 3.2.7
|
||||
resolution: "fast-glob@npm:3.2.7"
|
||||
dependencies:
|
||||
"@nodelib/fs.stat": ^2.0.2
|
||||
"@nodelib/fs.walk": ^1.2.3
|
||||
glob-parent: ^5.1.2
|
||||
merge2: ^1.3.0
|
||||
micromatch: ^4.0.4
|
||||
checksum: 2f4708ff112d2b451888129fdd9a0938db88b105b0ddfd043c064e3c4d3e20eed8d7c7615f7565fee660db34ddcf08a2db1bf0ab3c00b87608e4719694642d78
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"fast-json-stable-stringify@npm:^2.0.0, fast-json-stable-stringify@npm:^2.1.0":
|
||||
version: 2.1.0
|
||||
resolution: "fast-json-stable-stringify@npm:2.1.0"
|
||||
@ -15764,7 +15934,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"figures@npm:^3.0.0":
|
||||
"figures@npm:3.2.0, figures@npm:^3.0.0":
|
||||
version: 3.2.0
|
||||
resolution: "figures@npm:3.2.0"
|
||||
dependencies:
|
||||
@ -16072,7 +16242,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"follow-redirects@npm:^1.14.0, follow-redirects@npm:^1.14.8, follow-redirects@npm:^1.14.9":
|
||||
"follow-redirects@npm:^1.14.0, follow-redirects@npm:^1.14.8, follow-redirects@npm:^1.14.9, follow-redirects@npm:^1.15.0":
|
||||
version: 1.15.2
|
||||
resolution: "follow-redirects@npm:1.15.2"
|
||||
peerDependenciesMeta:
|
||||
@ -16707,6 +16877,20 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"glob@npm:7.1.4":
|
||||
version: 7.1.4
|
||||
resolution: "glob@npm:7.1.4"
|
||||
dependencies:
|
||||
fs.realpath: ^1.0.0
|
||||
inflight: ^1.0.4
|
||||
inherits: 2
|
||||
minimatch: ^3.0.4
|
||||
once: ^1.3.0
|
||||
path-is-absolute: ^1.0.0
|
||||
checksum: f52480fc82b1e66e52990f0f2e7306447d12294c83fbbee0395e761ad1178172012a7cc0673dbf4810baac400fc09bf34484c08b5778c216403fd823db281716
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"glob@npm:7.1.7":
|
||||
version: 7.1.7
|
||||
resolution: "glob@npm:7.1.7"
|
||||
@ -17499,7 +17683,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"ignore@npm:^5.2.0":
|
||||
"ignore@npm:^5.0.4, ignore@npm:^5.2.0":
|
||||
version: 5.2.4
|
||||
resolution: "ignore@npm:5.2.4"
|
||||
checksum: 3d4c309c6006e2621659311783eaea7ebcd41fe4ca1d78c91c473157ad6666a57a2df790fe0d07a12300d9aac2888204d7be8d59f9aaf665b1c7fcdb432517ef
|
||||
@ -19289,7 +19473,18 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"js-yaml@npm:^3.13.1":
|
||||
"js-yaml@npm:4.1.0, js-yaml@npm:^4.0.0, js-yaml@npm:^4.1.0":
|
||||
version: 4.1.0
|
||||
resolution: "js-yaml@npm:4.1.0"
|
||||
dependencies:
|
||||
argparse: ^2.0.1
|
||||
bin:
|
||||
js-yaml: bin/js-yaml.js
|
||||
checksum: c7830dfd456c3ef2c6e355cc5a92e6700ceafa1d14bba54497b34a99f0376cecbb3e9ac14d3e5849b426d5a5140709a66237a8c991c675431271c4ce5504151a
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"js-yaml@npm:^3.10.0, js-yaml@npm:^3.13.1":
|
||||
version: 3.14.1
|
||||
resolution: "js-yaml@npm:3.14.1"
|
||||
dependencies:
|
||||
@ -19301,17 +19496,6 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"js-yaml@npm:^4.0.0, js-yaml@npm:^4.1.0":
|
||||
version: 4.1.0
|
||||
resolution: "js-yaml@npm:4.1.0"
|
||||
dependencies:
|
||||
argparse: ^2.0.1
|
||||
bin:
|
||||
js-yaml: bin/js-yaml.js
|
||||
checksum: c7830dfd456c3ef2c6e355cc5a92e6700ceafa1d14bba54497b34a99f0376cecbb3e9ac14d3e5849b426d5a5140709a66237a8c991c675431271c4ce5504151a
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"jscodeshift@npm:^0.14.0":
|
||||
version: 0.14.0
|
||||
resolution: "jscodeshift@npm:0.14.0"
|
||||
@ -19451,7 +19635,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"jsonc-parser@npm:^3.2.0":
|
||||
"jsonc-parser@npm:3.2.0, jsonc-parser@npm:^3.2.0":
|
||||
version: 3.2.0
|
||||
resolution: "jsonc-parser@npm:3.2.0"
|
||||
checksum: 946dd9a5f326b745aa326d48a7257e3f4a4b62c5e98ec8e49fa2bdd8d96cef7e6febf1399f5c7016114fd1f68a1c62c6138826d5d90bc650448e3cf0951c53c7
|
||||
@ -19872,6 +20056,13 @@ __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: 5955363dfd7d3d7c476d002eb47944dbe0310d57959e2112dce004c0dc76cecfd479cf8c098fd479ff344acdf04ee0e82b455462a26492231ac152f6c48d17a1
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"link-preview-js@npm:^3.0.4":
|
||||
version: 3.0.4
|
||||
resolution: "link-preview-js@npm:3.0.4"
|
||||
@ -20818,6 +21009,15 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"minimatch@npm:3.0.5":
|
||||
version: 3.0.5
|
||||
resolution: "minimatch@npm:3.0.5"
|
||||
dependencies:
|
||||
brace-expansion: ^1.1.7
|
||||
checksum: a3b84b426eafca947741b864502cee02860c4e7b145de11ad98775cfcf3066fef422583bc0ffce0952ddf4750c1ccf4220b1556430d4ce10139f66247d87d69e
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"minimatch@npm:3.1.2, minimatch@npm:^3.0.2, minimatch@npm:^3.0.4, minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2":
|
||||
version: 3.1.2
|
||||
resolution: "minimatch@npm:3.1.2"
|
||||
@ -21702,6 +21902,89 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"nx@npm:16.3.2":
|
||||
version: 16.3.2
|
||||
resolution: "nx@npm:16.3.2"
|
||||
dependencies:
|
||||
"@nrwl/tao": 16.3.2
|
||||
"@nx/nx-darwin-arm64": 16.3.2
|
||||
"@nx/nx-darwin-x64": 16.3.2
|
||||
"@nx/nx-freebsd-x64": 16.3.2
|
||||
"@nx/nx-linux-arm-gnueabihf": 16.3.2
|
||||
"@nx/nx-linux-arm64-gnu": 16.3.2
|
||||
"@nx/nx-linux-arm64-musl": 16.3.2
|
||||
"@nx/nx-linux-x64-gnu": 16.3.2
|
||||
"@nx/nx-linux-x64-musl": 16.3.2
|
||||
"@nx/nx-win32-arm64-msvc": 16.3.2
|
||||
"@nx/nx-win32-x64-msvc": 16.3.2
|
||||
"@parcel/watcher": 2.0.4
|
||||
"@yarnpkg/lockfile": ^1.1.0
|
||||
"@yarnpkg/parsers": ^3.0.0-rc.18
|
||||
"@zkochan/js-yaml": 0.0.6
|
||||
axios: ^1.0.0
|
||||
chalk: ^4.1.0
|
||||
cli-cursor: 3.1.0
|
||||
cli-spinners: 2.6.1
|
||||
cliui: ^7.0.2
|
||||
dotenv: ~10.0.0
|
||||
enquirer: ~2.3.6
|
||||
fast-glob: 3.2.7
|
||||
figures: 3.2.0
|
||||
flat: ^5.0.2
|
||||
fs-extra: ^11.1.0
|
||||
glob: 7.1.4
|
||||
ignore: ^5.0.4
|
||||
js-yaml: 4.1.0
|
||||
jsonc-parser: 3.2.0
|
||||
lines-and-columns: ~2.0.3
|
||||
minimatch: 3.0.5
|
||||
npm-run-path: ^4.0.1
|
||||
open: ^8.4.0
|
||||
semver: 7.3.4
|
||||
string-width: ^4.2.3
|
||||
strong-log-transformer: ^2.1.0
|
||||
tar-stream: ~2.2.0
|
||||
tmp: ~0.2.1
|
||||
tsconfig-paths: ^4.1.2
|
||||
tslib: ^2.3.0
|
||||
v8-compile-cache: 2.3.0
|
||||
yargs: ^17.6.2
|
||||
yargs-parser: 21.1.1
|
||||
peerDependencies:
|
||||
"@swc-node/register": ^1.4.2
|
||||
"@swc/core": ^1.2.173
|
||||
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
|
||||
checksum: 627decdb89cea60f45ab035b33a53f2e3170f24c0eed07cfbec59eeeda4a6d62b57738e5f34fd1cdcdc00dcff83bb4d1022fe892c69e89420182d50ff0f6b547
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"nyc@npm:^15.1.0":
|
||||
version: 15.1.0
|
||||
resolution: "nyc@npm:15.1.0"
|
||||
@ -24568,6 +24851,17 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"semver@npm:7.3.4":
|
||||
version: 7.3.4
|
||||
resolution: "semver@npm:7.3.4"
|
||||
dependencies:
|
||||
lru-cache: ^6.0.0
|
||||
bin:
|
||||
semver: bin/semver.js
|
||||
checksum: 96451bfd7cba9b60ee87571959dc47e87c95b2fe58a9312a926340fee9907fc7bc062c352efdaf5bb24b2dff59c145e14faf7eb9d718a84b4751312531b39f43
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"semver@npm:7.5.0":
|
||||
version: 7.5.0
|
||||
resolution: "semver@npm:7.5.0"
|
||||
@ -25606,6 +25900,19 @@ __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: ^0.1.1
|
||||
minimist: ^1.2.0
|
||||
through: ^2.3.4
|
||||
bin:
|
||||
sl-log-transformer: bin/sl-log-transformer.js
|
||||
checksum: abf9a4ac143118f26c3a0771b204b02f5cf4fa80384ae158f25e02bfbff761038accc44a7f65869ccd5a5995a7f2c16b1466b83149644ba6cecd3072a8927297
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"styled-jsx@npm:5.1.1":
|
||||
version: 5.1.1
|
||||
resolution: "styled-jsx@npm:5.1.1"
|
||||
@ -25834,7 +26141,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"tar-stream@npm:^2.1.4":
|
||||
"tar-stream@npm:^2.1.4, tar-stream@npm:~2.2.0":
|
||||
version: 2.2.0
|
||||
resolution: "tar-stream@npm:2.2.0"
|
||||
dependencies:
|
||||
@ -26009,7 +26316,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"through@npm:2, through@npm:>=2.2.7 <3, through@npm:^2.3.6, through@npm:^2.3.8, through@npm:~2.3, through@npm:~2.3.1":
|
||||
"through@npm:2, through@npm:>=2.2.7 <3, through@npm:^2.3.4, through@npm:^2.3.6, through@npm:^2.3.8, through@npm:~2.3, through@npm:~2.3.1":
|
||||
version: 2.3.8
|
||||
resolution: "through@npm:2.3.8"
|
||||
checksum: a38c3e059853c494af95d50c072b83f8b676a9ba2818dcc5b108ef252230735c54e0185437618596c790bbba8fcdaef5b290405981ffa09dce67b1f1bf190cbd
|
||||
@ -26085,7 +26392,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"tmp@npm:^0.2.0":
|
||||
"tmp@npm:^0.2.0, tmp@npm:~0.2.1":
|
||||
version: 0.2.1
|
||||
resolution: "tmp@npm:0.2.1"
|
||||
dependencies:
|
||||
@ -26310,6 +26617,17 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"tsconfig-paths@npm:^4.1.2":
|
||||
version: 4.2.0
|
||||
resolution: "tsconfig-paths@npm:4.2.0"
|
||||
dependencies:
|
||||
json5: ^2.2.2
|
||||
minimist: ^1.2.6
|
||||
strip-bom: ^3.0.0
|
||||
checksum: 28c5f7bbbcabc9dabd4117e8fdc61483f6872a1c6b02a4b1c4d68c5b79d06896c3cc9547610c4c3ba64658531caa2de13ead1ea1bf321c7b53e969c4752b98c7
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"tslib@npm:2.5.2, tslib@npm:^2.0.0, tslib@npm:^2.0.1, tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.3.1, tslib@npm:^2.4.0, tslib@npm:^2.5.0, tslib@npm:~2.5.0":
|
||||
version: 2.5.2
|
||||
resolution: "tslib@npm:2.5.2"
|
||||
@ -26324,6 +26642,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"tslib@npm:^2.3.0":
|
||||
version: 2.5.3
|
||||
resolution: "tslib@npm:2.5.3"
|
||||
checksum: 88902b309afaf83259131c1e13da1dceb0ad1682a213143a1346a649143924d78cf3760c448b84d796938fd76127183894f8d85cbb3bf9c4fddbfcc140c0003c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"tsutils@npm:^3.21.0":
|
||||
version: 3.21.0
|
||||
resolution: "tsutils@npm:3.21.0"
|
||||
@ -27033,6 +27358,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"v8-compile-cache@npm:2.3.0":
|
||||
version: 2.3.0
|
||||
resolution: "v8-compile-cache@npm:2.3.0"
|
||||
checksum: adb0a271eaa2297f2f4c536acbfee872d0dd26ec2d76f66921aa7fc437319132773483344207bdbeee169225f4739016d8d2dbf0553913a52bb34da6d0334f8e
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"v8-to-istanbul@npm:^9.0.0, v8-to-istanbul@npm:^9.0.1":
|
||||
version: 9.1.0
|
||||
resolution: "v8-to-istanbul@npm:9.1.0"
|
||||
@ -27950,6 +28282,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"yargs-parser@npm:21.1.1, yargs-parser@npm:^21.1.1":
|
||||
version: 21.1.1
|
||||
resolution: "yargs-parser@npm:21.1.1"
|
||||
checksum: ed2d96a616a9e3e1cc7d204c62ecc61f7aaab633dcbfab2c6df50f7f87b393993fe6640d017759fe112d0cb1e0119f2b4150a87305cc873fd90831c6a58ccf1c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"yargs-parser@npm:^18.1.2":
|
||||
version: 18.1.3
|
||||
resolution: "yargs-parser@npm:18.1.3"
|
||||
@ -27967,13 +28306,6 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"yargs-parser@npm:^21.1.1":
|
||||
version: 21.1.1
|
||||
resolution: "yargs-parser@npm:21.1.1"
|
||||
checksum: ed2d96a616a9e3e1cc7d204c62ecc61f7aaab633dcbfab2c6df50f7f87b393993fe6640d017759fe112d0cb1e0119f2b4150a87305cc873fd90831c6a58ccf1c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"yargs@npm:^15.0.1, yargs@npm:^15.0.2, yargs@npm:^15.3.1":
|
||||
version: 15.4.1
|
||||
resolution: "yargs@npm:15.4.1"
|
||||
@ -28008,7 +28340,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"yargs@npm:^17.0.0, yargs@npm:^17.0.1, yargs@npm:^17.3.1, yargs@npm:^17.7.0, yargs@npm:^17.7.1, yargs@npm:^17.7.2":
|
||||
"yargs@npm:^17.0.0, yargs@npm:^17.0.1, yargs@npm:^17.3.1, yargs@npm:^17.6.2, yargs@npm:^17.7.0, yargs@npm:^17.7.1, yargs@npm:^17.7.2":
|
||||
version: 17.7.2
|
||||
resolution: "yargs@npm:17.7.2"
|
||||
dependencies:
|
||||
|
Loading…
Reference in New Issue
Block a user