-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
💥 [Astro] Complete refactor 2024 (#54)
* 💥 [Astro] Complete refactor 2024 * 🎨 [Code] Lint and format * ⏪ [Netlify] Restore toml file * ✨ [Netlify] Follow instructions for PWA toml * 🚚 [ServiceWorker] Add public file to remove old production service worker * ✨ [PWA] Update the public service worker * 🐛 [GA] Fix analytics script * 🎨 [Code] Minor cleanups
- Loading branch information
Showing
307 changed files
with
17,689 additions
and
17,679 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
🧰 Dependency: | ||
- changed-files: | ||
- any-glob-to-any-file: 'package-lock.json' | ||
|
||
📚 Documentation: | ||
- changed-files: | ||
- any-glob-to-any-file: ['README.md', 'docs/**'] | ||
|
||
⚖️ Legal: | ||
- changed-files: | ||
- any-glob-to-any-file: 'LICENSE' | ||
|
||
🧪 Testing: | ||
- changed-files: | ||
- any-glob-to-any-file: '**/*.test.ts' | ||
|
||
🛠️ Tooling: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
[ | ||
'.astro/**', | ||
'.github/**', | ||
'.vscode/**', | ||
'.editorconfig', | ||
'.gitignore', | ||
'.npmignore', | ||
'.nvmrc', | ||
'.prettierignore', | ||
'.prettierrc', | ||
'config/**', | ||
'astro.config.mjs', | ||
'eslint.config.mjs', | ||
'package.json', | ||
'tsconfig.json', | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: 🗃️ PR Labels | ||
on: [pull_request_target] | ||
|
||
jobs: | ||
triage: | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
contents: read | ||
pull-requests: write | ||
|
||
steps: | ||
- name: 🗳️ Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: 🍭 Apply PR labels | ||
uses: actions/labeler@v5 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: 🤖 Lint | ||
on: [push] | ||
|
||
jobs: | ||
lint: | ||
name: Lint the codebase | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: 🗳️ Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: 🔧 Setup Node 20.x | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: '.nvmrc' | ||
cache: 'npm' | ||
|
||
- name: 📦 Install dependencies | ||
run: npm ci | ||
|
||
- name: 🎨 Lint | ||
run: npm run lint | ||
|
||
- name: 💄 Prettier | ||
run: npm run format |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: 🧪 Test | ||
on: [push] | ||
|
||
jobs: | ||
test: | ||
name: Run test suites | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: 🗳️ Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: 🔧 Setup Node 20.x | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: '.nvmrc' | ||
cache: 'npm' | ||
|
||
- name: 📦 Install dependencies | ||
run: npm ci | ||
|
||
- name: 🧑🔬 Test | ||
run: npm run test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v13.5.0 | ||
22.4 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
{ | ||
"arrowParens": "always", | ||
"plugins": ["prettier-plugin-astro"], | ||
"bracketSpacing": false, | ||
"printWidth": 100, | ||
"singleQuote": true, | ||
"trailingComma": "all" | ||
"singleQuote": true | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,15 @@ | ||
{ | ||
"recommendations": [ | ||
"bungcip.better-toml", | ||
"astro-build.astro-vscode", | ||
"codezombiech.gitignore", | ||
"github.vscode-github-actions", | ||
"EditorConfig.editorconfig", | ||
"christian-kohler.npm-intellisense", | ||
"christian-kohler.path-intellisense", | ||
"codezombiech.gitignore", | ||
"aaron-bond.better-comments", | ||
"DavidAnson.vscode-markdownlint", | ||
"dbaeumer.vscode-eslint", | ||
"EditorConfig.editorconfig", | ||
"esbenp.prettier-vscode", | ||
"Gruntfuggly.todo-tree", | ||
"hex-ci.stylelint-plus", | ||
"mariusschulz.yarn-lock-syntax", | ||
"mrmlnc.vscode-scss", | ||
"ronnidc.nunjucks" | ||
] | ||
"esbenp.prettier-vscode" | ||
], | ||
"unwantedRecommendations": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"command": "./node_modules/.bin/astro dev", | ||
"name": "Development server", | ||
"request": "launch", | ||
"type": "node-terminal" | ||
} | ||
] | ||
} |
Oops, something went wrong.