Skip to content

Commit

Permalink
chore: dependency updates/pnpm migration
Browse files Browse the repository at this point in the history
  • Loading branch information
atomicpages committed Nov 12, 2023
1 parent 1efc7d2 commit 0c05a3b
Show file tree
Hide file tree
Showing 11 changed files with 8,583 additions and 12,895 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Expand Up @@ -2,7 +2,7 @@ root = true

[*]
indent_style = space
indent_size = 4
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
Expand Down
1 change: 1 addition & 0 deletions .eslintignore
@@ -0,0 +1 @@
package.json
5 changes: 4 additions & 1 deletion .eslintrc
@@ -1,3 +1,6 @@
{
"extends": ["@djthoms/eslint-config", "@djthoms/eslint-config/typescript"]
"extends": ["@djthoms/eslint-config", "@djthoms/eslint-config/typescript"],
"parserOptions": {
"project": "./tsconfig.json"
}
}
13 changes: 6 additions & 7 deletions .github/workflows/on_push.yml
Expand Up @@ -10,19 +10,18 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
version: 8
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
cache: pnpm
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
run: pnpm install --frozen-lockfile
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
run: pnpm semantic-release
2 changes: 1 addition & 1 deletion .husky/pre-commit
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install lint-staged
pnpm lint-staged
7 changes: 7 additions & 0 deletions .lintstagedrc
@@ -0,0 +1,7 @@
{
"*.{ts,tsx,js,json}": [
"prettier --write",
"eslint --fix"
],
"*.{md,yml,yaml}": "prettier --write"
}
1 change: 1 addition & 0 deletions .npmrc
@@ -0,0 +1 @@
enable-pre-post-scripts=true
1 change: 1 addition & 0 deletions .prettierrc
@@ -0,0 +1 @@
"@djthoms/prettier-config"

0 comments on commit 0c05a3b

Please sign in to comment.