chore: initial scaffold for @marketplaces/auth and @marketplaces/payment
Some checks failed
Release / release (push) Has been cancelled
Some checks failed
Release / release (push) Has been cancelled
This commit is contained in:
21
packages/auth/package.json
Normal file
21
packages/auth/package.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "@marketplaces/auth",
|
||||
"version": "0.1.0",
|
||||
"description": "Shared customer + admin auth client (VK ID/OTP/session, ed25519 admin verification, guards, interceptors) for marketplaces projects.",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"files": ["dist"],
|
||||
"scripts": {
|
||||
"build": "tsc -p tsconfig.json",
|
||||
"test": "echo \"no tests yet\" && exit 0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@angular/core": ">=22.0.0",
|
||||
"@angular/common": ">=22.0.0",
|
||||
"rxjs": ">=7.8.0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "restricted"
|
||||
},
|
||||
"license": "UNLICENSED"
|
||||
}
|
||||
5
packages/auth/src/index.ts
Normal file
5
packages/auth/src/index.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
// @marketplaces/auth — public API barrel.
|
||||
// Scaffold only: code migrates here from src/app/core/auth and src/app/core/admin-auth
|
||||
// per ADR-0001 (marketplaces repo: docs/context/adrs/ADR-0001-extract-auth-and-payment-into-shared-marketplaces-packages.md).
|
||||
// Nothing is exported yet — the marketplaces repo still owns the live implementation until migration lands.
|
||||
export {};
|
||||
15
packages/auth/tsconfig.json
Normal file
15
packages/auth/tsconfig.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "ES2022",
|
||||
"module": "ES2022",
|
||||
"moduleResolution": "bundler",
|
||||
"declaration": true,
|
||||
"outDir": "dist",
|
||||
"rootDir": "src",
|
||||
"strict": true,
|
||||
"skipLibCheck": true,
|
||||
"experimentalDecorators": true,
|
||||
"useDefineForClassFields": false
|
||||
},
|
||||
"include": ["src"]
|
||||
}
|
||||
21
packages/payment/package.json
Normal file
21
packages/payment/package.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "@marketplaces/payment",
|
||||
"version": "0.1.0",
|
||||
"description": "Shared payment/finance client (FX, pricing, checkout gateways) for marketplaces projects. Thin by design — payment business logic stays server-side per Phase 1/7 backend contracts.",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"files": ["dist"],
|
||||
"scripts": {
|
||||
"build": "tsc -p tsconfig.json",
|
||||
"test": "echo \"no tests yet\" && exit 0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@angular/core": ">=22.0.0",
|
||||
"@angular/common": ">=22.0.0",
|
||||
"rxjs": ">=7.8.0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "restricted"
|
||||
},
|
||||
"license": "UNLICENSED"
|
||||
}
|
||||
5
packages/payment/src/index.ts
Normal file
5
packages/payment/src/index.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
// @marketplaces/payment — public API barrel.
|
||||
// Scaffold only: code migrates here from src/app/core/finance and src/app/core/pricing
|
||||
// per ADR-0001 (marketplaces repo: docs/context/adrs/ADR-0001-extract-auth-and-payment-into-shared-marketplaces-packages.md).
|
||||
// Nothing is exported yet — the marketplaces repo still owns the live implementation until migration lands.
|
||||
export {};
|
||||
15
packages/payment/tsconfig.json
Normal file
15
packages/payment/tsconfig.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "ES2022",
|
||||
"module": "ES2022",
|
||||
"moduleResolution": "bundler",
|
||||
"declaration": true,
|
||||
"outDir": "dist",
|
||||
"rootDir": "src",
|
||||
"strict": true,
|
||||
"skipLibCheck": true,
|
||||
"experimentalDecorators": true,
|
||||
"useDefineForClassFields": false
|
||||
},
|
||||
"include": ["src"]
|
||||
}
|
||||
Reference in New Issue
Block a user