Skip to content

Commit

Permalink
build: introduce simple-ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
VdustR committed Feb 11, 2024
1 parent a6bd8bd commit 23f5fce
Show file tree
Hide file tree
Showing 11 changed files with 37 additions and 244 deletions.
11 changes: 1 addition & 10 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,5 @@
"includeRegExpList": ["[ -~]"],
"useGitignore": true,
"version": "0.2",
"words": [
"antfu",
"jsdoc",
"nums",
"nvmrc",
"pathe",
"remeda",
"tsdoc",
"zustand"
]
"words": ["antfu", "jsdoc", "nums", "nvmrc", "tsdoc", "zustand"]
}
12 changes: 3 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@
"build": "pnpm run --filter @repo/build build",
"commit": "cz",
"dev": "pnpm run --filter @repo/build dev",
"postinstall": "pnpm run script:generateIgnoreFiles",
"postinstall": "pnpm exec simple-ignore",
"lint:cspell": "cspell --no-summary --no-progress",
"lint:es": "eslint . --fix --report-unused-disable-directives --max-warnings 0",
"lint:prettier": "prettier --ignore-unknown --write .",
"lint:style": "stylelint '**/*.{css,js,jsx,ts,tsx}' --fix -i .stylelintignore",
"prepare": "husky install",
"script:generateIgnoreFiles": "tsx ./scripts/generateIgnoreFiles.ts"
"prepare": "husky install"
},
"dependencies": {
"@emotion/react": "^11.11.3",
Expand All @@ -22,8 +21,6 @@
"nanoid": "^5.0.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"remeda": "^1.40.1",
"ts-toolbelt": "^9.6.0",
"zod": "^3.22.4",
"zustand": "^4.5.0"
},
Expand All @@ -42,7 +39,6 @@
"@tsconfig/vite-react": "^3.0.0",
"@types/eslint": "^8.56.2",
"@types/eslint__eslintrc": "^2.1.1",
"@types/fs-extra": "^11.0.4",
"@types/lint-staged": "^13.3.0",
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
Expand All @@ -61,13 +57,11 @@
"eslint-plugin-simple-import-sort": "^11.0.0",
"eslint-plugin-tsdoc": "^0.2.17",
"eslint-ts-patch": "8.56.0-0",
"fast-glob": "^3.3.2",
"fs-extra": "^11.2.0",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"pathe": "^1.1.2",
"postcss-styled-syntax": "^0.6.4",
"prettier": "^3.2.4",
"simple-ignore": "^0.1.1",
"sort-json": "^2.0.1",
"sort-package-json": "^2.7.0",
"stylelint": "^16.2.1",
Expand Down
116 changes: 0 additions & 116 deletions packages/utils/generateIgnoreFiles.ts

This file was deleted.

21 changes: 0 additions & 21 deletions packages/utils/gitignoreToDockerignore.ts

This file was deleted.

12 changes: 0 additions & 12 deletions packages/utils/guessEol.ts

This file was deleted.

23 changes: 0 additions & 23 deletions packages/utils/nestIgnore.ts

This file was deleted.

66 changes: 30 additions & 36 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 0 additions & 13 deletions scripts/generateIgnoreFiles.ts

This file was deleted.

Loading

0 comments on commit 23f5fce

Please sign in to comment.