Repository navigation
chore: Enable Parcel 3 in CircleCI - #11001
devongovett wants to merge 19 commits into
Conversation
|
Build successful! 🎉 |
reidbarber
left a comment
There was a problem hiding this comment.
Storybook stories aren't loading for me for some reason
|
Build successful! 🎉 |
|
we should turn on verdaccio for at least one build in the PR |
| mode: isDev ? 'development' : 'production', | ||
| serveOptions: isDev ? {port: 3000} : null, | ||
| hmrOptions: isDev ? {port: 3001} : null, | ||
| additionalReporters: [ |
There was a problem hiding this comment.
@snowystinger this is for Parcel 2, not 3. Do we need to turn it off for v2 as well?
There was a problem hiding this comment.
Doesn't really matter so long as it's not trying to write I think
Theoretically I think I could've left in the turbosnap one as well, it didn't cause a failure. All that mattered was when chromatic looked for the file, so the CLI call change was the real thing that mattered
There was a problem hiding this comment.
I mean you don't need to turn off turbosnap for v2 because it works there right?
There was a problem hiding this comment.
I wasn't sure what would happen really if sometimes turbosnap was used (by us running locally on accident) and sometimes not (as the CI does). So I figured it was safer to turn it all off until we were ready again.
| "..." | ||
| ], | ||
| "packages/**/intl/**/*.json": ["parcel-transformer-intl"], | ||
| "js:packages/**/intl/**/*.json": ["parcel-transformer-intl"], |
There was a problem hiding this comment.
This was a bit unintuitive so I will think of improvements for parcel. Parcel 3 distinguishes between compiling JSON imported from JS vs JSON referenced elsewhere (e.g. a URL in an HTML file). The js: pipeline is added automatically for JSON imported from JS, and the default transformer was winning over ours.
|
Weird, Chromatic is failing https://www.chromatic.com/test?appId=5f0dd5ad2b5fc10022a2e320&id=6b0786e0b1018c363da201b0 |
|
latest run https://www.chromatic.com/build?appId=5f0dd5ad2b5fc10022a2e320&number=1359 did my best to sort out ones i think are a result of this PR vs flaky |

No description provided.