@medusajs/currency 3.0.0-preview-20250410210150 → 3.0.0-preview-20251202120138
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/dist/loaders/initial-data.d.ts.map +1 -1
- package/dist/migrations/InitialSetup20240228133303.d.ts +1 -1
- package/dist/migrations/InitialSetup20240228133303.d.ts.map +1 -1
- package/dist/migrations/InitialSetup20240228133303.js +1 -1
- package/dist/migrations/InitialSetup20240228133303.js.map +1 -1
- package/dist/migrations/Migration20240624082354.d.ts +1 -1
- package/dist/migrations/Migration20240624082354.d.ts.map +1 -1
- package/dist/migrations/Migration20240624082354.js +1 -1
- package/dist/migrations/Migration20240624082354.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +14 -28
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initial-data.d.ts","sourceRoot":"","sources":["../../src/loaders/initial-data.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEb,eAAe,EAChB,MAAM,2BAA2B,CAAA;
|
|
1
|
+
{"version":3,"file":"initial-data.d.ts","sourceRoot":"","sources":["../../src/loaders/initial-data.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEb,eAAe,EAChB,MAAM,2BAA2B,CAAA;yBAOZ,yBAGnB,aAAa,CACZ,eAAe,CAAC,8BAA8B,GAC9C,eAAe,CAAC,6CAA6C,CAChE,KAAG,OAAO,CAAC,IAAI,CAAC;AANjB,wBA0BC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InitialSetup20240228133303.d.ts","sourceRoot":"","sources":["../../src/migrations/InitialSetup20240228133303.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"InitialSetup20240228133303.d.ts","sourceRoot":"","sources":["../../src/migrations/InitialSetup20240228133303.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAA;AAEpE,qBAAa,0BAA2B,SAAQ,SAAS;IACjD,EAAE,IAAI,OAAO,CAAC,IAAI,CAAC;CAwB1B"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.InitialSetup20240228133303 = void 0;
|
|
4
|
-
const migrations_1 = require("@mikro-orm/migrations");
|
|
4
|
+
const migrations_1 = require("@medusajs/framework/mikro-orm/migrations");
|
|
5
5
|
class InitialSetup20240228133303 extends migrations_1.Migration {
|
|
6
6
|
async up() {
|
|
7
7
|
this.addSql(`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InitialSetup20240228133303.js","sourceRoot":"","sources":["../../src/migrations/InitialSetup20240228133303.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"InitialSetup20240228133303.js","sourceRoot":"","sources":["../../src/migrations/InitialSetup20240228133303.ts"],"names":[],"mappings":";;;AAAA,yEAAoE;AAEpE,MAAa,0BAA2B,SAAQ,sBAAS;IACvD,KAAK,CAAC,EAAE;QACN,IAAI,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;KAqBX,CAAC,CAAA;IACJ,CAAC;CACF;AAzBD,gEAyBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Migration20240624082354.d.ts","sourceRoot":"","sources":["../../src/migrations/Migration20240624082354.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Migration20240624082354.d.ts","sourceRoot":"","sources":["../../src/migrations/Migration20240624082354.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAA;AAEpE,qBAAa,uBAAwB,SAAQ,SAAS;IAC9C,EAAE,IAAI,OAAO,CAAC,IAAI,CAAC;IAMnB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAK5B"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Migration20240624082354 = void 0;
|
|
4
|
-
const migrations_1 = require("@mikro-orm/migrations");
|
|
4
|
+
const migrations_1 = require("@medusajs/framework/mikro-orm/migrations");
|
|
5
5
|
class Migration20240624082354 extends migrations_1.Migration {
|
|
6
6
|
async up() {
|
|
7
7
|
this.addSql('alter table if exists "currency" add column if not exists "deleted_at" timestamptz null;');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Migration20240624082354.js","sourceRoot":"","sources":["../../src/migrations/Migration20240624082354.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"Migration20240624082354.js","sourceRoot":"","sources":["../../src/migrations/Migration20240624082354.ts"],"names":[],"mappings":";;;AAAA,yEAAoE;AAEpE,MAAa,uBAAwB,SAAQ,sBAAS;IACpD,KAAK,CAAC,EAAE;QACN,IAAI,CAAC,MAAM,CACT,0FAA0F,CAC3F,CAAA;IACH,CAAC;IAED,KAAK,CAAC,IAAI;QACR,IAAI,CAAC,MAAM,CACT,sEAAsE,CACvE,CAAA;IACH,CAAC;CACF;AAZD,0DAYC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["../src/index.ts","../src/loaders/initial-data.ts","../src/migrations/InitialSetup20240228133303.ts","../src/migrations/Migration20240624082354.ts","../src/models/currency.ts","../src/models/index.ts","../src/services/currency-module-service.ts","../src/services/index.ts","../src/services/__tests__/noop.ts","../src/types/index.ts"],"version":"5.
|
|
1
|
+
{"root":["../src/index.ts","../src/loaders/initial-data.ts","../src/migrations/InitialSetup20240228133303.ts","../src/migrations/Migration20240624082354.ts","../src/models/currency.ts","../src/models/index.ts","../src/services/currency-module-service.ts","../src/services/index.ts","../src/services/__tests__/noop.ts","../src/types/index.ts"],"version":"5.9.3"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medusajs/currency",
|
|
3
|
-
"version": "3.0.0-preview-
|
|
3
|
+
"version": "3.0.0-preview-20251202120138",
|
|
4
4
|
"description": "Medusa Currency module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -24,36 +24,22 @@
|
|
|
24
24
|
"author": "Medusa",
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"scripts": {
|
|
27
|
-
"watch": "tsc --build --watch",
|
|
28
|
-
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
|
29
|
-
"resolve:aliases": "tsc --showConfig -p tsconfig.json > tsconfig.resolved.json && tsc-alias -p tsconfig.resolved.json && rimraf tsconfig.resolved.json",
|
|
30
|
-
"build": "rimraf dist && tsc --build && npm run resolve:aliases",
|
|
31
|
-
"test": "jest --
|
|
32
|
-
"test:integration": "jest --forceExit --
|
|
33
|
-
"migration:initial": "
|
|
34
|
-
"migration:create": "
|
|
35
|
-
"migration:up": "
|
|
36
|
-
"orm:cache:clear": "
|
|
27
|
+
"watch": "yarn run -T tsc --build --watch",
|
|
28
|
+
"watch:test": "yarn run -T tsc --build tsconfig.spec.json --watch",
|
|
29
|
+
"resolve:aliases": "yarn run -T tsc --showConfig -p tsconfig.json > tsconfig.resolved.json && yarn run -T tsc-alias -p tsconfig.resolved.json && yarn run -T rimraf tsconfig.resolved.json",
|
|
30
|
+
"build": "yarn run -T rimraf dist && yarn run -T tsc --build && npm run resolve:aliases",
|
|
31
|
+
"test": "../../../node_modules/.bin/jest --bail --forceExit --testPathPattern=src",
|
|
32
|
+
"test:integration": "../../../node_modules/.bin/jest --passWithNoTests --forceExit --testPathPattern=\"integration-tests/__tests__/.*\\.ts\"",
|
|
33
|
+
"migration:initial": "MIKRO_ORM_CLI_CONFIG=./mikro-orm.config.dev.ts MIKRO_ORM_ALLOW_GLOBAL_CLI=true medusa-mikro-orm migration:create --initial",
|
|
34
|
+
"migration:create": "MIKRO_ORM_CLI_CONFIG=./mikro-orm.config.dev.ts MIKRO_ORM_ALLOW_GLOBAL_CLI=true medusa-mikro-orm migration:create",
|
|
35
|
+
"migration:up": "MIKRO_ORM_CLI_CONFIG=./mikro-orm.config.dev.ts MIKRO_ORM_ALLOW_GLOBAL_CLI=true medusa-mikro-orm migration:up",
|
|
36
|
+
"orm:cache:clear": "MIKRO_ORM_CLI_CONFIG=./mikro-orm.config.dev.ts MIKRO_ORM_ALLOW_GLOBAL_CLI=true medusa-mikro-orm cache:clear"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@medusajs/framework": "3.0.0-preview-
|
|
40
|
-
"@medusajs/test-utils": "3.0.0-preview-
|
|
41
|
-
"@mikro-orm/cli": "6.4.3",
|
|
42
|
-
"@mikro-orm/core": "6.4.3",
|
|
43
|
-
"@mikro-orm/migrations": "6.4.3",
|
|
44
|
-
"@mikro-orm/postgresql": "6.4.3",
|
|
45
|
-
"@swc/core": "^1.7.28",
|
|
46
|
-
"@swc/jest": "^0.2.36",
|
|
47
|
-
"jest": "^29.7.0",
|
|
48
|
-
"rimraf": "^3.0.2",
|
|
49
|
-
"tsc-alias": "^1.8.6",
|
|
50
|
-
"typescript": "^5.6.2"
|
|
39
|
+
"@medusajs/framework": "3.0.0-preview-20251202120138",
|
|
40
|
+
"@medusajs/test-utils": "3.0.0-preview-20251202120138"
|
|
51
41
|
},
|
|
52
42
|
"peerDependencies": {
|
|
53
|
-
"@medusajs/framework": "3.0.0-preview-
|
|
54
|
-
"@mikro-orm/core": "6.4.3",
|
|
55
|
-
"@mikro-orm/migrations": "6.4.3",
|
|
56
|
-
"@mikro-orm/postgresql": "6.4.3",
|
|
57
|
-
"awilix": "^8.0.1"
|
|
43
|
+
"@medusajs/framework": "3.0.0-preview-20251202120138"
|
|
58
44
|
}
|
|
59
45
|
}
|