Skip to content

Commit 0e1a0ac

Browse files
authored
Merge pull request #169 from timlrx/fix/dist-package
Fix dist package
2 parents 84ce4dd + 5618d7b commit 0e1a0ac

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

.changeset/calm-islands-promise.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'pliny': patch
3+
---
4+
5+
include only relevant files in dist

packages/pliny/package.json

+13-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,18 @@
1515
"./utils/*": "./utils/*"
1616
},
1717
"files": [
18-
"**"
18+
"analytics",
19+
"comments",
20+
"mdx-plugins",
21+
"newsletter",
22+
"search",
23+
"ui",
24+
"utils",
25+
"mdx-components.js",
26+
"mdx-components.d.ts",
27+
"config.js",
28+
"config.d.ts",
29+
"chunk*.js"
1930
],
2031
"scripts": {
2132
"dev": "tsup && cp -fR dist/* ./ && tsup --config tsup.ui.config.ts && rimraf dist && node add-use-client.mjs",
@@ -63,4 +74,4 @@
6374
"publishConfig": {
6475
"access": "public"
6576
}
66-
}
77+
}

turbo.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://turborepo.org/schema.json",
3-
"pipeline": {
3+
"tasks": {
44
"build": {
55
"dependsOn": [
66
"^build"

0 commit comments

Comments
 (0)