mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 04:08:27 +08:00
add transpile configuration (#4156)
* add transpile configuration * ignore output folder * update deps
This commit is contained in:
parent
b5ba5092bf
commit
7addbcb501
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -4,4 +4,5 @@ package-lock.json
|
|||
zabapgit.abap
|
||||
.vscode
|
||||
deps
|
||||
output
|
||||
ci/*.abap
|
12
abap_transpile.json
Normal file
12
abap_transpile.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"input_folder": "src",
|
||||
"input_filter": ["zif_abapgit_definitions"],
|
||||
"output_folder": "output",
|
||||
"lib": "https://github.com/open-abap/open-abap",
|
||||
"write_unit_tests": true,
|
||||
"options": {
|
||||
"ignoreSyntaxCheck": false,
|
||||
"addFilenames": true,
|
||||
"addCommonJS": true
|
||||
}
|
||||
}
|
|
@ -4,6 +4,7 @@
|
|||
"test": "npm run eslint && npm run abaplint",
|
||||
"merge": "abapmerge -f src/zabapgit.prog.abap -c zabapgit_standalone > zabapgit.abap",
|
||||
"merge.ci": "cp zabapgit.abap ci/zabapgit_standalone.prog.abap && cd ci && abaplint && cd ..",
|
||||
"unit_wip": "abap_transpile",
|
||||
"abaplint": "abaplint",
|
||||
"eslint": "eslint src"
|
||||
},
|
||||
|
@ -12,7 +13,8 @@
|
|||
"url": "git+https://github.com/abapGit/abapGit.git"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@abaplint/cli": "^2.59.4",
|
||||
"@abaplint/cli": "^2.59.7",
|
||||
"@abaplint/transpiler-cli": "^0.6.2",
|
||||
"abapmerge": "^0.14.1",
|
||||
"eslint": "^7.13.0"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user