BuilderIO / mitosis

Write components once, run everywhere. Compiles to React, Vue, Qwik, Solid, Angular, Svelte, and more.
https://mitosis.builder.io
MIT License
11.84k stars 512 forks source link

fix: npm run start script on win #1445

Closed Giuliano1993 closed 1 month ago

Giuliano1993 commented 1 month ago

Description

This PR is related to issue #1444 The launch of command npm run start failed on windows because of the single quote inside the command start in the package.json:

"start": "watch 'npm run build' ./src",

To make it work on windows too, it is enough to replace them with escaped double quotes This small fix solves the problem and allows it to be run on windows too.

changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: a2d5458dd9ba614ec796f64abb54383fb12ace84

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | -------------------------- | ----- | | @builder.io/create-mitosis | Patch |

Not sure what this means? Click here to learn what changesets are.

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

nx-cloud[bot] commented 1 month ago

☁️ Nx Cloud Report

CI is running/has finished running commands for commit a2d5458dd9ba614ec796f64abb54383fb12ace84. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 4 targets - [`nx run-many --skip-nx-cache --target build --parallel 4 --exclude */e2e-alpine,@builder.io/mitosis-fiddle,@builder.io/talk-*,@builder.io/example-apps`](https://cloud.nx.app/runs/vkemjUVEDH?utm_source=pull-request&utm_medium=comment) - [`nx build @builder.io/mitosis-site`](https://cloud.nx.app/runs/FCNRqz3oN4?utm_source=pull-request&utm_medium=comment) - [`nx build @builder.io/eslint-plugin-mitosis`](https://cloud.nx.app/runs/KSCkRn2qKf?utm_source=pull-request&utm_medium=comment) - [`nx build @builder.io/mitosis`](https://cloud.nx.app/runs/NT3esqmx1R?utm_source=pull-request&utm_medium=comment)

Sent with 💌 from NxCloud.