@trackunit/iris-app-build-utilities 0.0.82 → 0.0.84

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,6 +2,13 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [0.0.84](https://github.com/Trackunit/manager/compare/iris-app-build-utilities/0.0.83...iris-app-build-utilities/0.0.84) (2023-03-06)
6
+
7
+ ## [0.0.83](https://github.com/Trackunit/manager/compare/iris-app-build-utilities/0.0.82...iris-app-build-utilities/0.0.83) (2023-03-06)
8
+
9
+ ### Dependency Updates
10
+
11
+ * `iris-app-api` updated to version `0.0.77`
5
12
  ## [0.0.82](https://github.com/Trackunit/manager/compare/iris-app-build-utilities/0.0.81...iris-app-build-utilities/0.0.82) (2023-02-02)
6
13
 
7
14
  ### Dependency Updates
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/iris-app-build-utilities",
3
- "version": "0.0.82",
3
+ "version": "0.0.84",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "repository": "https://github.com/Trackunit/manager",
6
6
  "main": "./src/index.js",
@@ -8,7 +8,7 @@
8
8
  "dependencies": {
9
9
  "tsconfig-paths": "3.14.1",
10
10
  "typescript": "4.9.4",
11
- "@trackunit/iris-app-api": "0.0.76",
11
+ "@trackunit/iris-app-api": "0.0.77",
12
12
  "node-fetch": "2.6.8",
13
13
  "tslib": "2.4.1"
14
14
  },
@@ -12,8 +12,8 @@ const path = tslib_1.__importStar(require("path"));
12
12
  const getTailwindContentForApp = (options) => {
13
13
  return [
14
14
  ...(0, tailwind_1.createGlobPatternsForDependencies)(path.join(options.nxRootDir, options.appsDir ? options.appsDir : "apps", options.app)).map(pattern => pattern.replace(/{tsx,jsx,js,html}/, "{tsx,ts,jsx,js,html}")),
15
- options.nxRootDir + "/node_modules/@trackunit/react-components/**/**",
16
- options.nxRootDir + "/node_modules/@trackunit/custom-field-components/**/**",
15
+ options.nxRootDir + "/node_modules/@trackunit/react-components/src/**/**",
16
+ options.nxRootDir + "/node_modules/@trackunit/custom-field-components/src/**/**",
17
17
  ];
18
18
  };
19
19
  exports.getTailwindContentForApp = getTailwindContentForApp;
@@ -1 +1 @@
1
- {"version":3,"file":"getTailwindContentForApp.js","sourceRoot":"","sources":["../../../../../libs/iris-app-sdk/iris-app-build-utilities/src/getTailwindContentForApp.ts"],"names":[],"mappings":";;;;AAAA,mDAAyE;AACzE,mDAA6B;AAoB7B;;;;GAIG;AACI,MAAM,wBAAwB,GAAG,CAAC,OAAgC,EAAY,EAAE;IACrF,OAAO;QACL,GAAG,IAAA,4CAAiC,EAClC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,CACtF,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,mBAAmB,EAAE,sBAAsB,CAAC,CAAC;QAC9E,OAAO,CAAC,SAAS,GAAG,iDAAiD;QACrE,OAAO,CAAC,SAAS,GAAG,wDAAwD;KAC7E,CAAC;AACJ,CAAC,CAAC;AARW,QAAA,wBAAwB,4BAQnC","sourcesContent":["import { createGlobPatternsForDependencies } from \"@nrwl/react/tailwind\";\nimport * as path from \"path\";\n\ninterface ITailwindContentOptions {\n /*\n * Root of the nx repo.\n */\n nxRootDir: string;\n /*\n * Name of the app.\n */\n app: string;\n\n /**\n * The name of the apps folder in the nx repo.\n * (can be overridden in nx.json)\n *\n * @default apps\n */\n appsDir?: string;\n}\n/**\n * Generates a list of exposed extensions from a manifest.\n * @param manifest {Manifest} The manifest to get the exposed extensions from.\n * @returns {Exposes} Exposes object for module federation.\n */\nexport const getTailwindContentForApp = (options: ITailwindContentOptions): string[] => {\n return [\n ...createGlobPatternsForDependencies(\n path.join(options.nxRootDir, options.appsDir ? options.appsDir : \"apps\", options.app)\n ).map(pattern => pattern.replace(/{tsx,jsx,js,html}/, \"{tsx,ts,jsx,js,html}\")),\n options.nxRootDir + \"/node_modules/@trackunit/react-components/**/**\",\n options.nxRootDir + \"/node_modules/@trackunit/custom-field-components/**/**\",\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,mDAAyE;AACzE,mDAA6B;AAoB7B;;;;GAIG;AACI,MAAM,wBAAwB,GAAG,CAAC,OAAgC,EAAY,EAAE;IACrF,OAAO;QACL,GAAG,IAAA,4CAAiC,EAClC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,CACtF,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,mBAAmB,EAAE,sBAAsB,CAAC,CAAC;QAC9E,OAAO,CAAC,SAAS,GAAG,qDAAqD;QACzE,OAAO,CAAC,SAAS,GAAG,4DAA4D;KACjF,CAAC;AACJ,CAAC,CAAC;AARW,QAAA,wBAAwB,4BAQnC","sourcesContent":["import { createGlobPatternsForDependencies } from \"@nrwl/react/tailwind\";\nimport * as path from \"path\";\n\ninterface ITailwindContentOptions {\n /*\n * Root of the nx repo.\n */\n nxRootDir: string;\n /*\n * Name of the app.\n */\n app: string;\n\n /**\n * The name of the apps folder in the nx repo.\n * (can be overridden in nx.json)\n *\n * @default apps\n */\n appsDir?: string;\n}\n/**\n * Generates a list of exposed extensions from a manifest.\n * @param manifest {Manifest} The manifest to get the exposed extensions from.\n * @returns {Exposes} Exposes object for module federation.\n */\nexport const getTailwindContentForApp = (options: ITailwindContentOptions): string[] => {\n return [\n ...createGlobPatternsForDependencies(\n path.join(options.nxRootDir, options.appsDir ? options.appsDir : \"apps\", options.app)\n ).map(pattern => pattern.replace(/{tsx,jsx,js,html}/, \"{tsx,ts,jsx,js,html}\")),\n options.nxRootDir + \"/node_modules/@trackunit/react-components/src/**/**\",\n options.nxRootDir + \"/node_modules/@trackunit/custom-field-components/src/**/**\",\n ];\n};\n"]}