diff --git a/nx.json b/nx.json index 952eea6..c2b8a73 100644 --- a/nx.json +++ b/nx.json @@ -5,13 +5,11 @@ "default": { "runner": "nx/tasks-runners/default", "options": { - "cacheableOperations": [ - "build", - "lint", - "test", - "e2e" - ] + "cacheableOperations": ["build", "lint", "test", "e2e"] } } + }, + "affected": { + "defaultBase": "origin/main" } } diff --git a/packages/parse/project.json b/packages/parse/project.json index 2fba0ad..ffc2ff7 100644 --- a/packages/parse/project.json +++ b/packages/parse/project.json @@ -1,5 +1,9 @@ { "semantic-release": { - "executor": "@theunderscorer/nx-semantic-release:semantic-release" + "executor": "@theunderscorer/nx-semantic-release:semantic-release", + "options": { + "buildTarget": "build", + "outputPath": "./dist" + } } } diff --git a/packages/parse/tsup.config.ts b/packages/parse/tsup.config.ts index ff62faa..876dcae 100644 --- a/packages/parse/tsup.config.ts +++ b/packages/parse/tsup.config.ts @@ -1,4 +1,4 @@ -import { defineConfig } from 'tsup' +import { defineConfig } from 'tsup'; export default defineConfig({ entry: ['src/index.ts'], @@ -7,5 +7,4 @@ export default defineConfig({ clean: true, dts: true, format: ['cjs', 'esm'], - external: ['react'], -}) +});