diff --git a/packages/core/package.json b/packages/core/package.json index 2dcf5609..3d8bfb59 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -39,7 +39,8 @@ "types": "./dist/*/index.d.ts", "solid": "./dist/*/index.jsx", "default": "./dist/*/index.js" - } + }, + "./src/*": "./src/*" }, "main": "dist/index.js", "module": "dist/index.js", @@ -52,8 +53,10 @@ ] } }, + "source": "src/index.tsx", "files": [ "dist", + "src", "NOTICE.txt" ], "scripts": { diff --git a/packages/tailwindcss/package.json b/packages/tailwindcss/package.json index dd5bb46a..590e0280 100644 --- a/packages/tailwindcss/package.json +++ b/packages/tailwindcss/package.json @@ -31,13 +31,16 @@ "default": "./dist/index.js" }, "require": "./dist/index.cjs" - } + }, + "./src/*": "./src/*" }, "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", + "source": "src/index.ts", "files": [ - "dist" + "dist", + "src" ], "scripts": { "build": "tsup", diff --git a/packages/tests/package.json b/packages/tests/package.json index ef8bd6f0..92c7b7b9 100644 --- a/packages/tests/package.json +++ b/packages/tests/package.json @@ -40,8 +40,10 @@ "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", + "source": "src/index.ts", "files": [ - "dist" + "dist", + "src" ], "scripts": { "build": "tsup", diff --git a/packages/utils/package.json b/packages/utils/package.json index 06ddd8e1..63563cf1 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -35,13 +35,16 @@ "default": "./dist/index.js" }, "require": "./dist/index.cjs" - } + }, + "./src/*": "./src/*" }, "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", + "source": "src/index.ts", "files": [ - "dist" + "dist", + "src" ], "scripts": { "build": "tsup", diff --git a/packages/vanilla-extract/package.json b/packages/vanilla-extract/package.json index ec81dd41..1cd66465 100644 --- a/packages/vanilla-extract/package.json +++ b/packages/vanilla-extract/package.json @@ -30,13 +30,16 @@ "default": "./dist/index.mjs", "require": "./dist/index.js", "node": "./dist/index.js" - } + }, + "./src/*": "./src/*" }, "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", + "source": "src/index.ts", "files": [ - "dist" + "dist", + "src" ], "scripts": { "build": "tsup",