@luckystack/devkit 0.8.0 → 0.8.1
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.
- package/CHANGELOG.md +6 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.8.1] - 2026-07-27
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Hot-reload watchers use application runtime mode rather than deploy-topology identity.
|
|
15
|
+
|
|
10
16
|
## [0.8.0] - 2026-07-27
|
|
11
17
|
|
|
12
18
|
### Added
|
package/dist/index.js
CHANGED
|
@@ -4640,7 +4640,7 @@ var runPrismaGenerate = async () => tryCatch2(
|
|
|
4640
4640
|
);
|
|
4641
4641
|
|
|
4642
4642
|
// src/hotReload.ts
|
|
4643
|
-
import { tryCatch as tryCatch3, getProjectConfig, getLocaleReloader,
|
|
4643
|
+
import { tryCatch as tryCatch3, getProjectConfig, getLocaleReloader, isProductionRuntime } from "@luckystack/core";
|
|
4644
4644
|
var normalizeFsPath = (value) => path13.resolve(value).replaceAll("\\", "/");
|
|
4645
4645
|
var isGeneratedPath = (normalizedPath) => {
|
|
4646
4646
|
return normalizedPath.includes("apiTypes.generated.ts") || normalizedPath.includes("apiDocs.generated.json");
|
|
@@ -4751,7 +4751,7 @@ var mountWatchers = (onAdd, onChange, onDelete, onFunctionChange) => {
|
|
|
4751
4751
|
watch(pathsConfig.sharedDir, { ignoreInitial: true }).on("add", onFunctionChange).on("change", onFunctionChange).on("unlink", onFunctionChange);
|
|
4752
4752
|
};
|
|
4753
4753
|
var setupWatchers = () => {
|
|
4754
|
-
const isDevMode =
|
|
4754
|
+
const isDevMode = !isProductionRuntime();
|
|
4755
4755
|
if (!isDevMode) return;
|
|
4756
4756
|
const segments = buildPathSegments();
|
|
4757
4757
|
const isInServerFunctionsDir = makeIsInServerFunctionsDir(segments);
|