Skip to content

Commit

Permalink
fix: Fixing default tsup entry option (#197)
Browse files Browse the repository at this point in the history
* Fixing default tsup entry option

* Added changeset files
  • Loading branch information
patricklafrance authored Apr 3, 2024
1 parent 1585a2f commit d8b3d36
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/beige-shirts-jam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@workleap/eslint-plugin": patch
---

Internal fixes to the YAML config
5 changes: 5 additions & 0 deletions .changeset/fair-masks-bow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@workleap/tsup-configs": patch
---

Exclusing css files from the entry option as they should import from tsx files.
6 changes: 3 additions & 3 deletions packages/eslint-plugin/lib/config/yaml.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { yamlFiles } from "../utils/patterns";

import type { Linter } from "eslint";
import { yamlFiles } from "../utils/patterns";

const config: Linter.Config = {
extends: ["plugin:yml/standard"],
overrides: [
{
files: yamlFiles,
plugins: ["yml"],
extends: ["plugin:yml/recommended"],
parser: "yaml-eslint-parser"
}
]
Expand Down
1 change: 1 addition & 0 deletions packages/tsup-configs/src/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export function defineBuildConfig(options: DefineBuildConfigOptions = {}) {
treeshake: true,
entry: [
"./src",
"!src/**/*.css",
"!src/**/*.stories.ts(x)",
"!src/**/*.test.ts(x)"
],
Expand Down
1 change: 1 addition & 0 deletions packages/tsup-configs/src/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export function defineDevConfig(options: DefineDevConfigOptions = {}) {
watch: true,
entry: [
"./src",
"!src/**/*.css",
"!src/**/*.stories.ts(x)",
"!src/**/*.test.ts(x)"
],
Expand Down

0 comments on commit d8b3d36

Please sign in to comment.