From 671086d3f1617128c2492a815310a19c95d5f79a Mon Sep 17 00:00:00 2001 From: Daniel Grefberg Date: Sun, 9 Jul 2023 19:06:48 +0200 Subject: [PATCH] fix: ensure build package is built in CI before being published --- .changeset/config.json | 2 +- .changeset/happy-lobsters-melt.md | 5 +++++ src/shared.ts | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/happy-lobsters-melt.md diff --git a/.changeset/config.json b/.changeset/config.json index 94d3e73..3244c8d 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -1,6 +1,6 @@ { "$schema": "https://unpkg.com/@changesets/config@2.1.1/schema.json", - "changelog": ["changesets-changelog-clean", { "repo": "duniul/clean-modules", "inline": true }], + "changelog": ["changesets-changelog-clean", { "repo": "duniul/clean-modules" }], "commit": false, "fixed": [], "linked": [], diff --git a/.changeset/happy-lobsters-melt.md b/.changeset/happy-lobsters-melt.md new file mode 100644 index 0000000..35294b1 --- /dev/null +++ b/.changeset/happy-lobsters-melt.md @@ -0,0 +1,5 @@ +--- +'clean-modules': patch +--- + +Include `dist` in package 🙈 diff --git a/src/shared.ts b/src/shared.ts index 4a3276d..30e4893 100644 --- a/src/shared.ts +++ b/src/shared.ts @@ -22,5 +22,5 @@ export const sharedDefaultOptions: Required = { directory: path.resolve(process.cwd(), 'node_modules'), globFile: '.cleanmodules', noDefaults: false, - globs: undefined, + globs: [], };