Skip to content

Commit

Permalink
Merge pull request #169 from timlrx/fix/dist-package
Browse files Browse the repository at this point in the history
Fix dist package
  • Loading branch information
timlrx authored Jun 8, 2024
2 parents 84ce4dd + 5618d7b commit 0e1a0ac
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/calm-islands-promise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'pliny': patch
---

include only relevant files in dist
15 changes: 13 additions & 2 deletions packages/pliny/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,18 @@
"./utils/*": "./utils/*"
},
"files": [
"**"
"analytics",
"comments",
"mdx-plugins",
"newsletter",
"search",
"ui",
"utils",
"mdx-components.js",
"mdx-components.d.ts",
"config.js",
"config.d.ts",
"chunk*.js"
],
"scripts": {
"dev": "tsup && cp -fR dist/* ./ && tsup --config tsup.ui.config.ts && rimraf dist && node add-use-client.mjs",
Expand Down Expand Up @@ -63,4 +74,4 @@
"publishConfig": {
"access": "public"
}
}
}
2 changes: 1 addition & 1 deletion turbo.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://turborepo.org/schema.json",
"pipeline": {
"tasks": {
"build": {
"dependsOn": [
"^build"
Expand Down

0 comments on commit 0e1a0ac

Please sign in to comment.