From 0e4b07ea85e95c9b17843da56ce815dc019e16c6 Mon Sep 17 00:00:00 2001 From: astone123 Date: Mon, 7 Aug 2023 20:58:10 -0600 Subject: [PATCH] actually fix outputs --- cli/package.json | 1 - npm/cypress-schematic/package.json | 4 +++- packages/example/package.json | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/cli/package.json b/cli/package.json index 4e81a69256db..5263c5926460 100644 --- a/cli/package.json +++ b/cli/package.json @@ -7,7 +7,6 @@ "clean": "node ./scripts/clean.js", "prebuild": "yarn postinstall && node ./scripts/start-build.js", "build": "node ./scripts/build.js", - "copy-packages": "node ./scripts/post-build.js", "dtslint": "dtslint types", "postinstall": "patch-package && node ./scripts/post-install.js", "size": "t=\"cypress-v0.0.0.tgz\"; yarn pack --filename \"${t}\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";", diff --git a/npm/cypress-schematic/package.json b/npm/cypress-schematic/package.json index 1579178780d1..21ba4819847e 100644 --- a/npm/cypress-schematic/package.json +++ b/npm/cypress-schematic/package.json @@ -58,7 +58,9 @@ "targets": { "build": { "outputs": [ - "{workspaceRoot}/src/**/*.{js,d.ts,js.map}" + "{projectRoot}/src/**/*.js", + "{projectRoot}/src/**/*.d.ts", + "{projectRoot}/src/**/*.js.map" ] } } diff --git a/packages/example/package.json b/packages/example/package.json index 39c267395f30..8d9a653b3509 100644 --- a/packages/example/package.json +++ b/packages/example/package.json @@ -29,7 +29,7 @@ ], "types": "index.d.ts", "nx": { - "target": { + "targets": { "build": { "outputs": [ "{projectRoot}/cypress",