Skip to content

Commit 28ae207

Browse files
authored
chore: bump dependencies (#5)
1 parent 8103f58 commit 28ae207

File tree

19 files changed

+12951
-3181
lines changed

19 files changed

+12951
-3181
lines changed

.github/dependabot.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "pnpm"
9+
directories:
10+
- "/starters/local"
11+
- "/starters/authjs-github"
12+
schedule:
13+
interval: "weekly"
14+
assignees:
15+
- "zoey-kaiser"
+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: CI-authjs-github
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
push:
7+
branches: [main]
8+
9+
env:
10+
NODE_VERSION: '22.3.0'
11+
PNPM_VERSION: '9.4.0'
12+
13+
jobs:
14+
lint-typecheck-build:
15+
runs-on: ubuntu-latest
16+
defaults:
17+
run:
18+
working-directory: starters/authjs-github
19+
20+
steps:
21+
- uses: actions/checkout@v4
22+
23+
- name: Use Node.js ${{ env.NODE_VERSION }}
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version: ${{ env.NODE_VERSION }}
27+
28+
- name: Use pnpm ${{ env.PNPM_VERSION }}
29+
uses: pnpm/action-setup@v3
30+
id: pnpm-install
31+
with:
32+
version: ${{ env.PNPM_VERSION }}
33+
34+
- name: Get pnpm store directory
35+
shell: bash
36+
run: |
37+
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
38+
39+
- uses: actions/cache@v4
40+
name: Setup pnpm cache
41+
with:
42+
path: ${{ env.STORE_PATH }}
43+
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
44+
restore-keys: |
45+
${{ runner.os }}-pnpm-store-
46+
47+
- run: pnpm install
48+
- run: pnpm lint
49+
- run: pnpm typecheck
50+
- run: pnpm build

.github/workflows/ci-local.yaml

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: CI-local
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
push:
7+
branches: [main]
8+
9+
env:
10+
NODE_VERSION: '22.3.0'
11+
PNPM_VERSION: '9.4.0'
12+
13+
jobs:
14+
lint-typecheck-build:
15+
runs-on: ubuntu-latest
16+
defaults:
17+
run:
18+
working-directory: starters/local
19+
20+
steps:
21+
- uses: actions/checkout@v4
22+
23+
- name: Use Node.js ${{ env.NODE_VERSION }}
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version: ${{ env.NODE_VERSION }}
27+
28+
- name: Use pnpm ${{ env.PNPM_VERSION }}
29+
uses: pnpm/action-setup@v3
30+
id: pnpm-install
31+
with:
32+
version: ${{ env.PNPM_VERSION }}
33+
34+
- name: Get pnpm store directory
35+
shell: bash
36+
run: |
37+
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
38+
39+
- uses: actions/cache@v4
40+
name: Setup pnpm cache
41+
with:
42+
path: ${{ env.STORE_PATH }}
43+
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
44+
restore-keys: |
45+
${{ runner.os }}-pnpm-store-
46+
47+
- run: pnpm install
48+
- run: pnpm lint
49+
- run: pnpm typecheck
50+
- run: pnpm build

.npmrc

-3
This file was deleted.

README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1-
# NuxtAuth Starters
1+
# `@sidebase/nuxt-auth` Starters
22

3-
This repository contains a collection of `@sidebase/nuxt-auth` starters that cover several use cases for NuxtAuth. You can use one of these templates as a starting point for your application, or to create a reproduction of an issue that you are currently encountering.
3+
This repository contains a collection of [`@sidebase/nuxt-auth`](https://github.com/sidebase/nuxt-auth) starters that cover several use cases for NuxtAuth. You can use one of these templates as a starting point for your application, or to create a reproduction of an issue that you are currently encountering.
44

55
## Overview
66

77
This repository current contains the following starters:
88

99
## Local starter
1010

11+
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/zoey-kaiser/nuxt-auth-starters/tree/main/starters/local?file=nuxt.config.ts)
12+
1113
The `local` starter contains a basic `@sidebase/nuxt-auth` starter with the local provider setup. `local` is best when you already have a backend that accepts username + password as a login or want to build a static application. You can read more about the `local` provider [here](https://auth.sidebase.io/guide/local/quick-start).
1214

1315
This starter connects to a mocked Nuxt server api that handles: `signIn`, `signOut` and `getSession`.
@@ -16,6 +18,8 @@ View the starter [here](/starters/local/).
1618

1719
## AuthJS starter (with GitHub)
1820

21+
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/zoey-kaiser/nuxt-auth-starters/tree/main/starters/authjs-github?file=nuxt.config.ts)
22+
1923
The `authjs-github` starter contains a basic `@sidebase/nuxt-auth` starter with the `authjs` provider setup with a GitHub OAuth provider, preconfigured. `authjs` is best suited for plug-and-play OAuth for established oauth-providers or magic-url based sign-ins. You can read more about the `authjs` provider [here](https://auth.sidebase.io/guide/authjs/quick-start).
2024

2125
View the starter [here](/starters/authjs-github/).

package.json

-9
This file was deleted.

pnpm-workspace.yaml

-2
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"recommendations": [
3+
"editorconfig.editorconfig",
4+
"dbaeumer.vscode-eslint",
5+
"vue.volar"
6+
]
7+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
// Enable the ESlint flat config support
3+
"eslint.experimental.useFlatConfig": true,
4+
5+
// Disable the default formatter, use eslint instead
6+
"prettier.enable": false,
7+
"editor.formatOnSave": false,
8+
9+
// Auto fix
10+
"editor.codeActionsOnSave": {
11+
"source.fixAll.eslint": "explicit",
12+
"source.organizeImports": "never"
13+
},
14+
15+
// Silent the stylistic rules in you IDE, but still auto fix them
16+
"eslint.rules.customizations": [
17+
{ "rule": "style/*", "severity": "off" },
18+
{ "rule": "format/*", "severity": "off" },
19+
{ "rule": "*-indent", "severity": "off" },
20+
{ "rule": "*-spacing", "severity": "off" },
21+
{ "rule": "*-spaces", "severity": "off" },
22+
{ "rule": "*-order", "severity": "off" },
23+
{ "rule": "*-dangle", "severity": "off" },
24+
{ "rule": "*-newline", "severity": "off" },
25+
{ "rule": "*quotes", "severity": "off" },
26+
{ "rule": "*semi", "severity": "off" }
27+
],
28+
29+
// Enable eslint for all supported languages
30+
"eslint.validate": [
31+
"javascript",
32+
"javascriptreact",
33+
"typescript",
34+
"typescriptreact",
35+
"vue",
36+
"html",
37+
"markdown",
38+
"json",
39+
"jsonc",
40+
"yaml",
41+
"toml",
42+
"gql",
43+
"graphql"
44+
]
45+
}

starters/authjs-github/package.json

+7-9
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,17 @@
1414
"postinstall": "nuxt prepare"
1515
},
1616
"dependencies": {
17-
"nuxt": "^3.12.2",
18-
"vue": "^3.4.29",
19-
"vue-router": "^4.3.3"
17+
"nuxt": "^3.14.1592"
2018
},
2119
"devDependencies": {
22-
"@antfu/eslint-config": "^2.11.5",
23-
"@nuxtjs/tailwindcss": "^6.11.4",
24-
"@sidebase/nuxt-auth": "^0.8.1",
20+
"@antfu/eslint-config": "^3.10.0",
21+
"@nuxtjs/tailwindcss": "^6.12.2",
22+
"@sidebase/nuxt-auth": "0.10.0-rc.2",
2523
"@types/node": "^20.11.30",
26-
"eslint": "^8.57.0",
24+
"eslint": "^9.15.0",
2725
"oxlint": "^0.2.15",
28-
"typescript": "^5.4.3",
29-
"vue-tsc": "^2.0.7"
26+
"typescript": "5.6.3",
27+
"vue-tsc": "2.1.10"
3028
},
3129
"peerDependencies": {
3230
"next-auth": "4.21.1"

0 commit comments

Comments
 (0)