From 5872c9ab04aa21dda25f6609b916d04992ed2fd2 Mon Sep 17 00:00:00 2001 From: pilcrowOnPaper Date: Sun, 20 Oct 2024 21:39:47 +0900 Subject: [PATCH] remove auri --- .auri/$5zvg502u.md | 6 ---- .auri/config.json | 7 ----- .github/workflows/auri.yaml | 29 ------------------- .prettierignore | 1 - .../tutorials/github-oauth/nextjs-app.md | 2 +- package.json | 5 +--- packages/adapter-drizzle/package.json | 1 - packages/adapter-mongodb/package.json | 3 +- packages/adapter-mysql/package.json | 3 +- packages/adapter-postgresql/package.json | 3 +- packages/adapter-prisma/package.json | 3 +- packages/adapter-sqlite/package.json | 1 - packages/adapter-test/package.json | 3 +- packages/lucia/package.json | 1 - 14 files changed, 7 insertions(+), 61 deletions(-) delete mode 100644 .auri/$5zvg502u.md delete mode 100644 .auri/config.json delete mode 100644 .github/workflows/auri.yaml diff --git a/.auri/$5zvg502u.md b/.auri/$5zvg502u.md deleted file mode 100644 index 4532211fd..000000000 --- a/.auri/$5zvg502u.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -package: "lucia" # package name -type: "patch" # "major", "minor", "patch" ---- - -Fix cookie expiration \ No newline at end of file diff --git a/.auri/config.json b/.auri/config.json deleted file mode 100644 index 00b043383..000000000 --- a/.auri/config.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "repository": "https://github.com/lucia-auth/lucia", - "scripts": { - "format": "pnpm format" - }, - "debug": true -} diff --git a/.github/workflows/auri.yaml b/.github/workflows/auri.yaml deleted file mode 100644 index 9836b6364..000000000 --- a/.github/workflows/auri.yaml +++ /dev/null @@ -1,29 +0,0 @@ -name: "Auri" -on: - push: - branches: - - v3 - -env: - AURI_GITHUB_TOKEN: ${{secrets.AURI_GITHUB_TOKEN}} - NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}} - -jobs: - auri: - runs-on: ubuntu-latest - steps: - - name: setup actions - uses: actions/checkout@v3 - - name: setup node - uses: actions/setup-node@v3 - with: - node-version: 20.5.1 - registry-url: https://registry.npmjs.org - - name: install dependencies - run: | - npm i -g pnpm - pnpm install --no-frozen-lockfile - - name: publish - run: pnpm exec auri publish - - name: prepare - run: pnpm exec auri prepare diff --git a/.prettierignore b/.prettierignore index a762d65d6..da06949b7 100644 --- a/.prettierignore +++ b/.prettierignore @@ -7,7 +7,6 @@ node_modules .env.* !.env.example /.vscode -/.auri/*.md docs/dist packages/*/dist diff --git a/docs/pages/tutorials/github-oauth/nextjs-app.md b/docs/pages/tutorials/github-oauth/nextjs-app.md index f2c5b02ff..729026453 100644 --- a/docs/pages/tutorials/github-oauth/nextjs-app.md +++ b/docs/pages/tutorials/github-oauth/nextjs-app.md @@ -248,7 +248,7 @@ export const validateRequest = cache( ); ``` -This function can then be used in server components and form actions to get the current session and user. +This function can then be used in server components and form actions to get the current session and user. ```tsx import { redirect } from "next/navigation"; diff --git a/package.json b/package.json index 386a44242..2f1b3e65e 100644 --- a/package.json +++ b/package.json @@ -6,9 +6,7 @@ "publish-setup": "pnpm i --no-frozen-lockfile && cd packages/lucia && pnpm build && cd ../adapter-test && pnpm build && cd ../../", "format": "pnpm exec prettier --write . --plugin=prettier-plugin-astro", "format:docs": "pnpm exec prettier --write docs --plugin=prettier-plugin-astro", - "preinstall": "npx only-allow pnpm", - "auri.format": "pnpm format", - "auri.publish_setup": "pnpm publish-setup" + "preinstall": "npx only-allow pnpm" }, "repository": { "type": "git", @@ -21,7 +19,6 @@ "@types/node": "~18.15.13", "@typescript-eslint/eslint-plugin": "^5.59.6", "@typescript-eslint/parser": "^5.59.6", - "auri": "^0.7.4", "eslint": "^8.40.0", "eslint-config-prettier": "^8.8.0", "prettier": "^2.8.8", diff --git a/packages/adapter-drizzle/package.json b/packages/adapter-drizzle/package.json index 62fc76ac1..774b4fa08 100644 --- a/packages/adapter-drizzle/package.json +++ b/packages/adapter-drizzle/package.json @@ -12,7 +12,6 @@ ], "scripts": { "build": "shx rm -rf ./dist/* && tsc", - "auri.build": "pnpm build", "test.mysql": "tsx tests/mysql.ts", "test.postgresql": "tsx tests/postgresql.ts", "test.sqlite": "tsx tests/sqlite.ts" diff --git a/packages/adapter-mongodb/package.json b/packages/adapter-mongodb/package.json index 57074eca3..2d7a688bb 100644 --- a/packages/adapter-mongodb/package.json +++ b/packages/adapter-mongodb/package.json @@ -13,8 +13,7 @@ "scripts": { "build": "shx rm -rf ./dist/* && tsc", "test.mongodb": "tsx tests/mongodb.ts", - "test.mongoose": "tsx tests/mongoose.ts", - "auri.build": "pnpm build" + "test.mongoose": "tsx tests/mongoose.ts" }, "keywords": [ "lucia", diff --git a/packages/adapter-mysql/package.json b/packages/adapter-mysql/package.json index 34daa0ef9..2f69c720a 100644 --- a/packages/adapter-mysql/package.json +++ b/packages/adapter-mysql/package.json @@ -13,8 +13,7 @@ "scripts": { "build": "shx rm -rf ./dist/* && tsc", "test.mysql2": "tsx tests/mysql2.ts", - "test.planetscale": "tsx tests/planetscale.ts", - "auri.build": "pnpm build" + "test.planetscale": "tsx tests/planetscale.ts" }, "keywords": [ "lucia", diff --git a/packages/adapter-postgresql/package.json b/packages/adapter-postgresql/package.json index 915f57bad..8a38bcab8 100644 --- a/packages/adapter-postgresql/package.json +++ b/packages/adapter-postgresql/package.json @@ -14,8 +14,7 @@ "build": "shx rm -rf ./dist/* && tsc", "test.neon-http": "tsx tests/neon-http.ts", "test.node-postgres": "tsx tests/node-postgres.ts", - "test.postgresjs": "tsx tests/postgresjs.ts", - "auri.build": "pnpm build" + "test.postgresjs": "tsx tests/postgresjs.ts" }, "keywords": [ "lucia", diff --git a/packages/adapter-prisma/package.json b/packages/adapter-prisma/package.json index 9e5c88569..4dd0dc1e3 100644 --- a/packages/adapter-prisma/package.json +++ b/packages/adapter-prisma/package.json @@ -13,8 +13,7 @@ "scripts": { "build": "shx rm -rf ./dist/* && tsc", "test": "tsx tests/prisma.ts", - "test-setup": "prisma db push && prisma generate", - "auri.build": "pnpm build" + "test-setup": "prisma db push && prisma generate" }, "keywords": [ "lucia", diff --git a/packages/adapter-sqlite/package.json b/packages/adapter-sqlite/package.json index eda80d3c1..4cf122fbf 100644 --- a/packages/adapter-sqlite/package.json +++ b/packages/adapter-sqlite/package.json @@ -12,7 +12,6 @@ ], "scripts": { "build": "shx rm -rf ./dist/* && tsc", - "auri.build": "pnpm build", "test.better-sqlite3": "tsx tests/better-sqlite3.ts", "test.bun-sqlite": "bun tests/bun-sqlite.ts", "test.d1": "tsx tests/d1.ts", diff --git a/packages/adapter-test/package.json b/packages/adapter-test/package.json index c21316a0a..05519795a 100644 --- a/packages/adapter-test/package.json +++ b/packages/adapter-test/package.json @@ -11,8 +11,7 @@ "CHANGELOG.md" ], "scripts": { - "build": "shx rm -rf ./dist/* && tsc", - "auri.build": "pnpm build" + "build": "shx rm -rf ./dist/* && tsc" }, "keywords": [ "lucia", diff --git a/packages/lucia/package.json b/packages/lucia/package.json index 9ed405887..26998c909 100644 --- a/packages/lucia/package.json +++ b/packages/lucia/package.json @@ -12,7 +12,6 @@ ], "scripts": { "build": "shx rm -rf ./dist/* && tsc", - "auri.build": "pnpm build", "test": "vitest run", "test.debug": "vitest run src/utils/debug.test.ts" },