@hartl-services/medusa-base 3.0.0 → 5.0.0

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.
Files changed (107) hide show
  1. package/.medusa/server/src/admin/admin-components/features/plugin-features/components/PluginActionsSection.d.ts +1 -1
  2. package/.medusa/server/src/admin/admin-components/features/plugin-features/components/PluginFeaturesCard.d.ts +1 -1
  3. package/.medusa/server/src/admin/admin-components/features/plugin-features/components/PluginHubCard.d.ts +1 -1
  4. package/.medusa/server/src/admin/admin-components/features/plugin-features/components/PluginSettingsForm.d.ts +1 -1
  5. package/.medusa/server/src/admin/admin-components/features/plugin-features/components/PluginStatusChips.d.ts +1 -1
  6. package/.medusa/server/src/admin/admin-components/features/plugin-features/components/ShopMasterDataBanner.d.ts +1 -1
  7. package/.medusa/server/src/admin/admin-components/features/plugin-features/hooks/usePluginFeatureEnabled.d.ts +1 -1
  8. package/.medusa/server/src/admin/admin-components/features/plugin-features/hooks/usePluginSettingsForm.d.ts +1 -1
  9. package/.medusa/server/src/admin/admin-components/features/plugin-features/hooks/usePluginSwitch.d.ts +1 -1
  10. package/.medusa/server/src/admin/admin-components/features/plugin-features/lib/action-runs.d.ts +1 -1
  11. package/.medusa/server/src/admin/admin-components/features/plugin-features/lib/plugin-features-admin-client.d.ts +1 -1
  12. package/.medusa/server/src/admin/admin-components/features/plugin-features/lib/plugin-features-admin-client.js +1 -1
  13. package/.medusa/server/src/admin/admin-components/features/plugin-features/lib/plugin-view.d.ts +1 -1
  14. package/.medusa/server/src/admin/admin-components/features/plugin-features/lib/settings-draft.d.ts +1 -1
  15. package/.medusa/server/src/admin/admin-components/features/plugin-features/lib/settings-layout.d.ts +1 -1
  16. package/.medusa/server/src/admin/index.js +51 -51
  17. package/.medusa/server/src/admin/index.mjs +51 -51
  18. package/.medusa/server/src/api/admin/draft-orders/[id]/order-confirmation/route.js +2 -2
  19. package/.medusa/server/src/api/admin/email/attachments/[id]/mail-kinds/route.js +2 -2
  20. package/.medusa/server/src/api/admin/email/attachments/[id]/route.js +2 -2
  21. package/.medusa/server/src/api/admin/email/attachments/[id]/versions/route.js +2 -2
  22. package/.medusa/server/src/api/admin/email/attachments/route.js +2 -2
  23. package/.medusa/server/src/api/admin/email/messages/[id]/resends/route.js +2 -2
  24. package/.medusa/server/src/api/admin/email/messages/[id]/route.js +2 -2
  25. package/.medusa/server/src/api/admin/email/messages/route.js +2 -2
  26. package/.medusa/server/src/api/admin/email/templates/[kind]/preview/route.js +2 -2
  27. package/.medusa/server/src/api/admin/email/templates/[kind]/route.js +2 -2
  28. package/.medusa/server/src/api/admin/email/templates/[kind]/send-test/route.js +2 -2
  29. package/.medusa/server/src/api/admin/email/templates/[kind]/test-sources/route.js +2 -2
  30. package/.medusa/server/src/api/admin/email/templates/route.js +2 -2
  31. package/.medusa/server/src/api/admin/plugin-features/[plugin_key]/actions/[action_key]/route.js +2 -2
  32. package/.medusa/server/src/api/admin/plugin-features/[plugin_key]/actions/[action_key]/runs/route.js +2 -2
  33. package/.medusa/server/src/api/admin/plugin-features/[plugin_key]/route.js +2 -2
  34. package/.medusa/server/src/api/admin/plugin-features/[plugin_key]/settings/route.js +2 -2
  35. package/.medusa/server/src/api/admin/plugin-features/route.js +2 -2
  36. package/.medusa/server/src/api/admin-first-login-password-policy.js +2 -2
  37. package/.medusa/server/src/api/answer-code-provider-route-not-found.js +2 -2
  38. package/.medusa/server/src/api/check-customer-address-tax-identification.js +3 -3
  39. package/.medusa/server/src/api/code-account-password-routes.js +2 -2
  40. package/.medusa/server/src/api/middlewares.js +9 -9
  41. package/.medusa/server/src/api/password-policy.js +2 -2
  42. package/.medusa/server/src/api/plugin-actions.js +2 -2
  43. package/.medusa/server/src/api/plugin-features-http.js +2 -2
  44. package/.medusa/server/src/api/require-login-code-customer-email.js +2 -2
  45. package/.medusa/server/src/api/store/carts/[id]/completion-check/route.js +2 -2
  46. package/.medusa/server/src/api/store/carts/[id]/tax-identification/route.js +2 -2
  47. package/.medusa/server/src/api/store/customer-auth/password-policy/route.js +2 -2
  48. package/.medusa/server/src/api/store/plugin-features/[plugin_key]/route.js +2 -2
  49. package/.medusa/server/src/api/store/plugin-features/route.js +2 -2
  50. package/.medusa/server/src/customer-auth/application/prepare-code-account-password-reset.js +2 -2
  51. package/.medusa/server/src/customer-auth/application/request-login-code.js +2 -2
  52. package/.medusa/server/src/customer-auth/customer-password-policy.js +2 -2
  53. package/.medusa/server/src/customer-auth/domain/auth-methods.js +2 -2
  54. package/.medusa/server/src/customer-auth/domain/login-code.js +2 -2
  55. package/.medusa/server/src/customer-auth/login-code-state.js +2 -2
  56. package/.medusa/server/src/customer-auth/plugin-features.js +2 -2
  57. package/.medusa/server/src/documents/paths/documents.js +2 -2
  58. package/.medusa/server/src/documents/schemas/documents.js +2 -2
  59. package/.medusa/server/src/email/application/deliver-login-code.js +2 -2
  60. package/.medusa/server/src/email/domain/business-keys.js +2 -2
  61. package/.medusa/server/src/email/templates/blocks/render-document.js +2 -2
  62. package/.medusa/server/src/email/templates/render.js +2 -2
  63. package/.medusa/server/src/email/templates/validate.js +2 -2
  64. package/.medusa/server/src/email/types/template-data.js +2 -2
  65. package/.medusa/server/src/free-shipping/free-shipping-settings.js +38 -0
  66. package/.medusa/server/src/free-shipping/plugin-features.js +45 -0
  67. package/.medusa/server/src/jobs/free-shipping-promotion-sync.js +22 -0
  68. package/.medusa/server/src/modules/documents/service.js +2 -2
  69. package/.medusa/server/src/modules/email/domain/attachment.js +2 -2
  70. package/.medusa/server/src/modules/email/service.js +3 -3
  71. package/.medusa/server/src/modules/free-shipping/index.js +13 -0
  72. package/.medusa/server/src/modules/free-shipping/migrations/Migration20260911114515.js +16 -0
  73. package/.medusa/server/src/modules/free-shipping/migrations/Migration20260928201511.js +19 -0
  74. package/.medusa/server/src/modules/free-shipping/migrations/Migration20260928211756.js +110 -0
  75. package/.medusa/server/src/modules/free-shipping/service.js +17 -0
  76. package/.medusa/server/src/modules/tax-compliance/service.js +2 -2
  77. package/.medusa/server/src/providers/email-otp/service.js +2 -2
  78. package/.medusa/server/src/public/shop-config.js +6 -6
  79. package/.medusa/server/src/shop-config/{build-food-shop-config.js → build-shop-config.js} +14 -18
  80. package/.medusa/server/src/shop-config/options.js +4 -4
  81. package/.medusa/server/src/subscribers/affiliate-application-submitted.js +2 -2
  82. package/.medusa/server/src/subscribers/affiliate-consignment-reminder-due.js +2 -2
  83. package/.medusa/server/src/subscribers/documents-order-cancellation-ready.js +2 -2
  84. package/.medusa/server/src/subscribers/documents-refund-ready.js +2 -2
  85. package/.medusa/server/src/subscribers/documents-shipment-invoice-assignment-decided.js +2 -2
  86. package/.medusa/server/src/subscribers/free-shipping-plugin-features-updated.js +25 -0
  87. package/.medusa/server/src/subscribers/free-shipping-plugin-settings-updated.js +26 -0
  88. package/.medusa/server/src/subscribers/packing-list-allocation-revised.js +2 -2
  89. package/.medusa/server/src/subscribers/tax-compliance-plugin-features-updated.js +2 -2
  90. package/.medusa/server/src/tax-compliance/lib/tax-compliance-state.js +2 -2
  91. package/.medusa/server/src/tax-compliance/plugin-features.js +2 -2
  92. package/.medusa/server/src/workflows/free-shipping/sync-free-shipping-promotions.js +143 -0
  93. package/.medusa/server/src/workflows/hooks/set-free-shipping-promotion-context.js +86 -0
  94. package/README.md +754 -562
  95. package/dist/customer-auth/domain/auth-methods.js +1 -1
  96. package/dist/customer-auth/plugin-features.js +1 -1
  97. package/dist/documents/types/admin-api.d.ts +1 -1
  98. package/dist/documents/types/document-summary.d.ts +1 -1
  99. package/dist/documents/types/store-api.d.ts +1 -1
  100. package/dist/email/types/template-data.js +1 -1
  101. package/dist/public/shop-config.d.ts +4 -4
  102. package/dist/public/shop-config.js +5 -5
  103. package/dist/shop-config/{build-food-shop-config.d.ts → build-shop-config.d.ts} +12 -12
  104. package/dist/shop-config/{build-food-shop-config.js → build-shop-config.js} +13 -17
  105. package/dist/shop-config/options.d.ts +3 -3
  106. package/dist/shop-config/options.js +3 -3
  107. package/package.json +6 -6
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultCustomerAuthMethods = exports.deriveCustomerAuthMethods = exports.EMAIL_PASSWORD_AUTH_PROVIDER = void 0;
4
- const customer_auth_1 = require("@hartl-services/medusa-food-supplements-contracts/schemas/customer-auth");
4
+ const customer_auth_1 = require("@hartl-services/medusa-contracts/schemas/customer-auth");
5
5
  /** Medusa's built-in e-mail + password provider. */
