JJ Kasper
f7b81316ae
Update to leverage pnpm for monorepo ( #37259 )
...
* Update to leverage pnpm for monorepo
* update compiled
* update stats action
* update ci install step
* update ci
* add test dep
* update invoking scripts
* update caching
* skip cache for now
* update dep
* update packages and fix babel
* update compiled
* update lint
* update test
* update ci
* update pnpm store caching
* update path for windows
* update restore-key config
* update caching
* remove extra build azure stage
* re-add checkout
* update setting pnpm store
* bump
* remove azure caching as pnpm is faster to download
* update contributing
* apply suggestions
* remove install-peers
* prepublish -> prepublishOnly
* prepublish -> prepublishOnly more
* more yarn -> pnpm references
* more yarn -> pnpm references take 2
* use workspace protocol for root package.json
Co-authored-by: Steven <steven@ceriously.com>
2022-05-28 23:35:16 -05:00
JJ Kasper
4d307716f7
Fix issue with escape-string-regexp in IE11 ( #32708 )
...
* Fix issue with escape-string-regexp in IE11
* remove escape-string-regexp dep
* Update compiled
* Link to original repo
2022-01-03 11:41:50 -06:00
JJ Kasper
b6fb52bbb0
Update web runtime externals ( #32717 )
...
As mentioned in https://github.com/vercel/next.js/pull/32679#discussion_r773357113 it looks like these externals need to be updated to the compiled path not that they are ncc'd. Also updated the test readme a bit to reduce confusion in https://github.com/vercel/next.js/issues/32367#issuecomment-997969759
2021-12-22 02:34:36 +00:00
JJ Kasper
3667eba385
Pre-compile more dependencies continued ( #32679 )
2021-12-21 16:13:45 +01:00
Guy Bedford
8221c180a5
ncc 0.25.0 upgrade and fixes ( #18873 )
...
This upgrades to ncc@0.25.0 and fixes the previous bugs including:
* ncc not referenced correctly in build
* Babel type errors
* node-fetch, etag, chalk and raw-body dependencies not building with ncc - these have been "un-ncc'd" for now. As they are relatively small dependencies, this doesn't seem too much of an issue and we can follow up in the tracking ncc issue at https://github.com/vercel/ncc/issues/612 .
* `yarn dev` issues
Took a lot of bisecting, but the overall diff isn't too bad here in the end.
2020-11-06 02:33:14 +00:00
Guy Bedford
7b66da83e3
Update ncc ( #18823 )
...
This updates to the latest ncc@0.24.1 release.
Initially I thought chalk needed to be removed to make this work, but it turns out it was a caching issue.
I've also added a cache clear to the rebuild command to avoid these issues hopefully in future.
2020-11-05 03:30:37 +00:00
JJ Kasper
ad22e77309
Expose dotenv loading under separate package ( #17152 )
...
* Expose dotenv loading under separate package
* Update pre-compiled
* Rename package to @next/env
* Update lint ignores
* Update package.json
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-09-25 13:14:28 -05:00
JJ Kasper
9df9d4aea5
Fix build stalling with styled-jsx plugins ( #12952 )
2020-05-15 17:15:15 -04:00
Joe Haddad
5d8709946a
[internal] Dedupe monorepo deps ( #12093 )
...
* Dedupe webpack
* Dedupe deps
* Update compiled deps
2020-04-22 01:25:43 -04:00
JJ Kasper
84b89c8b24
Pre-ncc compiled packages to prevent re-nccing unnecessarily ( #11569 )
...
* Pre-ncc compiled packages to prevent re-nccing unnecessarily
* Add compiled files
* Re-run pre-ncc step
* Add check to workflow to ensure pre-compiled doesnt need updating
* Update check-pre-compiled script
* Add handling for lower case license while nccing
* bump
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-04-07 09:42:16 -04:00