Skip to content

Errorring package.json scripts for 'build', 'check', 'test', 'coverage' #44

@loklaan

Description

@loklaan

What version of Effect is running?

latest

What steps can reproduce the bug?

Basic template

  1. Install the basic template, pnpm create effect-app@latest selecting Basic with all options on
  2. Install deps with pnpm install
  3. Run the commands listed
  • pnpm run build
  • pnpm run check
  • pnpm run test
  • pnpm run coverage
  • pnpm run codegen

CLI Application template

  1. Install the cli template, pnpm create effect-app@latest selecting CLI Application with all options on
  2. Install deps with pnpm install
  3. Run the commands listed
  • pnpm run build
  • pnpm run check
  • etc

Monorepo template

  1. Install the cli template, pnpm create effect-app@latest selecting Monorepo with all options on
  2. Install deps with pnpm install
  3. Run the commands listed
  • pnpm run build
  • etc

What is the expected behavior?

The expected behaviour should probably be passing exit codes etc

What do you see instead?

Basic template

build image
check image
test Screenshot 2024-09-15 at 4 08 00 pm
coverage Screenshot 2024-09-15 at 4 08 30 pm
codgen image

CLI Application template

build Screenshot 2024-09-15 at 4 15 37 pm
check Screenshot 2024-09-15 at 4 16 51 pm

Monorepo template

I stopped taking screenshots here, just rerun commands mentioned above for this template and they'll fail where they fail.

Additional information

I didn't get to trying to run the package.json scripts for the Http-sever example, it's worth running those to see if they suffer from similar misconfigs.

Thanks for all the hard work! This'll be out-of-the-gate awesome when these bugs are squashed! Right now, generated projects will run fine after fixing the various obvious issues. 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions