From ae0d1cf143e812fd8645784c6fb09a325dddec95 Mon Sep 17 00:00:00 2001 From: Bram van der Holst Date: Thu, 23 Nov 2023 11:05:57 +0100 Subject: [PATCH] Removed unwanted Hygraph migration script from dist folder was removed from src folder in acd40f336502bcf0728677f0231e221838a497bd --- .../dist/migrations/graphcommerce7to7.1.js | 15 --------------- packages/hygraph-cli/dist/migrations/index.js | 1 - 2 files changed, 16 deletions(-) delete mode 100644 packages/hygraph-cli/dist/migrations/graphcommerce7to7.1.js diff --git a/packages/hygraph-cli/dist/migrations/graphcommerce7to7.1.js b/packages/hygraph-cli/dist/migrations/graphcommerce7to7.1.js deleted file mode 100644 index 2f4f4c6f40..0000000000 --- a/packages/hygraph-cli/dist/migrations/graphcommerce7to7.1.js +++ /dev/null @@ -1,15 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.graphcommerce7to7_1 = void 0; -const migrationAction_1 = require("../migrationAction"); -const graphcommerce7to7_1 = async (schema) => { - if (!migrationAction_1.client) { - return 0; - } - (0, migrationAction_1.migrationAction)(schema, 'enumeration', 'update', { - apiId: 'RowProductVariants', - valuesToCreate: [{ apiId: 'Recent', displayName: 'Recent' }], - }); - return migrationAction_1.client.run(true); -}; -exports.graphcommerce7to7_1 = graphcommerce7to7_1; diff --git a/packages/hygraph-cli/dist/migrations/index.js b/packages/hygraph-cli/dist/migrations/index.js index 2ca36a87ca..359a8699ab 100644 --- a/packages/hygraph-cli/dist/migrations/index.js +++ b/packages/hygraph-cli/dist/migrations/index.js @@ -16,4 +16,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) { Object.defineProperty(exports, "__esModule", { value: true }); __exportStar(require("./graphcommerce5to6"), exports); __exportStar(require("./graphcommerce6to7"), exports); -__exportStar(require("./graphcommerce7to7.1"), exports);