Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
},
"plugins": {
"@release-it/bumper": {
- "out": ["sonar-project.properties", "src/pools/version.ts"]
+ "out": ["sonar-project.properties"]
},
"@release-it/keep-a-changelog": {
"filename": "CHANGELOG.md",
'node:cluster',
'node:crypto',
'node:events',
+ 'node:module',
'node:os',
'node:perf_hooks',
'node:worker_threads'
-export const version = '2.6.8'
+import { createRequire } from 'node:module'
+
+const require = createRequire(import.meta.url)
+
+export const version = (
+ require('../../package.json') as Record<string, unknown>
+).version as string