{"_id":"@commerce-klaus/vitest-sfcc","_rev":"8-ed1869e80b439b19337edb7932659ddd","name":"@commerce-klaus/vitest-sfcc","dist-tags":{"latest":"1.0.3"},"versions":{"0.0.1":{"name":"@commerce-klaus/vitest-sfcc","version":"0.0.1","keywords":["cartridge","commercecloud","mocking","salesforce","sfcc","vitest"],"author":"Jens Simon <https://github.com/jenssimon>","license":"MIT","_id":"@commerce-klaus/vitest-sfcc@0.0.1","maintainers":[{"name":"jenssimon","email":"jens.simon80@googlemail.com"}],"homepage":"https://commerce-klaus.github.io/commerce-klaus/packages/vitest-sfcc/","bugs":{"url":"https://github.com/commerce-klaus/commerce-klaus/issues"},"dist":{"shasum":"3702ac7fddb1dd1c5eaa703960f932b360b261de","tarball":"https://registry.npmjs.org/@commerce-klaus/vitest-sfcc/-/vitest-sfcc-0.0.1.tgz","fileCount":11,"integrity":"sha512-beYKTgeVxKwxR5SXhmbrOiyG2JHCqxuBiknBT3lPUZcionzCbCHihEa08ZoEUEsReVsMX4p26huKkfbCp/pv2Q==","signatures":[{"sig":"MEYCIQDx+9ONCfoULqU3mHcQnDJm1r2jmtb3ax2T2kmptKb0xwIhAPELBR/kSx8riU9PDKQ8rRn6SRgW7lKC9t1+5iyCl+wE","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":50727},"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"},"./runtime":{"types":"./dist/runtime.d.mts","import":"./dist/runtime.mjs","require":"./dist/runtime.cjs"},"./package.json":"./package.json"},"scripts":{"test":"vp test","build":"vp pack","check":"vp check"},"_npmUser":{"name":"jenssimon","email":"jens.simon80@googlemail.com"},"repository":{"url":"https://github.com/commerce-klaus/commerce-klaus","type":"git","directory":"packages/vitest-sfcc"},"description":"Cartridge-aware SFCC runtime and dependency mocking for Vitest","directories":{},"_nodeVersion":"24.20.0","dependencies":{"acorn":"^8.15.0","acorn-walk":"^8.3.4","@commerce-klaus/sfcc-test-runtime":"0.0.1","@commerce-klaus/sfcc-module-resolver":"1.4.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"},"peerDependencies":{"vite":">=5.0.0","vitest":">=2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vitest-sfcc_0.0.1_1788438972107_0.5939709349719813","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@commerce-klaus/vitest-sfcc","version":"0.2.0","keywords":["cartridge","commercecloud","mocking","salesforce","sfcc","vitest"],"author":"Jens Simon <https://github.com/jenssimon>","license":"MIT","_id":"@commerce-klaus/vitest-sfcc@0.2.0","maintainers":[{"name":"jenssimon","email":"jens.simon80@googlemail.com"}],"homepage":"https://commerce-klaus.github.io/commerce-klaus/packages/vitest-sfcc/","bugs":{"url":"https://github.com/commerce-klaus/commerce-klaus/issues"},"dist":{"shasum":"01f87d432f5a49d6b73b7c95a7ce6460bbbb97b1","tarball":"https://registry.npmjs.org/@commerce-klaus/vitest-sfcc/-/vitest-sfcc-0.2.0.tgz","fileCount":11,"integrity":"sha512-er11zMH4SsO7ObBZRF5ij5Jy7hf/EbSdLHBSHZwdKd3oTTLxG+YG6IyJRPJwGwS039Yu1WnlLxYbM4kgtwEsuQ==","signatures":[{"sig":"MEUCIDx1PCeqCYj1PBfau+2h0IgM73tDlII9DRupUK/iOXZRAiEAoZQfcW0JtF5yXE8mUANhyOzM5UY3BSnVByBHv/D8YUQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@commerce-klaus%2fvitest-sfcc@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":51043},"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"},"./runtime":{"types":"./dist/runtime.d.mts","import":"./dist/runtime.mjs","require":"./dist/runtime.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:d891c4d5-a579-487e-8afe-b81362b86e56"}},"repository":{"url":"https://github.com/commerce-klaus/commerce-klaus","type":"git","directory":"packages/vitest-sfcc"},"description":"Cartridge-aware SFCC runtime and dependency mocking for Vitest","directories":{},"_nodeVersion":"24.20.0","dependencies":{"acorn":"^8.15.0","acorn-walk":"^8.3.4","@commerce-klaus/sfcc-test-runtime":"0.2.0","@commerce-klaus/sfcc-module-resolver":"1.5.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"},"peerDependencies":{"vite":">=5.0.0","vitest":">=2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vitest-sfcc_0.2.0_1788510508885_0.4425289358224964","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@commerce-klaus/vitest-sfcc","version":"0.3.0","keywords":["cartridge","commercecloud","mocking","salesforce","sfcc","vitest"],"author":"Jens Simon <https://github.com/jenssimon>","license":"MIT","_id":"@commerce-klaus/vitest-sfcc@0.3.0","maintainers":[{"name":"jenssimon","email":"jens.simon80@googlemail.com"}],"homepage":"https://commerce-klaus.github.io/commerce-klaus/packages/vitest-sfcc/","bugs":{"url":"https://github.com/commerce-klaus/commerce-klaus/issues"},"dist":{"shasum":"f3f8214797eb6269c7451108538e4c9fe58e6292","tarball":"https://registry.npmjs.org/@commerce-klaus/vitest-sfcc/-/vitest-sfcc-0.3.0.tgz","fileCount":11,"integrity":"sha512-Bv+3XaezvTBvQSebg7eipdpI4IVvoC0mFXTO3wxqOO0zvBdeMjKQ7/Hkk7qa8e9+m0HWhIuqBmUs/npXZ/6LUA==","signatures":[{"sig":"MEYCIQDlugXJNGbCcQbLbFP/Ewv+y0QAjv3lnyPp91eORYi+rwIhAMmVFSvbRdJk1WcNBbD4BuWQPsMeptTFd2sOAiW9jstD","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@commerce-klaus%2fvitest-sfcc@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":54627},"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"},"./runtime":{"types":"./dist/runtime.d.mts","import":"./dist/runtime.mjs","require":"./dist/runtime.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:d891c4d5-a579-487e-8afe-b81362b86e56"}},"repository":{"url":"https://github.com/commerce-klaus/commerce-klaus","type":"git","directory":"packages/vitest-sfcc"},"description":"Cartridge-aware SFCC runtime and dependency mocking for Vitest","directories":{},"dependencies":{"acorn":"^8.15.0","acorn-walk":"^8.3.4","@commerce-klaus/sfcc-test-runtime":"0.2.0","@commerce-klaus/sfcc-module-resolver":"1.6.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"},"peerDependencies":{"vite":">=5.0.0","vitest":">=2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vitest-sfcc_0.3.0_1788772631705_0.9904310961926415","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@commerce-klaus/vitest-sfcc","version":"0.4.0","keywords":["cartridge","commercecloud","mocking","salesforce","sfcc","vitest"],"author":"Jens Simon <https://github.com/jenssimon>","license":"MIT","_id":"@commerce-klaus/vitest-sfcc@0.4.0","maintainers":[{"name":"jenssimon","email":"jens.simon80@googlemail.com"}],"homepage":"https://commerce-klaus.github.io/commerce-klaus/packages/vitest-sfcc/","bugs":{"url":"https://github.com/commerce-klaus/commerce-klaus/issues"},"dist":{"shasum":"8ac0372caba8152a627f6205a97f6fd721336468","tarball":"https://registry.npmjs.org/@commerce-klaus/vitest-sfcc/-/vitest-sfcc-0.4.0.tgz","fileCount":11,"integrity":"sha512-rP0snm/cTOTxg9XhPt+NKb2eK+WiMVR+PJ+ppd+GbwIgZIFUhgs/3KgVFaaYSt4P7L1L8VwqDHNTv8yZYNifGg==","signatures":[{"sig":"MEUCIH3PXvhpHvVWsy6JR9nXxwcYg0z+nxJdRHZDnR+rUjq9AiEAmVuWJ+9wFq2z5A6/LrchkcM1GPz5Ijngs3jlYzWqVdY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@commerce-klaus%2fvitest-sfcc@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":56214},"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"},"./runtime":{"types":"./dist/runtime.d.mts","import":"./dist/runtime.mjs","require":"./dist/runtime.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:d891c4d5-a579-487e-8afe-b81362b86e56"}},"repository":{"url":"https://github.com/commerce-klaus/commerce-klaus","type":"git","directory":"packages/vitest-sfcc"},"description":"Cartridge-aware SFCC runtime and dependency mocking for Vitest","directories":{},"dependencies":{"acorn":"^8.15.0","acorn-walk":"^8.3.4","@commerce-klaus/sfcc-test-runtime":"0.2.0","@commerce-klaus/sfcc-module-resolver":"1.7.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"},"peerDependencies":{"vite":">=5.0.0","vitest":">=2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vitest-sfcc_0.4.0_1789052806537_0.5644150570572053","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@commerce-klaus/vitest-sfcc","version":"1.0.0","keywords":["cartridge","commercecloud","mocking","salesforce","sfcc","vitest"],"author":"Jens Simon <https://github.com/jenssimon>","license":"MIT","_id":"@commerce-klaus/vitest-sfcc@1.0.0","maintainers":[{"name":"jenssimon","email":"jens.simon80@googlemail.com"}],"homepage":"https://commerce-klaus.github.io/commerce-klaus/packages/vitest-sfcc/","bugs":{"url":"https://github.com/commerce-klaus/commerce-klaus/issues"},"dist":{"shasum":"fa3bfc1dabf9905bc832c711a0531b200b8653d9","tarball":"https://registry.npmjs.org/@commerce-klaus/vitest-sfcc/-/vitest-sfcc-1.0.0.tgz","fileCount":11,"integrity":"sha512-dbb8LvY5SLLudPDxFK69XtuTs7gWhObQ8/J+pvLlUemdiWp7ZkRrzQfht3viaGLtHHq+EPw8utAq0z+NESrE+g==","signatures":[{"sig":"MEYCIQCWY73vWZcfTmlxVl5zys0feYu8BGvDHX5db/TlYjb6pwIhAOXuoLck02D4OLxuI1slSLlM5sQYHhmygnshLZn89Xdb","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIGBGjVzlxYY73Q1Wpnc/T07BZCrAPPPqW3iTPOT8m6ZdAiAiFdMharIbhS9IBaJoIVYj5TGXHuRo6+aM+mjxXgS+qg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@commerce-klaus%2fvitest-sfcc@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":56256},"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"},"./runtime":{"types":"./dist/runtime.d.mts","import":"./dist/runtime.mjs","require":"./dist/runtime.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:d891c4d5-a579-487e-8afe-b81362b86e56"}},"repository":{"url":"https://github.com/commerce-klaus/commerce-klaus","type":"git","directory":"packages/vitest-sfcc"},"description":"Cartridge-aware SFCC runtime and dependency mocking for Vitest","directories":{},"dependencies":{"acorn":"^8.15.0","acorn-walk":"^8.3.4","@commerce-klaus/sfcc-test-runtime":"1.0.0","@commerce-klaus/sfcc-module-resolver":"1.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"},"peerDependencies":{"vite":">=5.0.0","vitest":">=2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vitest-sfcc_1.0.0_1789727119248_0.804013879041308","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@commerce-klaus/vitest-sfcc","version":"1.0.1","keywords":["cartridge","commercecloud","mocking","salesforce","sfcc","vitest"],"author":"Jens Simon <https://github.com/jenssimon>","license":"MIT","_id":"@commerce-klaus/vitest-sfcc@1.0.1","maintainers":[{"name":"jenssimon","email":"jens.simon80@googlemail.com"}],"homepage":"https://commerce-klaus.github.io/commerce-klaus/packages/vitest-sfcc/","bugs":{"url":"https://github.com/commerce-klaus/commerce-klaus/issues"},"dist":{"shasum":"2dceb38a8f79052739f2df689ab33e6775a6b4dc","tarball":"https://registry.npmjs.org/@commerce-klaus/vitest-sfcc/-/vitest-sfcc-1.0.1.tgz","fileCount":11,"integrity":"sha512-yBhqGVrd9ok1ZE6DaSNIx3UGlBMjI5Uq5DVfqIfyo56SrDUPcpovu6J2zok/nKqdFOeYU9LdgzJ6BdYS5inZMA==","signatures":[{"sig":"MEYCIQCyMVO9S6h9GnPQNtCTS2XlTBC63Ud05fKW0HHFJGtAQwIhAObgO7XciEQxmAX8hErjpA2FSwFI0aAoiEXOCRxhKIUm","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIH/3H2PEJRagURsc1bP1dnTfBwtwTkiqoKGCEQSzae+mAiAUoGtxga0JOQfkdE1Bau7ecr/yA2WzJvDihoiWu21EbQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@commerce-klaus%2fvitest-sfcc@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":56313},"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"},"./runtime":{"types":"./dist/runtime.d.mts","import":"./dist/runtime.mjs","require":"./dist/runtime.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:d891c4d5-a579-487e-8afe-b81362b86e56"}},"repository":{"url":"https://github.com/commerce-klaus/commerce-klaus","type":"git","directory":"packages/vitest-sfcc"},"description":"Cartridge-aware SFCC runtime and dependency mocking for Vitest","directories":{},"dependencies":{"acorn":"^8.15.0","acorn-walk":"^8.3.4","@commerce-klaus/sfcc-test-runtime":"1.0.0","@commerce-klaus/sfcc-module-resolver":"1.8.1"},"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"},"peerDependencies":{"vite":">=5.0.0","vitest":">=2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vitest-sfcc_1.0.1_1790372305425_0.28532268199146227","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@commerce-klaus/vitest-sfcc","version":"1.0.2","keywords":["cartridge","commercecloud","mocking","salesforce","sfcc","vitest"],"author":"Jens Simon <https://github.com/jenssimon>","license":"MIT","_id":"@commerce-klaus/vitest-sfcc@1.0.2","maintainers":[{"name":"jenssimon","email":"jens.simon80@googlemail.com"}],"homepage":"https://commerce-klaus.github.io/commerce-klaus/packages/vitest-sfcc/","bugs":{"url":"https://github.com/commerce-klaus/commerce-klaus/issues"},"dist":{"shasum":"3b7962471eae6d05f75e96bf8db3b624c7113342","tarball":"https://registry.npmjs.org/@commerce-klaus/vitest-sfcc/-/vitest-sfcc-1.0.2.tgz","fileCount":11,"integrity":"sha512-ouJuHRNuRlhCdogexkaVzq36wo0grZFsUh99l/mivyc89XUV334OCaF5H20CSbGGhYkBl7lFOK+b95cOu9bsSg==","signatures":[{"sig":"MEUCIQD5GPh98MH+nwaynMT/4VmjHehu0HojJ8RAYdOK6v+cuAIgSiXRbMFqs4g/NLPvoYnBLsvb/kXmX38hhxxfu65t/XI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIBDwrhZwomjdni9w2nR3y7p+LNN8YhJAEqisCsc2sFE3AiEAmBJygfE8iZ10OiRK+6oKG2W0x6GSgGVGQ9VFQc6K9tk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@commerce-klaus%2fvitest-sfcc@1.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":56256},"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"},"./runtime":{"types":"./dist/runtime.d.mts","import":"./dist/runtime.mjs","require":"./dist/runtime.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:d891c4d5-a579-487e-8afe-b81362b86e56"}},"repository":{"url":"https://github.com/commerce-klaus/commerce-klaus","type":"git","directory":"packages/vitest-sfcc"},"description":"Cartridge-aware SFCC runtime and dependency mocking for Vitest","directories":{},"dependencies":{"acorn":"^8.15.0","acorn-walk":"^8.3.4","@commerce-klaus/sfcc-test-runtime":"1.0.0","@commerce-klaus/sfcc-module-resolver":"1.9.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"},"peerDependencies":{"vite":">=5.0.0","vitest":">=2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vitest-sfcc_1.0.2_1790577538906_0.2510466292432021","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"_id":"@commerce-klaus/vitest-sfcc@1.0.3","bugs":{"url":"https://github.com/commerce-klaus/commerce-klaus/issues"},"dist":{"shasum":"65fce0476771f6a1268e9df09beafca7742f311e","tarball":"https://registry.npmjs.org/@commerce-klaus/vitest-sfcc/-/vitest-sfcc-1.0.3.tgz","fileCount":11,"integrity":"sha512-OMlChQAOzvTtz1I4eretCz/Ltz9bNeBlY9TkfkLnp5YUDv0OzNEn8elbKrXomhme+pQh/0zGGB48IvYgo9Vb1g==","signatures":[{"sig":"MEYCIQDWs3Bsounz5ru30JXMf/VhiCTlR0LtMQG9xRwdyZ3YiAIhAMykOCPha850z6kcaGQseB29dCtJ5SMz94SlvEYv54iw","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCgS8WmC0KFt/jizkVpELNrVKXb3YA9oixaFv7s06NRyAIhAIsvXv+yV2O4+UkF+5WPT+Z2CNYLnnHjzb3Dbzi3IilI"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@commerce-klaus%2fvitest-sfcc@1.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":51032},"main":"./dist/index.cjs","name":"@commerce-klaus/vitest-sfcc","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"},"./runtime":{"types":"./dist/runtime.d.mts","import":"./dist/runtime.mjs","require":"./dist/runtime.cjs"},"./package.json":"./package.json"},"license":"MIT","scripts":{"test":"vp test","build":"vp pack","check":"vp check"},"version":"1.0.3","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"d891c4d5-a579-487e-8afe-b81362b86e56"}},"homepage":"https://commerce-klaus.github.io/commerce-klaus/packages/vitest-sfcc/","keywords":["cartridge","commercecloud","mocking","salesforce","sfcc","vitest"],"repository":{"url":"https://github.com/commerce-klaus/commerce-klaus","type":"git","directory":"packages/vitest-sfcc"},"description":"Cartridge-aware SFCC runtime and dependency mocking for Vitest","directories":{},"maintainers":[{"name":"jenssimon","email":"jens.simon80@googlemail.com"}],"dependencies":{"acorn":"^8.15.0","acorn-walk":"^8.3.4","@commerce-klaus/sfcc-test-runtime":"1.0.0","@commerce-klaus/sfcc-module-resolver":"1.9.1"},"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"},"peerDependencies":{"vite":">=5.0.0","vitest":">=2.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/vitest-sfcc_1.0.3_1790866157598_0.09882866023598114"}}},"time":{"created":"2026-09-03T12:36:11.462Z","modified":"2026-10-01T14:49:17.984Z","0.0.1":"2026-09-03T12:36:12.241Z","0.2.0":"2026-09-04T08:28:29.013Z","0.3.0":"2026-09-07T09:17:11.839Z","0.4.0":"2026-09-10T15:06:46.667Z","1.0.0":"2026-09-18T10:25:19.316Z","1.0.1":"2026-09-25T21:38:25.535Z","1.0.2":"2026-09-28T06:38:58.990Z","1.0.3":"2026-10-01T14:49:17.667Z"},"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/vitest-sfcc/","keywords":["cartridge","commercecloud","mocking","salesforce","sfcc","vitest"],"repository":{"url":"https://github.com/commerce-klaus/commerce-klaus","type":"git","directory":"packages/vitest-sfcc"},"description":"Cartridge-aware SFCC runtime and dependency mocking for Vitest","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/vitest-sfcc\n\nCartridge-aware SFCC runtime and dependency mocking for Vitest.\n\n## Highlights\n\n- Resolves `dw/*`, `*/`, `~/`, cartridge aliases, relative modules, and `module.superModule`\n- Infers cartridge order from configuration, environment, `jsconfig`, or `site.xml`\n- Provides focused SFCC runtime modules, globals, controllers, hooks, and job steps\n- Replaces module dependencies without `proxyquire`\n- Exposes runtime APIs and types through `@commerce-klaus/vitest-sfcc/runtime`\n\n## When to use this package\n\nUse this package when cartridge code must run in Vitest. It includes SFCC module\nresolution, CommonJS transformation, platform-module fallbacks, dependency\nmocking, and test harnesses.\n\nUse\n[`@commerce-klaus/vite-plugin-sfcc-modules`](https://commerce-klaus.github.io/commerce-klaus/packages/vite-plugin-sfcc-modules/)\nonly when another Vite-based tool needs cartridge-aware module resolution without\nthe test runtime. You do not need to install or configure that plugin alongside\n`vitest-sfcc`.\n\n## Install\n\n```bash [pnpm]\npnpm add -D @commerce-klaus/vitest-sfcc vitest\n```\n\n```bash [yarn]\nyarn add -D @commerce-klaus/vitest-sfcc vitest\n```\n\n```bash [npm]\nnpm install -D @commerce-klaus/vitest-sfcc vitest\n```\n\n```bash [Vite+]\nvp install -D @commerce-klaus/vitest-sfcc vitest\n```\n\n## Usage\n\n```ts\nimport { defineConfig } from \"vite-plus\"\nimport sfccVitest from \"@commerce-klaus/vitest-sfcc\"\n\nexport default defineConfig({\n  plugins: [\n    sfccVitest({\n      basePath: \"./cartridges\",\n      cartridgePath: [\"app_custom\", \"app_storefront_base\"],\n    }),\n  ],\n})\n```\n\nRegister a dependency replacement before dynamically importing the subject:\n\n```ts\nimport { getSfccRuntime } from \"@commerce-klaus/vitest-sfcc\"\n\ngetSfccRuntime().mock(\"*/cartridge/scripts/provider\", providerMock)\nconst subject = await import(\"../cartridge/scripts/subject.js\")\n```\n\nRuntime-only APIs and types are also available from the lightweight subpath:\n\n```ts\nimport { resetSfccRuntime, type SfccModule } from \"@commerce-klaus/vitest-sfcc/runtime\"\n```\n\nConsumer projects only need to install `@commerce-klaus/vitest-sfcc`; its\nframework-independent runtime remains an internal dependency.\n\n## Documentation\n\nSee the [complete configuration and testing reference](https://commerce-klaus.github.io/commerce-klaus/packages/vitest-sfcc/).\n\n## License\n\nMIT\n\n[npm-url]: https://www.npmjs.com/package/@commerce-klaus/vitest-sfcc\n[npm-image]: https://badgen.net/npm/v/@commerce-klaus/vitest-sfcc\n[npm-downloads-image]: https://badgen.net/npm/dw/@commerce-klaus/vitest-sfcc\n","readmeFilename":""}