Skip to content

Commit

Permalink
⬆️ [Dependency] Upgrade to Vite 5 (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
beefchimi authored Nov 23, 2023
1 parent b55ce26 commit 2ce6f50
Show file tree
Hide file tree
Showing 20 changed files with 2,020 additions and 1,245 deletions.
5 changes: 5 additions & 0 deletions .changeset/thick-beers-dress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'earwurm': minor
---

Upgrade to Vite 5
7 changes: 1 addition & 6 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
node_modules/
scrap

# Ignore artifacts:
build/
config/definitions
coverage/
dist/
storybook-static/
scrap/
4 changes: 1 addition & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,14 @@
"browser": true,
"es2022": true
},
"extends": ["standard-with-typescript", "prettier"],
"plugins": ["prettier"],
"extends": ["standard-with-typescript", "plugin:prettier/recommended"],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": "./tsconfig.json"
},
"rules": {
"no-console": "warn",
"prettier/prettier": ["error"],
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/strict-boolean-expressions": "off"
}
Expand Down
38 changes: 18 additions & 20 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
🧰 Dependency:
- any: ['package-lock.json', 'yarn.lock']
🧰 Dependency: package-lock.json
📚 Documentation:
- any: ['README.md', 'docs/**']
🔖 Release: 'CHANGELOG.md'
⚖️ Legal: 'LICENSE'
- README.md
- docs/**
⚖️ Legal: LICENSE
🔖 Release: CHANGELOG.md
🧪 Testing: '**/*.test.ts'
🔧 Tooling:
- any:
[
'*',
'.github/**',
'.vscode/**',
'.yarn*',
'.yarn/**',
'config/**',
'scripts/**',
'!LICENSE',
'!package.lock',
'!yarn.lock',
'!*.md',
]
🛠️ Tooling:
- .github/**
- .vscode/**
- .editorconfig
- .eslintignore
- .eslintrc.cjs
- .gitignore
- .nvmrc
- .prettierrc
- config/**,
- package.json
- tsconfig.json
- vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Labeler
name: PR Labels
on: [pull_request_target]

jobs:
Expand All @@ -10,7 +10,8 @@ jobs:
pull-requests: write

steps:
- uses: actions/checkout@v3
- name: Checkout repo
uses: actions/checkout@v4

- name: Apply PR labels
uses: actions/labeler@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node 18.x to install with private scope
- name: Setup Node 20.x to install with private scope
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
cache: 'npm'

- name: Install dependencies
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Node 18.x to install with private scope
- name: Setup Node 20.x to install with private scope
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
cache: 'npm'

- name: Install dependencies
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node 18.x to install with private scope
- name: Setup Node 20.x to install with private scope
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
cache: 'npm'

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.14.2
20.10
3 changes: 1 addition & 2 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"bracketSpacing": false,
"singleQuote": true,
"trailingComma": "all"
"singleQuote": true
}
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"EditorConfig.editorconfig",
"christian-kohler.npm-intellisense",
"christian-kohler.path-intellisense",
"Gruntfuggly.todo-tree",
"aaron-bond.better-comments",
"DavidAnson.vscode-markdownlint",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
Expand Down
3 changes: 1 addition & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"search.exclude": {
"**/node_modules": true,
"lib": true,
"dist/": true,
"storybook-static/": true
"dist/": true
}
}
Loading

0 comments on commit 2ce6f50

Please sign in to comment.