Skip to content

Commit

Permalink
Remove estree.proto file duplication (#4787)
Browse files Browse the repository at this point in the history
  • Loading branch information
vdiez authored Aug 29, 2024
1 parent 13e93cf commit 1c12ea7
Show file tree
Hide file tree
Showing 12 changed files with 3 additions and 1,940 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"ruling-parametrized": "node tools/prepare-ruling.js && SONAR_RULING_SETTINGS=../settings.js jest ./packages/ruling/tests/projects/*.ruling.test.ts",
"ruling-sync": "rsync -avh packages/ruling/tests/actual/jsts/ its/ruling/src/test/expected/jsts/ --delete",
"update-ruling-data": "mvn -f sonar-plugin/sonar-javascript-plugin/pom.xml compile && ts-node packages/ruling/tests/tools/parseRulesData.ts",
"bridge:compile": "tsc -b packages profiling && npm run _:bridge:copy-protofile",
"bridge:compile": "tsc -b packages profiling && npm run _:bridge:copy-protofiles",
"bridge:test": "jest --maxWorkers=8 --coverage --testPathIgnorePatterns=/packages/ruling/tests/",
"bridge:build": "npm run bridge:build:fast && npm run bridge:test",
"bridge:build:fast": "npm ci && cd packages/jsts/src/rules && npm ci && cd ../../../../ && npm run _:bridge:clear && npm run bridge:compile",
Expand All @@ -27,7 +27,7 @@
"prepare": "husky install",
"precommit": "pretty-quick --staged",
"count-rules": "node tools/count-rules.js",
"_:bridge:copy-protofile": "node tools/estree/copy-to-lib.js",
"_:bridge:copy-protofiles": "cpy --flat packages/jsts/src/parsers/estree.proto sonar-plugin/bridge/src/main/protobuf && cpy --flat packages/jsts/src/parsers/estree.proto lib/jsts/src/parsers",
"_:bridge:clear": "rimraf lib/*",
"_:plugin:prepare-bridge": "npm pack && node tools/check-distribution-filepath-length.js && npm run _:plugin:copy-bridge && npm run generate-rules-list",
"_:plugin-fetch-node": "node tools/fetch-node/scripts/wrapper.mjs",
Expand Down
1 change: 1 addition & 0 deletions sonar-plugin/bridge/src/main/protobuf/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
estree.proto
Loading

0 comments on commit 1c12ea7

Please sign in to comment.