cleanup resources & ci setup (#1387)

* cleanup resources

* update ci setup

* Update test_rename.yml

* Update test.yml

* Update test_rename.yml
This commit is contained in:
oblomov-dev 2024-09-08 15:28:26 +02:00 committed by GitHub
parent 7f2fe77b37
commit 6ca092cb3b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 28 additions and 98 deletions

View File

@ -1,4 +1,4 @@
name: test name: test-downporting-transpiling-unit_testing
on: on:
pull_request: pull_request:

View File

@ -1,4 +1,4 @@
name: test_renaming name: test-abaplint-renaming-feature
on: on:
pull_request: pull_request:

View File

@ -16,7 +16,7 @@
"skipReposrc": true, "skipReposrc": true,
"unknownTypes": "runtimeError", "unknownTypes": "runtimeError",
"keywords": ["return", "in", "class", "for", "delete", "default", "var"], "keywords": ["return", "in", "class", "for", "delete", "default", "var"],
"extraSetup": "../test/setup.mjs", "extraSetup": "../ci/setup.mjs",
"skip": [ "skip": [
{"object": "Z2UI5_CL_AJSON", "class": "ltcl_parser_test", "method": "parse_error", "note": "NodeJS 20 does not set position of parsing error"} {"object": "Z2UI5_CL_AJSON", "class": "ltcl_parser_test", "method": "parse_error", "note": "NodeJS 20 does not set position of parsing error"}
] ]

42
package-lock.json generated
View File

@ -12,16 +12,16 @@
"npm-check-updates": "^17.1.1" "npm-check-updates": "^17.1.1"
}, },
"devDependencies": { "devDependencies": {
"@abaplint/cli": "^2.113.4", "@abaplint/cli": "^2.113.6",
"@abaplint/database-sqlite": "^2.8.25", "@abaplint/database-sqlite": "^2.8.25",
"@abaplint/runtime": "^2.10.10", "@abaplint/runtime": "^2.10.16",
"@abaplint/transpiler-cli": "^2.10.10" "@abaplint/transpiler-cli": "^2.10.16"
} }
}, },
"node_modules/@abaplint/cli": { "node_modules/@abaplint/cli": {
"version": "2.113.4", "version": "2.113.6",
"resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.113.4.tgz", "resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.113.6.tgz",
"integrity": "sha512-0ADS7Kdb18J/lHlYmvf2foNRyaQpEkLN7V5IoRNlmrXwsTWYLolwNQ1YOhfaqcZBqm8vr+DtALYnuXtQTfcSyA==", "integrity": "sha512-z0HubOdRjXgRtqZZ1ZP9u9VArEE09D6tlQBNuH1NDdeWNbBzSEzCGJtzv1JeUakJosjVWZL2W5AtPZSDXKMaQw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"bin": { "bin": {
@ -45,9 +45,9 @@
} }
}, },
"node_modules/@abaplint/runtime": { "node_modules/@abaplint/runtime": {
"version": "2.10.10", "version": "2.10.16",
"resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.10.10.tgz", "resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.10.16.tgz",
"integrity": "sha512-jOcipZpDpWhuqp+b6UiFjl9UI+/2oQChh4qb/73oA2hxDnMx+fKXtcNYHMTWz9hxXhgjU88w8b2jThgIzuvfoQ==", "integrity": "sha512-Z25ay1QiKhEUPGD742CuZdEI71yFG4BKXzO8mtJzBWMIiwDau7L7Dw1+o3FJ81K4wVejJP+NeKjD8k3tbHur2g==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@ -58,9 +58,9 @@
} }
}, },
"node_modules/@abaplint/transpiler-cli": { "node_modules/@abaplint/transpiler-cli": {
"version": "2.10.10", "version": "2.10.16",
"resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.10.10.tgz", "resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.10.16.tgz",
"integrity": "sha512-rWeBAIubxAi70pwFhao9R7qaF8VU+YAEWHKS27D9OAZ1pJ7/dok9udv2Wq6v1Tx0rrsf3QOmUvuu2k3ZtaiVgw==", "integrity": "sha512-CcgkaV7gkVhidYdzYfVhDZqs98l6WDBwg8NxXvxPvnpITyp2Scn81JaRI6PnhoB/LkAcRQqFcjp3xNetRldIWw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"bin": { "bin": {
@ -111,9 +111,9 @@
}, },
"dependencies": { "dependencies": {
"@abaplint/cli": { "@abaplint/cli": {
"version": "2.113.4", "version": "2.113.6",
"resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.113.4.tgz", "resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.113.6.tgz",
"integrity": "sha512-0ADS7Kdb18J/lHlYmvf2foNRyaQpEkLN7V5IoRNlmrXwsTWYLolwNQ1YOhfaqcZBqm8vr+DtALYnuXtQTfcSyA==", "integrity": "sha512-z0HubOdRjXgRtqZZ1ZP9u9VArEE09D6tlQBNuH1NDdeWNbBzSEzCGJtzv1JeUakJosjVWZL2W5AtPZSDXKMaQw==",
"dev": true "dev": true
}, },
"@abaplint/database-sqlite": { "@abaplint/database-sqlite": {
@ -126,18 +126,18 @@
} }
}, },
"@abaplint/runtime": { "@abaplint/runtime": {
"version": "2.10.10", "version": "2.10.16",
"resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.10.10.tgz", "resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.10.16.tgz",
"integrity": "sha512-jOcipZpDpWhuqp+b6UiFjl9UI+/2oQChh4qb/73oA2hxDnMx+fKXtcNYHMTWz9hxXhgjU88w8b2jThgIzuvfoQ==", "integrity": "sha512-Z25ay1QiKhEUPGD742CuZdEI71yFG4BKXzO8mtJzBWMIiwDau7L7Dw1+o3FJ81K4wVejJP+NeKjD8k3tbHur2g==",
"dev": true, "dev": true,
"requires": { "requires": {
"temporal-polyfill": "^0.2.5" "temporal-polyfill": "^0.2.5"
} }
}, },
"@abaplint/transpiler-cli": { "@abaplint/transpiler-cli": {
"version": "2.10.10", "version": "2.10.16",
"resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.10.10.tgz", "resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.10.16.tgz",
"integrity": "sha512-rWeBAIubxAi70pwFhao9R7qaF8VU+YAEWHKS27D9OAZ1pJ7/dok9udv2Wq6v1Tx0rrsf3QOmUvuu2k3ZtaiVgw==", "integrity": "sha512-CcgkaV7gkVhidYdzYfVhDZqs98l6WDBwg8NxXvxPvnpITyp2Scn81JaRI6PnhoB/LkAcRQqFcjp3xNetRldIWw==",
"dev": true "dev": true
}, },
"npm-check-updates": { "npm-check-updates": {

View File

@ -7,7 +7,7 @@
"syfixes": "find . -type f -name '*.abap' -exec sed -i -e 's/ RAISE EXCEPTION TYPE cx_sy_itab_line_not_found/ ASSERT 1 = 0/g' {} + ", "syfixes": "find . -type f -name '*.abap' -exec sed -i -e 's/ RAISE EXCEPTION TYPE cx_sy_itab_line_not_found/ ASSERT 1 = 0/g' {} + ",
"downport": "rm -rf downport && cp -r src downport && abaplint --fix ./ci/abaplint-downport.jsonc && npm run syfixes", "downport": "rm -rf downport && cp -r src downport && abaplint --fix ./ci/abaplint-downport.jsonc && npm run syfixes",
"unit": "echo RUNNING && node output/index.mjs", "unit": "echo RUNNING && node output/index.mjs",
"transpile": "rm -rf output && abap_transpile test/abap_transpile.json", "transpile": "rm -rf output && abap_transpile ci/abap_transpile.json",
"test": "npm run downport && npm run transpile && npm run unit", "test": "npm run downport && npm run transpile && npm run unit",
"rename": "abaplint ./ci/abaplint_rename.jsonc --rename", "rename": "abaplint ./ci/abaplint_rename.jsonc --rename",
"cleanup": "rm -rf input && rm -rf output" "cleanup": "rm -rf input && rm -rf output"
@ -22,10 +22,10 @@
}, },
"homepage": "https://github.com/abap2UI5/abap2UI5#readme", "homepage": "https://github.com/abap2UI5/abap2UI5#readme",
"devDependencies": { "devDependencies": {
"@abaplint/cli": "^2.113.4", "@abaplint/cli": "^2.113.6",
"@abaplint/database-sqlite": "^2.8.25", "@abaplint/database-sqlite": "^2.8.25",
"@abaplint/runtime": "^2.10.10", "@abaplint/runtime": "^2.10.16",
"@abaplint/transpiler-cli": "^2.10.10" "@abaplint/transpiler-cli": "^2.10.16"
}, },
"dependencies": { "dependencies": {
"npm-check-updates": "^17.1.1" "npm-check-updates": "^17.1.1"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 254 KiB

File diff suppressed because one or more lines are too long