Skip to content

Commit

Permalink
refactor: dev-scripts bump and ttypescript => ts-patch
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc committed Oct 31, 2023
1 parent 601aed3 commit 2c89b6f
Show file tree
Hide file tree
Showing 3 changed files with 172 additions and 163 deletions.
2 changes: 1 addition & 1 deletion .sfdevrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"wireit": {
"compile": {
"command": "ttsc -p . --pretty --incremental",
"command": "tspc -p . --pretty --incremental",
"files": ["src/**/*.ts", "src/registry/*.json", "**/tsconfig.json", "messages/**"],
"output": ["lib/**", "*.tsbuildinfo"],
"clean": "if-file-deleted"
Expand Down
30 changes: 5 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@
},
"devDependencies": {
"@salesforce/cli-plugins-testkit": "^4.4.10",
"@salesforce/dev-config": "^4.0.1",
"@salesforce/dev-scripts": "^5.12.2",
"@salesforce/prettier-config": "^0.0.3",
"@salesforce/dev-scripts": "^6.0.3",
"@salesforce/ts-sinon": "^1.4.18",
"@types/deep-equal-in-any-order": "^1.0.1",
"@types/fast-levenshtein": "^0.0.2",
Expand All @@ -53,34 +51,16 @@
"@types/proxy-from-env": "^1.0.3",
"@types/shelljs": "^0.8.13",
"@types/unzipper": "^0.10.7",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"chai": "^4.3.10",
"deep-equal-in-any-order": "^1.1.19",
"deepmerge": "^4.3.1",
"eslint": "^8.52.0",
"eslint-config-prettier": "^8.10.0",
"eslint-config-salesforce": "^2.0.2",
"eslint-config-salesforce-license": "^0.2.0",
"eslint-config-salesforce-typescript": "^2.0.0",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsdoc": "^46.8.2",
"eslint-plugin-sf-plugin": "^1.16.9",
"husky": "^7.0.4",
"eslint-plugin-sf-plugin": "^1.16.13",
"jsforce": "^2.0.0-beta.28",
"mocha": "^9.2.2",
"mocha-junit-reporter": "^1.23.3",
"nyc": "^15.1.0",
"prettier": "^2.8.7",
"pretty-quick": "^3.1.3",
"shelljs": "0.8.5",
"shx": "^0.3.4",
"sinon": "10.0.0",
"ts-node": "^10.9.1",
"ttypescript": "^1.5.15",
"typescript": "^5.2.2",
"wireit": "^0.14.1"
"ts-patch": "^3.0.2",
"typescript": "^5.2.2"
},
"scripts": {
"build": "wireit",
Expand Down Expand Up @@ -125,7 +105,7 @@
]
},
"compile": {
"command": "ttsc -p . --pretty --incremental",
"command": "tspc -p . --pretty --incremental",
"files": [
"src/**/*.ts",
"src/registry/*.json",
Expand Down
Loading

2 comments on commit 2c89b6f

@svc-cli-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 2c89b6f Previous: aaa9f15 Ratio
eda-componentSetCreate-linux 308 ms 382 ms 0.81
eda-sourceToMdapi-linux 6539 ms 8586 ms 0.76
eda-sourceToZip-linux 6032 ms 6390 ms 0.94
eda-mdapiToSource-linux 4455 ms 5467 ms 0.81
lotsOfClasses-componentSetCreate-linux 592 ms 705 ms 0.84
lotsOfClasses-sourceToMdapi-linux 10113 ms 11284 ms 0.90
lotsOfClasses-sourceToZip-linux 8426 ms 7731 ms 1.09
lotsOfClasses-mdapiToSource-linux 5087 ms 6241 ms 0.82
lotsOfClassesOneDir-componentSetCreate-linux 986 ms 1203 ms 0.82
lotsOfClassesOneDir-sourceToMdapi-linux 12563 ms 16846 ms 0.75
lotsOfClassesOneDir-sourceToZip-linux 13321 ms 12257 ms 1.09
lotsOfClassesOneDir-mdapiToSource-linux 8521 ms 11485 ms 0.74

This comment was automatically generated by workflow using github-action-benchmark.

@svc-cli-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 2c89b6f Previous: aaa9f15 Ratio
eda-componentSetCreate-win32 547 ms 631 ms 0.87
eda-sourceToMdapi-win32 7845 ms 10001 ms 0.78
eda-sourceToZip-win32 6591 ms 7391 ms 0.89
eda-mdapiToSource-win32 9047 ms 9898 ms 0.91
lotsOfClasses-componentSetCreate-win32 1172 ms 1406 ms 0.83
lotsOfClasses-sourceToMdapi-win32 14659 ms 16988 ms 0.86
lotsOfClasses-sourceToZip-win32 9817 ms 10814 ms 0.91
lotsOfClasses-mdapiToSource-win32 10680 ms 11564 ms 0.92
lotsOfClassesOneDir-componentSetCreate-win32 2116 ms 2185 ms 0.97
lotsOfClassesOneDir-sourceToMdapi-win32 23847 ms 27259 ms 0.87
lotsOfClassesOneDir-sourceToZip-win32 15987 ms 18209 ms 0.88
lotsOfClassesOneDir-mdapiToSource-win32 19406 ms 21509 ms 0.90

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.