@toolsplus/nx-forge 3.3.0 → 3.4.0

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toolsplus/nx-forge",
3
- "version": "3.3.0",
3
+ "version": "3.4.0",
4
4
  "description": "Atlassian Forge plugin for Nx",
5
5
  "main": "./src/index.js",
6
6
  "typings": "./src/index.d.ts",
@@ -7,6 +7,7 @@ const get_build_config_1 = require("../shared/targets/get-build-config");
7
7
  const get_serve_config_1 = require("../shared/targets/get-serve-config");
8
8
  const get_deploy_config_1 = require("../shared/targets/get-deploy-config");
9
9
  const get_install_config_1 = require("../shared/targets/get-install-config");
10
+ const get_forge_cli_config_1 = require("../shared/targets/get-forge-cli-config");
10
11
  const registerProjectTargets = (projectRoot) => {
11
12
  const outputPath = projectRoot === '.'
12
13
  ? `{projectRoot}/dist}`
@@ -20,6 +21,7 @@ const registerProjectTargets = (projectRoot) => {
20
21
  targets.serve = (0, get_serve_config_1.getServeConfig)({ outputPath });
21
22
  targets.deploy = (0, get_deploy_config_1.getDeployConfig)({ outputPath });
22
23
  targets.install = (0, get_install_config_1.getInstallConfig)({ outputPath });
24
+ targets.forge = (0, get_forge_cli_config_1.getForgeCliConfig)({ outputPath });
23
25
  return targets;
24
26
  };
25
27
  exports.createNodes = [
@@ -1 +1 @@
1
- {"version":3,"file":"create-nodes.js","sourceRoot":"","sources":["../../../../../packages/nx-forge/src/graph/create-nodes.ts"],"names":[],"mappings":";;;AAAA,+BAA+B;AAE/B,+EAA0E;AAC1E,yEAAoE;AACpE,yEAAoE;AACpE,2EAAsE;AACtE,6EAAwE;AAExE,MAAM,sBAAsB,GAAG,CAAC,WAAmB,EAAE,EAAE;IACrD,MAAM,UAAU,GACd,WAAW,KAAK,GAAG;QACjB,CAAC,CAAC,qBAAqB;QACvB,CAAC,CAAC,oCAAoC,CAAC;IAE3C,MAAM,OAAO,GAAwC,EAAE,CAAC;IAExD,OAAO,CAAC,QAAQ,GAAG,IAAA,uCAAiB,EAAC,EAAE,UAAU,EAAE,CAAC,CAAC;IACrD,OAAO,CAAC,KAAK,GAAG,IAAA,iCAAc,EAAC;QAC7B,UAAU;QACV,aAAa,EAAE,kCAAkC;KAClD,CAAC,CAAC;IACH,OAAO,CAAC,KAAK,GAAG,IAAA,iCAAc,EAAC,EAAE,UAAU,EAAE,CAAC,CAAC;IAC/C,OAAO,CAAC,MAAM,GAAG,IAAA,mCAAe,EAAC,EAAE,UAAU,EAAE,CAAC,CAAC;IACjD,OAAO,CAAC,OAAO,GAAG,IAAA,qCAAgB,EAAC,EAAE,UAAU,EAAE,CAAC,CAAC;IAEnD,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC;AAEW,QAAA,WAAW,GAAgB;IACtC,iBAAiB;IACjB,CAAC,gBAAgB,EAAE,EAAE;QACnB,MAAM,WAAW,GAAG,IAAA,cAAO,EAAC,gBAAgB,CAAC,CAAC;QAC9C,OAAO;YACL,QAAQ,EAAE;gBACR,CAAC,WAAW,CAAC,EAAE;oBACb,IAAI,EAAE,WAAW;oBACjB,IAAI,EAAE,aAAa;oBACnB,OAAO,EAAE,sBAAsB,CAAC,WAAW,CAAC;iBAC7C;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC"}
1
+ {"version":3,"file":"create-nodes.js","sourceRoot":"","sources":["../../../../../packages/nx-forge/src/graph/create-nodes.ts"],"names":[],"mappings":";;;AAAA,+BAA+B;AAE/B,+EAA0E;AAC1E,yEAAoE;AACpE,yEAAoE;AACpE,2EAAsE;AACtE,6EAAwE;AACxE,iFAA2E;AAE3E,MAAM,sBAAsB,GAAG,CAAC,WAAmB,EAAE,EAAE;IACrD,MAAM,UAAU,GACd,WAAW,KAAK,GAAG;QACjB,CAAC,CAAC,qBAAqB;QACvB,CAAC,CAAC,oCAAoC,CAAC;IAE3C,MAAM,OAAO,GAAwC,EAAE,CAAC;IAExD,OAAO,CAAC,QAAQ,GAAG,IAAA,uCAAiB,EAAC,EAAE,UAAU,EAAE,CAAC,CAAC;IACrD,OAAO,CAAC,KAAK,GAAG,IAAA,iCAAc,EAAC;QAC7B,UAAU;QACV,aAAa,EAAE,kCAAkC;KAClD,CAAC,CAAC;IACH,OAAO,CAAC,KAAK,GAAG,IAAA,iCAAc,EAAC,EAAE,UAAU,EAAE,CAAC,CAAC;IAC/C,OAAO,CAAC,MAAM,GAAG,IAAA,mCAAe,EAAC,EAAE,UAAU,EAAE,CAAC,CAAC;IACjD,OAAO,CAAC,OAAO,GAAG,IAAA,qCAAgB,EAAC,EAAE,UAAU,EAAE,CAAC,CAAC;IACnD,OAAO,CAAC,KAAK,GAAG,IAAA,wCAAiB,EAAC,EAAE,UAAU,EAAE,CAAC,CAAC;IAElD,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC;AAEW,QAAA,WAAW,GAAgB;IACtC,iBAAiB;IACjB,CAAC,gBAAgB,EAAE,EAAE;QACnB,MAAM,WAAW,GAAG,IAAA,cAAO,EAAC,gBAAgB,CAAC,CAAC;QAC9C,OAAO;YACL,QAAQ,EAAE;gBACR,CAAC,WAAW,CAAC,EAAE;oBACb,IAAI,EAAE,WAAW;oBACjB,IAAI,EAAE,aAAa;oBACnB,OAAO,EAAE,sBAAsB,CAAC,WAAW,CAAC;iBAC7C;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { TargetConfiguration } from '@nx/devkit';
2
+ interface GetForgeCliConfigOptions {
3
+ outputPath: string;
4
+ }
5
+ export declare function getForgeCliConfig(options: GetForgeCliConfigOptions): TargetConfiguration;
6
+ export {};
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getForgeCliConfig = void 0;
4
+ function getForgeCliConfig(options) {
5
+ return {
6
+ executor: 'nx:run-commands',
7
+ options: {
8
+ command: 'forge',
9
+ cwd: options.outputPath,
10
+ },
11
+ };
12
+ }
13
+ exports.getForgeCliConfig = getForgeCliConfig;
14
+ //# sourceMappingURL=get-forge-cli-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-forge-cli-config.js","sourceRoot":"","sources":["../../../../../../packages/nx-forge/src/shared/targets/get-forge-cli-config.ts"],"names":[],"mappings":";;;AAKA,SAAgB,iBAAiB,CAC/B,OAAiC;IAEjC,OAAO;QACL,QAAQ,EAAE,iBAAiB;QAC3B,OAAO,EAAE;YACP,OAAO,EAAE,OAAO;YAChB,GAAG,EAAE,OAAO,CAAC,UAAU;SACxB;KACF,CAAC;AACJ,CAAC;AAVD,8CAUC"}