Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 23 additions & 8 deletions examples/basic-app/.h3ravel/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,24 @@
"baseUrl": ".",
"outDir": "dist",
"paths": {
"src/*": ["./../src/*"],
"App/*": ["./../src/app/*"],
"root/*": ["./../*"],
"routes/*": ["./../src/routes/*"],
"config/*": ["./../src/config/*"],
"resources/*": ["./../src/resources/*"]
"src/*": [
"./../src/*"
],
"App/*": [
"./../src/app/*"
],
"root/*": [
"./../*"
],
"routes/*": [
"./../src/routes/*"
],
"config/*": [
"./../src/config/*"
],
"resources/*": [
"./../src/resources/*"
]
},
"target": "es2022",
"module": "es2022",
Expand All @@ -23,7 +35,10 @@
"experimentalDecorators": true,
"emitDecoratorMetadata": true
},
"include": ["./**/*.d.ts", "./../**/*"],
"include": [
"./**/*.d.ts",
"./../**/*"
],
"exclude": [
".",
"./../**/console/bin",
Expand All @@ -41,4 +56,4 @@
"./../jest.config.ts",
"./../arquebus.config.js"
]
}
}
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@
"access": "restricted"
},
"devDependencies": {
"@aws-sdk/client-sesv2": "^3.917.0",
"@aws-sdk/client-sesv2": "^3.925.0",
"@changesets/cli": "catalog:",
"@eslint/js": "catalog:",
"@swc/core": "catalog:",
"@types/node": "^24.9.1",
"@types/node": "^24.10.0",
"@typescript-eslint/eslint-plugin": "catalog:",
"@typescript-eslint/parser": "catalog:",
"@vitest/coverage-v8": "catalog:",
Expand All @@ -62,15 +62,16 @@
"fetchdts": "^0.1.7",
"husky": "catalog:",
"knex": "catalog:",
"madge": "^8.0.0",
"nodemailer": "^7.0.10",
"path": "catalog:",
"pnpm": "^10.19.0",
"pnpm": "^10.20.0",
"radashi": "^12.7.0",
"resolve-from": "catalog:",
"rimraf": "catalog:",
"ts-node": "catalog:",
"tsconfig-paths": "catalog:",
"tsdown": "^0.15.9",
"tsdown": "^0.16.0",
"typescript": "^5.9.3",
"typescript-eslint": "catalog:",
"utility-types": "catalog:",
Expand Down
19 changes: 13 additions & 6 deletions packages/cache/package.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,35 @@
{
"name": "@h3ravel/cache",
"version": "11.0.10",
"version": "11.0.14",
"description": "Cache system with multiple drivers for H3ravel.",
"h3ravel": {
"providers": [
"CacheServiceProvider"
]
},
"type": "module",
"main": "./dist/index.js",
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"module": "./dist/index.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"./package.json": "./package.json"
},
"files": [
"dist"
],
"publishConfig": {
"access": "public"
"access": "public",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./*": "./*"
}
},
"homepage": "https://h3ravel.toneflix.net",
"repository": {
Expand Down Expand Up @@ -55,4 +62,4 @@
"devDependencies": {
"typescript": "^5.4.0"
}
}
}
19 changes: 13 additions & 6 deletions packages/config/package.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,35 @@
{
"name": "@h3ravel/config",
"version": "1.4.12",
"version": "1.4.16",
"description": "Environment/config loading and management system for H3ravel.",
"h3ravel": {
"providers": [
"ConfigServiceProvider"
]
},
"type": "module",
"main": "./dist/index.js",
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"module": "./dist/index.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"./package.json": "./package.json"
},
"files": [
"dist"
],
"publishConfig": {
"access": "public"
"access": "public",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./*": "./*"
}
},
"homepage": "https://h3ravel.toneflix.net",
"repository": {
Expand Down Expand Up @@ -59,4 +66,4 @@
"@h3ravel/core": "workspace:^",
"typescript": "^5.9.2"
}
}
}
24 changes: 14 additions & 10 deletions packages/console/package.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
{
"name": "@h3ravel/console",
"version": "11.14.2",
"version": "11.14.8",
"description": "CLI utilities for scaffolding, running migrations, tasks and for H3ravel.",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./Utils": {
"import": "./dist/Utils.js",
"require": "./dist/Utils.cjs"
}
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"Utils": [
"dist/Utils.d.ts"
],
"*": [
"dist/index.d.ts"
]
Expand All @@ -32,7 +29,14 @@
"dist"
],
"publishConfig": {
"access": "public"
"access": "public",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./*": "./*"
}
},
"homepage": "https://h3ravel.toneflix.net/musket",
"repository": {
Expand Down Expand Up @@ -82,4 +86,4 @@
"@h3ravel/musket": "catalog:prod",
"tsx": "catalog:"
}
}
}
4 changes: 2 additions & 2 deletions packages/console/src/TsdownConfig.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Options } from 'tsdown'
import { UserConfig } from 'tsdown'
import { existsSync } from 'node:fs'
import path from 'node:path'
import { rm } from 'node:fs/promises'
Expand All @@ -10,7 +10,7 @@ if (process.env.DIST_DIR) {
outDir = process.env.DIST_DIR
}

export const TsDownConfig: Options = {
export const TsDownConfig: UserConfig = {
outDir,
entry: ['src/**/*.ts'],
format: ['esm'],//, 'cjs'],
Expand Down
20 changes: 11 additions & 9 deletions packages/console/tsdown.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,22 @@ import { baseConfig } from '../../tsdown.config'
import { defineConfig } from 'tsdown'

export default defineConfig([
{
outExtensions: baseConfig.outExtensions,
dts: false,
format: ['esm'],
entry: ['src/fire.ts', 'src/prepare.ts'],
treeshake: true,
outDir: 'bin',
minify: true,
external: baseConfig.external
},
{
...baseConfig,
format: ['esm', 'cjs'],
entry: ['src/index.ts', 'src/Utils.ts'],
entry: ['src/index.ts'],
sourcemap: true,
target: 'node22',
platform: 'node',
},
{
format: ['esm', 'cjs'],
entry: ['src/fire.ts', 'src/prepare.ts'],
treeshake: true,
outDir: 'bin',
minify: true,
external: baseConfig.external
}
])
17 changes: 12 additions & 5 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "@h3ravel/core",
"version": "1.21.0",
"version": "1.21.4",
"description": "Core application container, lifecycle management and service providers for H3ravel.",
"type": "module",
"main": "./dist/index.js",
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"module": "./dist/index.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
Expand All @@ -24,7 +24,14 @@
"dist"
],
"publishConfig": {
"access": "public"
"access": "public",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./*": "./*"
}
},
"homepage": "https://h3ravel.toneflix.net",
"repository": {
Expand Down
19 changes: 13 additions & 6 deletions packages/database/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@h3ravel/database",
"version": "11.4.5",
"version": "11.4.9",
"description": "Modeling data and migration system for H3ravel.",
"type": "module",
"main": "./dist/index.js",
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"module": "./dist/index.js",
"h3ravel": {
Expand All @@ -13,16 +13,23 @@
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"./package.json": "./package.json"
},
"files": [
"dist"
],
"publishConfig": {
"access": "public"
"access": "public",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./*": "./*"
}
},
"homepage": "https://h3ravel.toneflix.net",
"repository": {
Expand Down Expand Up @@ -63,4 +70,4 @@
"devDependencies": {
"typescript": "^5.9.2"
}
}
}
Loading