@krivega/eslint-config 1.0.12 → 1.0.18
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/.release-it.js +25 -0
- package/.release-it.ts +27 -0
- package/CHANGELOG.md +16 -0
- package/cypress.js +1 -1
- package/cypress.ts +1 -1
- package/jest.js +1 -1
- package/jest.ts +1 -1
- package/package.json +4 -7
- package/react.js +1 -1
- package/react.ts +1 -1
package/.release-it.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
git: {
|
|
3
|
+
requireBranch: 'main',
|
|
4
|
+
commitMessage: 'chore: release v${version}',
|
|
5
|
+
commit: true,
|
|
6
|
+
tag: true,
|
|
7
|
+
push: true,
|
|
8
|
+
},
|
|
9
|
+
npm: {
|
|
10
|
+
publish: false,
|
|
11
|
+
},
|
|
12
|
+
plugins: {
|
|
13
|
+
'@release-it/conventional-changelog': {
|
|
14
|
+
preset: {
|
|
15
|
+
name: 'angular',
|
|
16
|
+
},
|
|
17
|
+
infile: 'CHANGELOG.md',
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
hooks: {
|
|
21
|
+
'before:init': ['yarn lint'],
|
|
22
|
+
'after:bump': 'yarn build',
|
|
23
|
+
'after:release': 'npm publish --access=public --registry=https://registry.npmjs.org/',
|
|
24
|
+
},
|
|
25
|
+
};
|
package/.release-it.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { Config } from 'release-it';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
git: {
|
|
5
|
+
requireBranch: 'main',
|
|
6
|
+
commitMessage: 'chore: release v${version}',
|
|
7
|
+
commit: true,
|
|
8
|
+
tag: true,
|
|
9
|
+
push: true,
|
|
10
|
+
},
|
|
11
|
+
npm: {
|
|
12
|
+
publish: false,
|
|
13
|
+
},
|
|
14
|
+
plugins: {
|
|
15
|
+
'@release-it/conventional-changelog': {
|
|
16
|
+
preset: {
|
|
17
|
+
name: 'angular',
|
|
18
|
+
},
|
|
19
|
+
infile: 'CHANGELOG.md',
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
hooks: {
|
|
23
|
+
'before:init': ['yarn lint'],
|
|
24
|
+
'after:bump': 'yarn build',
|
|
25
|
+
'after:release': 'npm publish --access=public --registry=https://registry.npmjs.org/',
|
|
26
|
+
},
|
|
27
|
+
} satisfies Config;
|
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.0.18](/compare/v1.0.17...v1.0.18) (2025-11-27)
|
|
4
|
+
|
|
5
|
+
## [1.0.17](/compare/v1.0.16...v1.0.17) (2025-11-27)
|
|
6
|
+
|
|
7
|
+
## [1.0.16](/compare/v1.0.15...v1.0.16) (2025-11-27)
|
|
8
|
+
|
|
9
|
+
## [1.0.15](/compare/v1.0.14...v1.0.15) (2025-11-27)
|
|
10
|
+
|
|
11
|
+
## [1.0.14](/compare/v1.0.13...v1.0.14) (2025-11-27)
|
|
12
|
+
|
|
3
13
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
14
|
|
|
15
|
+
### [1.0.13](https://github.com/Krivega/eslint-config/compare/v1.0.12...v1.0.13) (2025-11-27)
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
- update import paths to include .js extension and adjust TypeScript configuration settings ([e77474e](https://github.com/Krivega/eslint-config/commit/e77474ed71a7e67ec324aa6952c889eccb525198))
|
|
20
|
+
|
|
5
21
|
### [1.0.12](https://github.com/Krivega/eslint-config/compare/v1.0.11...v1.0.12) (2025-11-27)
|
|
6
22
|
|
|
7
23
|
### [1.0.11](https://github.com/Krivega/eslint-config/compare/v1.0.10...v1.0.11) (2025-11-24)
|
package/cypress.js
CHANGED
package/cypress.ts
CHANGED
package/jest.js
CHANGED
package/jest.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@krivega/eslint-config",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.18",
|
|
4
4
|
"bugs": {
|
|
5
5
|
"url": "https://github.com/Krivega/eslint-config/issues"
|
|
6
6
|
},
|
|
@@ -29,11 +29,7 @@
|
|
|
29
29
|
"lint:src": "yarn lint:ts",
|
|
30
30
|
"lint:ts": "tsc --noEmit --project tsconfig.json",
|
|
31
31
|
"prepublishOnly": "yarn build",
|
|
32
|
-
"release": "
|
|
33
|
-
"release:alpha": "standard-version --prerelease alpha && npm run release:publish && npm publish --tag alpha --registry=https://registry.npmjs.org/",
|
|
34
|
-
"release:major": "standard-version --release-as major && npm run release:publish && npm publish --access=public --registry=https://registry.npmjs.org/",
|
|
35
|
-
"release:pre": "standard-version --prerelease && npm run release:publish && npm publish --tag prerelease --registry=https://registry.npmjs.org/",
|
|
36
|
-
"release:publish": "git push --follow-tags",
|
|
32
|
+
"release": "release-it",
|
|
37
33
|
"run:postinstall": "yarn --cwd ./example install && yarn --cwd ./exampleReact install"
|
|
38
34
|
},
|
|
39
35
|
"dependencies": {
|
|
@@ -60,8 +56,9 @@
|
|
|
60
56
|
"devDependencies": {
|
|
61
57
|
"@commitlint/cli": "^20.1.0",
|
|
62
58
|
"@commitlint/config-conventional": "^20.0.0",
|
|
59
|
+
"@release-it/conventional-changelog": "^10.0.2",
|
|
63
60
|
"prettier": "^3.7.0",
|
|
64
|
-
"
|
|
61
|
+
"release-it": "^19.0.6"
|
|
65
62
|
},
|
|
66
63
|
"peerDependencies": {
|
|
67
64
|
"eslint": "^9.39.1",
|
package/react.js
CHANGED
package/react.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { ESLint, Linter } from 'eslint';
|
|
|
2
2
|
import jsxA11y from 'eslint-plugin-jsx-a11y';
|
|
3
3
|
import react from 'eslint-plugin-react';
|
|
4
4
|
import reactHooks from 'eslint-plugin-react-hooks';
|
|
5
|
-
import config from './index';
|
|
5
|
+
import config from './index.js';
|
|
6
6
|
|
|
7
7
|
const reactConfig: Linter.Config[] = [
|
|
8
8
|
...config,
|