-
Notifications
You must be signed in to change notification settings - Fork 12
chore: Using prepare package lock script from build tools #155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
fabf902 to
98fd484
Compare
98fd484 to
b9693b5
Compare
| "//": "ensure that typedoc uses latest typescript. It prints a warning, but works", | ||
| "overrides": { | ||
| "typescript": "^4.9.4", | ||
| "typescript": "^5.9.2", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This matches the version of TS used in the main components package. It fixes a compilation error with test-utils, present after upgrading the deps.
| { | ||
| "inlineType": { | ||
| "name": "NonCancelableEventHandler<{}>", | ||
| "name": "NonCancelableEventHandler", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is caused by TS version upgrade.
| "tsBuildInfoFile": "./.cache/e2e-tests.tsbuildinfo" | ||
| }, | ||
| "include": ["types", "test"], | ||
| "include": ["types", "test", "vite/client"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fixes import.meta.glob call in visual tests. W/o these types, the call to .glob fails.
| // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
| // SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| /* eslint-disable @vitest/no-conditional-expect */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This rule was added to recommended configs, see: vitest-dev/eslint-plugin-vitest@bc95b10#diff-a2a171449d862fe29692ce031981047d7ab755ae7f84c707aef80701b3ea0c80R106
| }; | ||
|
|
||
| options.series?.forEach((series) => { | ||
| if (!("type" in series)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Highcharts series option type was extended with UnknownSeriesOptionsType, which does not include the type field.
Description
Using prepare package lock from here: https://github.com/cloudscape-design/build-tools/blob/main/package.json#L7
Related:
How has this been tested?
Review checklist
The following items are to be evaluated by the author(s) and the reviewer(s).
Correctness
CONTRIBUTING.md.CONTRIBUTING.md.Security
checkSafeUrlfunction.Testing
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.