summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2022-06-15 22:19:20 -0700
committerMatthew Miller <matthew@millerti.me>2022-06-15 22:19:20 -0700
commite238c656e8f9277b995256eaa8bd65332fc034a3 (patch)
tree956628a6f63c026b72f8772d0a55244e620d7589
parent7840ad2e2f2467def7393c5e7aff0d72e1620748 (diff)
Try using targetDefaults
-rw-r--r--nx.json11
-rw-r--r--packages/browser/package.json7
-rw-r--r--packages/server/package.json7
-rw-r--r--packages/typescript-types/package.json7
4 files changed, 4 insertions, 28 deletions
diff --git a/nx.json b/nx.json
index 943fd9c..0ba0310 100644
--- a/nx.json
+++ b/nx.json
@@ -10,13 +10,10 @@
}
}
},
- "targetDependencies": {
- "build": [
- {
- "target": "build",
- "projects": "dependencies"
- }
- ]
+ "targetDefaults": {
+ "build": {
+ "outputs": ["./dist"]
+ }
},
"pluginsConfig": {
"@nrwl/js": {
diff --git a/packages/browser/package.json b/packages/browser/package.json
index 19fe243..aa54072 100644
--- a/packages/browser/package.json
+++ b/packages/browser/package.json
@@ -23,13 +23,6 @@
"test:coverage": "npm test -- --coverage",
"prepublish": "npm run build"
},
- "nx": {
- "targets": {
- "build": {
- "outputs": ["./dist"]
- }
- }
- },
"keywords": [
"typescript",
"webauthn",
diff --git a/packages/server/package.json b/packages/server/package.json
index ffc0841..1e9218f 100644
--- a/packages/server/package.json
+++ b/packages/server/package.json
@@ -39,13 +39,6 @@
"test:coverage": "npm test -- --coverage",
"prepublish": "npm run build"
},
- "nx": {
- "targets": {
- "build": {
- "outputs": ["./dist"]
- }
- }
- },
"keywords": [
"typescript",
"webauthn",
diff --git a/packages/typescript-types/package.json b/packages/typescript-types/package.json
index 4f2de6f..f11464d 100644
--- a/packages/typescript-types/package.json
+++ b/packages/typescript-types/package.json
@@ -20,13 +20,6 @@
"extract-dom-types": "ts-node extract-dom-types.ts",
"prepublish": "npm run build"
},
- "nx": {
- "targets": {
- "build": {
- "outputs": ["./dist"]
- }
- }
- },
"keywords": [
"typescript",
"webauthn",