@trackunit/iris-app-build-utilities 0.0.124-alpha-47c0e3bbca.0 → 0.0.124

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
@@ -2,8 +2,11 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
- ## [0.0.124-alpha-47c0e3bbca.0](https://github.com/Trackunit/manager/compare/iris-app-build-utilities/0.0.123...iris-app-build-utilities/0.0.124-alpha-47c0e3bbca.0) (2023-05-01)
5
+ ## [0.0.124](https://github.com/Trackunit/manager/compare/iris-app-build-utilities/0.0.123...iris-app-build-utilities/0.0.124) (2023-05-01)
6
6
 
7
+ ### Dependency Updates
8
+
9
+ * `css-components` updated to version `0.0.318`
7
10
  ## [0.0.123](https://github.com/Trackunit/manager/compare/iris-app-build-utilities/0.0.122...iris-app-build-utilities/0.0.123) (2023-04-28)
8
11
 
9
12
  ### Dependency Updates
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/iris-app-build-utilities",
3
- "version": "0.0.124-alpha-47c0e3bbca.0",
3
+ "version": "0.0.124",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "repository": "https://github.com/Trackunit/manager",
6
6
  "dependencies": {
@@ -22,18 +22,18 @@
22
22
  "@floating-ui/react": "0.22.2",
23
23
  "@heroicons/react": "2.0.16",
24
24
  "@sentry/browser": "7.24.2",
25
- "@trackunit/css-component-tokens": "0.0.25-alpha-47c0e3bbca.0",
26
- "@trackunit/css-components": "0.0.318-alpha-47c0e3bbca.0",
27
- "@trackunit/css-core": "0.0.82-alpha-47c0e3bbca.0",
28
- "@trackunit/css-tailwind-custom-properties-plugin": "0.0.17-alpha-47c0e3bbca.0",
29
- "@trackunit/i18n-library-translation": "0.0.44-alpha-47c0e3bbca.0",
30
- "@trackunit/iris-app-api": "0.0.91-alpha-47c0e3bbca.0",
31
- "@trackunit/iris-app-runtime-core": "0.3.30-alpha-47c0e3bbca.0",
32
- "@trackunit/iris-app-runtime-core-api": "0.3.26-alpha-47c0e3bbca.0",
33
- "@trackunit/react-core-contexts-api": "0.2.25-alpha-47c0e3bbca.0",
34
- "@trackunit/react-core-hooks": "0.2.43-alpha-47c0e3bbca.0",
35
- "@trackunit/tailwind-styled-components": "0.0.56-alpha-47c0e3bbca.0",
36
- "@trackunit/ui-design-tokens": "0.0.67-alpha-47c0e3bbca.0",
25
+ "@trackunit/css-component-tokens": "0.0.25",
26
+ "@trackunit/css-components": "0.0.318",
27
+ "@trackunit/css-core": "0.0.81",
28
+ "@trackunit/css-tailwind-custom-properties-plugin": "0.0.17",
29
+ "@trackunit/i18n-library-translation": "0.0.43",
30
+ "@trackunit/iris-app-api": "0.0.90",
31
+ "@trackunit/iris-app-runtime-core": "0.3.31",
32
+ "@trackunit/iris-app-runtime-core-api": "0.3.26",
33
+ "@trackunit/react-core-contexts-api": "0.2.25",
34
+ "@trackunit/react-core-hooks": "0.2.44",
35
+ "@trackunit/tailwind-styled-components": "0.0.56",
36
+ "@trackunit/ui-design-tokens": "0.0.66",
37
37
  "camelcase": "5.3.1",
38
38
  "capitalize": "2.0.4",
39
39
  "date-fns": "2.29.3",
@@ -4,6 +4,7 @@ interface IAliasesFromTsConfigOptions {
4
4
  }
5
5
  /**
6
6
  * Generates a list of aliases from the options.tsConfigFilePath defaults to tsconfig.base.json.
7
+ *
7
8
  * @returns aliases Exposes object for module federation.
8
9
  */
9
10
  export declare const getAliasesFromTsConfig: (options: IAliasesFromTsConfigOptions) => Promise<Record<string, string>>;
@@ -12,6 +12,7 @@ const fromTsPath = (tsPath) => {
12
12
  };
13
13
  /**
14
14
  * Generates a list of aliases from the options.tsConfigFilePath defaults to tsconfig.base.json.
15
+ *
15
16
  * @returns aliases Exposes object for module federation.
16
17
  */
17
18
  const getAliasesFromTsConfig = (options) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
@@ -1 +1 @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CAAE,KAAiC,CAAC,CAAC,MAAM,CAE/F,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;QACtB,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE;YACtB,MAAM,IAAI,SAAS,CAAC,wBAAwB,GAAG,eAAe,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;SAC/E;QACD,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC3E,OAAO,GAAG,CAAC;IACb,CAAC,EAAE,EAAE,CAAC,CAAC;AACT,CAAC,CAAA,CAAC;AAlBW,QAAA,sBAAsB,0BAkBjC","sourcesContent":["import * as path from \"path\";\nimport * as ts from \"typescript\";\ninterface IAliasesFromTsConfigOptions {\n nxRootDir: string;\n tsConfigFilePath?: string;\n}\n\nconst fromTsAlias = (tsAlias: string) => {\n return tsAlias.indexOf(\"/*\") === tsAlias.length - 2 ? tsAlias.substring(0, tsAlias.length - 2) : `${tsAlias}$`;\n};\n\nconst fromTsPath = (tsPath: string) => {\n return tsPath.indexOf(\"/*\") === tsPath.length - 2 ? tsPath.substring(0, tsPath.length - 2) : tsPath;\n};\n\n/**\n * Generates a list of aliases from the options.tsConfigFilePath defaults to tsconfig.base.json.\n * @returns aliases Exposes object for module federation.\n */\nexport const getAliasesFromTsConfig = async (options: IAliasesFromTsConfigOptions) => {\n const tsConfig = ts.readConfigFile(\n path.join(options.nxRootDir, options.tsConfigFilePath || \"tsconfig.base.json\"),\n ts.sys.readFile\n );\n\n if (!tsConfig?.config.compilerOptions?.paths) {\n throw Error(`option tsconfigFilePath missing paths property in (tsConfig.compilerOptions.paths)`);\n }\n return Object.entries(tsConfig?.config.compilerOptions?.paths as Record<string, string[]>).reduce<\n Record<string, string>\n >((acc, [key, value]) => {\n if (value.length !== 1) {\n throw new TypeError(`Unsupported TS alias ${key} has length ${value.length}`);\n }\n acc[fromTsAlias(key)] = path.join(options.nxRootDir, fromTsPath(value[0]));\n return acc;\n }, {});\n};\n"]}
1
+ {"version":3,"file":"getAliasesFromTsConfig.js","sourceRoot":"","sources":["../../../../../libs/iris-app-sdk/iris-app-build-utilities/src/getAliasesFromTsConfig.ts"],"names":[],"mappings":";;;;AAAA,mDAA6B;AAC7B,uDAAiC;AAMjC,MAAM,WAAW,GAAG,CAAC,OAAe,EAAE,EAAE;IACtC,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,EAAE,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,OAAO,GAAG,CAAC;AACjH,CAAC,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,MAAc,EAAE,EAAE;IACpC,OAAO,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,EAAE,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;AACtG,CAAC,CAAC;AAEF;;;;GAIG;AACI,MAAM,sBAAsB,GAAG,CAAO,OAAoC,EAAE,EAAE;;IACnF,MAAM,QAAQ,GAAG,EAAE,CAAC,cAAc,CAChC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,OAAO,CAAC,gBAAgB,IAAI,oBAAoB,CAAC,EAC9E,EAAE,CAAC,GAAG,CAAC,QAAQ,CAChB,CAAC;IAEF,IAAI,CAAC,CAAA,MAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,MAAM,CAAC,eAAe,0CAAE,KAAK,CAAA,EAAE;QAC5C,MAAM,KAAK,CAAC,oFAAoF,CAAC,CAAC;KACnG;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,MAAM,CAAC,eAAe,0CAAE,KAAiC,CAAC,CAAC,MAAM,CAE/F,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;QACtB,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE;YACtB,MAAM,IAAI,SAAS,CAAC,wBAAwB,GAAG,eAAe,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;SAC/E;QACD,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC3E,OAAO,GAAG,CAAC;IACb,CAAC,EAAE,EAAE,CAAC,CAAC;AACT,CAAC,CAAA,CAAC;AAlBW,QAAA,sBAAsB,0BAkBjC","sourcesContent":["import * as path from \"path\";\nimport * as ts from \"typescript\";\ninterface IAliasesFromTsConfigOptions {\n nxRootDir: string;\n tsConfigFilePath?: string;\n}\n\nconst fromTsAlias = (tsAlias: string) => {\n return tsAlias.indexOf(\"/*\") === tsAlias.length - 2 ? tsAlias.substring(0, tsAlias.length - 2) : `${tsAlias}$`;\n};\n\nconst fromTsPath = (tsPath: string) => {\n return tsPath.indexOf(\"/*\") === tsPath.length - 2 ? tsPath.substring(0, tsPath.length - 2) : tsPath;\n};\n\n/**\n * Generates a list of aliases from the options.tsConfigFilePath defaults to tsconfig.base.json.\n *\n * @returns aliases Exposes object for module federation.\n */\nexport const getAliasesFromTsConfig = async (options: IAliasesFromTsConfigOptions) => {\n const tsConfig = ts.readConfigFile(\n path.join(options.nxRootDir, options.tsConfigFilePath || \"tsconfig.base.json\"),\n ts.sys.readFile\n );\n\n if (!tsConfig?.config.compilerOptions?.paths) {\n throw Error(`option tsconfigFilePath missing paths property in (tsConfig.compilerOptions.paths)`);\n }\n return Object.entries(tsConfig?.config.compilerOptions?.paths as Record<string, string[]>).reduce<\n Record<string, string>\n >((acc, [key, value]) => {\n if (value.length !== 1) {\n throw new TypeError(`Unsupported TS alias ${key} has length ${value.length}`);\n }\n acc[fromTsAlias(key)] = path.join(options.nxRootDir, fromTsPath(value[0]));\n return acc;\n }, {});\n};\n"]}