7ef37e3ebd
- Prefix feature exports with `features/` (auth, admin, provider) - Prefix shared exports with `shared/` (components, icons, lib, config, logger, rate-limit) - Add new explicit exports for `shared/logger`, `shared/config`, and `shared/rate-limit` - Update internal imports to use package self-referencing (`@zen/core/shared/*`) instead of relative paths
141 lines
3.6 KiB
JSON
141 lines
3.6 KiB
JSON
{
|
|
"name": "@zen/core",
|
|
"version": "1.3.13",
|
|
"description": "Un CMS Next.js construit sur l'essentiel, rien de plus, rien de moins.",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.hyko.cx/zen/core.git"
|
|
},
|
|
"publishConfig": {
|
|
"registry": "https://git.hyko.cx/api/packages/zen/npm/"
|
|
},
|
|
"license": "GPL-3.0-only",
|
|
"author": "Hyko",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "tsup && npm run build:css",
|
|
"build:css": "mkdir -p ./dist/shared/styles && cp ./src/shared/styles/zen.css ./dist/shared/styles/zen.css",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"bin": {
|
|
"zen-db": "./dist/core/database/cli.js"
|
|
},
|
|
"dependencies": {
|
|
"@headlessui/react": "^2.0.0",
|
|
"@react-email/components": "^0.5.6",
|
|
"@react-pdf/renderer": "^4.3.1",
|
|
"dotenv": "^16.4.5",
|
|
"node-cron": "^3.0.3",
|
|
"pg": "^8.11.3",
|
|
"resend": "^3.2.0",
|
|
"stripe": "^14.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"tsup": "^8.0.0",
|
|
"typescript": "^6.0.2"
|
|
},
|
|
"peerDependencies": {
|
|
"next": ">=14.0.0",
|
|
"react": "^19.0.0"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js"
|
|
},
|
|
"./features/auth": {
|
|
"import": "./dist/features/auth/index.js"
|
|
},
|
|
"./features/auth/actions": {
|
|
"import": "./dist/features/auth/actions.js"
|
|
},
|
|
"./features/auth/pages": {
|
|
"import": "./dist/features/auth/pages.js"
|
|
},
|
|
"./features/auth/page": {
|
|
"import": "./dist/features/auth/page.js"
|
|
},
|
|
"./features/auth/components": {
|
|
"import": "./dist/features/auth/components/index.js"
|
|
},
|
|
"./features/admin": {
|
|
"import": "./dist/features/admin/index.js"
|
|
},
|
|
"./features/admin/actions": {
|
|
"import": "./dist/features/admin/actions.js"
|
|
},
|
|
"./features/admin/navigation": {
|
|
"import": "./dist/features/admin/navigation.server.js"
|
|
},
|
|
"./features/admin/pages": {
|
|
"import": "./dist/features/admin/pages.js"
|
|
},
|
|
"./features/admin/page": {
|
|
"import": "./dist/features/admin/page.js"
|
|
},
|
|
"./features/provider": {
|
|
"import": "./dist/features/provider/index.js"
|
|
},
|
|
"./api": {
|
|
"import": "./dist/core/api/index.js"
|
|
},
|
|
"./zen/api": {
|
|
"import": "./dist/core/api/route-handler.js"
|
|
},
|
|
"./database": {
|
|
"import": "./dist/core/database/index.js"
|
|
},
|
|
"./storage": {
|
|
"import": "./dist/core/storage/index.js"
|
|
},
|
|
"./email": {
|
|
"import": "./dist/core/email/index.js"
|
|
},
|
|
"./email/templates": {
|
|
"import": "./dist/core/email/templates/index.js"
|
|
},
|
|
"./cron": {
|
|
"import": "./dist/core/cron/index.js"
|
|
},
|
|
"./stripe": {
|
|
"import": "./dist/core/payments/stripe.js"
|
|
},
|
|
"./payments": {
|
|
"import": "./dist/core/payments/index.js"
|
|
},
|
|
"./pdf": {
|
|
"import": "./dist/core/pdf/index.js"
|
|
},
|
|
"./toast": {
|
|
"import": "./dist/core/toast/index.js"
|
|
},
|
|
"./shared/components": {
|
|
"import": "./dist/shared/components/index.js"
|
|
},
|
|
"./shared/icons": {
|
|
"import": "./dist/shared/Icons.js"
|
|
},
|
|
"./shared/lib/metadata": {
|
|
"import": "./dist/shared/lib/metadata/index.js"
|
|
},
|
|
"./shared/logger": {
|
|
"import": "./dist/shared/lib/logger.js"
|
|
},
|
|
"./shared/config": {
|
|
"import": "./dist/shared/lib/appConfig.js"
|
|
},
|
|
"./shared/rate-limit": {
|
|
"import": "./dist/shared/lib/rateLimit.js"
|
|
},
|
|
"./styles/zen.css": {
|
|
"default": "./dist/shared/styles/zen.css"
|
|
}
|
|
}
|
|
}
|