@venizia/ignis 0.3.4 → 0.3.5
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.
|
@@ -28,6 +28,12 @@ ARG APP_BUILD_VERSION=
|
|
|
28
28
|
RUN test -n "$APP_BUILD_COMMIT" || { echo "Pass --build-arg APP_BUILD_COMMIT=\$(git rev-parse HEAD)" >&2; exit 1; }
|
|
29
29
|
|
|
30
30
|
COPY --chown=bun . .
|
|
31
|
+
# A .env in the context puts its secrets in the layer above: refuse the build and name the files.
|
|
32
|
+
RUN leaked="$(find . -name '.env*' ! -name '.env.example' -not -path '*/node_modules/*')"; \
|
|
33
|
+
if [ -n "$leaked" ]; then \
|
|
34
|
+
echo "Secrets in the build context: $leaked - add **/.env and **/.env.* to the root .dockerignore" >&2; \
|
|
35
|
+
exit 1; \
|
|
36
|
+
fi
|
|
31
37
|
RUN bun install --frozen-lockfile --ignore-scripts
|
|
32
38
|
|
|
33
39
|
WORKDIR /home/bun/project/{{appPath}}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@types/bun": "^1.4.1",
|
|
7
7
|
"@venizia/dev-configs": "0.3.4",
|
|
8
|
-
"@venizia/ignis": "0.3.
|
|
8
|
+
"@venizia/ignis": "0.3.5",
|
|
9
9
|
"eslint": "^10.10.0",
|
|
10
10
|
"oxfmt": "0.73.0",
|
|
11
11
|
"oxlint": "1.88.0",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"typescript": "^6.0.3"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@venizia/ignis": "0.3.
|
|
16
|
+
"@venizia/ignis": "0.3.5"
|
|
17
17
|
},
|
|
18
18
|
"scripts": {
|
|
19
19
|
"typecheck": "bun check",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@venizia/ignis",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
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",
|