@genesislcap/blank-app-seed 3.28.3 → 3.28.5

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/blank-app-seed-config",
3
3
  "description": "Genesis Blank App Seed Configuration",
4
- "version": "3.28.3",
4
+ "version": "3.28.5",
5
5
  "license": "Apache-2.0",
6
6
  "scripts": {
7
7
  "lint": "eslint .",
@@ -1,3 +1,3 @@
1
1
  # for reference see https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-code-owners#example-of-a-codeowners-file
2
2
 
3
- * @cistov @derekdon @MrBrunoWolff @skawian @kievitsp @jacinpoz @khouari1 @rafaelnferreira @matteematt @SzymonZur @ArturKrasinski
3
+ * @cistov @derekdon @MrBrunoWolff @skawian @kievitsp @jacinpoz @khouari1 @rafaelnferreira @matteematt @SzymonZur @ArturKrasinski @jay-taylerson
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.28.5](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v3.28.4...v3.28.5) (2024-08-12)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * sanitise db namespace to avoid breaking postgres [PTC-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) (#307) 399b265
9
+
10
+ ## [3.28.4](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v3.28.3...v3.28.4) (2024-08-09)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * removing node versions from client build (PA-1349) (#306) 851800e
16
+
3
17
  ## [3.28.3](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v3.28.2...v3.28.3) (2024-08-01)
4
18
 
5
19
 
@@ -2,7 +2,7 @@ import com.github.gradle.node.npm.task.NpmTask
2
2
 
3
3
  plugins {
4
4
  base
5
- id("com.github.node-gradle.node") version "3.1.1"
5
+ id("com.github.node-gradle.node") version "7.0.1"
6
6
  distribution
7
7
  }
8
8
 
@@ -24,38 +24,13 @@ artifacts {
24
24
  }
25
25
  }
26
26
 
27
- allprojects {
28
- apply(plugin = "com.github.node-gradle.node")
29
- apply(plugin = "base")
30
-
31
- node {
32
- // Version of Node to use.
33
- version.set("20.8.1")
34
-
35
- // Version of NPM to use.
36
- npmVersion.set("10.1.0")
27
+ tasks {
37
28
 
38
- // If true, it will download node using above parameters.
39
- // If false, it will try to use globally installed node.
40
- download.set(false)
29
+ val npmClean = register("npmClean", NpmTask::class) {
30
+ args.set(listOf("run", "clean"))
31
+ delete(".bootstrapDone")
41
32
  }
42
33
 
43
- tasks {
44
- // Setup custom clean task to be run when "clean" task runs.
45
- val npmClean = register("npmClean", NpmTask::class) {
46
- args.set(listOf("run", "clean"))
47
- delete(".bootstrapDone")
48
- }
49
-
50
- clean {
51
- // Depend on the custom npmClean task, the default gradle one deletes the "build" folder by default
52
- // and the project build won't work without it.
53
- dependsOn(npmClean)
54
- }
55
- }
56
- }
57
-
58
- tasks {
59
34
  val npmBootstrap = register("npmBootstrap", NpmTask::class) {
60
35
  val workingDir = layout.projectDirectory.asFile
61
36
  args.set(listOf("run", "bootstrap"))
@@ -63,7 +38,7 @@ tasks {
63
38
  doLast { File(workingDir, ".bootstrapDone").createNewFile() }
64
39
  }
65
40
 
66
- val npmBuild = register("npmBuild", NpmTask::class) {
41
+ val npmAssemble = register("npmAssemble", NpmTask::class) {
67
42
  args.set(listOf("run", "build"))
68
43
  inputs.dir("src")
69
44
  outputs.dir("dist")
@@ -71,15 +46,13 @@ tasks {
71
46
  }
72
47
 
73
48
  val test = register("test", NpmTask::class) {
74
- dependsOn(build)
49
+ dependsOn(npmBootstrap)
50
+ dependsOn(assemble)
75
51
  args.set(listOf("run", "test"))
76
52
  inputs.files(fileTree("src"))
77
53
  inputs.file("package.json")
78
54
 
79
55
  val testsExecutedMarkerName: String = "${projectDir}/.tests.executed"
80
- // Below some potentially useful config snippets if we want to be efficient with test executions.
81
-
82
- // allows easy triggering re-tests
83
56
  doLast {
84
57
  File(testsExecutedMarkerName).appendText("delete this file to force re-execution JavaScript tests")
85
58
  }
@@ -87,14 +60,22 @@ tasks {
87
60
  }
88
61
 
89
62
  distZip {
90
- dependsOn(npmBuild)
63
+ dependsOn(npmAssemble)
91
64
  }
92
65
 
93
66
  distTar {
94
- dependsOn(npmBuild)
67
+ dependsOn(npmAssemble)
95
68
  }
96
69
 
97
70
  assemble {
98
- dependsOn(npmBuild)
71
+ dependsOn(npmAssemble)
72
+ }
73
+
74
+ clean {
75
+ dependsOn(npmClean)
76
+ }
77
+
78
+ build {
79
+ dependsOn(test)
99
80
  }
100
81
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/blank-app-seed",
3
3
  "description": "Genesis Blank App Seed",
4
- "version": "3.28.3",
4
+ "version": "3.28.5",
5
5
  "license": "Apache-2.0",
6
6
  "scripts": {
7
7
  "release": "semantic-release"
@@ -39,7 +39,7 @@ systemDefinition {
39
39
  }
40
40
 
41
41
  item(name = "ZeroMQConnectToLocalhostViaLoopback", value = "true")
42
- item(name = "DbNamespace", value = "{{appName}}")
42
+ item(name = "DbNamespace", value = "{{localGenId}}")
43
43
  item(name = "PrimaryIfSingleNode", value = "true")
44
44
  item(name = "ClusterPort", value = "6000")
45
45
  item(name = "location", value = "LO")