Skip to content

chore: use import.meta.dirname in tests - #1303

Open
sacrosanctic wants to merge 8 commits into
sveltejs:version-1from
sacrosanctic:import-meta-dirname
Open

chore: use import.meta.dirname in tests#1303
sacrosanctic wants to merge 8 commits into
sveltejs:version-1from
sacrosanctic:import-meta-dirname

Conversation

@sacrosanctic

@sacrosanctic sacrosanctic commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Closes #

Merge after #1304

Description

  • use import.meta.dirname (introduced in node@20.11.0) over fileURLToPath
  • use uniform names and paths
  • use empathic/find to find ROOT

Checklist

  • Update snapshots (if applicable)
  • Add a changeset (if applicable)
  • Allow maintainers to edit this PR
  • I care about what I'm doing, no matter the tool I use (Notepad, Sublime, VSCode, AI...)

@pkg-svelte-dev

pkg-svelte-dev Bot commented Aug 28, 2026

Copy link
Copy Markdown

Install the latest version of sv from fb6caf3:

pnx https://pkg.svelte.dev/sv/c/fb6caf3bf809198d8336d546951442eea3daea0f create

Open in pkg.svelte.dev: https://pkg.svelte.dev/repos/cli/pr/1303

Note

This PR is from a fork. A maintainer must approve approve each commit before it can be built and installed.

@changeset-bot

changeset-bot Bot commented Aug 28, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: fb6caf3

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant