@trackunit/iris-app-build-utilities 0.0.206 → 0.0.209
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,18 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [0.0.209](https://github.com/Trackunit/manager/compare/iris-app-build-utilities/0.0.208...iris-app-build-utilities/0.0.209) (2023-08-18)
|
|
6
|
+
|
|
7
|
+
### Dependency Updates
|
|
8
|
+
|
|
9
|
+
* `css-components` updated to version `0.0.389`
|
|
10
|
+
## [0.0.208](https://github.com/Trackunit/manager/compare/iris-app-build-utilities/0.0.207...iris-app-build-utilities/0.0.208) (2023-08-17)
|
|
11
|
+
|
|
12
|
+
## [0.0.207](https://github.com/Trackunit/manager/compare/iris-app-build-utilities/0.0.206...iris-app-build-utilities/0.0.207) (2023-08-16)
|
|
13
|
+
|
|
14
|
+
### Dependency Updates
|
|
15
|
+
|
|
16
|
+
* `css-components` updated to version `0.0.388`
|
|
5
17
|
## [0.0.206](https://github.com/Trackunit/manager/compare/iris-app-build-utilities/0.0.205...iris-app-build-utilities/0.0.206) (2023-08-15)
|
|
6
18
|
|
|
7
19
|
### Dependency Updates
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/iris-app-build-utilities",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.209",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"repository": "https://github.com/Trackunit/manager",
|
|
6
6
|
"engines": {
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
"@heroicons/react": "2.0.16",
|
|
25
25
|
"@trackunit/css-class-variance-utilities": "0.0.11",
|
|
26
26
|
"@trackunit/css-component-tokens": "0.0.36",
|
|
27
|
-
"@trackunit/css-components": "0.0.
|
|
27
|
+
"@trackunit/css-components": "0.0.389",
|
|
28
28
|
"@trackunit/css-core": "0.0.91",
|
|
29
29
|
"@trackunit/css-tailwind": "0.0.80",
|
|
30
30
|
"@trackunit/css-tailwind-custom-properties-plugin": "0.0.28",
|
|
31
31
|
"@trackunit/iris-app-api": "0.0.106",
|
|
32
|
-
"@trackunit/react-components": "0.1.
|
|
32
|
+
"@trackunit/react-components": "0.1.140",
|
|
33
33
|
"@trackunit/tailwind-styled-components": "0.0.60",
|
|
34
34
|
"@trackunit/ui-design-tokens": "0.0.74",
|
|
35
35
|
"@trackunit/ui-icons": "0.0.71",
|
|
@@ -9,6 +9,7 @@ const path_1 = require("path");
|
|
|
9
9
|
const getGraphqlCodegenConfig = (nxLibPath) => {
|
|
10
10
|
const schemaFilePath = (0, path_1.join)(__dirname, "..", "..", "..", "..", "libs", "api", "public-gql-schema", "src", "public-schema.gql");
|
|
11
11
|
const schemaUrlOrPath = (0, fs_1.existsSync)(schemaFilePath) ? schemaFilePath : "https://iris.trackunit.com/api/graphql/";
|
|
12
|
+
console.log(`Using schema: ${schemaUrlOrPath}`);
|
|
12
13
|
const generates = {};
|
|
13
14
|
generates[`${nxLibPath}/src/generated/graphql-api/`] = {
|
|
14
15
|
preset: "client",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGraphqlCodeGenConfig.js","sourceRoot":"","sources":["../../../../../libs/iris-app-sdk/iris-app-build-utilities/src/getGraphqlCodeGenConfig.ts"],"names":[],"mappings":";;;AACA,2BAAgC;AAChC,+BAA4B;AAE5B;;GAEG;AACI,MAAM,uBAAuB,GAAyC,CAAC,SAAiB,EAAE,EAAE;IACjG,MAAM,cAAc,GAAG,IAAA,WAAI,EACzB,SAAS,EACT,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,KAAK,EACL,mBAAmB,EACnB,KAAK,EACL,mBAAmB,CACpB,CAAC;IACF,MAAM,eAAe,GAAG,IAAA,eAAU,EAAC,cAAc,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"getGraphqlCodeGenConfig.js","sourceRoot":"","sources":["../../../../../libs/iris-app-sdk/iris-app-build-utilities/src/getGraphqlCodeGenConfig.ts"],"names":[],"mappings":";;;AACA,2BAAgC;AAChC,+BAA4B;AAE5B;;GAEG;AACI,MAAM,uBAAuB,GAAyC,CAAC,SAAiB,EAAE,EAAE;IACjG,MAAM,cAAc,GAAG,IAAA,WAAI,EACzB,SAAS,EACT,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,KAAK,EACL,mBAAmB,EACnB,KAAK,EACL,mBAAmB,CACpB,CAAC;IACF,MAAM,eAAe,GAAG,IAAA,eAAU,EAAC,cAAc,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,yCAAyC,CAAC;IAChH,OAAO,CAAC,GAAG,CAAC,iBAAiB,eAAe,EAAE,CAAC,CAAC;IAEhD,MAAM,SAAS,GAA+B,EAAE,CAAC;IACjD,SAAS,CAAC,GAAG,SAAS,6BAA6B,CAAC,GAAG;QACrD,MAAM,EAAE,QAAQ;QAChB,YAAY,EAAE;YACZ,eAAe,EAAE,EAAE,kBAAkB,EAAE,iBAAiB,EAAE;YAC1D,2CAA2C;YAC3C,YAAY,EAAE,KAAK;YACnB,QAAQ,EAAE,IAAI;YACd,cAAc,EAAE,IAAI;YACpB,YAAY,EAAE,IAAI;YAClB,gBAAgB,EAAE;gBAChB,SAAS,EAAE,MAAM;gBACjB,UAAU,EAAE,wBAAwB;aACrC;YACD,OAAO,EAAE;gBACP,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,MAAM;aACjB;SACF;KACF,CAAC;IAEF,OAAO;QACL,MAAM,EAAE,eAAe;QACvB,SAAS,EAAE,CAAC,GAAG,SAAS,eAAe,EAAE,GAAG,SAAS,mBAAmB,CAAC;QACzE,iBAAiB,EAAE,IAAI;QACvB,SAAS;KACV,CAAC;AACJ,CAAC,CAAC;AA3CW,QAAA,uBAAuB,2BA2ClC","sourcesContent":["import { CodegenConfig } from \"@graphql-codegen/cli\";\nimport { existsSync } from \"fs\";\nimport { join } from \"path\";\n\n/**\n * This function returns the codegen config for trackunit public graphql-codegen.\n */\nexport const getGraphqlCodegenConfig: (nxLibPath: string) => CodegenConfig = (nxLibPath: string) => {\n const schemaFilePath = join(\n __dirname,\n \"..\",\n \"..\",\n \"..\",\n \"..\",\n \"libs\",\n \"api\",\n \"public-gql-schema\",\n \"src\",\n \"public-schema.gql\"\n );\n const schemaUrlOrPath = existsSync(schemaFilePath) ? schemaFilePath : \"https://iris.trackunit.com/api/graphql/\";\n console.log(`Using schema: ${schemaUrlOrPath}`);\n\n const generates: CodegenConfig[\"generates\"] = {};\n generates[`${nxLibPath}/src/generated/graphql-api/`] = {\n preset: \"client\",\n presetConfig: {\n fragmentMasking: { unmaskFunctionName: \"getFragmentData\" },\n // We need to do this later after scrubbing\n enumsAsConst: false,\n noExport: true,\n avoidOptionals: true,\n noNamespaces: true,\n namingConvention: {\n typeNames: \"keep\",\n enumValues: \"pascal-case#pascalCase\",\n },\n scalars: {\n Date: \"Date\",\n DateTime: \"Date\",\n },\n },\n };\n\n return {\n schema: schemaUrlOrPath,\n documents: [`${nxLibPath}/src/**/*.tsx`, `${nxLibPath}/src/**/*.graphql`],\n ignoreNoDocuments: true, // for better experience with the watcher\n generates,\n };\n};\n"]}
|