-
Notifications
You must be signed in to change notification settings - Fork 3.4k
chore: unify migrated packages #32819
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
Conversation
…se tsconfig.json instead of tsconfig.base as it has better IDE support. Also add a watcher
…se tsconfig.json instead of tsconfig.base as it has better IDE support. Also add a watcher
…se tsconfig.json instead of tsconfig.base as it has better IDE support. Also add a watcher
…se tsconfig.json instead of tsconfig.base as it has better IDE support. Also add a watcher
…se tsconfig.json instead of tsconfig.base as it has better IDE support. Also add a watcher
…se tsconfig.json instead of tsconfig.base as it has better IDE support. Also add a watcher
…se tsconfig.json instead of tsconfig.base as it has better IDE support. Also add a watcher
…se tsconfig.json instead of tsconfig.base as it has better IDE support. Also add a watcher
…se tsconfig.json instead of tsconfig.base as it has better IDE support. Also add a watcher
cypress
|
||||||||||||||||||||||||||||||||||||||||
| Project |
cypress
|
| Branch Review |
chore/clean-up-migrated-packages
|
| Run status |
|
| Run duration | 19m 47s |
| Commit |
|
| Committer | Bill Glesias |
| View all properties for this run ↗︎ | |
| Test results | |
|---|---|
|
|
0
|
|
|
13
|
|
|
1102
|
|
|
4
|
|
|
26755
|
| View all changes introduced in this branch ↗︎ | |
Warning
Partial Report: The results for the Application Quality reports may be incomplete.
UI Coverage
46.02%
|
|
|---|---|
|
|
185
|
|
|
162
|
Accessibility
97.98%
|
|
|---|---|
|
|
4 critical
8 serious
2 moderate
2 minor
|
|
|
101
|
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.
Just one comment
| "test-unit": "vitest run", | ||
| "tslint": "tslint --config ../ts/tslint.json --project .", | ||
| "watch": "tsc --watch" | ||
| "watch": "yarn build:cjs --watch & yarn build:esm --watch & yarn build:browser -w" |
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.
@AtofStryker Maybe not relevant to this PR, but I do see these warnings running this watch:
(!) Unresolved dependencies
https://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency
@opentelemetry/sdk-trace-web (imported by "src/client.ts")
@opentelemetry/resources (imported by "src/client.ts" and "src/telemetry/index.ts")
@opentelemetry/sdk-trace-base (imported by "src/client.ts" and "src/processors/on-start-span-processor.ts")
@opentelemetry/api (imported by "src/span-exporters/websocket-span-exporter.ts" and "src/telemetry/index.ts")
@opentelemetry/exporter-trace-otlp-http (imported by "src/span-exporters/websocket-span-exporter.ts")
@opentelemetry/semantic-conventions (imported by "src/telemetry/index.ts")
@opentelemetry/core (imported by "src/span-exporters/console-trace-link-exporter.ts")
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 due to rollup not actually bundling the node_modules inside the browser version of the telemetry package, which is expected currently. At least for now, we likely want to keep the warnings present since it describes the behavior
|
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Additional details
Cleans up some of the migrated packages to
tsconfig.jsoninstead oftsconfig.base.jsonfor better IDE typescript supportSteps to test
How has the user experience changed?
PR Tasks
cypress-documentation?type definitions?Note
Standardizes TS configs to emit declaration files, points package types to built outputs, adds watch scripts, and replaces lazy fs-extra require with direct import in resolve-dist.
"declaration": trueand point"types"to built outputs (cjs/index.d.ts) in@packages/config,@packages/errors,@packages/resolve-dist,@packages/scaffold-config,@packages/types.tsconfig.*.jsonto extendtsconfig.jsonacross packages (config,errors,icons,network-tools,network,resolve-dist,scaffold-config,telemetry,types).watchscripts (parallel CJS/ESM builds) toconfig,errors,scaffold-config,types; enhancetelemetrywatch to includebrowserbuild.packages/root/README.md: note about manually retriggering build (no watcher).packages/resolve-dist/lib/index.ts: replace lazyrequire('fs-extra')with directimport fs from 'fs-extra'.Written by Cursor Bugbot for commit 229ae60. This will update automatically on new commits. Configure here.