@opencrvs/toolkit
Advanced tools
Comparing version 0.0.2 to 0.0.3-alpha
{ | ||
"name": "@opencrvs/toolkit", | ||
"version": "0.0.2", | ||
"version": "0.0.3-alpha", | ||
"description": "OpenCRVS toolkit for building country configurations", | ||
"license": "MPL-2.0", | ||
"main": "./lib/index.js", | ||
"exports": "./lib/index.js", | ||
"types": "./lib/index.d.ts", | ||
"exports": { | ||
"./lib": "./dist/lib.js", | ||
"./events": "./dist/events/index.js" | ||
}, | ||
"scripts": { | ||
"build": "rimraf lib && tsc" | ||
"build": "rimraf dist && tsc && yarn build-common-events:js && yarn copy-common-events:ts", | ||
"build-common-events:js": "esbuild src/events/index.ts --bundle --outdir=./dist/events --allow-overwrite --packages=external", | ||
"copy-common-events:ts": "cp -r ../commons/build/dist/events/*.d.ts ./dist/events" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"esbuild": "^0.24.0", | ||
"typescript": "^5.6.3" | ||
}, | ||
"moduleNameMapper": { | ||
"@opencrvs/commons/events": "@opencrvs/commons/build/dist/events/index.js" | ||
} | ||
} |
@@ -12,7 +12,11 @@ { | ||
"declarationMap": true, | ||
"rootDir": "src", | ||
"outDir": "lib" | ||
"rootDir": "./src", | ||
"outDir": "dist", | ||
"paths": { | ||
"@opencrvs/commons/events": ["../commons/src/events/index.ts"] | ||
}, | ||
"composite": true | ||
}, | ||
"include": ["src/**/*.ts"], | ||
"exclude": ["**/node_modules/**"] | ||
"references": [{ "path": "../commons" }], | ||
"include": ["src/**/*.ts"] | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
234645
17
2296
2
4
1