@eik/semantic-release-config 1.0.0 → 1.0.1

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.
@@ -1,5 +1,11 @@
1
1
  name: Publish
2
2
 
3
+ permissions:
4
+ contents: write # to be able to publish a GitHub release
5
+ issues: write # to be able to comment on released issues
6
+ pull-requests: write # to be able to comment on released pull requests
7
+ id-token: write # to enable use of OIDC for npm provenance
8
+
3
9
  on:
4
10
  push:
5
11
  branches:
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.0.1](https://github.com/eik-lib/semantic-release-config/compare/v1.0.0...v1.0.1) (2025-03-03)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update semantic-release monorepo ([8d22fce](https://github.com/eik-lib/semantic-release-config/commit/8d22fcef97dcd8c75054a74ebc6c4ab8a73c941d))
7
+
1
8
  # 1.0.0 (2024-07-30)
2
9
 
3
10
 
package/CONTRIBUTING.md CHANGED
@@ -2,10 +2,8 @@
2
2
 
3
3
  Thank you for showing an interest in contributing to Eik 🧡
4
4
 
5
- This module is a [shared config for Semantic Release](https://semantic-release.gitbook.io/semantic-release/usage/shareable-configurations). We accept changes that should apply to all repositories in the [eik-lib origanisation](https://github.com/eik-lib).
5
+ You can find [the general contribution docs here](https://github.com/eik-lib/.github/blob/main/CONTRIBUTING.md).
6
6
 
7
- Commits should follow the [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) format.
7
+ This module is a [shared config for Semantic Release](https://semantic-release.gitbook.io/semantic-release/usage/shareable-configurations). We accept changes that should apply to all repositories in the [eik-lib origanisation](https://github.com/eik-lib).
8
8
 
9
9
  A change in configuration is considered a `patch` in [semantic versioning](https://semver.org/). A new export would be a `minor`. Requiring a new major of `semantic-release` would be a `major`.
10
-
11
- This repo uses Semantic Release to automate releases whenever changes are merged to the default branch.
package/README.md CHANGED
@@ -25,8 +25,25 @@ npm install --save-dev semantic-release @eik/semantic-release-config
25
25
 
26
26
  In the [semantic-release configuration file](https://github.com/semantic-release/semantic-release/blob/master/docs/usage/configuration.md#configuration):
27
27
 
28
- ```json
29
- {
30
- "extends": "@eik/semantic-release-config"
31
- }
28
+ ```js
29
+ export default {
30
+ extends: "@eik/semantic-release-config",
31
+ };
32
+ ```
33
+
34
+ If you add your own plugins you need to include the ones from the shared config.
35
+
36
+ ```js
37
+ import config from '@eik/semantic-release-config';
38
+
39
+ export default {
40
+ extends: '@eik/semantic-release-config',
41
+ plugins: [
42
+ ...config.plugins,
43
+ [
44
+ 'extra-plugin',
45
+ { pluginOpts },
46
+ ],
47
+ ],
48
+ };
32
49
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eik/semantic-release-config",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Shared semantic release config used in Eik modules",
5
5
  "exports": {
6
6
  ".": {
@@ -26,21 +26,24 @@
26
26
  "author": "",
27
27
  "license": "MIT",
28
28
  "scripts": {
29
+ "clean": "rimraf node_modules",
29
30
  "lint": "eslint .",
30
- "lint:fix": "npm run lint -- --fix",
31
- "test": "echo \"Error: no test specified\" && exit 1"
31
+ "lint:fix": "npm run lint -- --fix"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@eik/eslint-config": "1.0.0",
35
+ "@eik/prettier-config": "1.0.1",
35
36
  "eslint": "9.8.0",
36
- "semantic-release": "24.0.0"
37
+ "prettier": "3.3.3",
38
+ "rimraf": "6.0.1",
39
+ "semantic-release": "24.2.2"
37
40
  },
38
41
  "dependencies": {
39
42
  "@semantic-release/changelog": "6.0.3",
40
- "@semantic-release/commit-analyzer": "13.0.0",
43
+ "@semantic-release/commit-analyzer": "13.0.1",
41
44
  "@semantic-release/git": "10.0.1",
42
- "@semantic-release/github": "10.1.3",
45
+ "@semantic-release/github": "10.3.5",
43
46
  "@semantic-release/npm": "12.0.1",
44
- "@semantic-release/release-notes-generator": "14.0.1"
47
+ "@semantic-release/release-notes-generator": "14.0.3"
45
48
  }
46
49
  }
@@ -0,0 +1,3 @@
1
+ import config from "@eik/prettier-config";
2
+
3
+ export default config;
package/renovate.json ADDED
@@ -0,0 +1,4 @@
1
+ {
2
+ "$schema": "https://docs.renovatebot.com/renovate-schema.json",
3
+ "extends": ["github>eik-lib/renovate-presets:sub-level-module"]
4
+ }
package/.prettierrc.json DELETED
@@ -1,12 +0,0 @@
1
- {
2
- "useTabs": true,
3
- "overrides": [
4
- {
5
- "files": ["*.yml", "*.json"],
6
- "options": {
7
- "tabWidth": 2,
8
- "useTabs": false
9
- }
10
- }
11
- ]
12
- }