Skip to content
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

[WIP] rename packages from vnext to @nomicfoundation #6366

Merged
merged 24 commits into from
Feb 20, 2025

Conversation

kanej
Copy link
Member

@kanej kanej commented Feb 20, 2025

This is a WIP to test the build.

kanej added 11 commits February 19, 2025 22:56
This is a mechanical move of files.
`hardhat-foundry` will either be ported or equivalent functionality
implemented in Hardhat 3.

This is a mechanical move of files.
`hardhat-ledger` will be ported to Hardhat 3.

This is a mechanical move of files.
`hardhat-shorthand` will be migrated to Hardhat 3.

This is a mechanical move of files.
`hardhat-verify` will be ported to Hardhat 3.

This is a mechanical move of files.
Remove the `./packages` that have already been ported under `./v-next`.
Revert to `@nomicfoundation` naming from `v-next`. Where there is an
existing package copy its version. For a new package set the version to
`2.0.0` this is to ease the use of changeset's pre-release features.
Copy link

vercel bot commented Feb 20, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hardhat ❌ Failed (Inspect) Feb 20, 2025 11:55am

@github-actions github-actions bot added the status:ready This issue is ready to be worked on label Feb 20, 2025
Copy link
Contributor

hardhat

Total size of the bundle: 215M
Total number of dependencies (including transitive): 54

List of dependencies (sorted by size)
209M	total
29M	@ignored/edr-optimism-linux-x64-musl
29M	@ignored/edr-optimism-linux-x64-gnu
26M	@ignored/edr-optimism-linux-arm64-musl
26M	@ignored/edr-optimism-linux-arm64-gnu
22M	@ignored/edr-optimism-win32-x64-msvc
20M	esbuild
20M	@ignored/edr-optimism-darwin-x64
19M	@ignored/edr-optimism-darwin-arm64
2.8M	@sentry/tracing
2.5M	micro-eth-signer
1.9M	@noble/curves
1.7M	undici
1.2M	@sentry/types
1.2M	@noble/hashes
932K	@sentry/node
920K	@sentry/utils
856K	zod
844K	@nomicfoundation/hardhat-utils
624K	micro-packed
576K	tsx
548K	@sentry/core
544K	fast-equals
492K	@scure/bip39
368K	ethereum-cryptography
348K	@nomicfoundation/hardhat-errors
344K	@sentry/hub
336K	@ignored/edr
320K	enquirer
288K	semver
280K	@ignored/edr-optimism
192K	ws
168K	@scure/base
136K	get-tsconfig
136K	adm-zip
96K	@scure/bip32
92K	chalk
88K	tslib
88K	@sentry/minimal
76K	agent-base
72K	@nomicfoundation/solidity-analyzer
68K	debug
64K	lru_map
64K	https-proxy-agent
60K	@nomicfoundation/hardhat-zod-utils
56K	rfdc
48K	ansi-colors
44K	resolve.exports
40K	resolve-pkg-maps
36K	p-map
32K	cookie
24K	strip-ansi
24K	env-paths
24K	ansi-regex
20K	ms

Copy link

changeset-bot bot commented Feb 20, 2025

⚠️ No Changeset found

Latest commit: 0cd4c0c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@kanej kanej changed the title chore/rename packages from vnext rename packages from vnext to @nomicfoundation Feb 20, 2025
This is ugly. Effectively a repeated search and replace until all
imports are swapped out.

In `Hardhat` some tests were changed to that they imported via relative
paths rather than trying to import `hardhat` (the package they were in),
this struck me as wrong and likely a hang over from the merge of core
into hardhat.
It is currently dependent on the `./packages` version of the errorlist.
This needs to be updated.
The pre-release build will need to be brought back.

The lint job has been swapped to use the `v-next` dependencies script
check.
@kanej kanej force-pushed the chore/rename-packages-from-vnext branch from 7b1c397 to d0f5a52 Compare February 20, 2025 08:30
@kanej kanej changed the title rename packages from vnext to @nomicfoundation [WIP] rename packages from vnext to @nomicfoundation Feb 20, 2025
Remove all previous changesets. Update the versions of `initialVersions`
to exactly match those in each `package.json`.

Update the list of ignored, removing old packages.
This is to simplify the jump to 3.0.0 with a changeset.
This is to ease the changeset pre-release bump to 3.0.0
@kanej kanej changed the base branch from v-next to v-next-new February 20, 2025 12:02
@kanej kanej marked this pull request as ready for review February 20, 2025 12:02
@kanej kanej merged commit 7206280 into v-next-new Feb 20, 2025
1 of 2 checks passed
@kanej kanej deleted the chore/rename-packages-from-vnext branch February 20, 2025 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:ready This issue is ready to be worked on
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant