From 2d81fd290f9899a0c23a03e54ab4ae83a4738b14 Mon Sep 17 00:00:00 2001 From: Maxwell Weru Date: Mon, 4 Mar 2024 00:20:57 +0300 Subject: [PATCH] Change publish settings to fix deployed files (#12) --- .changeset/mighty-singers-cough.md | 5 +++++ packages/markdownlayer/package.json | 8 ++------ pnpm-lock.yaml | 3 +-- 3 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 .changeset/mighty-singers-cough.md diff --git a/.changeset/mighty-singers-cough.md b/.changeset/mighty-singers-cough.md new file mode 100644 index 0000000..0e53cc9 --- /dev/null +++ b/.changeset/mighty-singers-cough.md @@ -0,0 +1,5 @@ +--- +"markdownlayer": patch +--- + +Change publish settings to fix deployed files diff --git a/packages/markdownlayer/package.json b/packages/markdownlayer/package.json index dc0b971..820a0de 100644 --- a/packages/markdownlayer/package.json +++ b/packages/markdownlayer/package.json @@ -2,7 +2,6 @@ "name": "markdownlayer", "version": "0.1.3", "type": "module", - "sideEffects": false, "types": "./dist/index.d.ts", "exports": { ".": { @@ -39,14 +38,12 @@ } }, "files": [ - "./dist/**/*.{js,cjs,mjs,ts,cts,mts,map}", - "./src", - "./package.json" + "dist", + "package.json" ], "scripts": { "build": "tsup", "dev": "tsup --watch", - "prepublish": "copyfiles package.json dist", "lint": "eslint \"src/**/*.{js,jsx,ts,tsx}\"", "clean": "rimraf .turbo dist" }, @@ -105,7 +102,6 @@ "node": ">=18" }, "publishConfig": { - "directory": "dist", "access": "public" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7ae4cc1..8a1622b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -79,7 +79,7 @@ importers: version: 4.17.21 markdownlayer: specifier: workspace:* - version: link:../../packages/markdownlayer/dist + version: link:../../packages/markdownlayer next: specifier: 14.1.1 version: 14.1.1(react-dom@18.2.0)(react@18.2.0) @@ -229,7 +229,6 @@ importers: unist-util-visit: specifier: 5.0.0 version: 5.0.0 - publishDirectory: dist packages: