From 0b6282632b2043b5654787fff325997e44e9bcff Mon Sep 17 00:00:00 2001 From: James Estevez Date: Tue, 17 Oct 2023 12:14:19 -0700 Subject: [PATCH] Make Omnistudio local compiler optional External users may not have access to the Vlocity private NPM repository, blocking them from installing front end dependencies. This change allows yarn install to complete successfully. --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 4b372052c..acf432466 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,6 @@ "heroku-postbuild": "yarn prod" }, "dependencies": { - "@omnistudio/omniscript-lwc-compiler": "^244.4.0", "@react-hook/window-scroll": "^1.3.0", "@salesforce-ux/design-system": "^2.18.1", "@salesforce/design-system-react": "^0.10.48", @@ -154,6 +153,9 @@ "webpack-dev-server": "^4.9.3", "webpack-merge": "^5.8.0" }, + "optionalDependencies": { + "@omnistudio/omniscript-lwc-compiler": "^244.4.0" + }, "resolutions": { "@storybook/**/ansi-regex": "^5.0.1", "@storybook/**/glob-parent": "^5.1.2",