schemas icon indicating copy to clipboard operation
schemas copied to clipboard

Adding symlinks to schema. Resolves zeit/serve#519

Open joeldenning opened this issue 5 years ago • 7 comments

See https://github.com/zeit/serve/issues/519

joeldenning avatar Jun 29 '19 14:06 joeldenning

any update on this?

joeldenning avatar Aug 09 '19 05:08 joeldenning

any update?

joeldenning avatar Sep 22 '19 19:09 joeldenning

any update?

joeldenning avatar Oct 24 '19 15:10 joeldenning

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)

dariusbakunas avatar Jan 28 '20 19:01 dariusbakunas

Still not merged? Seriously?

trusktr avatar Aug 27 '21 22:08 trusktr

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.

joeldenning avatar Aug 28 '21 16:08 joeldenning

4 years later and it still hasn't been merged?

Dinhero21 avatar Feb 22 '24 03:02 Dinhero21

@AndyBitz maybe you could help with this?

Johennes avatar Apr 25 '24 13:04 Johennes

Thank you! 🙂

Johennes avatar Apr 25 '24 16:04 Johennes