Skip to content

Commit

Permalink
ignore /styled-system/ directory
Browse files Browse the repository at this point in the history
  • Loading branch information
phonzammi committed Nov 12, 2024
1 parent 0a96567 commit 4da4b70
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
11 changes: 10 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,16 @@ export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
{
ignores: ["**/*.cjs", "**/*.ts.build-*.mjs", "**/dist/*", "**/node_modules/*", "**/.DS_Store", "pnpm-lock.yaml"],
ignores: [
"**/*.cjs",
"**/*.ts.build-*.mjs",
"**/dist/*",
"**/node_modules/*",
"**/.DS_Store",
"**/styled-system/*",
"**/files/styled-system/*",
"pnpm-lock.yaml",
],
},
{
languageOptions: {
Expand Down
2 changes: 1 addition & 1 deletion packages/compile/copy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as path from "path";
import { globby } from "globby";

export async function copyFilesToDist() {
const files = await globby(["./files/**/!($*)", "./files/**/$$*"], {
const files = await globby(["./files/**/!($*)", "./files/**/$$*", "!**/styled-system"], {
cwd: process.cwd(),
});

Expand Down
2 changes: 1 addition & 1 deletion packages/compile/dts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export async function buildTypes() {
listEmittedFiles: true,
},
include: ["files/**/*"],
exclude: ["files/**/$*"],
exclude: ["files/**/$*", "files/styled-system/**/*"],
});

restore();
Expand Down

0 comments on commit 4da4b70

Please sign in to comment.