Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
benfeather committed Mar 15, 2024
1 parent 0e2d561 commit 6b628bd
Show file tree
Hide file tree
Showing 26 changed files with 562 additions and 225 deletions.
1 change: 1 addition & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extends @benfeather/browserslist-config
4 changes: 3 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@
"browser": true,
"node": true,
},
"extends": ["@benfeather/eslint-config"],
"extends": ["@benfeather/eslint-config/vue"],
"ignorePatterns": ["node_modules"],
"root": true,
}
29 changes: 29 additions & 0 deletions .github/workflows/publish-browserslist-config copy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: 'publish-browserslist-config'

on:
push:
branches:
- master
paths:
- 'packages/browserslist-config/**'

jobs:
publish:
name: publish-browserslist-config
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: node
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org
- name: version
run: npm --no-git-tag-version version "1.0.$GITHUB_RUN_NUMBER" -m "Upgrade to new version"
working-directory: packages/browserslist-config
- name: publish
run: npm publish --access public
working-directory: packages/browserslist-config
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
29 changes: 29 additions & 0 deletions .github/workflows/publish-editor-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: 'publish-editor-config'

on:
push:
branches:
- master
paths:
- 'packages/editor-config/**'

jobs:
publish:
name: publish-editor-config
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: node
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org
- name: version
run: npm --no-git-tag-version version "1.0.$GITHUB_RUN_NUMBER" -m "Upgrade to new version"
working-directory: packages/editor-config
- name: publish
run: npm publish --access public
working-directory: packages/editor-config
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
3 changes: 3 additions & 0 deletions .github/workflows/publish-eslint-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
with:
node-version: 20
registry-url: https://registry.npmjs.org
- name: version
run: npm --no-git-tag-version version "1.0.$GITHUB_RUN_NUMBER" -m "Upgrade to new version"
working-directory: packages/eslint-config
- name: publish
run: npm publish --access public
working-directory: packages/eslint-config
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-prettier-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
with:
node-version: 20
registry-url: https://registry.npmjs.org
- name: version
run: npm --no-git-tag-version version "1.0.$GITHUB_RUN_NUMBER" -m "Upgrade to new version"
working-directory: packages/prettier-config
- name: publish
run: npm publish --access public
working-directory: packages/prettier-config
Expand Down
Loading

0 comments on commit 6b628bd

Please sign in to comment.