eslint-config-gits 0.0.3 → 1.0.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 ADDED
@@ -0,0 +1,19 @@
1
+ stages:
2
+ - deploy
3
+
4
+ image: node:18
5
+
6
+ deploy:npm:
7
+ stage: deploy
8
+ only:
9
+ - main
10
+ variables:
11
+ GITLAB_TOKEN: ${CI_JOB_TOKEN}
12
+ cache:
13
+ key: ${CI_COMMIT_REF_SLUG}
14
+ paths:
15
+ - .npm/
16
+ before_script:
17
+ - npm install
18
+ script:
19
+ - npx semantic-release
@@ -0,0 +1,20 @@
1
+ {
2
+ "branches": [
3
+ "main"
4
+ ],
5
+ "plugins": [
6
+ "@semantic-release/commit-analyzer",
7
+ "@semantic-release/release-notes-generator",
8
+ "@semantic-release/gitlab",
9
+ "@semantic-release/npm",
10
+ [
11
+ "@semantic-release/git",
12
+ {
13
+ "assets": [
14
+ "package.json"
15
+ ],
16
+ "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
17
+ }
18
+ ]
19
+ ]
20
+ }
package/package.json CHANGED
@@ -1,31 +1,37 @@
1
1
  {
2
2
  "name": "eslint-config-gits",
3
- "version": "0.0.3",
3
+ "version": "1.0.0",
4
4
  "description": "EsLint preset for Geenen IT-Systeme",
5
5
  "repository": "https://gitlab.com/geenen-it-systeme/eslint-preset",
6
6
  "main": "index.js",
7
7
  "scripts": {
8
8
  "test": "echo \"Error: no test specified\" && exit 1"
9
9
  },
10
- "keywords": ["eslint", "eslint-config"],
10
+ "keywords": [
11
+ "eslint",
12
+ "eslint-config"
13
+ ],
11
14
  "author": "",
12
15
  "license": "ISC",
13
16
  "peerDependencies": {
14
- "eslint": "^8.38.0",
15
- "eslint-plugin-editorconfig": "^4.0.2",
16
- "eslint-plugin-prettier": "^4.2.1",
17
- "eslint-plugin-react": "^7.32.2",
18
- "eslint-plugin-react-hooks": "^4.6.0",
19
- "eslint-plugin-storybook": "^0.6.11",
20
- "prettier": "^2.8.7"
17
+ "eslint": "^8",
18
+ "eslint-plugin-editorconfig": "^4",
19
+ "eslint-plugin-prettier": "^4",
20
+ "eslint-plugin-react": "^7",
21
+ "eslint-plugin-react-hooks": "^4",
22
+ "eslint-plugin-storybook": ">= 0",
23
+ "prettier": "^2"
21
24
  },
22
25
  "devDependencies": {
26
+ "@semantic-release/git": "^10.0.1",
27
+ "@semantic-release/gitlab": "^12.0.1",
23
28
  "eslint": "^8.38.0",
24
29
  "eslint-plugin-editorconfig": "^4.0.2",
25
30
  "eslint-plugin-prettier": "^4.2.1",
26
31
  "eslint-plugin-react": "^7.32.2",
27
32
  "eslint-plugin-react-hooks": "^4.6.0",
28
33
  "eslint-plugin-storybook": "^0.6.11",
29
- "prettier": "^2.8.7"
34
+ "prettier": "^2.8.7",
35
+ "semantic-release": "^21.0.1"
30
36
  }
31
37
  }