Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
1be7028
ops: UPDATED publish workflow and dependabot PR limits
Zaiidmo Mar 12, 2026
23be62d
ops (ci): standardize publish validation and dependabot across all pa…
Zaiidmo Mar 30, 2026
d076d49
security: added CODEOWNER file for branches security
Zaiidmo Mar 30, 2026
c1047cf
ops: updated relese check workflow#
Zaiidmo Mar 31, 2026
7179644
feat(COMPT-55): add ICacheStore port and Redis/InMemory adapters (#1)
y-aithnini Mar 31, 2026
56e9bc7
Feature/compt 56 cache module service (#2)
y-aithnini Apr 1, 2026
ccd8c89
Feature/compt 57 cacheable cacheevict decorators (#3)
y-aithnini Apr 3, 2026
8b0d360
Feature/compt 58 test suite (#4)
y-aithnini Apr 3, 2026
d4b3570
docs(COMPT-59): add README, update peer deps, create v0.1.0 changeset…
y-aithnini Apr 6, 2026
3eb5fe9
improvement: replace KEYS with SCAN, fix @Cacheable null-return bug, …
y-aithnini Apr 6, 2026
4dfbd8e
ci: update release check workflow
Zaiidmo Apr 6, 2026
bf3a3dd
fix(ci): fix SonarCloud coverage — use src/**/*.spec.ts instead of te…
y-aithnini Apr 6, 2026
878d4ac
ops: updated release check jobs ]
Zaiidmo Apr 7, 2026
8ac1070
ops: updated release check jobs ]
Zaiidmo Apr 7, 2026
3b194a9
install dep
Zaiidmo Apr 7, 2026
847d208
Fix/sonar test inclusions (#10)
y-aithnini Apr 7, 2026
035c6ee
Fix/sonar test inclusions (#12)
y-aithnini Apr 7, 2026
0b2f5ee
Fix/sonar test inclusions (#14)
y-aithnini Apr 7, 2026
e375c78
Fix/align version 1.0.0 (#17)
y-aithnini Apr 7, 2026
1709e57
Merge branch 'develop' of github.com:CISCODE-MA/CacheKit into develop
Zaiidmo Apr 7, 2026
43452a0
v0.0.1
Zaiidmo Apr 7, 2026
3a5e068
fix(chore): reverted versions tags and fixed merge conflits
Zaiidmo Apr 7, 2026
c5f4f64
0.0.1
Zaiidmo Apr 7, 2026
dbf275d
chore: dump version 1
Zaiidmo Apr 7, 2026
9a0aae8
fix(merge): package.json versions conflicts
Zaiidmo Apr 7, 2026
7bcce39
Merge branch 'master' of github.com:CISCODE-MA/CacheKit into develop
Zaiidmo Apr 7, 2026
c7846e2
fix: switch build to CommonJS and add exports field to package.json (…
y-aithnini Apr 7, 2026
54c463d
Fix/cjs build and publish fields (#22)
y-aithnini Apr 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .changeset/fix-cjs-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
"@ciscode/cache-kit": patch
---

fix: switch build output to CommonJS and add exports field to package.json

The published package was shipping ESM-only output (`module: ESNext`) without
`"type": "module"` in package.json and without `.js` extensions on internal
imports — making the package unloadable in Node.js ESM or CJS environments.

Changes:
- `tsconfig.build.json`: switched `module` to `CommonJS` and `moduleResolution`
to `Node10` so `dist/` emits standard CJS that Node.js loads without any
configuration on the consumer side
- `package.json`: added `exports` field with `require` and `default` conditions
pointing to `./dist/index.js`, ensuring both `require()` and `import` work
correctly when consumers use the package
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ciscode/cache-kit",
"version": "0.0.1",
"version": "0.0.2",
"description": "CacheKit backend module for reusable caching utilities and integrations.",
"author": "CisCode",
"publishConfig": {
Expand All @@ -18,6 +18,12 @@
],
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"default": "./dist/index.js"
}
},
"engines": {
"node": ">=20"
},
Expand Down
4 changes: 3 additions & 1 deletion tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"compilerOptions": {
"noEmit": false,
"emitDeclarationOnly": false,
"outDir": "dist"
"outDir": "dist",
"module": "CommonJS",
"moduleResolution": "Node10"
},
"include": ["src/**/*.ts"],
"exclude": ["test", "**/*.spec.ts", "**/*.test.ts", "dist", "node_modules"]
Expand Down
Loading