File tree Expand file tree Collapse file tree 6 files changed +19
-18
lines changed Expand file tree Collapse file tree 6 files changed +19
-18
lines changed Original file line number Diff line number Diff line change 24
24
- name : Setup Node.js
25
25
uses : actions/setup-node@v4
26
26
with :
27
- node-version : ' 18 '
27
+ node-version : ' 20 '
28
28
cache : ' npm'
29
29
cache-dependency-path : ' extractors/cds/tools/package-lock.json'
30
30
Original file line number Diff line number Diff line change
1
+ 20.15.0
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { statSync } from 'fs';
2
2
3
3
import { build as esbuildFunc } from 'esbuild' ;
4
4
5
- const NODE_VERSION_TARGET = 'node18 ' ;
5
+ const NODE_VERSION_TARGET = 'node20 ' ;
6
6
7
7
const buildOptions = {
8
8
banner : {
Original file line number Diff line number Diff line change 3
3
"version" : " 1.0.0" ,
4
4
"description" : " CodeQL extractor for DB indexing of .cds.json files produced by the 'cds' compiler." ,
5
5
"main" : " dist/cds-extractor.bundle.js" ,
6
+ "engines" : {
7
+ "node" : " >=20.0.0" ,
8
+ "npm" : " >=10.0.0"
9
+ },
6
10
"scripts" : {
7
11
"build" : " node esbuild.config.mjs" ,
8
12
"build:all" : " npm run lint:fix && npm run test:coverage && npm run build:validate" ,
18
22
"test:coverage" : " jest --coverage --collectCoverageFrom='src/**/*.ts'"
19
23
},
20
24
"dependencies" : {
21
- "@types/tmp" : " ^0.2.6" ,
22
25
"child_process" : " ^1.0.2" ,
23
26
"fs" : " ^0.0.1-security" ,
24
27
"glob" : " ^11.0.3" ,
34
37
"@types/jest" : " ^30.0.0" ,
35
38
"@types/mock-fs" : " ^4.13.4" ,
36
39
"@types/node" : " ^24.0.7" ,
40
+ "@types/tmp" : " ^0.2.6" ,
37
41
"@typescript-eslint/eslint-plugin" : " ^8.35.1" ,
38
42
"@typescript-eslint/parser" : " ^8.35.1" ,
39
43
"esbuild" : " ^0.19.0" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"compilerOptions" : {
3
- "target" : " ES2018 " ,
3
+ "target" : " ES2020 " ,
4
4
"module" : " commonjs" ,
5
- "lib" : [" ES2018" ],
5
+ "lib" : [" ES2020" ],
6
+ "strict" : true ,
6
7
"allowSyntheticDefaultImports" : true ,
7
- "declaration" : false ,
8
8
"esModuleInterop" : true ,
9
9
"forceConsistentCasingInFileNames" : true ,
10
- "isolatedModules " : true ,
10
+ "moduleResolution " : " node " ,
11
11
"noImplicitAny" : true ,
12
12
"noImplicitThis" : true ,
13
13
"noUnusedLocals" : true ,
14
14
"noUnusedParameters" : true ,
15
15
"noImplicitReturns" : true ,
16
16
"noFallthroughCasesInSwitch" : true ,
17
- "outDir" : " ./dist" ,
18
17
"resolveJsonModule" : true ,
19
- "rootDir" : " ." ,
20
- "skipLibCheck" : true ,
21
- "sourceMap" : true ,
22
- "strict" : true
18
+ "skipLibCheck" : true
23
19
},
24
20
"include" : [
25
21
" *.ts" ,
26
- " *.js" ,
27
- " esbuild.config.mjs" ,
28
- " eslint.config.mjs" ,
29
- " jest.config.js" ,
30
- " validate-bundle.js" ,
31
22
" src/**/*.ts" ,
32
23
" test/**/*.ts"
33
24
],
You can’t perform that action at this time.
0 commit comments