@goldstack/utils-project 0.4.26 → 0.4.28
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.
|
@@ -24,11 +24,16 @@
|
|
|
24
24
|
"$ref": "#/definitions/TemplateVersion1"
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
|
-
"required": [
|
|
27
|
+
"required": [
|
|
28
|
+
"templateName"
|
|
29
|
+
],
|
|
28
30
|
"type": "object"
|
|
29
31
|
}
|
|
30
32
|
},
|
|
31
|
-
"required": [
|
|
33
|
+
"required": [
|
|
34
|
+
"packageName",
|
|
35
|
+
"templateReference"
|
|
36
|
+
],
|
|
32
37
|
"type": "object"
|
|
33
38
|
},
|
|
34
39
|
"Packages": {
|
|
@@ -58,7 +63,11 @@
|
|
|
58
63
|
"$ref": "#/definitions/RootTemplateReference"
|
|
59
64
|
}
|
|
60
65
|
},
|
|
61
|
-
"required": [
|
|
66
|
+
"required": [
|
|
67
|
+
"projectName",
|
|
68
|
+
"rootTemplateReference",
|
|
69
|
+
"packages"
|
|
70
|
+
],
|
|
62
71
|
"type": "object"
|
|
63
72
|
},
|
|
64
73
|
"ProjectName": {
|
|
@@ -78,7 +87,9 @@
|
|
|
78
87
|
"$ref": "#/definitions/TemplateVersion"
|
|
79
88
|
}
|
|
80
89
|
},
|
|
81
|
-
"required": [
|
|
90
|
+
"required": [
|
|
91
|
+
"templateName"
|
|
92
|
+
],
|
|
82
93
|
"type": "object"
|
|
83
94
|
},
|
|
84
95
|
"TempalteName": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utilsProject.d.ts","sourceRoot":"","sources":["../../src/utilsProject.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utilsProject.d.ts","sourceRoot":"","sources":["../../src/utilsProject.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAE/E,cAAc,oCAAoC,CAAC;AAEnD,eAAO,MAAM,2BAA2B,GAAI,MAAM,MAAM,KAAG,oBAK1D,CAAC;AAEF,eAAO,MAAM,yBAAyB,GAAI,aAAqB,KAAG,oBAGjE,CAAC"}
|
package/dist/src/utilsProject.js
CHANGED
|
@@ -18,9 +18,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
18
18
|
};
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
20
|
exports.readProjectConfigFromFile = exports.readProjectConfigFromString = void 0;
|
|
21
|
-
const configSchema_json_1 = __importDefault(require("./schemas/configSchema.json"));
|
|
22
|
-
const utils_sh_1 = require("@goldstack/utils-sh");
|
|
23
21
|
const utils_config_1 = require("@goldstack/utils-config");
|
|
22
|
+
const utils_sh_1 = require("@goldstack/utils-sh");
|
|
23
|
+
const configSchema_json_1 = __importDefault(require("./schemas/configSchema.json"));
|
|
24
24
|
__exportStar(require("./types/projectConfigurationSchema"), exports);
|
|
25
25
|
const readProjectConfigFromString = (data) => {
|
|
26
26
|
const config = (0, utils_config_1.parseConfig)(data, configSchema_json_1.default, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utilsProject.js","sourceRoot":"","sources":["../../src/utilsProject.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"utilsProject.js","sourceRoot":"","sources":["../../src/utilsProject.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,0DAAsD;AACtD,kDAA2C;AAC3C,oFAAuD;AAGvD,qEAAmD;AAE5C,MAAM,2BAA2B,GAAG,CAAC,IAAY,EAAwB,EAAE;IAChF,MAAM,MAAM,GAAG,IAAA,0BAAW,EAAC,IAAI,EAAE,2BAAY,EAAE;QAC7C,YAAY,EAAE,8BAA8B;KAC7C,CAAyB,CAAC;IAC3B,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AALW,QAAA,2BAA2B,+BAKtC;AAEK,MAAM,yBAAyB,GAAG,CAAC,IAAI,GAAG,cAAc,EAAwB,EAAE;IACvF,MAAM,IAAI,GAAG,IAAA,eAAI,EAAC,IAAI,CAAC,CAAC;IACxB,OAAO,IAAA,mCAA2B,EAAC,IAAI,CAAC,CAAC;AAC3C,CAAC,CAAC;AAHW,QAAA,yBAAyB,6BAGpC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goldstack/utils-project",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.28",
|
|
4
4
|
"description": "Utility for working with Goldstack project configurations.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"goldstack",
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
"version:apply:force": "yarn version $@ && yarn version apply"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@goldstack/utils-config": "0.4.
|
|
39
|
-
"@goldstack/utils-sh": "0.5.
|
|
38
|
+
"@goldstack/utils-config": "0.4.28",
|
|
39
|
+
"@goldstack/utils-sh": "0.5.27"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@goldstack/utils-git": "0.2.
|
|
43
|
-
"@goldstack/utils-json-to-ts": "0.4.
|
|
42
|
+
"@goldstack/utils-git": "0.2.18",
|
|
43
|
+
"@goldstack/utils-json-to-ts": "0.4.27",
|
|
44
44
|
"@swc/core": "^1.12.11",
|
|
45
45
|
"@swc/jest": "^0.2.39",
|
|
46
46
|
"@types/jest": "^29.5.14",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"jest": "^29.7.0",
|
|
49
49
|
"renamer": "^0.7.0",
|
|
50
50
|
"rimraf": "^3.0.2",
|
|
51
|
-
"ts-json-schema-generator": "^
|
|
51
|
+
"ts-json-schema-generator": "^2.4.0",
|
|
52
52
|
"typescript": "^5.8.3"
|
|
53
53
|
},
|
|
54
54
|
"publishConfig": {
|