fix(framework): migration scripts regexp (#11072)

FIXES FRMW-2879

**What**
The exclusion regexp was broken and instead use the ignore options of the glob sync function to properly ignore definition files
This commit is contained in:
Adrien de Peretti
2025-01-21 10:34:57 +01:00
committed by GitHub
parent d4e042e9ad
commit 13fe2f6776
7 changed files with 45 additions and 11 deletions

View File

@@ -51,7 +51,7 @@
"watch": "tsc --watch ",
"watch:test": "tsc --watch",
"build": "rimraf dist && tsc --build",
"test": "jest --runInBand --bail --passWithNoTests --forceExit"
"test": "jest --runInBand --bail --forceExit -- src/**/__tests__/**/*.ts"
},
"devDependencies": {
"@medusajs/cli": "^2.3.1",