From 10fe95c80674ca9ff6b1c0cba2efa6230e8ffabe Mon Sep 17 00:00:00 2001 From: SuperOleg39 Date: Fri, 22 Jan 2021 15:22:52 +0300 Subject: [PATCH] fix: use lerna publish from-package, revert testing source code changes (#85) Co-authored-by: o.drapeza --- CONTRIBUTING.md | 6 +++--- package.json | 4 ++-- packages/eslint-config/app.js | 4 +--- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 00c7be8..ce55503 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,11 +4,11 @@ - Run tests with `npm run test:ci`. - Follow [Conventional Commits specification](https://conventionalcommits.org/) for every commitmessage. -## Release +## Automatic release -- Create and push `release/*` branch, then make PR to `master` branch +All merged PR to `master` branch trigger github actions release and publish workflow. -## _Release +## Manual release - Prepare your release into `master` or `release/*` branch. - Run `npm run version` and look what happens. diff --git a/package.json b/package.json index 3176b53..0b380e1 100644 --- a/package.json +++ b/package.json @@ -22,8 +22,8 @@ "preversion": "lerna run build:prod --parallel && cp ./README.md ./packages/linters/", "version": "lerna version --no-private --conventional-commits --changelog-preset conventionalcommits --yes --ignore-changes '**/package-lock.json'", "********** Publish": "", - "publish": "lerna publish from-git --yes --pre-dist-tag beta", - "publish:beta": "lerna publish --dist-tag beta from-git --yes" + "publish": "lerna publish from-package --yes --pre-dist-tag beta", + "publish:beta": "lerna publish --dist-tag beta from-package --yes" }, "author": { "name": "Tinkoff Team", diff --git a/packages/eslint-config/app.js b/packages/eslint-config/app.js index 68cf112..fe68615 100644 --- a/packages/eslint-config/app.js +++ b/packages/eslint-config/app.js @@ -3,7 +3,5 @@ module.exports = { plugins: [], - rules: { - 'import/no-dynamic-require': 'off', - }, + rules: {}, };