6
6
  exports.EMAIL_PASSWORD_AUTH_PROVIDER = "emailpass";
7
7
  /**
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.customerAuthPluginFeatures = void 0;
4
- const customer_auth_1 = require("@hartl-services/medusa-food-supplements-contracts/schemas/customer-auth");
4
+ const customer_auth_1 = require("@hartl-services/medusa-contracts/schemas/customer-auth");
5
5
  const descriptor_1 = require("../public/descriptor");
6
6
  const PASSWORD_RULES = "Passwort-Regeln";
7
7
  exports.customerAuthPluginFeatures = (0, descriptor_1.definePluginFeatures)({
@@ -1 +1 @@
1
- export type * from "@hartl-services/medusa-food-supplements-contracts/types/documents-admin";
1
+ export type * from "@hartl-services/medusa-contracts/types/documents-admin";
@@ -1 +1 @@
1
- export type { StoreDocument as DocumentSummary } from "@hartl-services/medusa-food-supplements-contracts/types/documents-store";
1
+ export type { StoreDocument as DocumentSummary } from "@hartl-services/medusa-contracts/types/documents-store";
@@ -1 +1 @@
1
- export type * from "@hartl-services/medusa-food-supplements-contracts/types/documents-store";
1
+ export type * from "@hartl-services/medusa-contracts/types/documents-store";
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EmailRenderDataSchemas = exports.EmailPersistedDataSchemas = exports.RefundSummarySchema = exports.ReturnReceivedSummarySchema = exports.ReturnSummarySchema = exports.ShipmentSummarySchema = exports.OrderSummarySchema = void 0;
4
4
  const zod_1 = require("@medusajs/framework/zod");
5
- const affiliate_1 = require("@hartl-services/medusa-food-supplements-contracts/schemas/affiliate");
5
+ const affiliate_1 = require("@hartl-services/medusa-contracts/schemas/affiliate");
6
6
  const NonEmptyStringSchema = zod_1.z.string().trim().min(1);
7
7
  const NullableLocaleSchema = NonEmptyStringSchema.max(35).nullable();
8
8
  const DocumentsFactFingerprintSchema = zod_1.z
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Entry of `@hartl-services/medusa-base/shop-config`: the turnkey
3
- * `medusa-config.ts` of a food shop. Separate from `./config` because it loads
3
+ * `medusa-config.ts` of a shop. Separate from `./config` because it loads
4
4
  * the Sentry logger wrapper and with it `@sentry/node`.
5
5
  */
