973c82f304
- 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
19 lines
498 B
TypeScript
19 lines
498 B
TypeScript
import { defineConfig } from 'tsup';
|
|
|
|
export default defineConfig({
|
|
entry: {
|
|
'index': 'src/index.ts',
|
|
'config/index': 'src/config/index.ts',
|
|
'exchange/index': 'src/exchange/index.ts',
|
|
'proxy/index': 'src/proxy/index.ts',
|
|
'middleware/index': 'src/middleware/index.ts',
|
|
'client/index': 'src/client/index.ts',
|
|
},
|
|
format: ['esm', 'cjs'],
|
|
dts: true,
|
|
splitting: true,
|
|
clean: true,
|
|
target: 'es2022',
|
|
external: ['next', 'next-auth', 'react', 'next-auth/react'],
|
|
});
|