feat(w1): maven skeleton + CI scaffold

- Parent POM: de.platesoft:plate-auth-parent with ${revision} CI-friendly versioning
- plate-auth-starter module: Spring Boot 4.1.0 starter deps (web, jpa, security, validation, jwt, flyway, envers)
- @platesoft/auth npm package skeleton: tsup bundler, conditional exports, TypeScript strict
- Gitea Actions: ci.yml (on push/PR) + release.yml (on v* tag)
- distributionManagement pointing to Gitea Package Registry (Maven + npm)
- Apache-2.0 LICENSE, README with quickstart, CHANGELOG, .editorconfig, .gitignore
- pnpm workspace with packages/auth
- Maven BUILD SUCCESS verified locally
This commit is contained in:
Patrick Plate
2026-06-24 15:40:17 +02:00
commit 973c82f304
22 changed files with 834 additions and 0 deletions
+70
View File
@@ -0,0 +1,70 @@
{
"name": "@platesoft/auth",
"version": "0.1.0",
"type": "module",
"description": "NextAuth v5 config factory, HMAC exchange, proxy helpers, and React hooks for plate-auth",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
},
"./config": {
"import": "./dist/config/index.js",
"types": "./dist/config/index.d.ts"
},
"./exchange": {
"import": "./dist/exchange/index.js",
"types": "./dist/exchange/index.d.ts"
},
"./proxy": {
"import": "./dist/proxy/index.js",
"types": "./dist/proxy/index.d.ts"
},
"./middleware": {
"import": "./dist/middleware/index.js",
"types": "./dist/middleware/index.d.ts"
},
"./client": {
"import": "./dist/client/index.js",
"types": "./dist/client/index.d.ts"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsup",
"test": "vitest run",
"lint": "tsc --noEmit"
},
"peerDependencies": {
"next": ">=15.0.0",
"next-auth": ">=5.0.0-beta",
"react": ">=19.0.0"
},
"devDependencies": {
"next": "^15.3.0",
"next-auth": "^5.0.0-beta.30",
"react": "^19.0.0",
"tsup": "^8.4.0",
"typescript": "^5.7.0",
"vitest": "^3.1.0",
"@types/node": "^22.0.0",
"@types/react": "^19.0.0"
},
"publishConfig": {
"registry": "https://git.plate-software.de/api/packages/pplate/npm/"
},
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://git.plate-software.de/pplate/plate-auth.git",
"directory": "packages/auth"
}
}