Prepare to publish @babel/eslint-* packages (#11894)
* remove private flag, bump node and babel versions
* disallow submodule imports
* Revert "Do not automatically publish eslint packages (#10722)"
This reverts commit 5ca8acdb38.
# Conflicts:
# Makefile
# eslint/babel-eslint-parser/package.json
# eslint/babel-eslint-plugin-development/package.json
# lerna.json
# scripts/integration-tests/publish-local.sh
* disable submodule imports for babel-eslint-config-internal
* chore: push back a bit to make tests happy
This commit is contained in:
12
Makefile
12
Makefile
@@ -249,11 +249,6 @@ endif
|
||||
$(YARN) lerna publish from-git --registry http://localhost:4873 --yes --tag-version-prefix="version-e2e-test-"
|
||||
$(MAKE) clean
|
||||
|
||||
publish-eslint:
|
||||
$(call set-json-field, ./eslint/$(PKG)/package.json, private, false)
|
||||
cd eslint/$(PKG); yarn publish
|
||||
$(call set-json-field, ./eslint/$(PKG)/package.json, private, true)
|
||||
|
||||
bootstrap-only: lerna-bootstrap
|
||||
|
||||
yarn-install: clean-all
|
||||
@@ -312,10 +307,3 @@ define clean-source-all
|
||||
rm -rf $(1)/*/package-lock.json
|
||||
|
||||
endef
|
||||
|
||||
define set-json-field
|
||||
$(NODE) -e "\
|
||||
require('fs').writeFileSync('$1'.trim(), \
|
||||
JSON.stringify({ ...require('$1'.trim()), $2: $3 }, null, 2) + '\\n' \
|
||||
)"
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user