@trackunit/iris-app-build-utilities 1.12.34 → 1.12.35

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,10 @@
1
+ ## 1.12.35 (2026-02-17)
2
+
3
+ ### 🧱 Updated Dependencies
4
+
5
+ - Updated iris-app-api to 1.14.32
6
+ - Updated shared-utils to 1.13.33
7
+
1
8
  ## 1.12.34 (2026-02-16)
2
9
 
3
10
  ### 🧱 Updated Dependencies
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/iris-app-build-utilities",
3
- "version": "1.12.34",
3
+ "version": "1.12.35",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "repository": "https://github.com/Trackunit/manager",
6
6
  "engines": {
@@ -15,9 +15,9 @@
15
15
  "tslib": "^2.6.2",
16
16
  "csp-header": "^5.2.1",
17
17
  "@rspack/core": "1.6.7",
18
- "@trackunit/iris-app-api": "1.14.31",
18
+ "@trackunit/iris-app-api": "1.14.32",
19
19
  "@nx/devkit": "22.0.4",
20
- "@trackunit/shared-utils": "1.13.32",
20
+ "@trackunit/shared-utils": "1.13.33",
21
21
  "http-proxy-middleware": "3.0.5",
22
22
  "pacote": "^21.0.4",
23
23
  "semver": "7.5.4"
@@ -31,7 +31,7 @@ export declare const getTailwindContentForApp: (options: TailwindContentOptions)
31
31
  * Generates a Tailwind CSS v4 config for use with iris apps.
32
32
  *
33
33
  * In Tailwind CSS v4, configuration is simplified:
34
- * - Theme values are defined via CSS @theme blocks (imported from @trackunit/css-tailwind)
34
+ * - Theme values are defined via CSS @theme blocks (imported from @trackunit/css-core)
35
35
  * - Plugins like container-queries are built into v4
36
36
  * - Config files only need content paths for CSS purging
37
37
  *
@@ -27,7 +27,7 @@ exports.getTailwindContentForApp = getTailwindContentForApp;
27
27
  * Generates a Tailwind CSS v4 config for use with iris apps.
28
28
  *
29
29
  * In Tailwind CSS v4, configuration is simplified:
30
- * - Theme values are defined via CSS @theme blocks (imported from @trackunit/css-tailwind)
30
+ * - Theme values are defined via CSS @theme blocks (imported from @trackunit/css-core)
31
31
  * - Plugins like container-queries are built into v4
32
32
  * - Config files only need content paths for CSS purging
33
33
  *
@@ -1 +1 @@
1
- {"version":3,"file":"getTailwindContentForApp.js","sourceRoot":"","sources":["../../../../../libs/iris-app-sdk/iris-app-build-utilities/src/getTailwindContentForApp.ts"],"names":[],"mappings":";;;;AAAA,iDAAuE;AACvE,2BAAgC;AAChC,mDAA6B;AAC7B,+BAA4B;AAmC5B;;;;;GAKG;AACI,MAAM,wBAAwB,GAAG,CAAC,OAA+B,EAAiB,EAAE;IACzF,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,IAAI,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IAE9E,IAAI,CAAC,IAAA,eAAU,EAAC,IAAA,WAAI,EAAC,SAAS,EAAE,SAAS,CAAC,CAAC,EAAE,CAAC;QAC5C,MAAM,IAAI,KAAK,CACb,yIAAyI,CAC1I,CAAC;IACJ,CAAC;IACD,OAAO;QACL,GAAG,IAAA,4CAAiC,EAAC,OAAO,CAAC,MAAM,EAAE,8CAA8C,CAAC;QACpG,SAAS,GAAG,wEAAwE;KACrF,CAAC;AACJ,CAAC,CAAC;AAZW,QAAA,wBAAwB,4BAYnC;AAEF;;;;;;;;;;GAUG;AACI,MAAM,0BAA0B,GAAG,CAAC,OAAuC,EAAkB,EAAE;IACpG,OAAO;QACL,OAAO,EAAE,IAAA,gCAAwB,EAAC,OAAO,CAAC;KAC3C,CAAC;AACJ,CAAC,CAAC;AAJW,QAAA,0BAA0B,8BAIrC","sourcesContent":["import { createGlobPatternsForDependencies } from \"@nx/react/tailwind\";\nimport { existsSync } from \"fs\";\nimport * as path from \"path\";\nimport { join } from \"path\";\n\nexport interface TailwindContentOptions {\n /*\n * Root of the nx repo.\n */\n nxRootDir?: string;\n\n /**\n * The name of the folder in the nx repo this iris app is in.\n */\n appDir: string;\n}\n\nexport interface TrackunitTailwindConfigOptions {\n /*\n * Root of the nx repo.\n */\n nxRootDir?: string;\n\n /**\n * The name of the folder in the nx repo this iris app is in.\n */\n appDir: string;\n}\n\n/**\n * Tailwind CSS v4 configuration type.\n * In v4, config files are simplified to mainly contain content paths.\n * Theme configuration is done via CSS @theme blocks instead.\n */\nexport type TailwindConfig = {\n content: Array<string>;\n};\n\n/**\n * Generates a list of exposed extensions from a manifest.\n *\n * @param options {TailwindContentOptions} The options include necessary information to get the dependencies.\n * @returns {string[]} Exposes object for module federation. The list of files to include in the tailwind content.\n */\nexport const getTailwindContentForApp = (options: TailwindContentOptions): Array<string> => {\n const nxRootDir = options.nxRootDir || path.resolve(options.appDir, \"../../\");\n\n if (!existsSync(join(nxRootDir, \"nx.json\"))) {\n throw new Error(\n \"nx.json not found. Are you sure this is an nx repo, if you have more then 2 levels of nesting you need to pass in the nxRootDir option.\"\n );\n }\n return [\n ...createGlobPatternsForDependencies(options.appDir, \"/**/!(*.stories|*.spec).{tsx,jsx,ts,js,html}\"),\n nxRootDir + \"/node_modules/@trackunit/*/**/!(*.stories|*.spec).{tsx,jsx,ts,js,html}\",\n ];\n};\n\n/**\n * Generates a Tailwind CSS v4 config for use with iris apps.\n *\n * In Tailwind CSS v4, configuration is simplified:\n * - Theme values are defined via CSS @theme blocks (imported from @trackunit/css-tailwind)\n * - Plugins like container-queries are built into v4\n * - Config files only need content paths for CSS purging\n *\n * @param options {TrackunitTailwindConfigOptions} The options include necessary information to get the dependencies.\n * @returns {TailwindConfig} Tailwind v4 config for the app (content paths only).\n */\nexport const getTrackunitTailwindConfig = (options: TrackunitTailwindConfigOptions): TailwindConfig => {\n return {\n content: getTailwindContentForApp(options),\n };\n};\n"]}
1
+ {"version":3,"file":"getTailwindContentForApp.js","sourceRoot":"","sources":["../../../../../libs/iris-app-sdk/iris-app-build-utilities/src/getTailwindContentForApp.ts"],"names":[],"mappings":";;;;AAAA,iDAAuE;AACvE,2BAAgC;AAChC,mDAA6B;AAC7B,+BAA4B;AAmC5B;;;;;GAKG;AACI,MAAM,wBAAwB,GAAG,CAAC,OAA+B,EAAiB,EAAE;IACzF,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,IAAI,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IAE9E,IAAI,CAAC,IAAA,eAAU,EAAC,IAAA,WAAI,EAAC,SAAS,EAAE,SAAS,CAAC,CAAC,EAAE,CAAC;QAC5C,MAAM,IAAI,KAAK,CACb,yIAAyI,CAC1I,CAAC;IACJ,CAAC;IACD,OAAO;QACL,GAAG,IAAA,4CAAiC,EAAC,OAAO,CAAC,MAAM,EAAE,8CAA8C,CAAC;QACpG,SAAS,GAAG,wEAAwE;KACrF,CAAC;AACJ,CAAC,CAAC;AAZW,QAAA,wBAAwB,4BAYnC;AAEF;;;;;;;;;;GAUG;AACI,MAAM,0BAA0B,GAAG,CAAC,OAAuC,EAAkB,EAAE;IACpG,OAAO;QACL,OAAO,EAAE,IAAA,gCAAwB,EAAC,OAAO,CAAC;KAC3C,CAAC;AACJ,CAAC,CAAC;AAJW,QAAA,0BAA0B,8BAIrC","sourcesContent":["import { createGlobPatternsForDependencies } from \"@nx/react/tailwind\";\nimport { existsSync } from \"fs\";\nimport * as path from \"path\";\nimport { join } from \"path\";\n\nexport interface TailwindContentOptions {\n /*\n * Root of the nx repo.\n */\n nxRootDir?: string;\n\n /**\n * The name of the folder in the nx repo this iris app is in.\n */\n appDir: string;\n}\n\nexport interface TrackunitTailwindConfigOptions {\n /*\n * Root of the nx repo.\n */\n nxRootDir?: string;\n\n /**\n * The name of the folder in the nx repo this iris app is in.\n */\n appDir: string;\n}\n\n/**\n * Tailwind CSS v4 configuration type.\n * In v4, config files are simplified to mainly contain content paths.\n * Theme configuration is done via CSS @theme blocks instead.\n */\nexport type TailwindConfig = {\n content: Array<string>;\n};\n\n/**\n * Generates a list of exposed extensions from a manifest.\n *\n * @param options {TailwindContentOptions} The options include necessary information to get the dependencies.\n * @returns {string[]} Exposes object for module federation. The list of files to include in the tailwind content.\n */\nexport const getTailwindContentForApp = (options: TailwindContentOptions): Array<string> => {\n const nxRootDir = options.nxRootDir || path.resolve(options.appDir, \"../../\");\n\n if (!existsSync(join(nxRootDir, \"nx.json\"))) {\n throw new Error(\n \"nx.json not found. Are you sure this is an nx repo, if you have more then 2 levels of nesting you need to pass in the nxRootDir option.\"\n );\n }\n return [\n ...createGlobPatternsForDependencies(options.appDir, \"/**/!(*.stories|*.spec).{tsx,jsx,ts,js,html}\"),\n nxRootDir + \"/node_modules/@trackunit/*/**/!(*.stories|*.spec).{tsx,jsx,ts,js,html}\",\n ];\n};\n\n/**\n * Generates a Tailwind CSS v4 config for use with iris apps.\n *\n * In Tailwind CSS v4, configuration is simplified:\n * - Theme values are defined via CSS @theme blocks (imported from @trackunit/css-core)\n * - Plugins like container-queries are built into v4\n * - Config files only need content paths for CSS purging\n *\n * @param options {TrackunitTailwindConfigOptions} The options include necessary information to get the dependencies.\n * @returns {TailwindConfig} Tailwind v4 config for the app (content paths only).\n */\nexport const getTrackunitTailwindConfig = (options: TrackunitTailwindConfigOptions): TailwindConfig => {\n return {\n content: getTailwindContentForApp(options),\n };\n};\n"]}