From 54ed762282d3aa45c294fffc52573feec90eaaa1 Mon Sep 17 00:00:00 2001 From: Ryan Atkinson Date: Sat, 6 Jul 2024 18:37:34 -0600 Subject: [PATCH] publish src files --- .changeset/beige-radios-laugh.md | 5 +++++ package.json | 5 ++++- src/routes/package.ts | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 .changeset/beige-radios-laugh.md diff --git a/.changeset/beige-radios-laugh.md b/.changeset/beige-radios-laugh.md new file mode 100644 index 000000000..42347daad --- /dev/null +++ b/.changeset/beige-radios-laugh.md @@ -0,0 +1,5 @@ +--- +"@ryanatkn/fuz": patch +--- + +publish src files diff --git a/package.json b/package.json index dadee1214..56cb7b049 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,10 @@ "**/*.css" ], "files": [ - "dist" + "dist", + "src/lib/**/*.ts", + "!src/lib/**/*.test.*", + "!dist/**/*.test.*" ], "exports": { "./package.json": "./package.json", diff --git a/src/routes/package.ts b/src/routes/package.ts index 0f09f8a8e..ee3fa6ff7 100644 --- a/src/routes/package.ts +++ b/src/routes/package.ts @@ -71,7 +71,7 @@ export const package_json = { overrides: [{files: 'package.json', options: {useTabs: false}}], }, sideEffects: ['**/*.css'], - files: ['dist'], + files: ['dist', 'src/lib/**/*.ts', '!src/lib/**/*.test.*', '!dist/**/*.test.*'], exports: { './package.json': './package.json', './Alert.svelte': {