Skip to content

Commit eef21d8

Browse files
committed
Fix publishing by bundling shared package
1 parent bbbe878 commit eef21d8

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

packages/code-link-cli/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "framer-code-link",
3-
"version": "0.4.0",
3+
"version": "0.4.3",
44
"description": "CLI tool for syncing Framer code components - controller-centric architecture",
55
"main": "dist/index.mjs",
66
"type": "module",
@@ -10,7 +10,7 @@
1010
],
1111
"scripts": {
1212
"dev": "NODE_ENV=development tsx src/index.ts",
13-
"build": "tsdown src/index.ts",
13+
"build": "tsdown",
1414
"start": "node dist/index.mjs",
1515
"test": "vitest run"
1616
},
@@ -22,7 +22,6 @@
2222
"author": "",
2323
"license": "MIT",
2424
"dependencies": {
25-
"@code-link/shared": "workspace:*",
2625
"@typescript/ata": "^0.9.8",
2726
"chokidar": "^5.0.0",
2827
"commander": "^14.0.2",
@@ -31,6 +30,7 @@
3130
"ws": "^8.18.3"
3231
},
3332
"devDependencies": {
33+
"@code-link/shared": "workspace:*",
3434
"@types/node": "^22.19.2",
3535
"@types/ws": "^8.18.1",
3636
"tsdown": "^0.17.4",
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { defineConfig } from "tsdown"
2+
3+
export default defineConfig({
4+
entry: ["src/index.ts"],
5+
format: "esm",
6+
noExternal: ["@code-link/shared"],
7+
})
8+

0 commit comments

Comments
 (0)