@venizia/ignis 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
  import { defineConfig } from 'oxlint';
2
- import { oxlintConfigs } from '@venizia/dev-configs/linters';
2
+ import { oxlintConfigs } from '@venizia/dev-configs/linters/oxlint';
3
3
 
4
4
  export default defineConfig(oxlintConfigs);
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env sh
2
+ # Lint this app with oxlint, eslint and oxfmt. `sh scripts/lint.sh` checks; `--fix` fixes.
3
+ set -eu
4
+ cd "$(dirname "$0")/.."
5
+
6
+ FILES='**/*.{ts,tsx,mts,js,mjs}'
7
+ ESLINT_CACHE='--cache --cache-location node_modules/.cache/eslint/'
8
+
9
+ if [ "${1:-}" = "--fix" ]; then
10
+ oxlint -c .configs/oxlint.config.mts --fix
11
+ eslint -c .configs/eslint.config.mjs $ESLINT_CACHE --fix .
12
+ oxfmt -c .configs/oxfmt.config.mts "$FILES"
13
+ else
14
+ oxlint -c .configs/oxlint.config.mts --deny-warnings
15
+ eslint -c .configs/eslint.config.mjs $ESLINT_CACHE .
16
+ oxfmt -c .configs/oxfmt.config.mts --check "$FILES"
17
+ fi
@@ -1,4 +1,4 @@
1
- import { application } from './application';
1
+ import { application } from '#src/application';
2
2
 
3
3
  const main = async () => {
4
4
  application.init();
@@ -4,11 +4,6 @@
4
4
  "compilerOptions": {
5
5
  "outDir": "dist",
6
6
  "rootDir": "src",
7
- "paths": {
8
- "@/*": [
9
- "./src/*"
10
- ]
11
- },
12
7
  "experimentalDecorators": true,
13
8
  "emitDecoratorMetadata": true,
14
9
  "useDefineForClassFields": false
@@ -7,12 +7,16 @@
7
7
  "/api/hello",
8
8
  "/api/doc/explorer"
9
9
  ],
10
+ "imports": {
11
+ "#src/*.json": "./src/*.json",
12
+ "#src/*": "./src/*.js"
13
+ },
10
14
  "dependencies": {
11
15
  "@hono/zod-openapi": "^1.6.3",
12
16
  "@scalar/hono-api-reference": "^0.11.16",
13
- "@venizia/ignis": "0.3.2",
14
- "@venizia/ignis-boot": "0.3.2",
15
- "@venizia/ignis-helpers": "0.3.2",
17
+ "@venizia/ignis": "0.3.3",
18
+ "@venizia/ignis-boot": "0.3.3",
19
+ "@venizia/ignis-helpers": "0.3.3",
16
20
  "hono": "^4.13.7",
17
21
  "winston": "^3.19.0",
18
22
  "winston-daily-rotate-file": "^5.0.0",
@@ -20,22 +24,21 @@
20
24
  },
21
25
  "devDependencies": {
22
26
  "@types/bun": "^1.4.1",
23
- "@venizia/dev-configs": "0.3.1",
27
+ "@venizia/dev-configs": "0.3.3",
24
28
  "eslint": "^10.10.0",
25
29
  "oxfmt": "0.73.0",
26
30
  "oxlint": "1.88.0",
27
31
  "oxlint-tsgolint": "7.0.2004",
28
- "tsc-alias": "^1.9.4",
29
32
  "typescript": "^6.0.3"
30
33
  },
31
34
  "peers": {},
32
35
  "scripts": {
33
36
  "dev": "NODE_ENV=development bun run src/index.ts",
34
37
  "start": "NODE_ENV=production bun run dist/index.js",
35
- "build": "tsc -p tsconfig.json && tsc-alias -p tsconfig.json",
36
- "typecheck": "bun check --no-pretty -p tsconfig.json",
37
- "lint": "oxlint -c .configs/oxlint.config.mts --deny-warnings && eslint -c .configs/eslint.config.mjs . && oxfmt -c .configs/oxfmt.config.mts --check \"**/*.{ts,tsx,mts,js,mjs}\"",
38
- "lint:fix": "oxlint -c .configs/oxlint.config.mts --fix && eslint -c .configs/eslint.config.mjs . --fix && oxfmt -c .configs/oxfmt.config.mts \"**/*.{ts,tsx,mts,js,mjs}\"",
38
+ "build": "tsc -p tsconfig.json",
39
+ "typecheck": "bun check",
40
+ "lint": "sh scripts/lint.sh",
41
+ "lint:fix": "sh scripts/lint.sh --fix",
39
42
  "test": "bun test"
40
43
  },
41
44
  "checks": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@venizia/ignis",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "High-performance TypeScript server infrastructure combining LoopBack 4 enterprise architecture (decorator-based DI, repository pattern, component system) with Hono speed (~140k req/s). Features auto-generated OpenAPI docs, Drizzle ORM type-safe SQL, JWT/Basic authentication, Casbin authorization, convention-based bootstrapping, and pluggable components for health checks, Swagger UI, mail, Socket.IO, and static assets. Built for Bun and Node.js.",
5
5
  "keywords": [
6
6
  "access-control",
@@ -198,11 +198,11 @@
198
198
  "prepublishOnly": "make rebuild"
199
199
  },
200
200
  "dependencies": {
201
- "@venizia/ignis-connectors": "0.3.2",
202
- "@venizia/ignis-filter": "0.3.2",
203
- "@venizia/ignis-helpers": "0.3.2",
204
- "@venizia/ignis-inversion": "0.3.2",
205
- "@venizia/ignis-kernel": "0.3.2",
201
+ "@venizia/ignis-connectors": "0.3.3",
202
+ "@venizia/ignis-filter": "0.3.3",
203
+ "@venizia/ignis-helpers": "0.3.3",
204
+ "@venizia/ignis-inversion": "0.3.4",
205
+ "@venizia/ignis-kernel": "0.3.3",
206
206
  "reflect-metadata": "^0.2.2"
207
207
  },
208
208
  "peerDependencies": {
@@ -306,8 +306,8 @@
306
306
  "@types/bun": "^1.4.1",
307
307
  "@types/nodemailer": "^8.0.1",
308
308
  "@types/pg": "^8.23.1",
309
- "@venizia/dev-configs": "0.3.1",
310
- "@venizia/ignis-boot": "0.3.2",
309
+ "@venizia/dev-configs": "0.3.3",
310
+ "@venizia/ignis-boot": "0.3.3",
311
311
  "casbin": "^5.51.1",
312
312
  "eslint": "^10.10.0",
313
313
  "meilisearch": "^0.60.0",