Skip to content

Commit 78d2c92

Browse files
committed
Used standard dist directory for parse-email-address
ref #27018 (review) This change should have no user impact. Let's use Nx's standard output dir for this package.
1 parent 85211d6 commit 78d2c92

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

ghost/parse-email-address/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"repository": "https://github.com/TryGhost/Ghost/tree/main/ghost/parse-email-address",
66
"author": "Ghost Foundation",
77
"license": "MIT",
8-
"main": "build/index.js",
9-
"types": "build/index.d.ts",
8+
"main": "dist/index.js",
9+
"types": "dist/index.d.ts",
1010
"scripts": {
1111
"dev": "tsc --watch --preserveWatchOutput --sourceMap",
1212
"build": "pnpm build:tsc",
@@ -19,7 +19,7 @@
1919
"lint:test": "eslint -c test/.eslintrc.js test/ --ext .ts --cache"
2020
},
2121
"files": [
22-
"build"
22+
"dist"
2323
],
2424
"publishConfig": {
2525
"access": "public"

ghost/parse-email-address/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
// "sourceMap": true, /* Create source map files for emitted JavaScript files. */
5656
// "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
5757
// "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
58-
"outDir": "build", /* Specify an output folder for all emitted files. */
58+
"outDir": "dist", /* Specify an output folder for all emitted files. */
5959
// "removeComments": true, /* Disable emitting comments. */
6060
// "noEmit": true, /* Disable emitting files from a compilation. */
6161
// "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */

0 commit comments

Comments
 (0)