@k-int/bruno-shared-scripts 1.1.1 → 1.2.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 +40 -0
- package/.releaserc.json +17 -0
- package/CHANGELOG.md +20 -0
- package/README.md +0 -0
- package/package.json +8 -3
package/.gitlab-ci.yml
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
default:
|
|
2
|
+
# image: docker.libsdev.k-int.com/knowledgeintegration/stripes-build-agent:latest
|
|
3
|
+
# See https://github.com/angular/angular/blob/main/CONTRIBUTING.md#commit-header
|
|
4
|
+
image:
|
|
5
|
+
name: node:20
|
|
6
|
+
pull_policy: always
|
|
7
|
+
before_script:
|
|
8
|
+
# - npm config set @folio:registry "https://nexus.libsdev.k-int.com/repository/libsdev-npm-group/"
|
|
9
|
+
# - npm config set @knowledge-integration:registry "https://nexus.libsdev.k-int.com/repository/libsdev-npm-hosted/"
|
|
10
|
+
- npm config set -- //nexus.libsdev.k-int.com/repository/libsdev-npm-hosted/:_authToken $KI_NEXUS_NPM_TOKEN
|
|
11
|
+
- npm config set -- //nexus.libsdev.k-int.com/repository/libsdev-npm-snapshots-hosted/:_authToken $KI_NEXUS_NPM_TOKEN
|
|
12
|
+
# - npm config set registry "https://nexus.libsdev.k-int.com/repository/libsdev-npm-group/"
|
|
13
|
+
# - npm config set @k-int:registry "https://nexus.libsdev.k-int.com/repository/libsdev-npm-hosted/"
|
|
14
|
+
# - npm --registry "https://nexus.libsdev.k-int.com/repository/libsdev-npm-hosted/" adduser
|
|
15
|
+
# - npm --registry "https://nexus.libsdev.k-int.com/repository/libsdev-npm-hosted/" whoami
|
|
16
|
+
# - export NPM_TOKEN="$KI_NEXUS_NPM_TOKEN"
|
|
17
|
+
- export NPM_TOKEN="$NPMJS_TOKEN"
|
|
18
|
+
- git config --global user.name "ethanfreestone"
|
|
19
|
+
- git config --global user.email "ethan.freestone@k-int.com"
|
|
20
|
+
- npm install
|
|
21
|
+
- echo "token $GITLAB_TOKEN $NPM_TOKEN $KI_NEXUS_NPM_TOKEN"
|
|
22
|
+
cache:
|
|
23
|
+
key: ${CI_COMMIT_REF_SLUG}
|
|
24
|
+
paths:
|
|
25
|
+
- .npm/
|
|
26
|
+
tags:
|
|
27
|
+
- docker
|
|
28
|
+
# - docker-18
|
|
29
|
+
- ki-onprem
|
|
30
|
+
stages:
|
|
31
|
+
- release
|
|
32
|
+
publish:
|
|
33
|
+
stage: release
|
|
34
|
+
only:
|
|
35
|
+
- main
|
|
36
|
+
- /^[0-9]+.x/
|
|
37
|
+
script:
|
|
38
|
+
- npm run semantic-release
|
|
39
|
+
# We just need to npm-publish
|
|
40
|
+
# - npm --registry "$NPM_REGISTRY" publish --tag "${versionMajMin}-dev"
|
package/.releaserc.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"branches": [{"name": "+([0-9]).x", "channel": "version${name.replace('.x', '')}"}, "main"],
|
|
3
|
+
"plugins": [
|
|
4
|
+
"@semantic-release/commit-analyzer",
|
|
5
|
+
"@semantic-release/release-notes-generator",
|
|
6
|
+
"@semantic-release/changelog",
|
|
7
|
+
"@semantic-release/gitlab",
|
|
8
|
+
"@semantic-release/npm",
|
|
9
|
+
[
|
|
10
|
+
"@semantic-release/git",
|
|
11
|
+
{
|
|
12
|
+
"assets": ["package.json", "CHANGELOG.md"],
|
|
13
|
+
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
]
|
|
17
|
+
}
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# [1.2.0](https://gitlab.com/knowledge-integration/bruno/bruno-shared-scripts/compare/v1.1.1...v1.2.0) (2025-09-12)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* Set up auto-release for bruno-shared-scripts ([6dbd472](https://gitlab.com/knowledge-integration/bruno/bruno-shared-scripts/commit/6dbd472424049927b871297f859d67a5c2eb407b))
|
|
7
|
+
|
|
8
|
+
# 1.0.0 (2025-09-12)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* Whoops... non-auth FOLIO requests failed ([734aac5](https://gitlab.com/knowledge-integration/bruno/bruno-shared-scripts/commit/734aac59490e8dc02ded6c949859a9ab7e211866))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* folioAxios ([e92c60e](https://gitlab.com/knowledge-integration/bruno/bruno-shared-scripts/commit/e92c60e8b05e7cc0b81577cae5bc71c4bfbeddb8))
|
|
19
|
+
* Set up auto-release for bruno-shared-scripts ([6dbd472](https://gitlab.com/knowledge-integration/bruno/bruno-shared-scripts/commit/6dbd472424049927b871297f859d67a5c2eb407b))
|
|
20
|
+
* working workspace ([f3dc88c](https://gitlab.com/knowledge-integration/bruno/bruno-shared-scripts/commit/f3dc88c3d870ce8621e92ab713fd35245ede735e))
|
package/README.md
ADDED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@k-int/bruno-shared-scripts",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"exports": "./es/index.js",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
9
|
-
"build": "esbuild ./src/index.js --bundle --format=cjs --outdir=es --external:axios"
|
|
9
|
+
"build": "esbuild ./src/index.js --bundle --format=cjs --outdir=es --external:axios",
|
|
10
|
+
"semantic-release": "semantic-release"
|
|
10
11
|
},
|
|
11
12
|
"devDependencies": {
|
|
12
|
-
"esbuild": "^0.25.2"
|
|
13
|
+
"esbuild": "^0.25.2",
|
|
14
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
15
|
+
"@semantic-release/git": "^10.0.1",
|
|
16
|
+
"@semantic-release/gitlab": "^12.0.6",
|
|
17
|
+
"@semantic-release/npm": "^11.0.0"
|
|
13
18
|
}
|
|
14
19
|
}
|