@genesislcap/blank-app-seed 5.22.1 → 5.22.2-prerelease.10
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/.genx/package.json +1 -1
- package/.genx/versions.json +2 -2
- package/.github/workflows/release.yaml +96 -0
- package/.releaserc +1 -1
- package/CHANGELOG.md +56 -37
- package/bdd-tests/build.gradle.kts +1 -1
- package/bdd-tests/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/bdd-tests/gradle.properties +1 -0
- package/bdd-tests/settings.gradle.kts +2 -2
- package/client-tmp/web-components/settings.gradle.kts +22 -0
- package/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/package.json +1 -1
- package/server/build.gradle.kts +1 -1
- package/server/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/server/gradle.properties +2 -0
- package/server/settings.gradle.kts +2 -2
- package/server/{{appName}}-app/src/test/kotlin/global/genesis/EventHandlerTest.kt +1 -1
- package/.github/workflows/release.yml +0 -50
package/.genx/package.json
CHANGED
package/.genx/versions.json
CHANGED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
push:
|
|
6
|
+
branches: [main, prerelease]
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
release:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
environment: deploy
|
|
12
|
+
concurrency:
|
|
13
|
+
group: publish-${{ github.ref }}
|
|
14
|
+
cancel-in-progress: false
|
|
15
|
+
permissions:
|
|
16
|
+
contents: read
|
|
17
|
+
id-token: write
|
|
18
|
+
steps:
|
|
19
|
+
- uses: actions/checkout@v4
|
|
20
|
+
with:
|
|
21
|
+
token: ${{secrets.GH_USER_TOKEN}}
|
|
22
|
+
|
|
23
|
+
- name: Set up Node
|
|
24
|
+
uses: actions/setup-node@v4
|
|
25
|
+
with:
|
|
26
|
+
node-version: 20
|
|
27
|
+
registry-url: https://registry.npmjs.org
|
|
28
|
+
|
|
29
|
+
- name: Upgrade npm for trusted publishing
|
|
30
|
+
run: npm install -g npm@^11.5.1
|
|
31
|
+
|
|
32
|
+
- name: Release
|
|
33
|
+
env:
|
|
34
|
+
GH_TOKEN: ${{secrets.GH_USER_TOKEN}}
|
|
35
|
+
run: |
|
|
36
|
+
touch /tmp/dist-tag # create a blank file, so it's always there even if we don't do a release
|
|
37
|
+
npm install
|
|
38
|
+
npm run release
|
|
39
|
+
|
|
40
|
+
- name: Set dist tag
|
|
41
|
+
id: dist-tag
|
|
42
|
+
run: |
|
|
43
|
+
NAME=$(node -p "require('./package.json').name")
|
|
44
|
+
VERSION=$(node -p "require('./package.json').version")
|
|
45
|
+
|
|
46
|
+
TAG=$(cat /tmp/dist-tag)
|
|
47
|
+
if [ -z "$TAG" ]; then
|
|
48
|
+
# No release happened this run. Derive the tag the current
|
|
49
|
+
# package.json version would have released under, so a
|
|
50
|
+
# previous run's failed publish can still be retried below.
|
|
51
|
+
#
|
|
52
|
+
# NOTE: this assumes the version's prerelease identifier and the
|
|
53
|
+
# semantic-release channel are the same string. That only holds
|
|
54
|
+
# because .releaserc's "prerelease" branch has no explicit
|
|
55
|
+
# "channel", so semantic-release defaults both the preid and the
|
|
56
|
+
# channel to the branch name. If that branch config ever sets an
|
|
57
|
+
# explicit "channel" or a differing "prerelease" identifier, this
|
|
58
|
+
# derivation will diverge from the real channel and this retry
|
|
59
|
+
# path will publish under the wrong dist-tag.
|
|
60
|
+
case "$VERSION" in
|
|
61
|
+
*-*) TAG="${VERSION#*-}"; TAG="${TAG%%.*}" ;;
|
|
62
|
+
*) TAG="latest" ;;
|
|
63
|
+
esac
|
|
64
|
+
fi
|
|
65
|
+
|
|
66
|
+
# Key the publish decision off the registry rather than off
|
|
67
|
+
# whether *this* run produced a release, so a flaky publish
|
|
68
|
+
# after semantic-release has already committed/tagged is
|
|
69
|
+
# retried on the next run instead of silently skipped.
|
|
70
|
+
# (stderr is captured separately so a stray npm notice on stderr
|
|
71
|
+
# can't masquerade as a real version and suppress the E404 check.)
|
|
72
|
+
if OUT=$(npm view "$NAME@$VERSION" version 2>/tmp/npm-view-err); then
|
|
73
|
+
[ -n "$OUT" ] && NEEDS_PUBLISH=false || NEEDS_PUBLISH=true
|
|
74
|
+
else
|
|
75
|
+
ERR=$(cat /tmp/npm-view-err)
|
|
76
|
+
case "$ERR" in
|
|
77
|
+
*E404*) NEEDS_PUBLISH=true ;;
|
|
78
|
+
*)
|
|
79
|
+
echo "::error::npm view failed unexpectedly: $ERR"
|
|
80
|
+
exit 1
|
|
81
|
+
;;
|
|
82
|
+
esac
|
|
83
|
+
fi
|
|
84
|
+
|
|
85
|
+
echo "TAG=$TAG" >> "$GITHUB_OUTPUT"
|
|
86
|
+
echo "NEEDS_PUBLISH=$NEEDS_PUBLISH" >> "$GITHUB_OUTPUT"
|
|
87
|
+
|
|
88
|
+
- name: Generate .npmignore
|
|
89
|
+
run: cp .gitignore .npmignore && echo '!.gitignore' >> .npmignore && cat .npmignore
|
|
90
|
+
|
|
91
|
+
- name: NPM pack dry-run
|
|
92
|
+
run: npm pack --dry-run
|
|
93
|
+
|
|
94
|
+
- name: Publish
|
|
95
|
+
if: steps.dist-tag.outputs.NEEDS_PUBLISH == 'true'
|
|
96
|
+
run: npm publish --tag "${{ steps.dist-tag.outputs.TAG }}"
|
package/.releaserc
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,94 +1,113 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [5.22.
|
|
3
|
+
## [5.22.2-prerelease.10](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.22.2-prerelease.9...v5.22.2-prerelease.10) (2026-09-22)
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
### Bug Fixes
|
|
7
7
|
|
|
8
|
-
*
|
|
9
|
-
* update FUI version for modal/dialog fixes [FUI-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) (#613) 94ac8e2
|
|
8
|
+
* updating server version information for GSF [PSD-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) 57d68e9
|
|
10
9
|
|
|
11
|
-
## [5.22.
|
|
10
|
+
## [5.22.2-prerelease.9](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.22.2-prerelease.8...v5.22.2-prerelease.9) (2026-09-21)
|
|
12
11
|
|
|
13
12
|
|
|
14
|
-
###
|
|
13
|
+
### Bug Fixes
|
|
15
14
|
|
|
16
|
-
*
|
|
15
|
+
* resolve from Artifactory before Maven Central in every module (GSF-8370) 2a263c2
|
|
16
|
+
* **server:** query the Plugin Portal before Maven Central (GSF-8370) 725b377
|
|
17
|
+
* **server:** resolve from Artifactory before Maven Central (GSF-8370) 64f1d3f
|
|
18
|
+
* **server:** resolve from Artifactory before Maven Central (GSF-8370) (#628) f29106c
|
|
17
19
|
|
|
18
|
-
## [5.
|
|
20
|
+
## [5.22.2-prerelease.8](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.22.2-prerelease.7...v5.22.2-prerelease.8) (2026-09-21)
|
|
19
21
|
|
|
20
22
|
|
|
21
23
|
### Bug Fixes
|
|
22
24
|
|
|
23
|
-
*
|
|
25
|
+
* **client:** resolve the client buildscript from Artifactory (GSF-8370) 489b951
|
|
26
|
+
* **client:** resolve the client buildscript from Artifactory (GSF-8370) (#633) ede81ee
|
|
24
27
|
|
|
25
|
-
## [5.
|
|
28
|
+
## [5.22.2-prerelease.7](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.22.2-prerelease.6...v5.22.2-prerelease.7) (2026-09-21)
|
|
26
29
|
|
|
27
30
|
|
|
28
|
-
###
|
|
31
|
+
### Bug Fixes
|
|
32
|
+
|
|
33
|
+
* use jakarta.inject in the scaffolded EventHandlerTest (GSF-7926) 0cf7b88
|
|
34
|
+
* use jakarta.inject in the scaffolded EventHandlerTest (GSF-7926) (#634) b5af5bf
|
|
29
35
|
|
|
30
|
-
|
|
31
|
-
* **react:** migrate template routing to foundation-react-utils/router primitives [PTC-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) (#607) 1d8f13e
|
|
36
|
+
## [5.22.2-prerelease.6](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.22.2-prerelease.5...v5.22.2-prerelease.6) (2026-09-10)
|
|
32
37
|
|
|
33
38
|
|
|
34
39
|
### Bug Fixes
|
|
35
40
|
|
|
36
|
-
*
|
|
37
|
-
* **react:** theme single-component via FUI modal-theme (active-theme) not legacy design-tokens [PTC-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) 020d99e
|
|
41
|
+
* updating server version information for Auth [PSD-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) fe2dc7d
|
|
38
42
|
|
|
39
|
-
## [5.
|
|
43
|
+
## [5.22.2-prerelease.5](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.22.2-prerelease.4...v5.22.2-prerelease.5) (2026-09-10)
|
|
40
44
|
|
|
41
45
|
|
|
42
|
-
###
|
|
46
|
+
### Bug Fixes
|
|
43
47
|
|
|
44
|
-
*
|
|
45
|
-
* generate typed event DETAILS via event-type-codegen GENC-0 (#606) 3a36492
|
|
48
|
+
* updating server version information for GSF [PSD-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) 3755030
|
|
46
49
|
|
|
47
|
-
## [5.
|
|
50
|
+
## [5.22.2-prerelease.4](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.22.2-prerelease.3...v5.22.2-prerelease.4) (2026-09-07)
|
|
48
51
|
|
|
49
52
|
|
|
50
53
|
### Bug Fixes
|
|
51
54
|
|
|
52
|
-
*
|
|
53
|
-
* replace foundation-login with foundation-auth dependency GENC-0 (#604) 4964197
|
|
55
|
+
* updating server version information for Auth [PSD-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) 4204083
|
|
54
56
|
|
|
55
|
-
## [5.
|
|
57
|
+
## [5.22.2-prerelease.3](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.22.2-prerelease.2...v5.22.2-prerelease.3) (2026-09-04)
|
|
56
58
|
|
|
57
59
|
|
|
58
60
|
### Bug Fixes
|
|
59
61
|
|
|
60
|
-
*
|
|
61
|
-
* update FUI version GENC-0 (#603) ccc1cb0
|
|
62
|
+
* updating server version information for GSF [PSD-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) fff92ca
|
|
62
63
|
|
|
63
|
-
## [5.
|
|
64
|
+
## [5.22.2-prerelease.2](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.22.2-prerelease.1...v5.22.2-prerelease.2) (2026-08-21)
|
|
64
65
|
|
|
65
66
|
|
|
66
|
-
###
|
|
67
|
+
### Bug Fixes
|
|
67
68
|
|
|
68
|
-
*
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
* updating server version information for GSF [PSD-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) b1155f0
|
|
70
|
+
|
|
71
|
+
## [5.22.2-prerelease.1](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.22.1...v5.22.2-prerelease.1) (2026-08-14)
|
|
71
72
|
|
|
72
73
|
|
|
73
74
|
### Bug Fixes
|
|
74
75
|
|
|
75
|
-
*
|
|
76
|
+
* address release workflow review comments 67ce8c3
|
|
77
|
+
* address second round of release workflow review comments 4a1c5f5
|
|
78
|
+
* backport main to prerelease [PSD-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) (#599) 841793f
|
|
79
|
+
* backport main to prerelease [PSD-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) (#616) 545eb21
|
|
80
|
+
* Bump BDD framework (bddVersion) from 3.5.30 to 3.5.73 GENC-0 (#609) 4b8bb58
|
|
81
|
+
* default dist-tag to latest when semantic-release channel is null ce5a216
|
|
82
|
+
* merge main into prerelease GENC-1362 (#589) c7eed71
|
|
83
|
+
* updating server version information for Auth [PSD-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) 0ea031d
|
|
84
|
+
* updating server version information for GSF [PSD-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) 2b31d47
|
|
76
85
|
|
|
77
|
-
## [5.
|
|
86
|
+
## [5.17.3-prerelease.3](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.17.3-prerelease.2...v5.17.3-prerelease.3) (2026-08-12)
|
|
78
87
|
|
|
79
88
|
|
|
80
|
-
###
|
|
89
|
+
### Bug Fixes
|
|
90
|
+
|
|
91
|
+
* address release workflow review comments 67ce8c3
|
|
92
|
+
* address second round of release workflow review comments 4a1c5f5
|
|
93
|
+
* default dist-tag to latest when semantic-release channel is null ce5a216
|
|
94
|
+
|
|
95
|
+
## [5.17.3-prerelease.2](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.17.3-prerelease.1...v5.17.3-prerelease.2) (2026-07-27)
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
### Bug Fixes
|
|
81
99
|
|
|
82
|
-
*
|
|
83
|
-
* update FUI version GENC-0 (#601) bf73353
|
|
100
|
+
* Bump BDD framework (bddVersion) from 3.5.30 to 3.5.73 GENC-0 (#609) 4b8bb58
|
|
84
101
|
|
|
85
|
-
## [5.17.3](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.17.2...v5.17.3) (2026-07-07)
|
|
102
|
+
## [5.17.3-prerelease.1](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.17.2...v5.17.3-prerelease.1) (2026-07-07)
|
|
86
103
|
|
|
87
104
|
|
|
88
105
|
### Bug Fixes
|
|
89
106
|
|
|
90
|
-
*
|
|
91
|
-
*
|
|
107
|
+
* backport main to prerelease [PSD-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) (#599) 841793f
|
|
108
|
+
* merge main into prerelease GENC-1362 (#589) c7eed71
|
|
109
|
+
* updating server version information for Auth [PSD-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) 0ea031d
|
|
110
|
+
* updating server version information for GSF [PSD-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) 2b31d47
|
|
92
111
|
|
|
93
112
|
## [5.17.2](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.17.1...v5.17.2) (2026-07-03)
|
|
94
113
|
|
|
@@ -6,7 +6,6 @@ plugins {
|
|
|
6
6
|
description = "{{appName}} BDD Testing Framework"
|
|
7
7
|
|
|
8
8
|
repositories {
|
|
9
|
-
mavenCentral()
|
|
10
9
|
maven {
|
|
11
10
|
val repoUrl = if (properties["useDevRepo"] == "true") {
|
|
12
11
|
"https://genesisglobal.jfrog.io/genesisglobal/dev-repo"
|
|
@@ -19,6 +18,7 @@ repositories {
|
|
|
19
18
|
password = properties["genesisArtifactoryPassword"].toString()
|
|
20
19
|
}
|
|
21
20
|
}
|
|
21
|
+
mavenCentral()
|
|
22
22
|
mavenLocal {
|
|
23
23
|
// VERY IMPORTANT!!! EXCLUDE AGRONA AS IT IS A POM DEPENDENCY AND DOES NOT PLAY NICELY WITH MAVEN LOCAL!
|
|
24
24
|
content {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
distributionBase=GRADLE_USER_HOME
|
|
2
2
|
distributionPath=wrapper/dists
|
|
3
|
-
distributionUrl=https\://services.gradle.org/distributions/gradle-
|
|
3
|
+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.6.1-bin.zip
|
|
4
4
|
networkTimeout=10000
|
|
5
5
|
validateDistributionUrl=true
|
|
6
6
|
zipStoreBase=GRADLE_USER_HOME
|
|
@@ -6,8 +6,6 @@ pluginManagement {
|
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
repositories {
|
|
9
|
-
gradlePluginPortal()
|
|
10
|
-
mavenCentral()
|
|
11
9
|
maven {
|
|
12
10
|
val repoUrl = if(extra.properties["useDevRepo"] == "true") {
|
|
13
11
|
"https://genesisglobal.jfrog.io/genesisglobal/dev-repo"
|
|
@@ -20,6 +18,8 @@ pluginManagement {
|
|
|
20
18
|
password = extra.properties["genesisArtifactoryPassword"].toString()
|
|
21
19
|
}
|
|
22
20
|
}
|
|
21
|
+
gradlePluginPortal()
|
|
22
|
+
mavenCentral()
|
|
23
23
|
mavenLocal {
|
|
24
24
|
content {
|
|
25
25
|
excludeGroup("org.agrona")
|
|
@@ -1 +1,23 @@
|
|
|
1
|
+
pluginManagement {
|
|
2
|
+
repositories {
|
|
3
|
+
if (providers.gradleProperty("useMavenLocal").orNull == "true") {
|
|
4
|
+
mavenLocal()
|
|
5
|
+
}
|
|
6
|
+
maven {
|
|
7
|
+
val repoUrl = if (extra.properties["useDevRepo"] == "true") {
|
|
8
|
+
"https://genesisglobal.jfrog.io/genesisglobal/dev-repo"
|
|
9
|
+
} else {
|
|
10
|
+
"https://genesisglobal.jfrog.io/genesisglobal/libs-release-client"
|
|
11
|
+
}
|
|
12
|
+
url = uri(repoUrl)
|
|
13
|
+
credentials {
|
|
14
|
+
username = extra.properties["genesisArtifactoryUser"].toString()
|
|
15
|
+
password = extra.properties["genesisArtifactoryPassword"].toString()
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
gradlePluginPortal()
|
|
19
|
+
mavenCentral()
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
1
23
|
rootProject.name = "client"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
distributionBase=GRADLE_USER_HOME
|
|
2
2
|
distributionPath=wrapper/dists
|
|
3
|
-
distributionUrl=https\://services.gradle.org/distributions/gradle-
|
|
3
|
+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.6.1-bin.zip
|
|
4
4
|
networkTimeout=10000
|
|
5
5
|
validateDistributionUrl=true
|
|
6
6
|
zipStoreBase=GRADLE_USER_HOME
|
package/package.json
CHANGED
package/server/build.gradle.kts
CHANGED
|
@@ -76,7 +76,6 @@ allprojects {
|
|
|
76
76
|
excludeGroup("org.agrona")
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
-
mavenCentral()
|
|
80
79
|
maven {
|
|
81
80
|
val repoUrl = if(properties["useDevRepo"] == "true") {
|
|
82
81
|
"https://genesisglobal.jfrog.io/genesisglobal/dev-repo"
|
|
@@ -89,6 +88,7 @@ allprojects {
|
|
|
89
88
|
password = properties["genesisArtifactoryPassword"].toString()
|
|
90
89
|
}
|
|
91
90
|
}
|
|
91
|
+
mavenCentral()
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
publishing {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
distributionBase=GRADLE_USER_HOME
|
|
2
2
|
distributionPath=wrapper/dists
|
|
3
|
-
distributionUrl=https\://services.gradle.org/distributions/gradle-
|
|
3
|
+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.6.1-bin.zip
|
|
4
4
|
networkTimeout=10000
|
|
5
5
|
validateDistributionUrl=true
|
|
6
6
|
zipStoreBase=GRADLE_USER_HOME
|
package/server/gradle.properties
CHANGED
|
@@ -9,8 +9,6 @@ pluginManagement {
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
repositories {
|
|
12
|
-
mavenCentral()
|
|
13
|
-
gradlePluginPortal()
|
|
14
12
|
maven {
|
|
15
13
|
val repoUrl = if(extra.properties["useDevRepo"] == "true") {
|
|
16
14
|
"https://genesisglobal.jfrog.io/genesisglobal/dev-repo"
|
|
@@ -23,6 +21,8 @@ pluginManagement {
|
|
|
23
21
|
password = extra.properties["genesisArtifactoryPassword"].toString()
|
|
24
22
|
}
|
|
25
23
|
}
|
|
24
|
+
gradlePluginPortal()
|
|
25
|
+
mavenCentral()
|
|
26
26
|
mavenLocal {
|
|
27
27
|
// VERY IMPORTANT!!! EXCLUDE AGRONA AS IT IS A POM DEPENDENCY AND DOES NOT PLAY NICELY WITH MAVEN LOCAL!
|
|
28
28
|
content {
|
|
@@ -6,7 +6,7 @@ import global.genesis.db.rx.entity.multi.AsyncEntityDb
|
|
|
6
6
|
import global.genesis.testsupport.client.eventhandler.EventClientSync
|
|
7
7
|
import global.genesis.testsupport.jupiter.GenesisJunit
|
|
8
8
|
import global.genesis.testsupport.jupiter.ScriptFile
|
|
9
|
-
import
|
|
9
|
+
import jakarta.inject.Inject
|
|
10
10
|
import org.junit.jupiter.api.Test
|
|
11
11
|
import org.junit.jupiter.api.extension.ExtendWith
|
|
12
12
|
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
name: Release
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
workflow_dispatch:
|
|
5
|
-
push:
|
|
6
|
-
branches: [main, prerelease]
|
|
7
|
-
|
|
8
|
-
jobs:
|
|
9
|
-
release:
|
|
10
|
-
runs-on: ubuntu-latest
|
|
11
|
-
environment: deploy
|
|
12
|
-
steps:
|
|
13
|
-
- uses: actions/checkout@v4
|
|
14
|
-
with:
|
|
15
|
-
token: ${{secrets.GH_USER_TOKEN}}
|
|
16
|
-
|
|
17
|
-
- name: Set up Node
|
|
18
|
-
uses: actions/setup-node@v4
|
|
19
|
-
with:
|
|
20
|
-
node-version: 22
|
|
21
|
-
|
|
22
|
-
- name: Release
|
|
23
|
-
env:
|
|
24
|
-
GH_TOKEN: ${{secrets.GH_USER_TOKEN}}
|
|
25
|
-
run: |
|
|
26
|
-
touch /tmp/dist-tag # create a blank file, so it's always there even if we don't do a release
|
|
27
|
-
npm install
|
|
28
|
-
npm run release
|
|
29
|
-
|
|
30
|
-
- name: Set dist tag
|
|
31
|
-
id: dist-tag
|
|
32
|
-
run: |
|
|
33
|
-
{
|
|
34
|
-
echo 'DIST_TAG<<EOF'
|
|
35
|
-
cat /tmp/dist-tag
|
|
36
|
-
echo EOF
|
|
37
|
-
} >> "$GITHUB_OUTPUT"
|
|
38
|
-
|
|
39
|
-
- name: Generate .npmignore
|
|
40
|
-
run: cp .gitignore .npmignore && echo '!.gitignore' >> .npmignore && cat .npmignore
|
|
41
|
-
|
|
42
|
-
- name: NPM pack dry-run
|
|
43
|
-
run: npm pack -dry
|
|
44
|
-
|
|
45
|
-
- name: Publish
|
|
46
|
-
uses: JS-DevTools/npm-publish@v3
|
|
47
|
-
with:
|
|
48
|
-
token: ${{secrets.NPM_TOKEN}}
|
|
49
|
-
tag: ${{ steps.dist-tag.outputs.DIST_TAG }}
|
|
50
|
-
|