@trackunit/iris-app-build-utilities 1.3.27 → 1.3.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 1.3.28 (2025-03-10)
2
+
3
+ ### 🧱 Updated Dependencies
4
+
5
+ - Updated iris-app-api to 1.3.28
6
+
1
7
  ## 1.3.27 (2025-03-10)
2
8
 
3
9
  ### 🧱 Updated Dependencies
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/iris-app-build-utilities",
3
- "version": "1.3.27",
3
+ "version": "1.3.28",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "repository": "https://github.com/Trackunit/manager",
6
6
  "engines": {
@@ -15,7 +15,7 @@
15
15
  "@tailwindcss/container-queries": "^0.1.1",
16
16
  "node-fetch": "2.6.8",
17
17
  "webpack-dev-server": "5.1.0",
18
- "@trackunit/iris-app-api": "1.3.27",
18
+ "@trackunit/iris-app-api": "1.3.28",
19
19
  "tslib": "^2.6.2"
20
20
  },
21
21
  "types": "./src/index.d.ts",
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getExposedExtensions = void 0;
4
4
  const tslib_1 = require("tslib");
5
+ const iris_app_api_1 = require("@trackunit/iris-app-api");
5
6
  const path = tslib_1.__importStar(require("path"));
6
7
  /**
7
8
  * Generates a list of exposed extensions from a manifest.
@@ -12,7 +13,7 @@ const path = tslib_1.__importStar(require("path"));
12
13
  const getExposedExtensions = async (options) => {
13
14
  const output = {};
14
15
  for (const extension of options.manifest.extensions) {
15
- if (extension.type !== "REPORT_EXTENSION") {
16
+ if (!iris_app_api_1.nonUiExtensionTypes.includes(extension.type)) {
16
17
  output[`./${extension.id}`] = path.join(options.nxRootDir, extension.sourceRoot, extension.main ? extension.main : "index.tsx");
17
18
  }
18
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getExposedExtensions.js","sourceRoot":"","sources":["../../../../../libs/iris-app-sdk/iris-app-build-utilities/src/getExposedExtensions.ts"],"names":[],"mappings":";;;;AACA,mDAA6B;AAM7B;;;;;GAKG;AACI,MAAM,oBAAoB,GAAG,KAAK,EAAE,OAAiC,EAAoB,EAAE;IAChG,MAAM,MAAM,GAAY,EAAE,CAAC;IAC3B,KAAK,MAAM,SAAS,IAAI,OAAO,CAAC,QAAQ,CAAC,UAAU,EAAE,CAAC;QACpD,IAAI,SAAS,CAAC,IAAI,KAAK,kBAAkB,EAAE,CAAC;YAC1C,MAAM,CAAC,KAAK,SAAS,CAAC,EAAE,EAAE,CAAC,GAAG,IAAI,CAAC,IAAI,CACrC,OAAO,CAAC,SAAS,EACjB,SAAS,CAAC,UAAU,EACpB,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,WAAW,CAC9C,CAAC;QACJ,CAAC;IACH,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AAZW,QAAA,oBAAoB,wBAY/B","sourcesContent":["import { Exposes, IrisAppManifest } from \"@trackunit/iris-app-api\";\nimport * as path from \"path\";\n\ninterface ExposedExtensionsOptions {\n nxRootDir: string;\n manifest: IrisAppManifest;\n}\n/**\n * Generates a list of exposed extensions from a manifest.\n *\n * @param options {ExposedExtensionsOptions} The manifest to get the exposed extensions from.\n * @returns {Exposes} Exposes object for module federation.\n */\nexport const getExposedExtensions = async (options: ExposedExtensionsOptions): Promise<Exposes> => {\n const output: Exposes = {};\n for (const extension of options.manifest.extensions) {\n if (extension.type !== \"REPORT_EXTENSION\") {\n output[`./${extension.id}`] = path.join(\n options.nxRootDir,\n extension.sourceRoot,\n extension.main ? extension.main : \"index.tsx\"\n );\n }\n }\n return output;\n};\n"]}
1
+ {"version":3,"file":"getExposedExtensions.js","sourceRoot":"","sources":["../../../../../libs/iris-app-sdk/iris-app-build-utilities/src/getExposedExtensions.ts"],"names":[],"mappings":";;;;AAAA,0DAAwF;AACxF,mDAA6B;AAM7B;;;;;GAKG;AACI,MAAM,oBAAoB,GAAG,KAAK,EAAE,OAAiC,EAAoB,EAAE;IAChG,MAAM,MAAM,GAAY,EAAE,CAAC;IAC3B,KAAK,MAAM,SAAS,IAAI,OAAO,CAAC,QAAQ,CAAC,UAAU,EAAE,CAAC;QACpD,IAAI,CAAC,kCAAmB,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC;YAClD,MAAM,CAAC,KAAK,SAAS,CAAC,EAAE,EAAE,CAAC,GAAG,IAAI,CAAC,IAAI,CACrC,OAAO,CAAC,SAAS,EACjB,SAAS,CAAC,UAAU,EACpB,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,WAAW,CAC9C,CAAC;QACJ,CAAC;IACH,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AAZW,QAAA,oBAAoB,wBAY/B","sourcesContent":["import { Exposes, IrisAppManifest, nonUiExtensionTypes } from \"@trackunit/iris-app-api\";\nimport * as path from \"path\";\n\ninterface ExposedExtensionsOptions {\n nxRootDir: string;\n manifest: IrisAppManifest;\n}\n/**\n * Generates a list of exposed extensions from a manifest.\n *\n * @param options {ExposedExtensionsOptions} The manifest to get the exposed extensions from.\n * @returns {Exposes} Exposes object for module federation.\n */\nexport const getExposedExtensions = async (options: ExposedExtensionsOptions): Promise<Exposes> => {\n const output: Exposes = {};\n for (const extension of options.manifest.extensions) {\n if (!nonUiExtensionTypes.includes(extension.type)) {\n output[`./${extension.id}`] = path.join(\n options.nxRootDir,\n extension.sourceRoot,\n extension.main ? extension.main : \"index.tsx\"\n );\n }\n }\n return output;\n};\n"]}