@cenk1cenk2/eslint-config 3.2.5 → 3.3.0

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/.gitlab-ci.yml CHANGED
@@ -1,7 +1,21 @@
1
+ ---
1
2
  stages:
2
3
  - publish
3
4
 
4
5
  include:
5
- - project: devops/pipes
6
- file: /templates/semantic-release.gitlab-ci.yml
7
- ref: main
6
+ - project: devops/pipelines
7
+ ref: semantic-release@2.0.0
8
+ file:
9
+ - /semantic-release/publish.gitlab-ci.yml
10
+
11
+ semantic-release:
12
+ stage: publish
13
+ extends: .semantic-release
14
+ before_script:
15
+ # @semantic-release/npm never writes ~/.npmrc — it writes a tempfile and passes it via --userconfig to its own npm calls only
16
+ # so this authenticated npmrc is what `npm stage publish` uses, regardless of the npmPublish setting
17
+ - echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
18
+ rules:
19
+ - if: '$CI_COMMIT_REF_NAME =~ /^(master|main|alpha|beta|rc|next)$/'
20
+ interruptible: true
21
+ - when: never
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ # [3.3.0](https://gitlab.kilic.dev/config/eslint-config/compare/v3.2.6...v3.3.0) (2026-09-02)
2
+
3
+
4
+ ### Features
5
+
6
+ * **ci:** publish packages via npm staged publishing ([6c6120d](https://gitlab.kilic.dev/config/eslint-config/commit/6c6120d428b968d797fe26dbc5ab13a9aed2e34d))
7
+
8
+ ## [3.2.6](https://gitlab.kilic.dev/config/eslint-config/compare/v3.2.5...v3.2.6) (2026-05-31)
9
+
10
+
11
+ ### Performance Improvements
12
+
13
+ * **deps:** switch to eslint-plugin-import-x ([f58ac50](https://gitlab.kilic.dev/config/eslint-config/commit/f58ac500427ceeb3d218d4e9143c10a0eb6de59a))
14
+
1
15
  ## [3.2.5](https://gitlab.kilic.dev/config/eslint-config/compare/v3.2.4...v3.2.5) (2026-05-02)
2
16
 
3
17
 
package/import-strict.js CHANGED
@@ -1,4 +1,4 @@
1
- import ImportPlugin from 'eslint-plugin-import'
1
+ import { importX as ImportPlugin } from 'eslint-plugin-import-x'
2
2
  import { EXTENSIONS } from './constants.js'
3
3
 
4
4
  /** @type {import("eslint").Linter.Config[]} */
package/import.js CHANGED
@@ -1,4 +1,4 @@
1
- import ImportPlugin from 'eslint-plugin-import'
1
+ import { importX as ImportPlugin } from 'eslint-plugin-import-x'
2
2
  import { EXTENSIONS } from './constants.js'
3
3
 
4
4
  /** @type {import("eslint").Linter.Config[]} */
package/package.json CHANGED
@@ -1,12 +1,15 @@
1
1
  {
2
2
  "name": "@cenk1cenk2/eslint-config",
3
- "version": "3.2.5",
3
+ "version": "3.3.0",
4
4
  "description": "Eslint configuration for my taste.",
5
5
  "main": "index.js",
6
6
  "repository": "git@gitlab.kilic.dev:config/eslint-config.git",
7
7
  "author": "Cenk Kilic",
8
8
  "license": "MIT",
9
9
  "type": "module",
10
+ "publishConfig": {
11
+ "access": "public"
12
+ },
10
13
  "exports": {
11
14
  ".": "./index.js",
12
15
  "./svelte": "./svelte.js",
@@ -68,25 +71,25 @@
68
71
  "@stylistic/eslint-plugin": "^5.10.0",
69
72
  "@typescript-eslint/eslint-plugin": "^8.57.0",
70
73
  "@typescript-eslint/parser": "^8.57.0",
71
- "eslint-plugin-import": "^2.32.0",
74
+ "eslint-plugin-import-x": "^4.16.2",
72
75
  "globals": "^17.4.0",
73
76
  "load-tsconfig": "^0.2.5",
74
77
  "typescript-eslint": "^8.57.0"
75
78
  },
76
79
  "devDependencies": {
77
- "@cenk1cenk2/cz-cc": "^2.2.14",
78
- "@vue/eslint-config-typescript": "^14.7.0",
79
- "eslint": "^10.3.0",
80
- "eslint-plugin-vue": "^10.9.0",
80
+ "@cenk1cenk2/cz-cc": "^2.2.23",
81
+ "@vue/eslint-config-typescript": "^14.9.0",
82
+ "eslint": "^10.9.1",
83
+ "eslint-plugin-vue": "^10.10.0",
81
84
  "lint-staged": "^16.4.0",
82
- "prettier": "^3.8.3",
85
+ "prettier": "^3.9.6",
83
86
  "simple-git-hooks": "^2.13.1",
84
- "svelte": "^5.55.5"
87
+ "svelte": "^5.56.8"
85
88
  },
86
89
  "config": {
87
90
  "commitizen": {
88
91
  "path": "./node_modules/@cenk1cenk2/cz-cc"
89
92
  }
90
93
  },
91
- "packageManager": "pnpm@10.33.2"
94
+ "packageManager": "pnpm@11.15.1"
92
95
  }
@@ -0,0 +1,11 @@
1
+ ---
2
+ packages: []
3
+
4
+ minimumReleaseAge: 1440
5
+
6
+ minimumReleaseAgeExclude:
7
+ - '@cenk1cenk2/*'
8
+
9
+ allowBuilds:
10
+ simple-git-hooks: true
11
+ unrs-resolver: true
package/release.config.js CHANGED
@@ -24,7 +24,14 @@ export default {
24
24
  plugins: [
25
25
  '@semantic-release/commit-analyzer',
26
26
  '@semantic-release/release-notes-generator',
27
- '@semantic-release/npm',
27
+ ['@semantic-release/npm', { npmPublish: false }],
28
+ [
29
+ '@semantic-release/exec',
30
+ {
31
+ publishCmd:
32
+ "npm stage publish ${nextRelease.channel ? \"--tag \" + nextRelease.channel : \"\"} > /dev/null && node -p \"JSON.stringify({ name: 'npm package', url: 'https://www.npmjs.com/package/' + require('./package.json').name + '/v/${nextRelease.version}', channel: '${nextRelease.channel || \"latest\"}' })\""
33
+ }
34
+ ],
28
35
  '@semantic-release/changelog',
29
36
  [
30
37
  '@semantic-release/git',
package/utils.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { loadTsConfig } from 'load-tsconfig'
2
- import ImportPlugin from 'eslint-plugin-import'
2
+ import { importX as ImportPlugin } from 'eslint-plugin-import-x'
3
3
 
4
4
  /**
5
5
  * @param {{ paths?: string[], tsconfig?: string, tsconfigDir?: string}} options