@devkong/cli-nx 0.0.57 → 0.0.59
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/package.json
CHANGED
|
@@ -23,8 +23,9 @@ repositories {
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
dependencies {
|
|
26
|
-
implementation("io.kong:kong-
|
|
27
|
-
implementation("io.kong:kong-sdk-
|
|
26
|
+
implementation("io.kong:kong-sdk-function-template:${kongSdkVersion}")
|
|
27
|
+
implementation("io.kong:kong-sdk-kotlin:${kongSdkVersion}")
|
|
28
|
+
implementation("io.kong:kong-common:${kongVersion}")
|
|
28
29
|
|
|
29
30
|
implementation(enforcedPlatform("io.quarkus.platform:quarkus-bom:$quarkusVersion"))
|
|
30
31
|
implementation("io.quarkus:quarkus-arc")
|
|
@@ -6,14 +6,24 @@ const devkit_1 = require("@nx/devkit");
|
|
|
6
6
|
const path = tslib_1.__importStar(require("path"));
|
|
7
7
|
function presetGenerator(tree, options) {
|
|
8
8
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
9
|
+
const projectRoot = ".";
|
|
9
10
|
const projectName = "";
|
|
10
11
|
(0, devkit_1.addProjectConfiguration)(tree, projectName, {
|
|
11
|
-
root:
|
|
12
|
+
root: projectRoot,
|
|
12
13
|
projectType: "application",
|
|
13
14
|
});
|
|
14
15
|
options.os = process.platform;
|
|
15
16
|
(0, devkit_1.generateFiles)(tree, path.join(__dirname, `files/${options.platform}`), "", options);
|
|
16
17
|
yield (0, devkit_1.formatFiles)(tree);
|
|
18
|
+
try {
|
|
19
|
+
const gradlewPath = (0, devkit_1.joinPathFragments)(projectRoot, "gradlew");
|
|
20
|
+
if (tree.exists(gradlewPath)) {
|
|
21
|
+
tree.changePermissions(gradlewPath, "755"); // rwxr-xr-x
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
catch (ex) {
|
|
25
|
+
console.warn("failed to make gradlew executable", ex);
|
|
26
|
+
}
|
|
17
27
|
});
|
|
18
28
|
}
|
|
19
29
|
exports.default = presetGenerator;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generator.js","sourceRoot":"","sources":["../../../../src/generators/preset/generator.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"generator.js","sourceRoot":"","sources":["../../../../src/generators/preset/generator.ts"],"names":[],"mappings":";;AAUA,0CAoBC;;AA9BD,uCAMoB;AACpB,mDAA6B;AAG7B,SAAsB,eAAe,CAAC,IAAU,EAAE,OAA8B;;QAC9E,MAAM,WAAW,GAAG,GAAG,CAAC;QACxB,MAAM,WAAW,GAAG,EAAE,CAAC;QACvB,IAAA,gCAAuB,EAAC,IAAI,EAAE,WAAW,EAAE;YACzC,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,aAAa;SAC3B,CAAC,CAAC;QAEH,OAAO,CAAC,EAAE,GAAG,OAAO,CAAC,QAAQ,CAAC;QAC9B,IAAA,sBAAa,EAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,SAAS,OAAO,CAAC,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;QACpF,MAAM,IAAA,oBAAW,EAAC,IAAI,CAAC,CAAC;QAExB,IAAI,CAAC;YACH,MAAM,WAAW,GAAG,IAAA,0BAAiB,EAAC,WAAW,EAAE,SAAS,CAAC,CAAC;YAC9D,IAAI,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC;gBAC7B,IAAI,CAAC,iBAAiB,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC,CAAC,YAAY;YAC1D,CAAC;QACH,CAAC;QAAC,OAAO,EAAE,EAAE,CAAC;YACZ,OAAO,CAAC,IAAI,CAAC,mCAAmC,EAAE,EAAE,CAAC,CAAC;QACxD,CAAC;IACH,CAAC;CAAA;AAED,kBAAe,eAAe,CAAC"}
|