@envin/cli 1.1.12 → 1.1.13

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.
Files changed (41) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/cli/index.mjs +532 -849
  3. package/dist/preview/.next/BUILD_ID +1 -1
  4. package/dist/preview/.next/build-manifest.json +2 -2
  5. package/dist/preview/.next/fallback-build-manifest.json +2 -2
  6. package/dist/preview/.next/prerender-manifest.json +3 -3
  7. package/dist/preview/.next/server/app/_global-error.html +2 -2
  8. package/dist/preview/.next/server/app/_global-error.rsc +1 -1
  9. package/dist/preview/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  10. package/dist/preview/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  11. package/dist/preview/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  12. package/dist/preview/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  13. package/dist/preview/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  14. package/dist/preview/.next/server/app/_not-found.html +1 -1
  15. package/dist/preview/.next/server/app/_not-found.rsc +1 -1
  16. package/dist/preview/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  17. package/dist/preview/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  18. package/dist/preview/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  19. package/dist/preview/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  20. package/dist/preview/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  21. package/dist/preview/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  22. package/dist/preview/.next/server/app/page/server-reference-manifest.json +4 -4
  23. package/dist/preview/.next/server/app/page_client-reference-manifest.js +1 -1
  24. package/dist/preview/.next/server/chunks/ssr/[root-of-the-server]__3aaf07ce._.js +1 -1
  25. package/dist/preview/.next/server/chunks/ssr/[root-of-the-server]__3aaf07ce._.js.map +1 -1
  26. package/dist/preview/.next/server/chunks/ssr/[root-of-the-server]__e2e728e5._.js +1 -1
  27. package/dist/preview/.next/server/chunks/ssr/[root-of-the-server]__e2e728e5._.js.map +1 -1
  28. package/dist/preview/.next/server/chunks/ssr/[root-of-the-server]__e3d1c002._.js +3 -3
  29. package/dist/preview/.next/server/chunks/ssr/[root-of-the-server]__e3d1c002._.js.map +1 -1
  30. package/dist/preview/.next/server/pages/404.html +1 -1
  31. package/dist/preview/.next/server/pages/500.html +2 -2
  32. package/dist/preview/.next/server/server-reference-manifest.js +1 -1
  33. package/dist/preview/.next/server/server-reference-manifest.json +5 -5
  34. package/dist/preview/.next/static/chunks/{9bd1b84742da96a1.js → a933bffba6c37967.js} +1 -1
  35. package/dist/preview/.next/trace +1 -1
  36. package/dist/preview/.next/trace-build +1 -1
  37. package/package.json +6 -6
  38. package/tsdown.config.ts +9 -0
  39. /package/dist/preview/.next/static/{y_m2KZXoqJPNnkobTFvMs → 2pe0g3qnZD70MXuT6-2Ym}/_buildManifest.js +0 -0
  40. /package/dist/preview/.next/static/{y_m2KZXoqJPNnkobTFvMs → 2pe0g3qnZD70MXuT6-2Ym}/_clientMiddlewareManifest.json +0 -0
  41. /package/dist/preview/.next/static/{y_m2KZXoqJPNnkobTFvMs → 2pe0g3qnZD70MXuT6-2Ym}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- [{"name":"generate-buildid","duration":217,"timestamp":361643748,"id":4,"parentId":1,"tags":{},"startTime":1765284643293,"traceId":"0c03c7b3936e8701"},{"name":"load-custom-routes","duration":318,"timestamp":361644101,"id":5,"parentId":1,"tags":{},"startTime":1765284643293,"traceId":"0c03c7b3936e8701"},{"name":"create-dist-dir","duration":641,"timestamp":361644450,"id":6,"parentId":1,"tags":{},"startTime":1765284643294,"traceId":"0c03c7b3936e8701"},{"name":"clean","duration":225,"timestamp":361645674,"id":7,"parentId":1,"tags":{},"startTime":1765284643295,"traceId":"0c03c7b3936e8701"},{"name":"create-pages-mapping","duration":198,"timestamp":361725144,"id":8,"parentId":1,"tags":{},"startTime":1765284643374,"traceId":"0c03c7b3936e8701"},{"name":"collect-app-files","duration":1247,"timestamp":361725373,"id":9,"parentId":1,"tags":{},"startTime":1765284643375,"traceId":"0c03c7b3936e8701"},{"name":"create-app-mapping","duration":1478,"timestamp":361726643,"id":10,"parentId":1,"tags":{},"startTime":1765284643376,"traceId":"0c03c7b3936e8701"},{"name":"create-app-layouts","duration":125,"timestamp":361728214,"id":11,"parentId":1,"tags":{},"startTime":1765284643378,"traceId":"0c03c7b3936e8701"},{"name":"collect-default-files","duration":262,"timestamp":361729537,"id":13,"parentId":1,"tags":{},"startTime":1765284643379,"traceId":"0c03c7b3936e8701"},{"name":"generate-route-types","duration":4644,"timestamp":361728671,"id":12,"parentId":1,"tags":{},"startTime":1765284643378,"traceId":"0c03c7b3936e8701"},{"name":"public-dir-conflict-check","duration":80,"timestamp":361733333,"id":14,"parentId":1,"tags":{},"startTime":1765284643383,"traceId":"0c03c7b3936e8701"},{"name":"generate-routes-manifest","duration":8930,"timestamp":361733470,"id":15,"parentId":1,"tags":{},"startTime":1765284643383,"traceId":"0c03c7b3936e8701"},{"name":"run-turbopack","duration":6629641,"timestamp":361752864,"id":17,"parentId":1,"tags":{},"startTime":1765284643402,"traceId":"0c03c7b3936e8701"},{"name":"run-typescript","duration":4184612,"timestamp":368387422,"id":19,"parentId":1,"tags":{},"startTime":1765284650037,"traceId":"0c03c7b3936e8701"},{"name":"check-static-error-page","duration":5201,"timestamp":372608386,"id":22,"parentId":21,"tags":{},"startTime":1765284654258,"traceId":"0c03c7b3936e8701"},{"name":"is-page-static","duration":276920,"timestamp":372615828,"id":29,"parentId":24,"tags":{},"startTime":1765284654265,"traceId":"0c03c7b3936e8701"},{"name":"check-page","duration":279719,"timestamp":372613218,"id":24,"parentId":21,"tags":{"page":"/_global-error"},"startTime":1765284654263,"traceId":"0c03c7b3936e8701"},{"name":"is-page-static","duration":282718,"timestamp":372615700,"id":28,"parentId":26,"tags":{},"startTime":1765284654265,"traceId":"0c03c7b3936e8701"},{"name":"check-page","duration":284949,"timestamp":372613510,"id":26,"parentId":21,"tags":{"page":"/favicon.ico"},"startTime":1765284654263,"traceId":"0c03c7b3936e8701"},{"name":"is-page-static","duration":313395,"timestamp":372614746,"id":27,"parentId":23,"tags":{},"startTime":1765284654264,"traceId":"0c03c7b3936e8701"},{"name":"check-page","duration":318762,"timestamp":372609429,"id":23,"parentId":21,"tags":{"page":"/_not-found"},"startTime":1765284654259,"traceId":"0c03c7b3936e8701"},{"name":"is-page-static","duration":541095,"timestamp":372625206,"id":30,"parentId":25,"tags":{},"startTime":1765284654274,"traceId":"0c03c7b3936e8701"},{"name":"check-page","duration":552913,"timestamp":372613432,"id":25,"parentId":21,"tags":{"page":"/"},"startTime":1765284654263,"traceId":"0c03c7b3936e8701"},{"name":"static-check","duration":558718,"timestamp":372607651,"id":21,"parentId":1,"tags":{},"startTime":1765284654257,"traceId":"0c03c7b3936e8701"},{"name":"generate-required-server-files","duration":345,"timestamp":373166495,"id":32,"parentId":1,"tags":{},"startTime":1765284654816,"traceId":"0c03c7b3936e8701"},{"name":"write-routes-manifest","duration":201,"timestamp":373167184,"id":33,"parentId":1,"tags":{},"startTime":1765284654816,"traceId":"0c03c7b3936e8701"},{"name":"load-dotenv","duration":25,"timestamp":373174587,"id":36,"parentId":35,"tags":{},"startTime":1765284654824,"traceId":"0c03c7b3936e8701"},{"name":"run-export-path-map","duration":288,"timestamp":373176058,"id":37,"parentId":35,"tags":{},"startTime":1765284654825,"traceId":"0c03c7b3936e8701"},{"name":"next-export","duration":387347,"timestamp":373173719,"id":35,"parentId":1,"tags":{},"startTime":1765284654823,"traceId":"0c03c7b3936e8701"},{"name":"move-exported-app-not-found-","duration":423,"timestamp":373562313,"id":38,"parentId":34,"tags":{},"startTime":1765284655212,"traceId":"0c03c7b3936e8701"},{"name":"move-exported-app-global-error-","duration":348,"timestamp":373562801,"id":39,"parentId":34,"tags":{},"startTime":1765284655212,"traceId":"0c03c7b3936e8701"},{"name":"static-generation","duration":394556,"timestamp":373170144,"id":34,"parentId":1,"tags":{},"startTime":1765284654819,"traceId":"0c03c7b3936e8701"},{"name":"write-routes-manifest","duration":269,"timestamp":373564783,"id":40,"parentId":1,"tags":{},"startTime":1765284655214,"traceId":"0c03c7b3936e8701"},{"name":"print-tree-view","duration":2162,"timestamp":373569189,"id":41,"parentId":1,"tags":{},"startTime":1765284655218,"traceId":"0c03c7b3936e8701"},{"name":"telemetry-flush","duration":93940,"timestamp":373571361,"id":42,"parentId":1,"tags":{},"startTime":1765284655221,"traceId":"0c03c7b3936e8701"},{"name":"next-build","duration":12050747,"timestamp":361614568,"id":1,"tags":{"buildMode":"default","version":"16.0.7","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1765284643264,"traceId":"0c03c7b3936e8701"}]
1
+ [{"name":"generate-buildid","duration":237,"timestamp":118453917,"id":4,"parentId":1,"tags":{},"startTime":1768413323839,"traceId":"83a3bb25a321ee70"},{"name":"load-custom-routes","duration":267,"timestamp":118454244,"id":5,"parentId":1,"tags":{},"startTime":1768413323840,"traceId":"83a3bb25a321ee70"},{"name":"create-dist-dir","duration":575,"timestamp":118454533,"id":6,"parentId":1,"tags":{},"startTime":1768413323840,"traceId":"83a3bb25a321ee70"},{"name":"clean","duration":184,"timestamp":118455624,"id":7,"parentId":1,"tags":{},"startTime":1768413323841,"traceId":"83a3bb25a321ee70"},{"name":"create-pages-mapping","duration":186,"timestamp":118537472,"id":8,"parentId":1,"tags":{},"startTime":1768413323923,"traceId":"83a3bb25a321ee70"},{"name":"collect-app-files","duration":1063,"timestamp":118537697,"id":9,"parentId":1,"tags":{},"startTime":1768413323923,"traceId":"83a3bb25a321ee70"},{"name":"create-app-mapping","duration":1367,"timestamp":118538789,"id":10,"parentId":1,"tags":{},"startTime":1768413323924,"traceId":"83a3bb25a321ee70"},{"name":"create-app-layouts","duration":107,"timestamp":118540245,"id":11,"parentId":1,"tags":{},"startTime":1768413323926,"traceId":"83a3bb25a321ee70"},{"name":"collect-default-files","duration":237,"timestamp":118540961,"id":13,"parentId":1,"tags":{},"startTime":1768413323926,"traceId":"83a3bb25a321ee70"},{"name":"generate-route-types","duration":2893,"timestamp":118540607,"id":12,"parentId":1,"tags":{},"startTime":1768413323926,"traceId":"83a3bb25a321ee70"},{"name":"public-dir-conflict-check","duration":74,"timestamp":118543522,"id":14,"parentId":1,"tags":{},"startTime":1768413323929,"traceId":"83a3bb25a321ee70"},{"name":"generate-routes-manifest","duration":100334,"timestamp":118543647,"id":15,"parentId":1,"tags":{},"startTime":1768413323929,"traceId":"83a3bb25a321ee70"},{"name":"run-turbopack","duration":6965785,"timestamp":118647644,"id":17,"parentId":1,"tags":{},"startTime":1768413324033,"traceId":"83a3bb25a321ee70"},{"name":"run-typescript","duration":4123186,"timestamp":125618080,"id":19,"parentId":1,"tags":{},"startTime":1768413331003,"traceId":"83a3bb25a321ee70"},{"name":"check-static-error-page","duration":4208,"timestamp":129773524,"id":22,"parentId":21,"tags":{},"startTime":1768413335159,"traceId":"83a3bb25a321ee70"},{"name":"is-page-static","duration":203043,"timestamp":129779706,"id":28,"parentId":24,"tags":{},"startTime":1768413335165,"traceId":"83a3bb25a321ee70"},{"name":"check-page","duration":205431,"timestamp":129777413,"id":24,"parentId":21,"tags":{"page":"/_global-error"},"startTime":1768413335163,"traceId":"83a3bb25a321ee70"},{"name":"is-page-static","duration":262581,"timestamp":129780374,"id":29,"parentId":26,"tags":{},"startTime":1768413335166,"traceId":"83a3bb25a321ee70"},{"name":"check-page","duration":268405,"timestamp":129777648,"id":26,"parentId":21,"tags":{"page":"/favicon.ico"},"startTime":1768413335163,"traceId":"83a3bb25a321ee70"},{"name":"is-page-static","duration":302112,"timestamp":129779472,"id":27,"parentId":23,"tags":{},"startTime":1768413335165,"traceId":"83a3bb25a321ee70"},{"name":"check-page","duration":305298,"timestamp":129776349,"id":23,"parentId":21,"tags":{"page":"/_not-found"},"startTime":1768413335162,"traceId":"83a3bb25a321ee70"},{"name":"is-page-static","duration":474740,"timestamp":129786249,"id":30,"parentId":25,"tags":{},"startTime":1768413335172,"traceId":"83a3bb25a321ee70"},{"name":"check-page","duration":483463,"timestamp":129777596,"id":25,"parentId":21,"tags":{"page":"/"},"startTime":1768413335163,"traceId":"83a3bb25a321ee70"},{"name":"static-check","duration":488304,"timestamp":129772786,"id":21,"parentId":1,"tags":{},"startTime":1768413335158,"traceId":"83a3bb25a321ee70"},{"name":"generate-required-server-files","duration":391,"timestamp":130261215,"id":32,"parentId":1,"tags":{},"startTime":1768413335647,"traceId":"83a3bb25a321ee70"},{"name":"write-routes-manifest","duration":273,"timestamp":130261993,"id":33,"parentId":1,"tags":{},"startTime":1768413335647,"traceId":"83a3bb25a321ee70"},{"name":"load-dotenv","duration":31,"timestamp":130268895,"id":36,"parentId":35,"tags":{},"startTime":1768413335654,"traceId":"83a3bb25a321ee70"},{"name":"run-export-path-map","duration":277,"timestamp":130271287,"id":37,"parentId":35,"tags":{},"startTime":1768413335657,"traceId":"83a3bb25a321ee70"},{"name":"next-export","duration":369151,"timestamp":130268078,"id":35,"parentId":1,"tags":{},"startTime":1768413335653,"traceId":"83a3bb25a321ee70"},{"name":"move-exported-app-not-found-","duration":394,"timestamp":130638367,"id":38,"parentId":34,"tags":{},"startTime":1768413336024,"traceId":"83a3bb25a321ee70"},{"name":"move-exported-app-global-error-","duration":350,"timestamp":130638824,"id":39,"parentId":34,"tags":{},"startTime":1768413336024,"traceId":"83a3bb25a321ee70"},{"name":"static-generation","duration":375299,"timestamp":130265117,"id":34,"parentId":1,"tags":{},"startTime":1768413335650,"traceId":"83a3bb25a321ee70"},{"name":"write-routes-manifest","duration":250,"timestamp":130640512,"id":40,"parentId":1,"tags":{},"startTime":1768413336026,"traceId":"83a3bb25a321ee70"},{"name":"print-tree-view","duration":1745,"timestamp":130646984,"id":41,"parentId":1,"tags":{},"startTime":1768413336032,"traceId":"83a3bb25a321ee70"},{"name":"telemetry-flush","duration":59440,"timestamp":130648743,"id":42,"parentId":1,"tags":{},"startTime":1768413336034,"traceId":"83a3bb25a321ee70"},{"name":"next-build","duration":12278333,"timestamp":118429871,"id":1,"tags":{"buildMode":"default","version":"16.0.7","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1768413323815,"traceId":"83a3bb25a321ee70"}]
@@ -1 +1 @@
1
- [{"name":"run-turbopack","duration":6629641,"timestamp":361752864,"id":17,"parentId":1,"tags":{},"startTime":1765284643402,"traceId":"0c03c7b3936e8701"},{"name":"run-typescript","duration":4184612,"timestamp":368387422,"id":19,"parentId":1,"tags":{},"startTime":1765284650037,"traceId":"0c03c7b3936e8701"},{"name":"static-check","duration":558718,"timestamp":372607651,"id":21,"parentId":1,"tags":{},"startTime":1765284654257,"traceId":"0c03c7b3936e8701"},{"name":"static-generation","duration":394556,"timestamp":373170144,"id":34,"parentId":1,"tags":{},"startTime":1765284654819,"traceId":"0c03c7b3936e8701"},{"name":"telemetry-flush","duration":93940,"timestamp":373571361,"id":42,"parentId":1,"tags":{},"startTime":1765284655221,"traceId":"0c03c7b3936e8701"},{"name":"next-build","duration":12050747,"timestamp":361614568,"id":1,"tags":{"buildMode":"default","version":"16.0.7","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1765284643264,"traceId":"0c03c7b3936e8701"}]
1
+ [{"name":"run-turbopack","duration":6965785,"timestamp":118647644,"id":17,"parentId":1,"tags":{},"startTime":1768413324033,"traceId":"83a3bb25a321ee70"},{"name":"run-typescript","duration":4123186,"timestamp":125618080,"id":19,"parentId":1,"tags":{},"startTime":1768413331003,"traceId":"83a3bb25a321ee70"},{"name":"static-check","duration":488304,"timestamp":129772786,"id":21,"parentId":1,"tags":{},"startTime":1768413335158,"traceId":"83a3bb25a321ee70"},{"name":"static-generation","duration":375299,"timestamp":130265117,"id":34,"parentId":1,"tags":{},"startTime":1768413335650,"traceId":"83a3bb25a321ee70"},{"name":"telemetry-flush","duration":59440,"timestamp":130648743,"id":42,"parentId":1,"tags":{},"startTime":1768413336034,"traceId":"83a3bb25a321ee70"},{"name":"next-build","duration":12278333,"timestamp":118429871,"id":1,"tags":{"buildMode":"default","version":"16.0.7","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1768413323815,"traceId":"83a3bb25a321ee70"}]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@envin/cli",
3
- "version": "1.1.12",
3
+ "version": "1.1.13",
4
4
  "description": "Type-safe env validation with live previews",
5
5
  "keywords": [
6
6
  "turbostarter",
@@ -25,10 +25,10 @@
25
25
  "envin": "dist/cli/index.mjs"
26
26
  },
27
27
  "scripts": {
28
- "build": "tsup-node && bun run build:preview",
28
+ "build": "tsdown && bun run build:preview",
29
29
  "build:preview": "node ./scripts/build-preview-server.mjs",
30
30
  "clean": "rm -rf dist .turbo node_modules .next",
31
- "dev": "tsup-node --watch",
31
+ "dev": "tsdown --watch",
32
32
  "dev:preview": "cd ../../apps/example && tsx ../../packages/cli/src/cli/index.ts dev",
33
33
  "start": "node dist/cli/index.mjs",
34
34
  "typecheck": "tsc --noEmit",
@@ -47,8 +47,8 @@
47
47
  "consola": "^3.4.2",
48
48
  "debounce": "^2.2.0",
49
49
  "dotenv": "^16.5.0",
50
- "envin": "1.1.12",
51
- "esbuild": "^0.25.10",
50
+ "envin": "1.1.13",
51
+ "esbuild": "^0.27.2",
52
52
  "log-symbols": "^7.0.0",
53
53
  "mime-types": "^3.0.1",
54
54
  "next": "16.0.7",
@@ -79,7 +79,7 @@
79
79
  "stacktrace-parser": "0.1.11",
80
80
  "tailwind-merge": "3.4.0",
81
81
  "tailwindcss": "4.1.17",
82
- "tsup": "8.5.0",
82
+ "tsdown": "0.19.0",
83
83
  "tsx": "^4.19.4",
84
84
  "tw-animate-css": "1.3.3",
85
85
  "typescript": "5.8.3"
@@ -0,0 +1,9 @@
1
+ import { defineConfig } from "tsdown";
2
+
3
+ export default defineConfig({
4
+ dts: false,
5
+ entry: ["./src/cli/index.ts"],
6
+ format: ["esm"],
7
+ outDir: "dist/cli",
8
+ target: false,
9
+ });