schemas
schemas copied to clipboard
Adding symlinks to schema. Resolves zeit/serve#519
See https://github.com/zeit/serve/issues/519
any update on this?
any update?
any update?
For those looking for a temporary fix, I had some success with using patch
utility to apply this patch after serve
is installed:
diff --git a/node_modules/@zeit/schemas/deployment/config-static.js b/node_modules/@zeit/schemas/deployment/config-static.js
index 55cff95..7e713c5 100644
--- a/node_modules/@zeit/schemas/deployment/config-static.js
+++ b/node_modules/@zeit/schemas/deployment/config-static.js
@@ -73,6 +73,9 @@ module.exports = {
},
'renderSingle': {
type: 'boolean'
+ },
+ 'symlinks': {
+ type: 'boolean'
}
},
additionalProperties: false
save this file as @zeit+schemas+2.6.0.patch
and then patch command like so:
% patch -p1 -d /usr/local/share/.config/yarn/global < @zeit+schemas+2.6.0.patch
Note: I am using yarn
to install serve
globally, so your node_modules
location might be different
Or there is also https://www.npmjs.com/package/patch-package that could apply the same patch in postinstall
step (that is if you don't install serve
globally)
Still not merged? Seriously?
I don't represent vercel but do not think it's helpful to express anger or sarcasm over this. This is an open source project and the maintainers of it owe us nothing.
4 years later and it still hasn't been merged?
@AndyBitz maybe you could help with this?
Thank you! 🙂