Skip to content

Commit

Permalink
chore: switch to vite and upgrade to 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nnaydenow committed Aug 7, 2024
1 parent 20f2028 commit 965f0cf
Show file tree
Hide file tree
Showing 45 changed files with 2,915 additions and 47,918 deletions.
3 changes: 0 additions & 3 deletions .commitlintrc.json

This file was deleted.

22 changes: 0 additions & 22 deletions .editorconfig

This file was deleted.

11 changes: 11 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:react-hooks/recommended"],
ignorePatterns: ["dist", ".eslintrc.cjs"],
parser: "@typescript-eslint/parser",
plugins: ["react-refresh"],
rules: {
"react-refresh/only-export-components": ["warn", { allowConstantExport: true }],
},
};
8 changes: 0 additions & 8 deletions .eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ jobs:
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v2
34 changes: 17 additions & 17 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,27 @@ name: Deploy

on:
push:
branches: [ main ]
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
cache: "npm"

- name: Build
run: |
npm install
npm run build
- name: Build
run: |
npm install
npm run build
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: build # The folder the action should deploy.
target-folder: ./
clean: true
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: build # The folder the action should deploy.
target-folder: ./
clean: true
4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/pre-push

This file was deleted.

5 changes: 0 additions & 5 deletions .husky/skip.js

This file was deleted.

6 changes: 3 additions & 3 deletions .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
"useTabs": true,
"overrides": [
{
"files": ["*.yaml", "*.yml", "*.md", "*.json", "*.xml", "*.properties"],
"files": ["*.yaml", "*.yml", "*.md", "*.json", "*.xml", "*.properties", "*.ts", "*.tsx"],
"options": {
"useTabs": false,
"useTabs": true,
"tabWidth": 2,
"keySeparator": "=",
"xmlWhitespaceSensitivity": "ignore"
}
}
]
}
}
34 changes: 0 additions & 34 deletions .reuse/dep5

This file was deleted.

93 changes: 0 additions & 93 deletions config/env.js

This file was deleted.

14 changes: 0 additions & 14 deletions config/jest/cssTransform.js

This file was deleted.

30 changes: 0 additions & 30 deletions config/jest/fileTransform.js

This file was deleted.

Loading

0 comments on commit 965f0cf

Please sign in to comment.