gdu 13.18.0 → 13.18.1
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.
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { VitePlugin } from '../types';
|
|
2
|
-
export declare function relayPlugin(
|
|
2
|
+
export declare function relayPlugin(rawArtifactDirectory: string): VitePlugin;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.relayPlugin = void 0;
|
|
4
|
-
function relayPlugin(
|
|
4
|
+
function relayPlugin(rawArtifactDirectory) {
|
|
5
|
+
const artifactDirectory = rawArtifactDirectory.replaceAll('\\', '/');
|
|
5
6
|
const graphqlTagRegex = /graphql\s*`\s*([\s\S]*?)`/g;
|
|
6
7
|
const operationNameRegex = /(?:query|mutation|subscription|fragment)\s+(\w+)/;
|
|
7
8
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"relay.js","sourceRoot":"","sources":["../../../../config/vite/plugins/relay.ts"],"names":[],"mappings":";;;AAEA,SAAgB,WAAW,CAAC,
|
|
1
|
+
{"version":3,"file":"relay.js","sourceRoot":"","sources":["../../../../config/vite/plugins/relay.ts"],"names":[],"mappings":";;;AAEA,SAAgB,WAAW,CAAC,oBAA4B;IACvD,MAAM,iBAAiB,GAAG,oBAAoB,CAAC,UAAU,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IACrE,MAAM,eAAe,GAAG,4BAA4B,CAAC;IACrD,MAAM,kBAAkB,GACvB,kDAAkD,CAAC;IAEpD,OAAO;QACN,IAAI,EAAE,WAAW;QACjB,SAAS,CAAC,IAAI,EAAE,EAAE;YACjB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC;gBAAE,OAAO,IAAI,CAAC;YACxC,IAAI,EAAE,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,eAAe,CAAC;gBAC9D,OAAO,IAAI,CAAC;YACb,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC;gBAAE,OAAO,IAAI,CAAC;YAE5C,MAAM,OAAO,GAAa,EAAE,CAAC;YAC7B,IAAI,OAAO,GAAG,CAAC,CAAC;YAEhB,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAC3B,eAAe,EACf,CAAC,MAAM,EAAE,WAAmB,EAAE,EAAE;gBAC/B,MAAM,SAAS,GAAG,WAAW,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;gBACxD,IAAI,CAAC,SAAS;oBAAE,OAAO,MAAM,CAAC;gBAE9B,MAAM,aAAa,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;gBACnC,MAAM,OAAO,GAAG,kBAAkB,OAAO,EAAE,EAAE,CAAC;gBAC9C,OAAO,CAAC,IAAI,CACX,UAAU,OAAO,UAAU,iBAAiB,IAAI,aAAa,YAAY,CACzE,CAAC;gBACF,OAAO,OAAO,CAAC;YAChB,CAAC,CACD,CAAC;YAEF,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC;gBAAE,OAAO,IAAI,CAAC;YAEtC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,GAAG,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC;QACjE,CAAC;KACD,CAAC;AACH,CAAC;AArCD,kCAqCC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gdu",
|
|
3
|
-
"version": "13.18.
|
|
3
|
+
"version": "13.18.1",
|
|
4
4
|
"description": "AutoGuru's development toolkit",
|
|
5
5
|
"homepage": "https://github.com/autoguru-au/octane/tree/master/packages/gdu#readme",
|
|
6
6
|
"repository": "https://github.com/autoguru-au/octane/tree/master/packages/gdu",
|