Skip to content

Commit

Permalink
Upgrade all the shits (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
WesSouza authored Jun 19, 2024
1 parent aabbca4 commit e5afe47
Show file tree
Hide file tree
Showing 7 changed files with 4,361 additions and 3,617 deletions.
26 changes: 0 additions & 26 deletions .eslintrc

This file was deleted.

20 changes: 15 additions & 5 deletions .github/workflows/_studio.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Astro Studio

env:
ASTRO_STUDIO_APP_TOKEN: ${{secrets.ASTRO_STUDIO_APP_TOKEN }}
ASTRO_STUDIO_APP_TOKEN: ${{ secrets.ASTRO_STUDIO_APP_TOKEN }}

on:
push:
Expand All @@ -18,9 +18,19 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: Checkout repo
uses: actions/checkout@v4

- name: Install Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
- uses: jaid/[email protected]
- uses: withastro/action-studio@main

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
run_install: |
- args: [--frozen-lockfile, --strict-peer-dependencies]
- name: Astro DB
uses: withastro/action-studio@main
9 changes: 6 additions & 3 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,25 @@ on:
branches:
- main

env:
ASTRO_STUDIO_APP_TOKEN: ${{ secrets.ASTRO_STUDIO_APP_TOKEN }}

jobs:
check:
name: pnpm check
runs-on: ubuntu-latest

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

- name: Install Node.js 20
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20

- name: Install pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v4
with:
run_install: |
- args: [--frozen-lockfile, --strict-peer-dependencies]
Expand Down
37 changes: 37 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
import eslint from '@eslint/js';
import prettierConfig from 'eslint-config-prettier';
import globals from 'globals';
import tseslint from 'typescript-eslint';

export default tseslint.config(
{
ignores: ['.astro/**', '.vercel/**', 'public/**'],
},
eslint.configs.recommended,
...tseslint.configs.recommended,
prettierConfig,
{
languageOptions: {
globals: {
...globals.node,
},
},
rules: {
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/no-empty-interface': 'off',
'@typescript-eslint/no-use-before-define': 'off',
'@typescript-eslint/no-unused-vars': [
'error',
{
argsIgnorePattern: '^_',
caughtErrorsIgnorePattern: '^_',
destructuredArrayIgnorePattern: '^_',
varsIgnorePattern: '^_',
},
],
'@typescript-eslint/triple-slash-reference': 'off',
},
},
);
29 changes: 15 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,28 +26,29 @@
"node": ">=18",
"pnpm": ">=8"
},
"packageManager": "pnpm@8.6.1",
"packageManager": "pnpm@9.4.0",
"dependencies": {
"@astrojs/db": "^0.10.3",
"@astrojs/solid-js": "^4.0.1",
"@astrojs/vercel": "^7.5.2",
"astro": "^4.5.18",
"rollup": "^4.14.1",
"solid-js": "^1.8.16"
"@astrojs/db": "^0.11.6",
"@astrojs/solid-js": "^4.4.0",
"@astrojs/vercel": "^7.7.1",
"astro": "^4.10.3",
"rollup": "^4.18.0",
"solid-js": "^1.8.17"
},
"devDependencies": {
"@astrojs/check": "^0.5.10",
"@types/node": "20.12.7",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"@astrojs/check": "^0.7.0",
"@eslint/js": "^9.5.0",
"@types/node": "20.14.5",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
"eslint": "^9.5.0",
"eslint-config-prettier": "^9.1.0",
"globals": "^15.6.0",
"import-sort-style-wes": "^3.0.2",
"prettier": "3.2.5",
"prettier": "3.3.2",
"prettier-plugin-import-sort": "^0.0.7",
"ts-node": "^10.9.2",
"typescript": "5.4.4"
"typescript": "5.4.5",
"typescript-eslint": "8.0.0-alpha.30"
},
"importSort": {
".js, .jsx": {
Expand Down
Loading

0 comments on commit e5afe47

Please sign in to comment.