Skip to content

Commit

Permalink
fix: sdks update postinstall to delegate to renovate
Browse files Browse the repository at this point in the history
  • Loading branch information
kpanot committed Feb 6, 2023
1 parent 5ac8ea2 commit 36ead97
Show file tree
Hide file tree
Showing 4 changed files with 412 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ trim_trailing_whitespace = true
insert_final_newline = unset

[**/templates/**]
insert_final_newline = unset
insert_final_newline = true

[*.md]
max_line_length = unset
Expand Down
17 changes: 17 additions & 0 deletions .renovaterc.json
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,23 @@
"groupName": "Major dependencies",
"groupSlug": "major-dependencies",
"enabled": true
},
{
"matchPackageNames": [
"typescript",
"eslint",
"@yarnpkg/sdks"
],
"postUpgradeTasks": {
"commands": [
"yarn install",
"yarn sdks"
],
"executionMode": "branch",
"fileFilters": [
".yarn/sdks/**"
]
}
}
]
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"test": "yarn nx run-many --target=test --parallel 2 --cacheDirectory=$(yarn get:current-dir)/.cache/jest",
"test:affected": "yarn nx affected --target=test --parallel 2 --cacheDirectory=$(yarn get:current-dir)/.cache/jest",
"test-int": "yarn nx run-many --target=test-int --parallel 2",
"postinstall": "husky install && yarn dlx @yarnpkg/sdks && yarn build:tools && yarn version-harmonize && yarn in-source-dep-check && yarn yarn:harmonization",
"postinstall": "husky install && yarn build:tools && yarn version-harmonize && yarn in-source-dep-check && yarn yarn:harmonization",
"yarn:harmonization": "node scripts/yarn-harmonize.js",
"build:storybook": "yarn doc:generate:json && yarn ng run storybook:extract-style && build-storybook",
"clear": "rimraf './{packages,tools,apps}/@*/{amaterasu/,}*/{dist,build}/'",
Expand Down Expand Up @@ -144,6 +144,7 @@
"@types/node": "^17.0.45",
"@typescript-eslint/eslint-plugin": "^5.19.0",
"@typescript-eslint/parser": "^5.19.0",
"@yarnpkg/sdks": "^2.7.0",
"babel-loader": "^8.2.2",
"browserslist": "^4.21.4",
"concurrently": "^7.0.0",
Expand Down
Loading

0 comments on commit 36ead97

Please sign in to comment.