@diplodoc/lint 1.1.1 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.1.3](https://github.com/diplodoc-platform/lint/compare/v1.1.2...v1.1.3) (2024-08-14)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * Fix dummy error in packages init ([a2c34f4](https://github.com/diplodoc-platform/lint/commit/a2c34f475f9463ad0dc065a64825257aa72600ba))
9
+
10
+ ## [1.1.2](https://github.com/diplodoc-platform/lint/compare/v1.1.1...v1.1.2) (2024-08-13)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * Handle jest config ([8df332d](https://github.com/diplodoc-platform/lint/commit/8df332d2c4ec1f44b01ab9b7955df23ca784cad8))
16
+
3
17
  ## [1.1.1](https://github.com/diplodoc-platform/lint/compare/v1.1.0...v1.1.1) (2024-08-12)
4
18
 
5
19
 
@@ -10,6 +10,7 @@ module.exports = {
10
10
  '.prettierrc.js',
11
11
  '.stylelintrc.js',
12
12
  '.lintstagedrc.js',
13
+ 'jest.config.js',
13
14
  ],
14
15
  env: {
15
16
  node: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diplodoc/lint",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "description": "Diplodoc platform internal utility set for linting",
5
5
  "bin": {
6
6
  "lint": "./bin/lint",
@@ -12,7 +12,7 @@ try {
12
12
 
13
13
  function configure(command, impl, force = false) {
14
14
  if (pkg.scripts[command] && !force) {
15
- if (pkg.scripts[command] !== impl && strict) {
15
+ if (pkg.scripts[command] !== impl) {
16
16
  throw `Lint command '${command}' already configured with different program`;
17
17
  }
18
18
  } else {
@@ -1,21 +0,0 @@
1
- on:
2
- push:
3
- branches: [master]
4
-
5
- name: release
6
-
7
- permissions:
8
- contents: write
9
- pull-requests: write
10
-
11
- jobs:
12
- release:
13
- runs-on: ubuntu-latest
14
- steps:
15
- - uses: gravity-ui/release-action@v1
16
- with:
17
- github-token: ${{ secrets.YC_UI_BOT_GITHUB_TOKEN }}
18
- npm-token: ${{ secrets.ROBOT_DATAUI_NPM_TOKEN }}
19
- node-version: 18
20
- default-branch: ${{ github.ref_name != 'master' && github.ref_name || null }}
21
- npm-dist-tag: ${{ github.ref_name != 'master' && 'untagged' || 'latest' }}
@@ -1,32 +0,0 @@
1
- name: Tests
2
-
3
- on:
4
- push:
5
- branches: [master]
6
- pull_request:
7
- branches: ['**']
8
-
9
- jobs:
10
- test:
11
- name: Node v${{ matrix.node-version }} on ${{ matrix.os }}
12
- runs-on: ${{ matrix.os }}
13
- strategy:
14
- fail-fast: false
15
- matrix:
16
- os: [ubuntu-latest, windows-latest, macos-latest]
17
- node-version: [18.x]
18
- steps:
19
- - name: Checkout
20
- uses: actions/checkout@v2
21
- - name: Use Node.js ${{ matrix.node-version }}
22
- uses: actions/setup-node@v2
23
- with:
24
- node-version: ${{ matrix.node-version }}
25
- os: ${{ matrix.os }}
26
- cache: 'npm'
27
- - name: Install packages for project
28
- run: npm ci
29
- - name: Run tests
30
- run: |
31
- cd test
32
- npm start