@fulmenhq/tsfulmen 0.1.9 → 0.1.10
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 +25 -0
- package/README.md +2 -2
- package/dist/appidentity/index.js +7 -1
- package/dist/appidentity/index.js.map +1 -1
- package/dist/config/index.js +7 -1
- package/dist/config/index.js.map +1 -1
- package/dist/crucible/index.js +7 -1
- package/dist/crucible/index.js.map +1 -1
- package/dist/errors/index.js +7 -1
- package/dist/errors/index.js.map +1 -1
- package/dist/foundry/index.js +7 -1
- package/dist/foundry/index.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/dist/pathfinder/index.js +7 -1
- package/dist/pathfinder/index.js.map +1 -1
- package/dist/schema/index.js +7 -1
- package/dist/schema/index.js.map +1 -1
- package/dist/telemetry/index.js +7 -1
- package/dist/telemetry/index.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## [0.1.10] - 2025-11-17
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
|
|
16
|
+
- **Critical: Signal catalog loading in installed packages** - Fixed path resolution bug that prevented signals catalog from loading when package was installed via npm. The bundled code in `dist/foundry/index.js` was using incorrect relative paths (`../../../config` instead of `../../config`) due to tsup bundling behavior. Added runtime path detection to handle both development (source files) and production (bundled files) contexts.
|
|
17
|
+
- **Pre-publish verification** - Added `scripts/verify-local-install.ts` and `make verify-local-install` target to catch path resolution bugs before publishing. This script packs the package locally, installs it to a temp directory, and tests catalog loading in the installed context.
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- Runtime path detection in signals catalog loader (src/foundry/signals/catalog.ts:23-30)
|
|
22
|
+
- Pre-publish integration test (scripts/verify-local-install.ts)
|
|
23
|
+
- Makefile target `verify-local-install` for pre-publish verification
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
|
|
27
|
+
- Signals catalog path resolution now detects whether running from source (`src/`) or dist (`dist/`) and adjusts paths accordingly
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## [0.1.9] - 2025-11-16 [DEPRECATED - Non-functional]
|
|
32
|
+
|
|
33
|
+
**⚠️ DO NOT USE**: This version has a critical bug where catalog loading fails in installed packages. Use v0.1.10 or later.
|
|
34
|
+
|
|
10
35
|
### Added
|
|
11
36
|
|
|
12
37
|
- **Fulpack Module** (`@fulmenhq/tsfulmen/fulpack`) - Security-first archive operations for TAR, TAR.GZ, ZIP, and GZIP formats
|
package/README.md
CHANGED
|
@@ -9,10 +9,10 @@ TypeScript Fulmen helper library for enterprise-scale development.
|
|
|
9
9
|
## Status
|
|
10
10
|
|
|
11
11
|
**Lifecycle Phase:** `alpha` (see [`LIFECYCLE_PHASE`](LIFECYCLE_PHASE))
|
|
12
|
-
**Development Status:** ✅ v0.1.
|
|
12
|
+
**Development Status:** ✅ v0.1.10 - Fulpack archives, pathfinder repository root discovery
|
|
13
13
|
**Test Coverage:** 1638 tests passing (100% pass rate)
|
|
14
14
|
|
|
15
|
-
TSFulmen v0.1.
|
|
15
|
+
TSFulmen v0.1.10 includes security-first archive operations (fulpack) for TAR/TAR.GZ/ZIP/GZIP formats and repository root discovery (pathfinder) with boundary enforcement. See [TSFulmen Overview](docs/tsfulmen_overview.md) for roadmap.
|
|
16
16
|
|
|
17
17
|
## Features
|
|
18
18
|
|
|
@@ -3538,6 +3538,12 @@ var init_patterns = __esm({
|
|
|
3538
3538
|
compiledGlobCache = /* @__PURE__ */ new Map();
|
|
3539
3539
|
}
|
|
3540
3540
|
});
|
|
3541
|
+
function getConfigPath() {
|
|
3542
|
+
if (__dirname3.includes("/dist/")) {
|
|
3543
|
+
return join(__dirname3, "../../config/crucible-ts/library/foundry/signals.yaml");
|
|
3544
|
+
}
|
|
3545
|
+
return join(__dirname3, "../../../config/crucible-ts/library/foundry/signals.yaml");
|
|
3546
|
+
}
|
|
3541
3547
|
async function loadCatalog2() {
|
|
3542
3548
|
const filePath = SSOT_PATHS2.signals;
|
|
3543
3549
|
const catalogName = "signals";
|
|
@@ -3640,7 +3646,7 @@ var init_catalog = __esm({
|
|
|
3640
3646
|
__filename2 = fileURLToPath(import.meta.url);
|
|
3641
3647
|
__dirname3 = dirname(__filename2);
|
|
3642
3648
|
SSOT_PATHS2 = {
|
|
3643
|
-
signals:
|
|
3649
|
+
signals: getConfigPath()
|
|
3644
3650
|
};
|
|
3645
3651
|
SCHEMA_ID = "library/foundry/v1.0.0/signals";
|
|
3646
3652
|
cachedCatalog = null;
|