Skip to content

Commit e7c7f01

Browse files
Precommit hook will now add generated Version.ts file to commit
1 parent 01d698c commit e7c7f01

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.huskyrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"hooks": {
3-
"pre-commit": "npm run pre-build && lint-staged && npm run lint && npm run test"
3+
"pre-commit": "npm run pre-build && git add src/Version.ts && lint-staged && npm run lint && npm run test"
44
}
55
}

src/Version.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
* @module Version
1313
*/
1414

15-
export const PACKAGE_VERSION = "2.0.0-Preview.0";
15+
export const PACKAGE_VERSION = "2.0.0-Preview.1";

0 commit comments

Comments
 (0)