{"_id":"@commerce-klaus/sfcc-module-resolver","_rev":"12-5268ad1bd1c5e37f4f6c392a1d784400","name":"@commerce-klaus/sfcc-module-resolver","dist-tags":{"latest":"1.9.0"},"versions":{"0.1.0":{"name":"@commerce-klaus/sfcc-module-resolver","version":"0.1.0","keywords":["cartridge","commercecloud","demandware","resolver","salesforce","sfcc"],"author":{"name":"Jens Simon","email":"https://github.com/jenssimon"},"license":"MIT","_id":"@commerce-klaus/sfcc-module-resolver@0.1.0","maintainers":[{"name":"jenssimon","email":"jens.simon80@googlemail.com"}],"homepage":"https://github.com/commerce-klaus/commerce-klaus/tree/main/packages/sfcc-module-resolver#readme","bugs":{"url":"https://github.com/commerce-klaus/commerce-klaus/issues"},"dist":{"shasum":"8ca4148ca39a15de5413efaee4b0c2c6e6396653","tarball":"https://registry.npmjs.org/@commerce-klaus/sfcc-module-resolver/-/sfcc-module-resolver-0.1.0.tgz","fileCount":6,"integrity":"sha512-C3ychQFLqMKSNhvQVDBDo+5VYrS0Kx+fn6dQIYy2xHzqbtwjSp6FgQwLE9wHlC0Mr84UsdrKIFyKKFmES9FMqg==","signatures":[{"sig":"MEUCIQCZ+bzLAYqji3sAVWgUowo0aDqGq1v8Vroa5KBbnmwYMQIgb9KmlNcEBTOFtl9916l46s17JzONNcrRthYnZOF/YlM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":33032},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"c70fe9b0999dbe0dc783cfe32933907ef4146bed","scripts":{"test":"vp test","build":"vp pack","check":"vp check","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"jenssimon","email":"jens.simon80@googlemail.com"},"repository":{"url":"git+https://github.com/commerce-klaus/commerce-klaus.git","type":"git","directory":"packages/sfcc-module-resolver"},"_npmVersion":"11.16.0","description":"Shared SFCC cartridge path and module resolution utilities","directories":{},"_nodeVersion":"24.18.0","dependencies":{"fast-xml-parser":"^5.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org","provenance":true},"_hasShrinkwrap":false,"packageManager":"pnpm@11.10.0","devDependencies":{"vite-plus":"catalog:","typescript":"npm:@typescript/typescript6@^6.0.2","@types/node":"catalog:","@typescript/native-preview":"catalog:"},"_npmOperationalInternal":{"tmp":"tmp/sfcc-module-resolver_0.1.0_1783680549266_0.6930075811511314","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@commerce-klaus/sfcc-module-resolver","version":"1.0.0","keywords":["cartridge","commercecloud","demandware","resolver","salesforce","sfcc"],"author":"Jens Simon <https://github.com/jenssimon>","license":"MIT","_id":"@commerce-klaus/sfcc-module-resolver@1.0.0","maintainers":[{"name":"jenssimon","email":"jens.simon80@googlemail.com"}],"homepage":"https://github.com/commerce-klaus/commerce-klaus/tree/main/packages/sfcc-module-resolver#readme","bugs":{"url":"https://github.com/commerce-klaus/commerce-klaus/issues"},"dist":{"shasum":"8584c115a455b7038b0d5e04794d91231be72542","tarball":"https://registry.npmjs.org/@commerce-klaus/sfcc-module-resolver/-/sfcc-module-resolver-1.0.0.tgz","fileCount":7,"integrity":"sha512-31xzwp2bueuIpCrgtaGG1qtBqytWQI8liDBUwzvwHeBLinauo0FPkSutlK3iOBsHFBpr4WnRw2Gkpf9mQdS8fg==","signatures":[{"sig":"MEUCIQCzlhZkO/GqcTg22O4y0tUvNdx0XnbK9bmwC012zFZ5DQIgZEshgzUHcmf29DndfN5GKMLi+lZygMJh7ZZuNJbUIr0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@commerce-klaus%2fsfcc-module-resolver@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":35477},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"test":"vp test","build":"vp pack","check":"vp check"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c8d1d4f7-d244-4d7b-b522-21af54c48959"}},"repository":{"url":"https://github.com/commerce-klaus/commerce-klaus","type":"git","directory":"packages/sfcc-module-resolver"},"description":"Shared SFCC cartridge path and module resolution utilities","directories":{},"_nodeVersion":"24.18.0","dependencies":{"fast-xml-parser":"^5.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vite-plus":"latest","typescript":"npm:@typescript/typescript6@^6.0.2","@types/node":"^24"},"_npmOperationalInternal":{"tmp":"tmp/sfcc-module-resolver_1.0.0_1783942086757_0.316251222377522","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@commerce-klaus/sfcc-module-resolver","version":"1.1.0","keywords":["cartridge","commercecloud","demandware","resolver","salesforce","sfcc"],"author":"Jens Simon <https://github.com/jenssimon>","license":"MIT","_id":"@commerce-klaus/sfcc-module-resolver@1.1.0","maintainers":[{"name":"jenssimon","email":"jens.simon80@googlemail.com"}],"homepage":"https://github.com/commerce-klaus/commerce-klaus/tree/main/packages/sfcc-module-resolver#readme","bugs":{"url":"https://github.com/commerce-klaus/commerce-klaus/issues"},"dist":{"shasum":"0fba55ad3ae7a0b4e489eb736a4d71e35f902910","tarball":"https://registry.npmjs.org/@commerce-klaus/sfcc-module-resolver/-/sfcc-module-resolver-1.1.0.tgz","fileCount":7,"integrity":"sha512-SslRxiJi33QucspQWvRapi6QOidnHkI/GyqnxTgrmYvW1X+5raHDHKaeCyYbnu9iSVdMXBQKUyUsDcY8iflXWA==","signatures":[{"sig":"MEUCIQDRR7rZnCg3z01CTir0rjFXluVKYYBAjgtgs9WGjhvixgIgPAv1wvru1aQnEJXA7VRG7WbI/hlfkAYihGfISjqPGhY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@commerce-klaus%2fsfcc-module-resolver@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":38866},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"test":"vp test","build":"vp pack","check":"vp check"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c8d1d4f7-d244-4d7b-b522-21af54c48959"}},"repository":{"url":"https://github.com/commerce-klaus/commerce-klaus","type":"git","directory":"packages/sfcc-module-resolver"},"description":"Shared SFCC cartridge path and module resolution utilities","directories":{},"_nodeVersion":"24.19.0","dependencies":{"fast-xml-parser":"^5.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vite-plus":"latest","typescript":"npm:@typescript/typescript6@^6.0.2","@types/node":"^24"},"_npmOperationalInternal":{"tmp":"tmp/sfcc-module-resolver_1.1.0_1787060224411_0.7834823850375154","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@commerce-klaus/sfcc-module-resolver","version":"1.2.0","keywords":["cartridge","commercecloud","demandware","resolver","salesforce","sfcc"],"author":"Jens Simon <https://github.com/jenssimon>","license":"MIT","_id":"@commerce-klaus/sfcc-module-resolver@1.2.0","maintainers":[{"name":"jenssimon","email":"jens.simon80@googlemail.com"}],"homepage":"https://github.com/commerce-klaus/commerce-klaus/tree/main/packages/sfcc-module-resolver#readme","bugs":{"url":"https://github.com/commerce-klaus/commerce-klaus/issues"},"dist":{"shasum":"e6e22084916a78b133d26055ac39fe2ba8e495eb","tarball":"https://registry.npmjs.org/@commerce-klaus/sfcc-module-resolver/-/sfcc-module-resolver-1.2.0.tgz","fileCount":7,"integrity":"sha512-HFAE41pWy2vsdadxVW0aTeFxk1ZRAg/ceB/w+eAi0vBSVFKcYVQj+KF719FIdAvGF3z0XoMJqsdCWnMZl9qg5w==","signatures":[{"sig":"MEUCIFwtDeSmZ+qmcqSCnMyi/18sZ9ZQ2ywSY3sYpmwSurTfAiEAuSP2xKCJKHbYGKSZZ8v7kkKxZ64+Nn8tPq0dqf5gRCU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@commerce-klaus%2fsfcc-module-resolver@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":48661},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"test":"vp test","build":"vp pack","check":"vp check"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c8d1d4f7-d244-4d7b-b522-21af54c48959"}},"repository":{"url":"https://github.com/commerce-klaus/commerce-klaus","type":"git","directory":"packages/sfcc-module-resolver"},"description":"Shared SFCC cartridge path and module resolution utilities","directories":{},"_nodeVersion":"24.20.0","dependencies":{"fast-xml-parser":"^5.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vite-plus":"latest","typescript":"npm:@typescript/typescript6@^6.0.2","@types/node":"^24"},"_npmOperationalInternal":{"tmp":"tmp/sfcc-module-resolver_1.2.0_1787813945345_0.1928751062908003","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@commerce-klaus/sfcc-module-resolver","version":"1.3.0","keywords":["cartridge","commercecloud","demandware","resolver","salesforce","sfcc"],"author":"Jens Simon <https://github.com/jenssimon>","license":"MIT","_id":"@commerce-klaus/sfcc-module-resolver@1.3.0","maintainers":[{"name":"jenssimon","email":"jens.simon80@googlemail.com"}],"homepage":"https://commerce-klaus.github.io/commerce-klaus/packages/sfcc-module-resolver/","bugs":{"url":"https://github.com/commerce-klaus/commerce-klaus/issues"},"dist":{"shasum":"841d6c905b0ef9648565036849441e99c585bf7b","tarball":"https://registry.npmjs.org/@commerce-klaus/sfcc-module-resolver/-/sfcc-module-resolver-1.3.0.tgz","fileCount":7,"integrity":"sha512-M6DcW0lvBFAdXbMTv01C6q9AOCBqoECKGKbScgVwCQtFLW6LviB5YawtHraRCnCiMMfM3ydtCBJLkLl5yBEXug==","signatures":[{"sig":"MEYCIQDFxL8A/kwHnH/+nLbXRk8eckHd59B9/ipeYdhIm9VkfgIhALcY8vWK97IDHVsWoJ8WEDCz/tuGDRrjvxf7yw+uO5fs","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@commerce-klaus%2fsfcc-module-resolver@1.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":61675},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"test":"vp test","build":"vp pack","check":"vp check"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c8d1d4f7-d244-4d7b-b522-21af54c48959"}},"repository":{"url":"https://github.com/commerce-klaus/commerce-klaus","type":"git","directory":"packages/sfcc-module-resolver"},"description":"Shared SFCC cartridge path and module resolution utilities","directories":{},"_nodeVersion":"24.20.0","dependencies":{"yaml":"^2.9.0","fast-xml-parser":"^5.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vite-plus":"latest","typescript":"npm:@typescript/typescript6@^6.0.2","@types/node":"^24"},"_npmOperationalInternal":{"tmp":"tmp/sfcc-module-resolver_1.3.0_1788093714382_0.6141325532574278","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@commerce-klaus/sfcc-module-resolver","version":"1.4.0","keywords":["cartridge","commercecloud","demandware","resolver","salesforce","sfcc"],"author":"Jens Simon <https://github.com/jenssimon>","license":"MIT","_id":"@commerce-klaus/sfcc-module-resolver@1.4.0","maintainers":[{"name":"jenssimon","email":"jens.simon80@googlemail.com"}],"homepage":"https://commerce-klaus.github.io/commerce-klaus/packages/sfcc-module-resolver/","bugs":{"url":"https://github.com/commerce-klaus/commerce-klaus/issues"},"dist":{"shasum":"fa9bf9a4e8e586c33cd5915b2e4294e63de4a380","tarball":"https://registry.npmjs.org/@commerce-klaus/sfcc-module-resolver/-/sfcc-module-resolver-1.4.0.tgz","fileCount":7,"integrity":"sha512-9875FjC9f7ehmEXn+Jx4EY1/1Vr0BiE6T/jIOJUgLG3FH6kjKrd6Mjsc3pUPoYnud51zAqawAA5362h7KC1FOg==","signatures":[{"sig":"MEUCIAJ5MoxQrB0YLmJPupEOMdlDSoSy/6tgQ87WP2rmCHBGAiEA/yNQMOiW2zz02lF5Hc8KK9vTxqzqYhnwUaE+xKV+FtE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@commerce-klaus%2fsfcc-module-resolver@1.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":62307},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"test":"vp test","build":"vp pack","check":"vp check"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c8d1d4f7-d244-4d7b-b522-21af54c48959"}},"repository":{"url":"https://github.com/commerce-klaus/commerce-klaus","type":"git","directory":"packages/sfcc-module-resolver"},"description":"Shared SFCC cartridge path and module resolution utilities","directories":{},"_nodeVersion":"24.20.0","dependencies":{"yaml":"^2.9.0","fast-xml-parser":"^5.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vite-plus":"latest","typescript":"npm:@typescript/typescript6@^6.0.2","@types/node":"^24"},"_npmOperationalInternal":{"tmp":"tmp/sfcc-module-resolver_1.4.0_1788342566486_0.2383738201454788","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"@commerce-klaus/sfcc-module-resolver","version":"1.5.0","keywords":["cartridge","commercecloud","demandware","resolver","salesforce","sfcc"],"author":"Jens Simon <https://github.com/jenssimon>","license":"MIT","_id":"@commerce-klaus/sfcc-module-resolver@1.5.0","maintainers":[{"name":"jenssimon","email":"jens.simon80@googlemail.com"}],"homepage":"https://commerce-klaus.github.io/commerce-klaus/packages/sfcc-module-resolver/","bugs":{"url":"https://github.com/commerce-klaus/commerce-klaus/issues"},"dist":{"shasum":"f2f0bc2c17ba68f8ec16721796c7773c0f6af66b","tarball":"https://registry.npmjs.org/@commerce-klaus/sfcc-module-resolver/-/sfcc-module-resolver-1.5.0.tgz","fileCount":7,"integrity":"sha512-f2UklCSHhKPjLiVvL0pWB4HqeCcHkkVc4nWzuX1XQiiLvjcOmo2UjfgfHRAlKanQ0CRdYGGWou9FMD3SsocRRw==","signatures":[{"sig":"MEUCIAcmU1P4U3lT48NwJLoOrfkXHR7TDOJ/RD+xIu0Xz7eiAiEA9ZJ+M1mDdxIyZGSbMx/5Y8FBG26QhTz0mc+jVqDFPiE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@commerce-klaus%2fsfcc-module-resolver@1.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":83035},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"test":"vp test","build":"vp pack","check":"vp check"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c8d1d4f7-d244-4d7b-b522-21af54c48959"}},"repository":{"url":"https://github.com/commerce-klaus/commerce-klaus","type":"git","directory":"packages/sfcc-module-resolver"},"description":"Shared SFCC cartridge path and module resolution utilities","directories":{},"_nodeVersion":"24.20.0","dependencies":{"yaml":"^2.9.0","fast-xml-parser":"^5.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vite-plus":"latest","typescript":"npm:@typescript/typescript6@^6.0.2","@types/node":"^24"},"_npmOperationalInternal":{"tmp":"tmp/sfcc-module-resolver_1.5.0_1788509277550_0.8540161493191489","host":"s3://npm-registry-packages-npm-production"}},"1.6.0":{"name":"@commerce-klaus/sfcc-module-resolver","version":"1.6.0","keywords":["cartridge","commercecloud","demandware","resolver","salesforce","sfcc"],"author":"Jens Simon <https://github.com/jenssimon>","license":"MIT","_id":"@commerce-klaus/sfcc-module-resolver@1.6.0","maintainers":[{"name":"jenssimon","email":"jens.simon80@googlemail.com"}],"homepage":"https://commerce-klaus.github.io/commerce-klaus/packages/sfcc-module-resolver/","bugs":{"url":"https://github.com/commerce-klaus/commerce-klaus/issues"},"dist":{"shasum":"c0979c90349b663e46fd8ef62f9466493328a2d7","tarball":"https://registry.npmjs.org/@commerce-klaus/sfcc-module-resolver/-/sfcc-module-resolver-1.6.0.tgz","fileCount":7,"integrity":"sha512-w2Si+OtafyAkwWD7XOwsL6NAH1BJcWcWJJd8TXoicEpRjePa6U8CYNMy5nCtztvwDJUdbn1m/6k2vE8cwMDLOQ==","signatures":[{"sig":"MEUCIQCwE6BgttT4vh6OhhYuefylPSHa+h9XnB9nX5Dq8RLXRgIgC9ptjEvf80Rh0cVXmWSougrKyKwxWzfB3Ll1hU/DtMU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@commerce-klaus%2fsfcc-module-resolver@1.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":84523},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"test":"vp test","build":"vp pack","check":"vp check"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c8d1d4f7-d244-4d7b-b522-21af54c48959"}},"repository":{"url":"https://github.com/commerce-klaus/commerce-klaus","type":"git","directory":"packages/sfcc-module-resolver"},"description":"Shared SFCC cartridge path and module resolution utilities","directories":{},"dependencies":{"yaml":"^2.9.0","fast-xml-parser":"^5.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vite-plus":"latest","typescript":"npm:@typescript/typescript6@^6.0.2","@types/node":"^24"},"_npmOperationalInternal":{"tmp":"tmp/sfcc-module-resolver_1.6.0_1788772621294_0.4362444941149204","host":"s3://npm-registry-packages-npm-production"}},"1.7.0":{"name":"@commerce-klaus/sfcc-module-resolver","version":"1.7.0","keywords":["cartridge","commercecloud","demandware","resolver","salesforce","sfcc"],"author":"Jens Simon <https://github.com/jenssimon>","license":"MIT","_id":"@commerce-klaus/sfcc-module-resolver@1.7.0","maintainers":[{"name":"jenssimon","email":"jens.simon80@googlemail.com"}],"homepage":"https://commerce-klaus.github.io/commerce-klaus/packages/sfcc-module-resolver/","bugs":{"url":"https://github.com/commerce-klaus/commerce-klaus/issues"},"dist":{"shasum":"8a228f141c89261bf66ec2639fe4036e85d6417d","tarball":"https://registry.npmjs.org/@commerce-klaus/sfcc-module-resolver/-/sfcc-module-resolver-1.7.0.tgz","fileCount":7,"integrity":"sha512-CtZTv2uwgCep85M09reSOXvqJz8L2U0XdqZD2sO/0cXYzKzDRIPdNEq1VF/UR6Y9MSRLLJ9qRgF1KnX0nf8YqQ==","signatures":[{"sig":"MEQCIGRQ5Qp8nxZlqJO+P/gjmLAauCda/NM1nTW3SXVsT6r0AiBSnQUlJy+AdjHMHKf4NBnH73Gx3Sbdgj+gLRfEqL0J6Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@commerce-klaus%2fsfcc-module-resolver@1.7.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":83846},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"test":"vp test","build":"vp pack","check":"vp check"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c8d1d4f7-d244-4d7b-b522-21af54c48959"}},"repository":{"url":"https://github.com/commerce-klaus/commerce-klaus","type":"git","directory":"packages/sfcc-module-resolver"},"description":"Shared SFCC cartridge path and module resolution utilities","directories":{},"dependencies":{"yaml":"^2.9.0","fast-xml-parser":"^5.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vite-plus":"latest","typescript":"npm:@typescript/typescript6@^6.0.2","@types/node":"^24"},"_npmOperationalInternal":{"tmp":"tmp/sfcc-module-resolver_1.7.0_1789052795811_0.455827197554977","host":"s3://npm-registry-packages-npm-production"}},"1.8.0":{"name":"@commerce-klaus/sfcc-module-resolver","version":"1.8.0","keywords":["cartridge","commercecloud","demandware","resolver","salesforce","sfcc"],"author":"Jens Simon <https://github.com/jenssimon>","license":"MIT","_id":"@commerce-klaus/sfcc-module-resolver@1.8.0","maintainers":[{"name":"jenssimon","email":"jens.simon80@googlemail.com"}],"homepage":"https://commerce-klaus.github.io/commerce-klaus/packages/sfcc-module-resolver/","bugs":{"url":"https://github.com/commerce-klaus/commerce-klaus/issues"},"dist":{"shasum":"1cf6a052218ed06356470d68f9cda2c6c5b5d601","tarball":"https://registry.npmjs.org/@commerce-klaus/sfcc-module-resolver/-/sfcc-module-resolver-1.8.0.tgz","fileCount":7,"integrity":"sha512-aUIyvUMeIFhJtKltE4TDNYWdF64Fv1D0Pl7GGkVoNj7UVxC3FZ8BpK+jo4l8lbdSpDZc8c4cJmuBwlnDaIMOjw==","signatures":[{"sig":"MEYCIQCFNOxHESVcAnWkuld6RaGuKkrZFbPVgA49ypn1g5q2pAIhAMGztcIsjendjbu8beNew8j/75qvimwn1+ZaUuGRaE3B","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIH8hA2lY7gVT4E13DZQRnZCkOWCzk2+TVfQ8zFX8KRlZAiEAszNcupTIcyqhDy3+23s0+hwpw1EpENYqD4jnyzrGiwc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@commerce-klaus%2fsfcc-module-resolver@1.8.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":143371},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"test":"vp test","build":"vp pack","check":"vp check"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c8d1d4f7-d244-4d7b-b522-21af54c48959"}},"repository":{"url":"https://github.com/commerce-klaus/commerce-klaus","type":"git","directory":"packages/sfcc-module-resolver"},"description":"Shared SFCC cartridge path and module resolution utilities","directories":{},"dependencies":{"yaml":"^2.9.0","acorn":"^8.18.0","acorn-walk":"^8.3.5","fast-xml-parser":"^5.8.0","@commerce-klaus/config":"^1.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vite-plus":"latest","typescript":"npm:@typescript/typescript6@^6.0.2","@types/node":"^24"},"_npmOperationalInternal":{"tmp":"tmp/sfcc-module-resolver_1.8.0_1789727288997_0.6351547836061808","host":"s3://npm-registry-packages-npm-production"}},"1.8.1":{"name":"@commerce-klaus/sfcc-module-resolver","version":"1.8.1","keywords":["cartridge","commercecloud","demandware","resolver","salesforce","sfcc"],"author":"Jens Simon <https://github.com/jenssimon>","license":"MIT","_id":"@commerce-klaus/sfcc-module-resolver@1.8.1","maintainers":[{"name":"jenssimon","email":"jens.simon80@googlemail.com"}],"homepage":"https://commerce-klaus.github.io/commerce-klaus/packages/sfcc-module-resolver/","bugs":{"url":"https://github.com/commerce-klaus/commerce-klaus/issues"},"dist":{"shasum":"888d3fd37c7b17c2ac6722c86c232cb6f1f31499","tarball":"https://registry.npmjs.org/@commerce-klaus/sfcc-module-resolver/-/sfcc-module-resolver-1.8.1.tgz","fileCount":7,"integrity":"sha512-mm1eC9vwqp/jsvYiMCEFdX6gYy+Ka6xnwjPHYh1qb/LgFECpKQXEwioeTWX2k7hoXvUDIXiNozsDPO5f7T+sPQ==","signatures":[{"sig":"MEUCIFIExJh8gLOYXmmzJQCOTtiMyDN+H25XKp6XGQXLZPnEAiEAqYuIeBgapfcm17rOnB4MkgBPvwUK6JU3A53/cKbKbEU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIB3YmGjJ6ANigcAYi9BE6LigKWL5a1jPpGkco+KwXg6PAiAEmhNuZC7Y/ai78kSQOVYGnttxe94uwv3R8r69DLQN4g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@commerce-klaus%2fsfcc-module-resolver@1.8.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":145573},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"test":"vp test","build":"vp pack","check":"vp check"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c8d1d4f7-d244-4d7b-b522-21af54c48959"}},"repository":{"url":"https://github.com/commerce-klaus/commerce-klaus","type":"git","directory":"packages/sfcc-module-resolver"},"description":"Shared SFCC cartridge path and module resolution utilities","directories":{},"dependencies":{"yaml":"^2.9.0","acorn":"^8.18.0","acorn-walk":"^8.3.5","fast-xml-parser":"^5.8.0","@commerce-klaus/config":"^1.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vite-plus":"latest","typescript":"npm:@typescript/typescript6@^6.0.2","@types/node":"^24"},"_npmOperationalInternal":{"tmp":"tmp/sfcc-module-resolver_1.8.1_1790372268054_0.6764661925795654","host":"s3://npm-registry-packages-npm-production"}},"1.9.0":{"_id":"@commerce-klaus/sfcc-module-resolver@1.9.0","bugs":{"url":"https://github.com/commerce-klaus/commerce-klaus/issues"},"dist":{"shasum":"6e278dd99bd3862cbc6b4012163267ddcc615c9b","tarball":"https://registry.npmjs.org/@commerce-klaus/sfcc-module-resolver/-/sfcc-module-resolver-1.9.0.tgz","fileCount":7,"integrity":"sha512-xbL7iN9ldCRPasBnqTIwyZb4g6scqqhSuYlUyr7QlQcrDdFX0/MBCAHYsS0xjVxnFPV6FiTDZnFPUK09Itw0Yw==","signatures":[{"sig":"MEUCICSipjupTavN4trVAqutblsnC2mIGcOmQOw052iz44QPAiEA85FS5cJEjBoyA6od+oQ8sc/+fqxZXmkoa2210gj2DaY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD21q1oyfbtfTECcf7jQC9rYNlD2o0snKYaygiqswpNLgIgffnpWH8IdtHObjC0nLTnv1KkQBIwK1r37rvM4a/2vTY="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@commerce-klaus%2fsfcc-module-resolver@1.9.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":146947},"main":"./dist/index.cjs","name":"@commerce-klaus/sfcc-module-resolver","type":"module","types":"./dist/index.d.mts","author":"Jens Simon <https://github.com/jenssimon>","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./package.json":"./package.json"},"license":"MIT","scripts":{"test":"vp test","build":"vp pack","check":"vp check"},"version":"1.9.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c8d1d4f7-d244-4d7b-b522-21af54c48959"}},"homepage":"https://commerce-klaus.github.io/commerce-klaus/packages/sfcc-module-resolver/","keywords":["cartridge","commercecloud","demandware","resolver","salesforce","sfcc"],"repository":{"url":"https://github.com/commerce-klaus/commerce-klaus","type":"git","directory":"packages/sfcc-module-resolver"},"description":"Shared SFCC cartridge path and module resolution utilities","directories":{},"maintainers":[{"name":"jenssimon","email":"jens.simon80@googlemail.com"}],"dependencies":{"yaml":"^2.9.0","acorn":"^8.18.0","acorn-walk":"^8.3.5","fast-xml-parser":"^5.8.0","@commerce-klaus/config":"^1.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vite-plus":"latest","typescript":"npm:@typescript/typescript6@^6.0.2","@types/node":"^24"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sfcc-module-resolver_1.9.0_1790577548302_0.8621284401580196"}}},"time":{"created":"2026-07-10T10:49:09.097Z","modified":"2026-09-28T06:39:08.682Z","0.1.0":"2026-07-10T10:49:09.499Z","1.0.0":"2026-07-13T11:28:06.903Z","1.1.0":"2026-08-18T13:37:04.564Z","1.2.0":"2026-08-27T06:59:05.489Z","1.3.0":"2026-08-30T12:41:54.507Z","1.4.0":"2026-09-02T09:49:26.628Z","1.5.0":"2026-09-04T08:07:57.684Z","1.6.0":"2026-09-07T09:17:01.423Z","1.7.0":"2026-09-10T15:06:35.966Z","1.8.0":"2026-09-18T10:28:09.089Z","1.8.1":"2026-09-25T21:37:48.151Z","1.9.0":"2026-09-28T06:39:08.388Z"},"bugs":{"url":"https://github.com/commerce-klaus/commerce-klaus/issues"},"author":"Jens Simon <https://github.com/jenssimon>","license":"MIT","homepage":"https://commerce-klaus.github.io/commerce-klaus/packages/sfcc-module-resolver/","keywords":["cartridge","commercecloud","demandware","resolver","salesforce","sfcc"],"repository":{"url":"https://github.com/commerce-klaus/commerce-klaus","type":"git","directory":"packages/sfcc-module-resolver"},"description":"Shared SFCC cartridge path and module resolution utilities","maintainers":[{"name":"jenssimon","email":"jens.simon80@googlemail.com"}],"readme":"[![NPM version][npm-image]][npm-url] [![Downloads][npm-downloads-image]][npm-url]\n\n# @commerce-klaus/sfcc-module-resolver\n\nShared Node.js utilities for SFCC cartridge order, module resolution, super modules, and hook registrations. Most projects use it indirectly through the Commerce Klaus ESLint, TypeScript, Vite, or Babel packages.\n\n## Highlights\n\n- Infers cartridge order from configuration, environment, `jsconfig`, or `site.xml`\n- Resolves `*/`, `~/`, cartridge aliases, and `module.superModule`\n- Explains resolution with every attempted file path and the selected match\n- Provides deterministic filesystem helpers for SFCC-aware tooling\n- Reads and resolves cartridge hook registrations\n- Discovers effective hook scripts in cartridge-path order\n- Reads job step definitions, parameters, status codes, execution capabilities, and task timeouts from `steptypes.json`\n- Validates hook, job step, and Custom API contracts with structured diagnostics\n- Builds deterministic project graphs for cartridge precedence, super modules, SFRA controller\n  routes, effective middleware pipelines, and metadata contracts\n\n`SfccModuleResolutionOptions` is the shared configuration type used by the Vite\nand Vitest adapters. `ResolveCartridgeRootsOptions` extends it with the\nresolver-only `containingFile` option.\n\nProjects can put shared options in `commerce-klaus.config.ts` or\n`commerce-klaus.config.js`. Package options remain supported and override the\ncentral values. The public configuration contract lives in\n`@commerce-klaus/config`; see the [project configuration guide](https://commerce-klaus.github.io/commerce-klaus/guide/project-configuration).\n\n## Install\n\n```bash [pnpm]\npnpm add @commerce-klaus/sfcc-module-resolver\n```\n\n```bash [yarn]\nyarn add @commerce-klaus/sfcc-module-resolver\n```\n\n```bash [npm]\nnpm install @commerce-klaus/sfcc-module-resolver\n```\n\n```bash [Vite+]\nvp install @commerce-klaus/sfcc-module-resolver\n```\n\n```ts\nimport { createSfccModuleResolver, inferCartridgeOrder } from \"@commerce-klaus/sfcc-module-resolver\"\n\nconst cartridgeRoots = inferCartridgeOrder({ cartridgesDir: \"cartridges\" })\nconst resolveSfccModule = createSfccModuleResolver(cartridgeRoots)\n```\n\nInspect the exact lookup path without changing resolution behavior:\n\n```ts\nimport { explainSfccModuleResolution } from \"@commerce-klaus/sfcc-module-resolver\"\n\nconst trace = explainSfccModuleResolution(\n  \"*/cartridge/models/product\",\n  importingFile,\n  cartridgeRoots,\n)\n```\n\nValidate metadata contracts without changing the resolver's tolerant lookup\nbehavior:\n\n```ts\nimport { validateSfccProject } from \"@commerce-klaus/sfcc-module-resolver\"\n\nconst result = validateSfccProject({\n  cartridgesDir: \"cartridges\",\n  cartridgeRoots,\n})\n```\n\nParse `steptypes.json` incrementally when an integration needs diagnostics for\nindividual definitions without hiding valid sibling entries:\n\n```ts\nimport { parseStepTypeDefinitionsFromDocument } from \"@commerce-klaus/sfcc-module-resolver\"\n\nconst { definitions, diagnostics } = parseStepTypeDefinitionsFromDocument(document)\n```\n\nBuild a project relationship graph for JSON, text, or Graphviz consumers:\n\n```ts\nimport {\n  createSfccProjectGraph,\n  diffSfccProjectGraphs,\n  filterSfccProjectGraph,\n} from \"@commerce-klaus/sfcc-module-resolver\"\n\nconst graph = createSfccProjectGraph({\n  cartridgesDir: \"cartridges\",\n  cartridgePath: [\"app_custom\", \"app_storefront_base\"],\n})\n\nconst productRouteGraph = filterSfccProjectGraph(graph, {\n  focus: \"Product-Show\",\n  direction: \"dependencies\",\n})\n\nconst comparisonGraph = createSfccProjectGraph({\n  cartridgesDir: \"cartridges\",\n  cartridgePath: [\"app_campaign\", \"app_custom\", \"app_storefront_base\"],\n})\nconst graphDiff = diffSfccProjectGraphs(graph, comparisonGraph)\n```\n\nThe graph links SFRA controllers to statically named `server.get()`,\n`server.post()`, `server.prepend()`, `server.append()`, and `server.replace()`\nroutes. For inherited controllers, it also composes the effective middleware\npipeline in execution order, including replaced routes. Dynamic route names\nare left out rather than guessed. Custom API nodes link to both their OpenAPI\nschema and resolved implementation script, with the matching HTTP method and\npath represented as the request entry point.\n`filterSfccProjectGraph()` matches node IDs, labels, and paths\ncase-insensitively. It follows outgoing dependencies by default and supports\n`dependents` or `both` traversal with an optional maximum depth.\n`diffSfccProjectGraphs()` compares two deterministic graphs and reports added,\nremoved, and changed nodes and relationships while retaining both source\ngraphs for structured consumers.\n\n## Documentation\n\nSee the [complete API and resolution reference](https://commerce-klaus.github.io/commerce-klaus/packages/sfcc-module-resolver/).\n\n## License\n\nMIT\n\n[npm-url]: https://www.npmjs.com/package/@commerce-klaus/sfcc-module-resolver\n[npm-image]: https://badgen.net/npm/v/@commerce-klaus/sfcc-module-resolver\n[npm-downloads-image]: https://badgen.net/npm/dw/@commerce-klaus/sfcc-module-resolver\n","readmeFilename":""}