Skip to content

fix(init): #1279 resolve windows init cli failures and restore test cases - #1802

Merged
thescientist13 merged 2 commits into
masterfrom
bug/fix-windows-init-installation-scaffolding
Sep 10, 2026
Merged

fix(init): #1279 resolve windows init cli failures and restore test cases#1802
thescientist13 merged 2 commits into
masterfrom
bug/fix-windows-init-installation-scaffolding

Conversation

@thescientist13

@thescientist13 thescientist13 commented Sep 4, 2026

Copy link
Copy Markdown
Member

Related Issue

related to #1279

  25 passing (19s)
  1 failing

  1) Initialize a new Greenwood project: 
       Scaffolding a new project with dependencies installed through PNPM
         should install with pnpm
           should generate a pnpm-lock.yaml file:

      AssertionError: expected false to be true
      + expected - actual

      -false
      +true
      
      at Context.<anonymous> (file:///C:/Users/owenbuckley/Workspace/greenwood/packages/init/test/cases/init.options.install-pnpm/init.options.install-pnpm.spec.js:62:81)
      at process.processImmediate (node:internal/timers:504:21)

  1. Was originally ignored in https://github.com/ProjectEvergreen/greenwood/pull/992/changes#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R25
  2. Was never restored in feature/issue 1279 prompt based init installer #1497 / restore Init package --install based test cases #787
  3. Refector to not use deprecated shell usage with spawned processes
    Screenshot 2026-09-04 at 11 26 38 AM

Documentation

N / A

Summary of Changes

  1. Handle windows powershell installation
  2. Add error handling
  3. Restore init test cases on windows

@thescientist13
thescientist13 force-pushed the bug/fix-windows-init-installation-scaffolding branch from be5bb64 to ec98dc4 Compare September 10, 2026 02:09
@thescientist13
thescientist13 merged commit 719c6f6 into master Sep 10, 2026
12 checks passed
@thescientist13
thescientist13 deleted the bug/fix-windows-init-installation-scaffolding branch September 10, 2026 02:36
@github-project-automation github-project-automation Bot moved this from 👀 In review to ✅ Done in [Greenwood] Phase 11 - Burndown to 1.0 Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

alpha.2 bug Something isn't working Init v0.35.0

Projects

Development

Successfully merging this pull request may close these issues.

adopt prompt based user experience for the init experience restore Init package --install based test cases

1 participant