Skip to content

Commit

Permalink
chore: cleanup configs (#952)
Browse files Browse the repository at this point in the history
  • Loading branch information
dangreen authored Nov 29, 2022
1 parent f1a9754 commit 8694206
Show file tree
Hide file tree
Showing 14 changed files with 33 additions and 264 deletions.
File renamed without changes.
10 changes: 9 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,13 @@ module.exports = {
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
'prettier/prettier': 'error',
quotes: [2, 'single', 'avoid-escape']
}
},
overrides: [
{
files: ['sandboxes/**/*', 'test/**/*'],
rules: {
'vue/no-reserved-component-names': 'off'
}
}
]
}
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
github: apertureless
ko_fi: apertureless
custom: ["https://www.paypal.me/apertureless", paypal.me]
custom: ["paypal.me/apertureless"]
12 changes: 0 additions & 12 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

3 changes: 0 additions & 3 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ jobs:
size:
runs-on: ubuntu-latest
name: Checking size
if: "!contains(github.event.head_commit.message, '[ci skip]')"
env:
CI_JOB_NUMBER: 1
steps:
- name: Checkout the repository
uses: actions/checkout@v3
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ jobs:
test:
runs-on: ubuntu-latest
name: Running tests
if: "!contains(github.event.head_commit.message, '[ci skip]')"
steps:
- name: Checkout the repository
uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ node_modules
# builds
dist
package
storybook-static

# misc
.DS_Store
Expand Down
5 changes: 0 additions & 5 deletions .lintstagedrc

This file was deleted.

3 changes: 3 additions & 0 deletions .nano-staged.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"**/*.{js,ts,vue}": ["prettier --write", "eslint"]
}
2 changes: 1 addition & 1 deletion .simple-git-hooks.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"commit-msg": "pnpm commitlint --edit \"$1\"",
"pre-commit": "pnpm lint-staged",
"pre-commit": "pnpm nano-staged",
"pre-push": "pnpm test"
}
File renamed without changes.
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,20 @@
"postpublish": "del ./package",
"emitDeclarations": "tsc --emitDeclarationOnly",
"build": "rollup -c & pnpm emitDeclarations",
"lint": "eslint 'src/**/*.ts'",
"start:storybook": "start-storybook -p 6006 --ci",
"build:storybook": "del ./storybook-static; NODE_ENV=production build-storybook",
"lint": "eslint 'sandboxes/**/*.{js,ts,vue}' 'src/**/*.{js,ts,vue}' 'stories/**/*.{js,ts,vue}' 'test/**/*.{js,ts,vue}'",
"test:unit": "vitest run --coverage",
"test:unit:watch": "vitest watch",
"test:typings": "tsd",
"test:size": "size-limit",
"test": "pnpm lint && pnpm test:unit",
"format": "prettier --write src test",
"format": "prettier --write src test sandboxes stories",
"commit": "cz",
"start:storybook": "start-storybook -p 6006 --ci",
"build:storybook": "del ./storybook-static; NODE_ENV=production build-storybook",
"bumpVersion": "standard-version",
"createGithubRelease": "simple-github-release",
"release": "pnpm bumpVersion && git push origin main --tags && pnpm createGithubRelease"
"release": "pnpm bumpVersion && git push origin main --tags && pnpm createGithubRelease",
"updateGitHooks": "simple-git-hooks"
},
"peerDependencies": {
"chart.js": "^3.7.0",
Expand Down Expand Up @@ -107,7 +108,7 @@
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-vue": "^9.0.0",
"jsdom": "^20.0.3",
"lint-staged": "^13.0.0",
"nano-staged": "^0.8.0",
"prettier": "2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand All @@ -126,6 +127,5 @@
},
"tsd": {
"directory": "./test"
},
"readme": ""
}
}
Loading

0 comments on commit 8694206

Please sign in to comment.