6
- export { buildFoodShopConfig, defineFoodShopConfig, } from "../shop-config/build-food-shop-config";
7
- export type { FoodShopConfigInput, FoodShopModule, FoodShopPlugin, } from "../shop-config/build-food-shop-config";
8
- export type { FoodShopConfigOptions } from "../shop-config/options";
6
+ export { buildShopConfig, defineShopConfig, } from "../shop-config/build-shop-config";
7
+ export type { ShopConfigInput, ShopModule, ShopPlugin, } from "../shop-config/build-shop-config";
8
+ export type { ShopConfigOptions } from "../shop-config/options";
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.defineFoodShopConfig = exports.buildFoodShopConfig = void 0;
3
+ exports.defineShopConfig = exports.buildShopConfig = void 0;
4
4
  /**
5
5
  * Entry of `@hartl-services/medusa-base/shop-config`: the turnkey
6
- * `medusa-config.ts` of a food shop. Separate from `./config` because it loads
6
+ * `medusa-config.ts` of a shop. Separate from `./config` because it loads
7
7
  * the Sentry logger wrapper and with it `@sentry/node`.
8
8
  */
9
- var build_food_shop_config_1 = require("../shop-config/build-food-shop-config");
10
- Object.defineProperty(exports, "buildFoodShopConfig", { enumerable: true, get: function () { return build_food_shop_config_1.buildFoodShopConfig; } });
11
- Object.defineProperty(exports, "defineFoodShopConfig", { enumerable: true, get: function () { return build_food_shop_config_1.defineFoodShopConfig; } });
9
+ var build_shop_config_1 = require("../shop-config/build-shop-config");
10
+ Object.defineProperty(exports, "buildShopConfig", { enumerable: true, get: function () { return build_shop_config_1.buildShopConfig; } });
11
+ Object.defineProperty(exports, "defineShopConfig", { enumerable: true, get: function () { return build_shop_config_1.defineShopConfig; } });
@@ -1,17 +1,17 @@
1
1
  import { defineConfig } from "@medusajs/framework/utils";
