@ship.zone/szci 7.1.3 → 7.1.4
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/changelog.md +7 -0
- package/deno.json +2 -2
- package/package.json +1 -1
- package/ts/manager.nodejs/index.ts +1 -1
- package/ts/szci.classes.szciconfig.ts +5 -5
- package/ts/szci.plugins.ts +2 -3
package/changelog.md
CHANGED
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
## Pending
|
|
4
4
|
|
|
5
5
|
|
|
6
|
+
## 2026-05-20 - 7.1.4
|
|
7
|
+
|
|
8
|
+
### Fixes
|
|
9
|
+
|
|
10
|
+
- read `@ship.zone/szci` project config from `.smartconfig.json` via `@push.rocks/smartconfig`
|
|
11
|
+
- restore configured npm registry handling for Docker builds after `.smartconfig.json` migrations
|
|
12
|
+
|
|
6
13
|
## 2026-05-20 - 7.1.3
|
|
7
14
|
|
|
8
15
|
### Fixes
|
package/deno.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ship.zone/szci",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.4",
|
|
4
4
|
"exports": "./mod.ts",
|
|
5
5
|
"nodeModulesDir": "auto",
|
|
6
6
|
"tasks": {
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"@std/cli": "jsr:@std/cli@^1.0.0",
|
|
40
40
|
"@std/assert": "jsr:@std/assert@^1.0.0",
|
|
41
41
|
"@api.global/typedrequest": "npm:@api.global/typedrequest@^3.1.10",
|
|
42
|
-
"@push.rocks/npmextra": "npm:@push.rocks/npmextra@^5.1.2",
|
|
43
42
|
"@push.rocks/projectinfo": "npm:@push.rocks/projectinfo@^5.0.2",
|
|
44
43
|
"@push.rocks/qenv": "npm:@push.rocks/qenv@^6.0.2",
|
|
45
44
|
"@push.rocks/smartanalytics": "npm:@push.rocks/smartanalytics@^2.0.15",
|
|
46
45
|
"@push.rocks/smartcli": "npm:@push.rocks/smartcli@^4.0.11",
|
|
46
|
+
"@push.rocks/smartconfig": "npm:@push.rocks/smartconfig@^6.1.1",
|
|
47
47
|
"@push.rocks/smartfile": "npm:@push.rocks/smartfile@^11.0.21",
|
|
48
48
|
"@push.rocks/smartgit": "npm:@push.rocks/smartgit@^3.1.1",
|
|
49
49
|
"@push.rocks/smartlog": "npm:@push.rocks/smartlog@^3.0.7",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ship.zone/szci",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.4",
|
|
4
4
|
"description": "Serve Zone CI - A tool to streamline Node.js and Docker workflows within CI environments, particularly GitLab CI, providing various CI/CD utilities. Powered by Deno with standalone executables.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Node.js",
|
|
@@ -77,6 +77,6 @@ export class SzciNodeJsManager {
|
|
|
77
77
|
await bash(`npm install ${npmTool} -q -g`);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
logger.log('success', 'all global npm tools specified in
|
|
80
|
+
logger.log('success', 'all global npm tools specified in .smartconfig.json are now available!');
|
|
81
81
|
}
|
|
82
82
|
}
|
|
@@ -25,8 +25,8 @@ export interface ISzciOptions {
|
|
|
25
25
|
export class SzciConfig {
|
|
26
26
|
public szciRef: Szci;
|
|
27
27
|
|
|
28
|
-
public
|
|
29
|
-
public kvStorage!: plugins.
|
|
28
|
+
public szciSmartconfig!: plugins.smartconfig.Smartconfig;
|
|
29
|
+
public kvStorage!: plugins.smartconfig.KeyValueStore;
|
|
30
30
|
public szciQenv!: plugins.qenv.Qenv;
|
|
31
31
|
|
|
32
32
|
private configObject!: ISzciOptions;
|
|
@@ -36,8 +36,8 @@ export class SzciConfig {
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
public async init() {
|
|
39
|
-
this.
|
|
40
|
-
this.kvStorage = new plugins.
|
|
39
|
+
this.szciSmartconfig = new plugins.smartconfig.Smartconfig(paths.cwd);
|
|
40
|
+
this.kvStorage = new plugins.smartconfig.KeyValueStore({
|
|
41
41
|
typeArg: 'userHomeDir',
|
|
42
42
|
identityArg: `.szci_${this.szciRef.szciEnv.repo.user}_${this.szciRef.szciEnv.repo.repo}`,
|
|
43
43
|
});
|
|
@@ -54,7 +54,7 @@ export class SzciConfig {
|
|
|
54
54
|
npmRegistryUrl: 'registry.npmjs.org',
|
|
55
55
|
urlCloudly: await this.szciQenv.getEnvVarOnDemand('SZCI_URL_CLOUDLY'),
|
|
56
56
|
};
|
|
57
|
-
this.configObject = this.
|
|
57
|
+
this.configObject = this.szciSmartconfig.dataFor<ISzciOptions>('@ship.zone/szci', this.configObject);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
public getConfig(): ISzciOptions {
|
package/ts/szci.plugins.ts
CHANGED
|
@@ -14,12 +14,12 @@ import * as servezoneApi from '@serve.zone/api';
|
|
|
14
14
|
export { servezoneApi };
|
|
15
15
|
|
|
16
16
|
// @push.rocks
|
|
17
|
-
import * as npmextra from '@push.rocks/npmextra';
|
|
18
17
|
import * as projectinfo from '@push.rocks/projectinfo';
|
|
19
18
|
import * as qenv from '@push.rocks/qenv';
|
|
20
19
|
import * as smartanalytics from '@push.rocks/smartanalytics';
|
|
21
20
|
import * as smartfile from '@push.rocks/smartfile';
|
|
22
21
|
import * as smartcli from '@push.rocks/smartcli';
|
|
22
|
+
import * as smartconfig from '@push.rocks/smartconfig';
|
|
23
23
|
import * as smartgit from '@push.rocks/smartgit';
|
|
24
24
|
import * as smartlog from '@push.rocks/smartlog';
|
|
25
25
|
import * as smartlogDestinationLocal from '@push.rocks/smartlog-destination-local';
|
|
@@ -33,13 +33,13 @@ import * as smartssh from '@push.rocks/smartssh';
|
|
|
33
33
|
import * as smartstring from '@push.rocks/smartstring';
|
|
34
34
|
|
|
35
35
|
export {
|
|
36
|
-
npmextra,
|
|
37
36
|
projectinfo,
|
|
38
37
|
qenv,
|
|
39
38
|
smartanalytics,
|
|
40
39
|
smartfile,
|
|
41
40
|
smartgit,
|
|
42
41
|
smartcli,
|
|
42
|
+
smartconfig,
|
|
43
43
|
smartlog,
|
|
44
44
|
smartlogDestinationLocal,
|
|
45
45
|
smartobject,
|
|
@@ -57,4 +57,3 @@ import * as tsclass from '@tsclass/tsclass';
|
|
|
57
57
|
|
|
58
58
|
export { tsclass };
|
|
59
59
|
|
|
60
|
-
|