From f250884a34264fbb4b72211ce28a5c6a6793d77f Mon Sep 17 00:00:00 2001 From: syy11cn Date: Tue, 12 Apr 2022 23:43:50 +0800 Subject: [PATCH] chore: update monorepo config --- package.json | 6 ++++++ pnpm-lock.yaml | 33 +++++++++++++++++++++++++-------- pnpm-workspace.yaml | 2 ++ 3 files changed, 33 insertions(+), 8 deletions(-) create mode 100644 pnpm-workspace.yaml diff --git a/package.json b/package.json index 088cfa3..d7b64da 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,13 @@ ], "devDependencies": { "@antfu/eslint-config": "^0.20.2", + "@md-report/types": "workspace:*", + "@md-report/core": "workspace:*", + "@md-report/parser": "workspace:*", "eslint": "^8.13.0", "typescript": "^4.6.3" + }, + "engines": { + "node": ">=14" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f79b282..98c403c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,14 +1,31 @@ lockfileVersion: 5.3 -specifiers: - '@antfu/eslint-config': ^0.20.2 - eslint: ^8.13.0 - typescript: ^4.6.3 +importers: -devDependencies: - '@antfu/eslint-config': 0.20.2_eslint@8.13.0+typescript@4.6.3 - eslint: 8.13.0 - typescript: 4.6.3 + .: + specifiers: + '@antfu/eslint-config': ^0.20.2 + '@md-report/core': workspace:* + '@md-report/parser': workspace:* + '@md-report/types': workspace:* + eslint: ^8.13.0 + typescript: ^4.6.3 + devDependencies: + '@antfu/eslint-config': 0.20.2_eslint@8.13.0+typescript@4.6.3 + '@md-report/core': link:packages/core + '@md-report/parser': link:packages/parser + '@md-report/types': link:packages/types + eslint: 8.13.0 + typescript: 4.6.3 + + packages/core: + specifiers: {} + + packages/parser: + specifiers: {} + + packages/types: + specifiers: {} packages: diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml new file mode 100644 index 0000000..600b4bb --- /dev/null +++ b/pnpm-workspace.yaml @@ -0,0 +1,2 @@ +packages: + - 'packages/**'