fix(tools): bump northstar packages v9 deps on dep mismatch resolution#25806
fix(tools): bump northstar packages v9 deps on dep mismatch resolution#25806Hotell merged 1 commit intomicrosoft:masterfrom
Conversation
| export function isPackageVersionPrerelease(versionString: string) { | ||
| const version = semver.parse(versionString); | ||
| return version?.prerelease?.length && version?.prerelease?.length > 0; | ||
| return Boolean(version?.prerelease?.length && version?.prerelease?.length > 0); |
There was a problem hiding this comment.
casted to explicitly return boolean instead of undefined/number/boolean
| updateJson(tree, config.paths.packageJson, (packageJson: PackageJson) => { | ||
| if (packageJson.dependencies) { | ||
| packageJson.dependencies = getUpdatedDependencies(tree, packageJson.dependencies); | ||
| packageJson.dependencies = getUpdatedDependencies(tree, { dependencies: packageJson.dependencies, scope }); |
There was a problem hiding this comment.
more args needed -> refactored to options pattern
| }); | ||
| await generator(appTree); | ||
|
|
||
| const packageJson: PackageJson = await readTargetPackageJson(); |
There was a problem hiding this comment.
these awaits dont do anything as readTargetPackageJson is sync
📊 Bundle size report🤖 This report was generated against 0da8d7556d18b42a7c702c513e702ba3723d64d3 |
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 0da8d7556d18b42a7c702c513e702ba3723d64d3 (build) |
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit f3bd52a:
|
| }, dependencies); | ||
| } | ||
|
|
||
| function getProjectScope(project: ReturnType<typeof getProjectConfig>) { |
There was a problem hiding this comment.
yeah I was hesitant about that :D , we can do that later if we find shared usage for this
There was a problem hiding this comment.
will do a follow - normalizing all tags and tweaking this to utils
ling1726
left a comment
There was a problem hiding this comment.
scope is a nice idea, future generators should use this option if we need specific handling by library 👍
* master: (34 commits) chore(react-tooltip): migrate to new package structure (microsoft#25818) chore(react-field): migrate to new package structure (microsoft#25817) Update vr screenshotdiff lib to accept vr host url as param (microsoft#25772) feat(scripts): enable strict checking for additional sub-folders(packages) v4 (microsoft#25710) fix(tools): bump norhtstar packages v9 deps on dep mismatch resolution (microsoft#25806) feat: remove react-storybook and replace its functionality via standard react-storybook-addon package (microsoft#25786) applying package updates chore(react-spinbutton): migrate to new package structure (microsoft#25813) chore(react-spinner): migrate to new package structure (microsoft#25814) chore(react-provider): migrate to new package structure (microsoft#25809) chore(react-radio, shared-contexts): migrate to new package structure (microsoft#25810) chore(react-theme): migrate to new package structure (microsoft#25812) docs: add Fluent UI Insights EP04 to README (microsoft#25775) chore(react-migration-v8-v9): use same build process/setup as v9/ts-solution packages (microsoft#25679) docs: Improves `Table` documentation (microsoft#25787) feat: improve react-18 tests (microsoft#25758) docs: Add examples for DataGrid (microsoft#25783) chore(react-tree): scaffold TreeItemLayout (microsoft#25781) perf: make ts-minbar test compilation faster and asset preparation simpler (microsoft#25754) chore: creates TreeItem and basic Tree (microsoft#25742) ...
Related Issue(s)