From b07acac13411a4b00d4425730a400d4b579c8b42 Mon Sep 17 00:00:00 2001 From: Pirate Praveen Date: Wed, 21 Apr 2021 01:01:41 +0530 Subject: [PATCH] Use packaged versions of @babel/* --- .../patches/0740-use-packaged-modules.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/debian/patches/0740-use-packaged-modules.patch b/debian/patches/0740-use-packaged-modules.patch index 254c84b1a6..55d59417b9 100644 --- a/debian/patches/0740-use-packaged-modules.patch +++ b/debian/patches/0740-use-packaged-modules.patch @@ -108,6 +108,25 @@ Use debian packaged node modules when available }; --- a/package.json +++ b/package.json +@@ -48,12 +48,12 @@ + "webpack-prod": "NODE_OPTIONS=\"--max-old-space-size=3584\" NODE_ENV=production webpack --config config/webpack.config.js" + }, + "dependencies": { +- "@babel/core": "^7.10.1", +- "@babel/plugin-proposal-class-properties": "^7.10.1", +- "@babel/plugin-proposal-json-strings": "^7.10.1", +- "@babel/plugin-proposal-private-methods": "^7.10.1", +- "@babel/plugin-syntax-import-meta": "^7.10.1", +- "@babel/preset-env": "^7.10.1", ++ "@babel/core": "link:/usr/share/nodejs/@babel/core", ++ "@babel/plugin-proposal-class-properties": "link:/usr/share/nodejs/@babel/plugin-proposal-class-properties", ++ "@babel/plugin-proposal-json-strings": "link:/usr/share/nodejs/@babel/plugin-proposal-json-strings", ++ "@babel/plugin-proposal-private-methods": "link:/usr/share/nodejs/@babel/plugin-proposal-private-methods", ++ "@babel/plugin-syntax-import-meta": "link:/usr/share/nodejs/@babel/plugin-syntax-import-meta", ++ "@babel/preset-env": "link:/usr/share/nodejs/@babel/preset-env", + "@gitlab/at.js": "1.5.7", + "@gitlab/favicon-overlay": "2.0.0", + "@gitlab/svgs": "1.185.0", @@ -76,7 +76,7 @@ "aws-sdk": "^2.637.0", "axios": "^0.20.0",