2
2
  import { withSentryErrorReporting } from "../public/sentry-logger";
3
- import { type FoodShopConfigOptions } from "./options";
3
+ import { type ShopConfigOptions } from "./options";
4
4
  type ConfigInput = Parameters<typeof defineConfig>[0];
5
5
  type ProjectConfigInput = NonNullable<Extract<NonNullable<ConfigInput>, {
6
6
  projectConfig?: unknown;
7
7
  }>["projectConfig"]>;
8
8
  /** A plugin registration of the returned configuration. */
9
- export type FoodShopPlugin = {
9
+ export type ShopPlugin = {
10
10
  resolve: string;
11
11
  options: Record<string, unknown>;
12
12
  };
13
13
  /** A module registration of the returned configuration. */
14
- export type FoodShopModule = {
14
+ export type ShopModule = {
15
15
  key?: string;
16
16
  resolve: string;
17
17
  options?: Record<string, unknown>;
@@ -20,25 +20,25 @@ export type FoodShopModule = {
20
20
  * The configuration input before `defineConfig`. `modules` and `plugins` are
21
21
  * plain arrays so a caller (for example a test harness) can adjust them.
22
22
  */
23
- export type FoodShopConfigInput = {
23
+ export type ShopConfigInput = {
24
24
  admin: {
25
25
  path: `/${string}`;
26
26
  };
27
27
  logger: ReturnType<typeof withSentryErrorReporting>;
28
28
  projectConfig: ProjectConfigInput;
29
- modules: FoodShopModule[];
30
- plugins: FoodShopPlugin[];
29
+ modules: ShopModule[];
30
+ plugins: ShopPlugin[];
31
31
  };
32
32
  /**
33
- * Builds the plain `medusa-config.ts` input of a food shop: Medusa core
33
+ * Builds the plain `medusa-config.ts` input of a shop: Medusa core
34
34
  * settings, the Redis event bus, the mail provider (set up in the Admin), S3 file storage, tax and
35
35
  * Stripe payment providers, and the Hartl Services plugins (the base plugin
36
- * with its E-Mail, Documents, Steuer-Compliance and file storage modules plus
37
- * four feature plugins). Deployment
36
+ * with its E-Mail, Documents, Steuer-Compliance, Versandkostenfrei and file
37
+ * storage modules plus three feature plugins). Deployment
38
38
  * values are read and validated from `environment`; a missing or invalid one
39
39
  * fails with its name.
40
40
  */
41
- export declare function buildFoodShopConfig(options: FoodShopConfigOptions, environment?: NodeJS.ProcessEnv): FoodShopConfigInput;
42
- /** `defineConfig(buildFoodShopConfig(options))` for `module.exports`. */
43
- export declare function defineFoodShopConfig(options: FoodShopConfigOptions, environment?: NodeJS.ProcessEnv): ReturnType<typeof defineConfig>;
41
+ export declare function buildShopConfig(options: ShopConfigOptions, environment?: NodeJS.ProcessEnv): ShopConfigInput;
42
+ /** `defineConfig(buildShopConfig(options))` for `module.exports`. */
43
+ export declare function defineShopConfig(options: ShopConfigOptions, environment?: NodeJS.ProcessEnv): ReturnType<typeof defineConfig>;
44
44
  export {};
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.buildFoodShopConfig = buildFoodShopConfig;
4
- exports.defineFoodShopConfig = defineFoodShopConfig;
3
+ exports.buildShopConfig = buildShopConfig;
4
+ exports.defineShopConfig = defineShopConfig;
5
5
  const logger_1 = require("@medusajs/framework/logger");
6
- const customer_auth_1 = require("@hartl-services/medusa-food-supplements-contracts/schemas/customer-auth");
6
+ const customer_auth_1 = require("@hartl-services/medusa-contracts/schemas/customer-auth");
7
7
  const utils_1 = require("@medusajs/framework/utils");
8
8
  const config_1 = require("../public/config");
9
9
  const customer_auth_methods_snapshot_1 = require("../customer-auth/customer-auth-methods-snapshot");
@@ -11,16 +11,16 @@ const customer_verification_snapshot_1 = require("../email/customer-verification
11
11
  const sentry_logger_1 = require("../public/sentry-logger");
12
12
  const options_1 = require("./options");
13
13
  /**
14
- * Builds the plain `medusa-config.ts` input of a food shop: Medusa core
14
+ * Builds the plain `medusa-config.ts` input of a shop: Medusa core
15
15
  * settings, the Redis event bus, the mail provider (set up in the Admin), S3 file storage, tax and
16
16
  * Stripe payment providers, and the Hartl Services plugins (the base plugin
17
- * with its E-Mail, Documents, Steuer-Compliance and file storage modules plus
18
- * four feature plugins). Deployment
17
+ * with its E-Mail, Documents, Steuer-Compliance, Versandkostenfrei and file
18
+ * storage modules plus three feature plugins). Deployment
19
19
  * values are read and validated from `environment`; a missing or invalid one
20
20
  * fails with its name.
21
21
  */
22
- function buildFoodShopConfig(options, environment = process.env) {
23
- (0, options_1.assertFoodShopConfigOptions)(options);
22
+ function buildShopConfig(options, environment = process.env) {
23
+ (0, options_1.assertShopConfigOptions)(options);
24
24
  if (options.loadEnvFile !== false) {
25
25
  (0, utils_1.loadEnv)(process.env.NODE_ENV || "development", process.cwd());
26
26
  }
@@ -162,8 +162,8 @@ function buildFoodShopConfig(options, environment = process.env) {
162
162
  const plugins = [
163
163
  {
164
164
  // Always first: owns the plugin feature toggles the other plugins gate
165
- // on, and carries E-Mail, Documents, Steuer-Compliance and the /files
166
- // gateway.
165
+ // on, and carries E-Mail, Documents, Steuer-Compliance, Versandkostenfrei
166
+ // and the /files gateway.
167
167
  resolve: "@hartl-services/medusa-base",
168
168
  options: {
169
169
  email: {
@@ -210,10 +210,6 @@ function buildFoodShopConfig(options, environment = process.env) {
210
210
  files: { gateway: s3CacheStorage.gateway },
211
211
  },
212
212
  },
213
- {
214
- resolve: "@hartl-services/medusa-free-shipping",
215
- options: {},
216
- },
217
213
  {
218
214
  resolve: "@hartl-services/medusa-batch-management",
219
215
  options: {},
@@ -296,7 +292,7 @@ function buildFoodShopConfig(options, environment = process.env) {
296
292
  plugins,
297
293
  };
298
294
  }
299
- /** `defineConfig(buildFoodShopConfig(options))` for `module.exports`. */
300
- function defineFoodShopConfig(options, environment = process.env) {
301
- return (0, utils_1.defineConfig)(buildFoodShopConfig(options, environment));
295
+ /** `defineConfig(buildShopConfig(options))` for `module.exports`. */
296
+ function defineShopConfig(options, environment = process.env) {
297
+ return (0, utils_1.defineConfig)(buildShopConfig(options, environment));
302
298
  }
@@ -1,9 +1,9 @@
1
1
  import type { DocumentHtmlFactory } from "../documents/types";
2
2
  /**
3
- * The shop-specific facts of a food shop. Deployment values and secrets are
3
+ * The shop-specific facts of a shop. Deployment values and secrets are
4
4
  * not options: they come from the environment (see the README).
5
5
  */
6
- export type FoodShopConfigOptions = Readonly<{
6
+ export type ShopConfigOptions = Readonly<{
7
7
  /**
8
8
  * Shop name in the branding of the default e-mail templates (and the store
9
9
  * name of a shop's initial seed). Company name, address and UID are not
@@ -43,4 +43,4 @@ export type FoodShopConfigOptions = Readonly<{
43
43
  * Throws a `TypeError` naming the first invalid option, so a misconfigured
44
44
  * shop fails at boot.
45
45
  */
46
- export declare function assertFoodShopConfigOptions(options: unknown): asserts options is FoodShopConfigOptions;
46
+ export declare function assertShopConfigOptions(options: unknown): asserts options is ShopConfigOptions;
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.assertFoodShopConfigOptions = assertFoodShopConfigOptions;
3
+ exports.assertShopConfigOptions = assertShopConfigOptions;
4
4
  const lib_1 = require("../shared/lib");
5
5
  const fail = (name, expectation) => {
6
- throw new TypeError(`Food shop option "${name}" must be ${expectation}.`);
6
+ throw new TypeError(`Shop option "${name}" must be ${expectation}.`);
7
7
  };
8
8
  const requireText = (value, name) => {
9
9
  if (typeof value !== "string" || value.trim() === "") {
@@ -41,7 +41,7 @@ const requireObject = (value, name) => {
41
41
  * Throws a `TypeError` naming the first invalid option, so a misconfigured
42
42
  * shop fails at boot.
43
43
  */
44
- function assertFoodShopConfigOptions(options) {
44
+ function assertShopConfigOptions(options) {
45
45
  const candidate = requireObject(options, "options");
46
46
  requireText(candidate.displayName, "displayName");
47
47
  requireEmail(candidate.orderNotificationEmail, "orderNotificationEmail");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hartl-services/medusa-base",
3
- "version": "3.0.0",
4
- "description": "Base plugin for Hartl Services Medusa shops: per-plugin feature toggles with a generic Admin settings page, a Store endpoint for storefronts, enforcement helpers, the complete-cart hook composition, the root redirect, cart-promotion link repair, the built-in E-Mail, Documents, Steuer-Compliance (UID check, Tax provider) and S3 file storage modules, config helpers with the turnkey food-shop preset, and the Sentry logger wrapper and instrumentation.",
3
+ "version": "5.0.0",
4
+ "description": "Base plugin for Hartl Services Medusa shops: per-plugin feature toggles with a generic Admin settings page, a Store endpoint for storefronts, enforcement helpers, the complete-cart hook composition, the root redirect, cart-promotion link repair, the built-in E-Mail, Documents, Steuer-Compliance (UID check, Tax provider), Versandkostenfrei and S3 file storage modules, config helpers with the turnkey shop-config preset, and the Sentry logger wrapper and instrumentation.",
5
5
  "license": "MIT",
6
6
  "files": [
7
7
  ".medusa/server",
@@ -11,7 +11,7 @@
11
11
  ],
12
12
  "repository": {
13
13
  "type": "git",
14
- "url": "git+https://gitlab.com/hartl-services-gmbh/services/food-supplements-e-commerce.git",
14
+ "url": "git+https://gitlab.com/hartl-services-gmbh/services/medusa-plugins.git",
15
15
  "directory": "plugins/base"
16
16
  },
17
17
  "publishConfig": {
@@ -102,7 +102,7 @@
102
102
  "mime-types": "3.0.1",
103
103
  "nodemailer": "6.10.1",
104
104
  "ulid": "^2.4.0",
105
- "@hartl-services/medusa-food-supplements-contracts": "^0.31.0"
105
+ "@hartl-services/medusa-contracts": "^1.0.0"
106
106
  },
107
107
  "devDependencies": {
108
108
  "@medusajs/admin-sdk": "2.19.0",
@@ -153,9 +153,9 @@
153
153
  "build": "medusa plugin:build && tsc -p tsconfig.public.json && tsc -p tsconfig.admin-components.json",
154
154
  "dev": "medusa plugin:develop",
155
155
  "typecheck": "tsc --noEmit && tsc -p tsconfig.type-tests.json --noEmit && tsc -p tsconfig.component-tests.json",
156
- "pretest:unit": "pnpm --filter @hartl-services/medusa-food-supplements-contracts build",
156
+ "pretest:unit": "pnpm --filter @hartl-services/medusa-contracts build",
157
157
  "test:unit": "sh ../../scripts/dev-capped.sh jest",
158
- "pretest:contract": "pnpm --filter @hartl-services/medusa-food-supplements-contracts build",
158
+ "pretest:contract": "pnpm --filter @hartl-services/medusa-contracts build",
159
159
  "test:contract": "jest --config jest.contract.config.js --runInBand",
160
160
  "test:integration:modules": "TEST_TYPE=integration:modules NODE_OPTIONS=--experimental-vm-modules jest --config jest.integration.config.js --silent=false --runInBand --forceExit"
161
161
  }