diff --git a/CHANGELOG.md b/CHANGELOG.md index 066f4977ff7..d518df1effe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ ## [`master`](https://github.com/elastic/eui/tree/master) -No public interface changes since `9.9.0`. +- Re-enable installation of `@elastic/eui` via npm ([#1811](https://github.com/elastic/eui/pull/1811)) ## [`9.9.0`](https://github.com/elastic/eui/tree/v9.9.0) diff --git a/package.json b/package.json index 84ec788f468..41d3cb4190e 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,6 @@ "docker_image": "node:8", "sideEffects": false, "scripts": { - "preinstall": "node ./preinstall_check", "start": "webpack-dev-server --port 8030 --inline --hot --config=src-docs/webpack.config.js", "test-docker": "docker pull $npm_package_docker_image && docker run --rm -i -e GIT_COMMITTER_NAME=test -e GIT_COMMITTER_EMAIL=test --user=$(id -u):$(id -g) -e HOME=/tmp -v $(pwd):/app -w /app $npm_package_docker_image bash -c 'npm config set spin false && /opt/yarn*/bin/yarn && npm run test && npm run build'", "sync-docs": "node ./scripts/docs-sync.js", diff --git a/preinstall_check.js b/preinstall_check.js deleted file mode 100644 index 3c572706dc7..00000000000 --- a/preinstall_check.js +++ /dev/null @@ -1,5 +0,0 @@ -const isUsingNpm = process.env.npm_config_git !== undefined; - -if (isUsingNpm) { - throw `Use Yarn instead of npm`; -}