GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(install): auto-create package.json when missing in `vp install` / `vp add` by fengmk2 · Pull Request #545 · voidzero-dev/vite-plus

Conversation

@fengmk2

@fengmk2 fengmk2 commented Feb 5, 2026

Copy link
Copy Markdown
Member

Running vp install or vp add in a directory without package.json previously
failed with "Package not found in workspace". Now a minimal { "type": "module" }
package.json is created automatically, allowing PM detection and install to proceed.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@fengmk2 fengmk2 self-assigned this Feb 5, 2026
This was referenced Feb 5, 2026
feat(vp): refactor global cli to rust entry point #514
Merged
feat(js_runtime): add multi-source Node version reading #522
Merged
feat(env): implement vp env command for Node.js version management #524
Merged
fix(build): run vite-plus-cli build after other packages #531
Merged
@fengmk2 Graphite App

fengmk2 commented Feb 5, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member Author
  • refactor(cli): rename vp env run to vp env exec #553 Graphite
  • feat(cli): fall back to package manager for vp run without vite-plus dependency #549 Graphite
  • feat(cli): add vp self-update command #548 Graphite
  • fix(install): auto-create package.json when missing in vp install / vp add #545 Graphite 👈 (View in Graphite)
  • feat(env): implement vp env command for Node.js version management #524 Graphite: 1 other dependent PR (#532 Graphite)
  • feat(vp): refactor global cli to rust entry point #514 Graphite
  • feat(js_runtime): add multi-source Node version reading #522 Graphite
  • fix(build): run vite-plus-cli build after other packages #531 Graphite
  • main

This stack of pull requests is managed by Graphite. Learn more about stacking.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@fengmk2 fengmk2 mentioned this pull request Feb 5, 2026
chore: deply staging website #532
Closed
@fengmk2
fengmk2 requested a review from Brooooooklyn February 5, 2026 14:29
@fengmk2
fengmk2 marked this pull request as ready for review February 5, 2026 14:29
@fengmk2
fengmk2 force-pushed the fix-vp-dev-missing-package-json branch from cbc48dc to de8bd98 Compare February 5, 2026 14:31
@fengmk2
fengmk2 force-pushed the vp-env-shims branch 2 times, most recently from 72450c8 to b80be6c Compare February 5, 2026 14:50
@fengmk2
fengmk2 force-pushed the fix-vp-dev-missing-package-json branch 7 times, most recently from 179a406 to 68e018f Compare February 6, 2026 02:09
@fengmk2 fengmk2 mentioned this pull request Feb 6, 2026
feat(cli): add vp self-update command #548
Merged
@fengmk2
fengmk2 force-pushed the fix-vp-dev-missing-package-json branch from 68e018f to a29953d Compare February 6, 2026 04:13
@fengmk2
fengmk2 force-pushed the vp-env-shims branch from 5e82c75 to a07b820 Compare February 6, 2026 05:14
@fengmk2
fengmk2 force-pushed the fix-vp-dev-missing-package-json branch 3 times, most recently from a612cef to 85c0097 Compare February 6, 2026 06:40
@fengmk2
fengmk2 force-pushed the vp-env-shims branch from 86afc69 to abb9079 Compare February 6, 2026 07:26
@fengmk2
fengmk2 force-pushed the fix-vp-dev-missing-package-json branch from 78c1988 to ae90321 Compare February 6, 2026 07:26
@fengmk2 fengmk2 mentioned this pull request Feb 6, 2026
feat(cli): fall back to package manager for vp run without vite-plus dependency #549
Merged
Brooooooklyn
Brooooooklyn approved these changes Feb 7, 2026
View reviewed changes
@fengmk2
fengmk2 force-pushed the fix-vp-dev-missing-package-json branch from ae90321 to 97f4a34 Compare February 7, 2026 07:42
@fengmk2 Graphite App

fengmk2 commented Feb 7, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member Author

Merge activity

  • Feb 7, 8:24 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Feb 7, 9:07 AM UTC: Graphite rebased this pull request as part of a merge.
  • Feb 7, 9:25 AM UTC: @fengmk2 merged this pull request with Graphite.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@fengmk2
fengmk2 changed the base branch from vp-env-shims to graphite-base/545 February 7, 2026 08:45
@fengmk2
fengmk2 changed the base branch from graphite-base/545 to main February 7, 2026 09:05
fengmk2 added 2 commits February 7, 2026 09:06
@fengmk2
fix(install): auto-create package.json when missing in vp install /…
191dbfe
… `vp add`

Running `vp install` or `vp add` in a directory without package.json previously
failed with "Package not found in workspace". Now a minimal `{ "type": "module" }`
package.json is created automatically, allowing PM detection and install to proceed.
@fengmk2
fix(cli): show friendly "No package.json found." for pm subcommands
4355b45
When running `vp pm`, `vp outdated`, `vp why`, and other package manager
commands in a directory without package.json, the error was verbose and
unfriendly. Now shows a clean "No package.json found." message without
the "Error: " prefix by introducing an Error::UserMessage variant.
@fengmk2
fengmk2 force-pushed the fix-vp-dev-missing-package-json branch from 97f4a34 to 4355b45 Compare February 7, 2026 09:06
@fengmk2
fengmk2 merged commit 6529a63 into main Feb 7, 2026
17 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@fengmk2
fengmk2 deleted the fix-vp-dev-missing-package-json branch February 7, 2026 09:25
@fengmk2 fengmk2 mentioned this pull request Feb 7, 2026
refactor(cli): rename vp env run to vp env exec #553
Merged
wan9chi added a commit that referenced this pull request Jul 20, 2026
@wan9chi @claude
revert: drop @oxlint/migrate publish-lag fallback
52d719c
@oxlint/migrate v1.74.0 was released upstream (oxc-project/oxlint-migrate#542)
but its npm publish failed (EBADENGINE in the release workflow, fixed by #545)
and was never retried, so the registry still tops out at 1.73.0. Keep the
exact bundled-version pin and let CI fail on the mismatch instead of
working around a broken upstream release; the fix is republishing 1.74.0.

Co-Authored-By: Claude Fable 5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@Brooooooklyn Brooooooklyn Brooooooklyn approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@fengmk2 fengmk2

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@fengmk2 @Brooooooklyn
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.