diff --git a/package.json b/package.json index 479976ac01f..0c132145789 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,6 @@ "devserver-with-kds": "concurrently --passthrough-arguments --kill-others \"yarn:watch --watchonly={2} --require-kds-path --kds-path={1}\" yarn:python-devserver yarn:hashi-dev --", "bundle-stats": "kolibri-tools build stats --file ./build_tools/build_plugins.txt --transpile", "clean": "kolibri-tools build clean --file ./build_tools/build_plugins.txt", - "preinstall": "node ./packages/kolibri-tools/lib/npm_deprecation_warning.js", "lint-frontend": "kolibri-tools lint --pattern '{kolibri*/**/assets,packages,build_tools}/**/*.{js,vue,scss,less,css}' --ignore '**/dist/**,**/node_modules/**,**/static/**,**/kolibri-core-for-export/**'", "lint-frontend:format": "yarn run lint-frontend --write", "lint-frontend:watch": "yarn run lint-frontend --monitor", diff --git a/packages/kolibri-tools/lib/npm_deprecation_warning.js b/packages/kolibri-tools/lib/npm_deprecation_warning.js deleted file mode 100644 index 146accba614..00000000000 --- a/packages/kolibri-tools/lib/npm_deprecation_warning.js +++ /dev/null @@ -1,8 +0,0 @@ -if (!process.env.npm_execpath.endsWith('yarn.js')) { - /* eslint-disable no-console */ - console.error( - 'ERROR: Please use yarn to manage frontend dependencies, see Kolibri documentation for details' - ); - /* eslint-enable no-console */ - process.exit(1); -}