chore: Remove prepublishOnly script (#8699)
* wip * wip * verbose logging * remove prepublish scripts * chore: add back prepublish scripts * wip * remove prepublishOnly script * chore: Clean up rest of build scripts * add back build script * feedback --------- Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
This commit is contained in:
1 parent
98b4c76ece
commit
2bacf86d3c
52 files changed
+13
-72
No files matched your search
@@ -10,8 +10,7 @@
|
|||||||
"dev": "node --loader ts-node/esm src/index.ts",
|
"dev": "node --loader ts-node/esm src/index.ts",
|
||||||
"start": "node dist/index.js",
|
"start": "node dist/index.js",
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"watch": "tsc --watch",
|
"watch": "tsc --watch"
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@medusajs/utils": "^1.11.9",
|
"@medusajs/utils": "^1.11.9",
|
||||||
|
|||||||
@@ -24,8 +24,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "jest --passWithNoTests src",
|
"test": "jest --passWithNoTests src",
|
||||||
"build": "rimraf dist && tsc",
|
"build": "rimraf dist && tsc",
|
||||||
"watch": "tsc --watch",
|
"watch": "tsc --watch"
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build"
|
|
||||||
},
|
},
|
||||||
"author": "Sebastian Rindom",
|
"author": "Sebastian Rindom",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
@@ -43,7 +43,6 @@
|
|||||||
"directory": "packages/medusa-dev-cli"
|
"directory": "packages/medusa-dev-cli"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
|
|
||||||
"test": "jest --passWithNoTests -- src",
|
"test": "jest --passWithNoTests -- src",
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"watch": "tsc --watch"
|
"watch": "tsc --watch"
|
||||||
|
|||||||
@@ -31,7 +31,6 @@
|
|||||||
"uuid": "^9.0.0"
|
"uuid": "^9.0.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
|
|
||||||
"build": "tsc --build",
|
"build": "tsc --build",
|
||||||
"medusa-oas": "ts-node src/index.ts"
|
"medusa-oas": "ts-node src/index.ts"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -40,7 +40,6 @@
|
|||||||
"ulid": "^2.3.0"
|
"ulid": "^2.3.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
|
|
||||||
"build": "rimraf dist && tsc --build",
|
"build": "rimraf dist && tsc --build",
|
||||||
"watch": "tsc --build --watch",
|
"watch": "tsc --build --watch",
|
||||||
"test": "jest --runInBand --bail --forceExit --passWithNoTests"
|
"test": "jest --runInBand --bail --forceExit --passWithNoTests"
|
||||||
|
|||||||
@@ -31,7 +31,6 @@
|
|||||||
"qs": "^6.12.1"
|
"qs": "^6.12.1"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
|
|
||||||
"build": "rimraf dist && tsc --build",
|
"build": "rimraf dist && tsc --build",
|
||||||
"test": "jest --passWithNoTests --runInBand --bail --forceExit",
|
"test": "jest --passWithNoTests --runInBand --bail --forceExit",
|
||||||
"watch": "tsc --build --watch"
|
"watch": "tsc --build --watch"
|
||||||
|
|||||||
@@ -12,8 +12,6 @@
|
|||||||
"node": ">=16"
|
"node": ">=16"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
|
|
||||||
"prepare": "cross-env NODE_ENV=production yarn run build",
|
|
||||||
"build": "rimraf dist && tsc --build",
|
"build": "rimraf dist && tsc --build",
|
||||||
"watch": "tsc --build --watch",
|
"watch": "tsc --build --watch",
|
||||||
"test": "jest --passWithNoTests src"
|
"test": "jest --passWithNoTests src"
|
||||||
|
|||||||
@@ -39,7 +39,6 @@
|
|||||||
"awilix": "^8.0.1"
|
"awilix": "^8.0.1"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
|
|
||||||
"build": "rimraf dist && tsc --build",
|
"build": "rimraf dist && tsc --build",
|
||||||
"test": "jest --runInBand --bail --forceExit",
|
"test": "jest --runInBand --bail --forceExit",
|
||||||
"watch": "tsc --build --watch"
|
"watch": "tsc --build --watch"
|
||||||
|
|||||||
@@ -34,7 +34,6 @@
|
|||||||
"awilix": "^8.0.1"
|
"awilix": "^8.0.1"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
|
|
||||||
"build": "rimraf dist && tsc --build",
|
"build": "rimraf dist && tsc --build",
|
||||||
"watch": "tsc --build --watch",
|
"watch": "tsc --build --watch",
|
||||||
"test": "jest --runInBand --bail --forceExit"
|
"test": "jest --runInBand --bail --forceExit"
|
||||||
|
|||||||
@@ -31,7 +31,6 @@
|
|||||||
"winston": "^3.8.2"
|
"winston": "^3.8.2"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
|
|
||||||
"build": "rimraf dist && tsc --build",
|
"build": "rimraf dist && tsc --build",
|
||||||
"watch": "tsc --build --watch",
|
"watch": "tsc --build --watch",
|
||||||
"test": "exit 0"
|
"test": "exit 0"
|
||||||
|
|||||||
@@ -46,7 +46,6 @@
|
|||||||
"ulid": "^2.3.0"
|
"ulid": "^2.3.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
|
|
||||||
"build": "rimraf dist && tsc --build",
|
"build": "rimraf dist && tsc --build",
|
||||||
"watch": "tsc --build --watch",
|
"watch": "tsc --build --watch",
|
||||||
"test": "jest --silent --bail --maxWorkers=50% --forceExit --testPathIgnorePatterns='/integration-tests/' -- src/**/__tests__/**/*.ts",
|
"test": "jest --silent --bail --maxWorkers=50% --forceExit --testPathIgnorePatterns='/integration-tests/' -- src/**/__tests__/**/*.ts",
|
||||||
|
|||||||
@@ -2,13 +2,12 @@ import { ArrayType, EntityMetadata, MetadataStorage } from "@mikro-orm/core"
|
|||||||
import { expectTypeOf } from "expect-type"
|
import { expectTypeOf } from "expect-type"
|
||||||
import { DmlEntity } from "../entity"
|
import { DmlEntity } from "../entity"
|
||||||
import { model } from "../entity-builder"
|
import { model } from "../entity-builder"
|
||||||
|
import { DuplicateIdPropertyError } from "../errors"
|
||||||
import {
|
import {
|
||||||
createMikrORMEntity,
|
createMikrORMEntity,
|
||||||
toMikroOrmEntities,
|
toMikroOrmEntities,
|
||||||
toMikroORMEntity,
|
toMikroORMEntity,
|
||||||
} from "../helpers/create-mikro-orm-entity"
|
} from "../helpers/create-mikro-orm-entity"
|
||||||
import { User } from "@medusajs/icons"
|
|
||||||
import { DuplicateIdPropertyError } from "../errors"
|
|
||||||
|
|
||||||
describe("Entity builder", () => {
|
describe("Entity builder", () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
|
|||||||
@@ -37,7 +37,6 @@
|
|||||||
"ulid": "^2.3.0"
|
"ulid": "^2.3.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
|
|
||||||
"build": "rimraf dist && tsc --build",
|
"build": "rimraf dist && tsc --build",
|
||||||
"watch": "tsc --build --watch",
|
"watch": "tsc --build --watch",
|
||||||
"test": "jest --runInBand --bail --forceExit",
|
"test": "jest --runInBand --bail --forceExit",
|
||||||
|
|||||||
@@ -33,7 +33,6 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "tsc --watch -p ./tsconfig.build.json",
|
"watch": "tsc --watch -p ./tsconfig.build.json",
|
||||||
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc -p ./tsconfig.build.json && tsc-alias -p ./tsconfig.build.json",
|
|
||||||
"build": "rimraf dist && tsc --noEmit && tsc -p ./tsconfig.build.json && tsc-alias -p ./tsconfig.build.json",
|
"build": "rimraf dist && tsc --noEmit && tsc -p ./tsconfig.build.json && tsc-alias -p ./tsconfig.build.json",
|
||||||
"test": "jest --runInBand --bail --passWithNoTests --forceExit -- src",
|
"test": "jest --runInBand --bail --passWithNoTests --forceExit -- src",
|
||||||
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts"
|
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"extends": "./tsconfig",
|
"extends": "./tsconfig.json",
|
||||||
"include": ["src"],
|
"include": ["src"],
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"dist",
|
"dist",
|
||||||
|
|||||||
@@ -36,7 +36,6 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "tsc --build --watch",
|
"watch": "tsc --build --watch",
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
|
|
||||||
"build": "rimraf dist && tsc --build",
|
"build": "rimraf dist && tsc --build",
|
||||||
"serve": "node dist/app.js",
|
"serve": "node dist/app.js",
|
||||||
"test": "jest --silent --bail --maxWorkers=50% --forceExit"
|
"test": "jest --silent --bail --maxWorkers=50% --forceExit"
|
||||||
@@ -64,14 +63,10 @@
|
|||||||
"cookie-parser": "^1.4.6",
|
"cookie-parser": "^1.4.6",
|
||||||
"cors": "^2.8.5",
|
"cors": "^2.8.5",
|
||||||
"express": "^4.18.2",
|
"express": "^4.18.2",
|
||||||
"express-session": "^1.17.3",
|
|
||||||
"fs-exists-cached": "^1.0.0",
|
"fs-exists-cached": "^1.0.0",
|
||||||
"glob": "^7.1.6",
|
"glob": "^7.1.6",
|
||||||
"ioredis": "^5.4.1",
|
|
||||||
"ioredis-mock": "8.4.0",
|
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"medusa-telemetry": "^0.0.17",
|
"medusa-telemetry": "^0.0.17",
|
||||||
"morgan": "^1.9.1",
|
|
||||||
"multer": "^1.4.5-lts.1",
|
"multer": "^1.4.5-lts.1",
|
||||||
"node-schedule": "^2.1.1",
|
"node-schedule": "^2.1.1",
|
||||||
"qs": "^6.11.2",
|
"qs": "^6.11.2",
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "tsc --build --watch",
|
"watch": "tsc --build --watch",
|
||||||
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build && tsc-alias -p tsconfig.json",
|
|
||||||
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
||||||
"test": "jest --runInBand --bail --forceExit -- src/**/__tests__/**/*.ts",
|
"test": "jest --runInBand --bail --forceExit -- src/**/__tests__/**/*.ts",
|
||||||
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "tsc --build --watch",
|
"watch": "tsc --build --watch",
|
||||||
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build && tsc-alias -p tsconfig.json",
|
|
||||||
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
||||||
"test": "jest --runInBand --bail --passWithNoTests --forceExit -- src",
|
"test": "jest --runInBand --bail --passWithNoTests --forceExit -- src",
|
||||||
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
||||||
|
|||||||
@@ -28,7 +28,6 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "tsc --build --watch",
|
"watch": "tsc --build --watch",
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
|
|
||||||
"build": "rimraf dist && tsc --build",
|
"build": "rimraf dist && tsc --build",
|
||||||
"test": "jest --passWithNoTests"
|
"test": "jest --passWithNoTests"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -28,7 +28,6 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "tsc --build --watch",
|
"watch": "tsc --build --watch",
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
|
|
||||||
"build": "rimraf dist && tsc --build",
|
"build": "rimraf dist && tsc --build",
|
||||||
"test": "jest --passWithNoTests"
|
"test": "jest --passWithNoTests"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "tsc --build --watch",
|
"watch": "tsc --build --watch",
|
||||||
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build && tsc-alias -p tsconfig.json",
|
|
||||||
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
||||||
"test": "jest --runInBand --bail --passWithNoTests --forceExit -- src",
|
"test": "jest --runInBand --bail --passWithNoTests --forceExit -- src",
|
||||||
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "tsc --build --watch",
|
"watch": "tsc --build --watch",
|
||||||
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build && tsc-alias -p tsconfig.json",
|
|
||||||
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
||||||
"test": "jest --runInBand --bail --forceExit -- src/**/__tests__/**/*.ts",
|
"test": "jest --runInBand --bail --forceExit -- src/**/__tests__/**/*.ts",
|
||||||
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "tsc --build --watch",
|
"watch": "tsc --build --watch",
|
||||||
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build && tsc-alias -p tsconfig.json",
|
|
||||||
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
||||||
"test": "jest --runInBand --bail --passWithNoTests --forceExit -- src",
|
"test": "jest --runInBand --bail --passWithNoTests --forceExit -- src",
|
||||||
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
||||||
|
|||||||
@@ -28,7 +28,6 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "tsc --build --watch",
|
"watch": "tsc --build --watch",
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
|
|
||||||
"build": "rimraf dist && tsc --build",
|
"build": "rimraf dist && tsc --build",
|
||||||
"test": "jest --passWithNoTests"
|
"test": "jest --passWithNoTests"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -29,7 +29,6 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "tsc --build --watch",
|
"watch": "tsc --build --watch",
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
|
|
||||||
"build": "rimraf dist && tsc --build",
|
"build": "rimraf dist && tsc --build",
|
||||||
"test": "jest --silent --bail --maxWorkers=50% --forceExit"
|
"test": "jest --silent --bail --maxWorkers=50% --forceExit"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "tsc --build --watch",
|
"watch": "tsc --build --watch",
|
||||||
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build && tsc-alias -p tsconfig.json",
|
|
||||||
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
||||||
"test": "jest --passWithNoTests --runInBand --bail --forceExit -- src/**/__tests__/**/*.ts",
|
"test": "jest --passWithNoTests --runInBand --bail --forceExit -- src/**/__tests__/**/*.ts",
|
||||||
"test:integration": "jest --passWithNoTests --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
"test:integration": "jest --passWithNoTests --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "tsc --build --watch",
|
"watch": "tsc --build --watch",
|
||||||
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build && tsc-alias -p tsconfig.json",
|
|
||||||
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
||||||
"test": "jest --runInBand --bail --forceExit --passWithNoTests -- src",
|
"test": "jest --runInBand --bail --forceExit --passWithNoTests -- src",
|
||||||
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.spec.ts",
|
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.spec.ts",
|
||||||
|
|||||||
@@ -42,7 +42,6 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "tsc --build --watch",
|
"watch": "tsc --build --watch",
|
||||||
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build && tsc-alias -p tsconfig.json",
|
|
||||||
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
||||||
"test": "jest --runInBand --bail --forceExit -- src/**/__tests__/**/*.ts",
|
"test": "jest --runInBand --bail --forceExit -- src/**/__tests__/**/*.ts",
|
||||||
"test:integration": "jest --runInBand --forceExit -- integration-tests/**/__tests__/**/*.spec.ts",
|
"test:integration": "jest --runInBand --forceExit -- integration-tests/**/__tests__/**/*.spec.ts",
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "tsc --build --watch",
|
"watch": "tsc --build --watch",
|
||||||
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build && tsc-alias -p tsconfig.json",
|
|
||||||
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
||||||
"test": "jest --runInBand --bail --forceExit --passWithNoTests -- src",
|
"test": "jest --runInBand --bail --forceExit --passWithNoTests -- src",
|
||||||
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.spec.ts",
|
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.spec.ts",
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "tsc --build --watch",
|
"watch": "tsc --build --watch",
|
||||||
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build && tsc-alias -p tsconfig.json",
|
|
||||||
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
||||||
"test": "jest --runInBand --bail --forceExit -- src/**/__tests__/**/*.ts",
|
"test": "jest --runInBand --bail --forceExit -- src/**/__tests__/**/*.ts",
|
||||||
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "tsc --build --watch",
|
"watch": "tsc --build --watch",
|
||||||
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build && tsc-alias -p tsconfig.json",
|
|
||||||
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
||||||
"test": "jest --runInBand --bail --passWithNoTests --forceExit -- src",
|
"test": "jest --runInBand --bail --passWithNoTests --forceExit -- src",
|
||||||
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "tsc --build --watch",
|
"watch": "tsc --build --watch",
|
||||||
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build && tsc-alias -p tsconfig.json",
|
|
||||||
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
||||||
"test": "jest --runInBand --bail --forceExit -- src/**/__tests__/**/*.ts",
|
"test": "jest --runInBand --bail --forceExit -- src/**/__tests__/**/*.ts",
|
||||||
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "tsc --build --watch",
|
"watch": "tsc --build --watch",
|
||||||
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build && tsc-alias -p tsconfig.json",
|
|
||||||
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
||||||
"test": "jest --runInBand --bail --forceExit -- src/**/__tests__/**/*.ts",
|
"test": "jest --runInBand --bail --forceExit -- src/**/__tests__/**/*.ts",
|
||||||
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "tsc --build --watch",
|
"watch": "tsc --build --watch",
|
||||||
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build && tsc-alias -p tsconfig.json",
|
|
||||||
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
||||||
"test": "jest --runInBand --passWithNoTests --bail --forceExit -- src",
|
"test": "jest --runInBand --passWithNoTests --bail --forceExit -- src",
|
||||||
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
||||||
|
|||||||
@@ -17,10 +17,9 @@
|
|||||||
"author": "Medusa",
|
"author": "Medusa",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
|
|
||||||
"test": "jest --passWithNoTests src",
|
"test": "jest --passWithNoTests src",
|
||||||
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.spec.ts",
|
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.spec.ts",
|
||||||
"build": "rimraf dist && tsc -p ./tsconfig.json",
|
"build": "rimraf dist && tsc --build",
|
||||||
"watch": "tsc --watch"
|
"watch": "tsc --watch"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
@@ -17,10 +17,9 @@
|
|||||||
"author": "Medusa",
|
"author": "Medusa",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
|
|
||||||
"test": "jest --passWithNoTests src",
|
"test": "jest --passWithNoTests src",
|
||||||
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.spec.ts",
|
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.spec.ts",
|
||||||
"build": "rimraf dist && tsc -p ./tsconfig.json",
|
"build": "rimraf dist && tsc --build",
|
||||||
"watch": "tsc --watch"
|
"watch": "tsc --watch"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
@@ -17,9 +17,8 @@
|
|||||||
"author": "Medusa",
|
"author": "Medusa",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
|
|
||||||
"test": "jest --passWithNoTests src",
|
"test": "jest --passWithNoTests src",
|
||||||
"build": "rimraf dist && tsc -p ./tsconfig.json",
|
"build": "rimraf dist && tsc --build ./tsconfig.json",
|
||||||
"watch": "tsc --watch"
|
"watch": "tsc --watch"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
@@ -17,10 +17,9 @@
|
|||||||
"author": "Medusa",
|
"author": "Medusa",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
|
|
||||||
"test": "jest --passWithNoTests src",
|
"test": "jest --passWithNoTests src",
|
||||||
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.spec.ts",
|
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.spec.ts",
|
||||||
"build": "rimraf dist && tsc -p ./tsconfig.json",
|
"build": "rimraf dist && tsc --build ./tsconfig.json",
|
||||||
"watch": "tsc --watch"
|
"watch": "tsc --watch"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
@@ -17,9 +17,8 @@
|
|||||||
"author": "Medusa",
|
"author": "Medusa",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
|
|
||||||
"test": "jest --passWithNoTests src",
|
"test": "jest --passWithNoTests src",
|
||||||
"build": "rimraf dist && tsc -p ./tsconfig.json",
|
"build": "rimraf dist && tsc --build ./tsconfig.json",
|
||||||
"watch": "tsc --watch"
|
"watch": "tsc --watch"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
@@ -17,10 +17,9 @@
|
|||||||
"author": "Medusa",
|
"author": "Medusa",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
|
|
||||||
"test": "jest --passWithNoTests src",
|
"test": "jest --passWithNoTests src",
|
||||||
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.spec.ts",
|
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.spec.ts",
|
||||||
"build": "rimraf dist && tsc -p ./tsconfig.json",
|
"build": "rimraf dist && tsc --build ./tsconfig.json",
|
||||||
"watch": "tsc --watch"
|
"watch": "tsc --watch"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
@@ -17,10 +17,9 @@
|
|||||||
"author": "Medusa",
|
"author": "Medusa",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
|
|
||||||
"test": "jest --passWithNoTests src",
|
"test": "jest --passWithNoTests src",
|
||||||
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.spec.ts",
|
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.spec.ts",
|
||||||
"build": "rimraf dist && tsc -p ./tsconfig.json",
|
"build": "rimraf dist && tsc --build ./tsconfig.json",
|
||||||
"watch": "tsc --watch"
|
"watch": "tsc --watch"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
@@ -17,9 +17,8 @@
|
|||||||
"author": "Medusa",
|
"author": "Medusa",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
|
|
||||||
"test": "jest --passWithNoTests src",
|
"test": "jest --passWithNoTests src",
|
||||||
"build": "rimraf dist && tsc -p ./tsconfig.json",
|
"build": "rimraf dist && tsc --build ./tsconfig.json",
|
||||||
"watch": "tsc --watch"
|
"watch": "tsc --watch"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "tsc --build --watch",
|
"watch": "tsc --build --watch",
|
||||||
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build && tsc-alias -p tsconfig.json",
|
|
||||||
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
||||||
"test": "jest --runInBand --passWithNoTests --bail --forceExit -- src",
|
"test": "jest --runInBand --passWithNoTests --bail --forceExit -- src",
|
||||||
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "tsc --build --watch",
|
"watch": "tsc --build --watch",
|
||||||
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build && tsc-alias -p tsconfig.json",
|
|
||||||
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
||||||
"test": "jest --runInBand --bail --forceExit -- src/**/__tests__/**/*.ts",
|
"test": "jest --runInBand --bail --forceExit -- src/**/__tests__/**/*.ts",
|
||||||
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
||||||
|
|||||||
@@ -42,7 +42,6 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "tsc --build --watch",
|
"watch": "tsc --build --watch",
|
||||||
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build && tsc-alias -p tsconfig.json",
|
|
||||||
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
||||||
"test": "jest --runInBand --bail --forceExit -- src/**/__tests__/**/*.ts",
|
"test": "jest --runInBand --bail --forceExit -- src/**/__tests__/**/*.ts",
|
||||||
"test:integration": "jest --runInBand --forceExit -- integration-tests/**/__tests__/**/*.spec.ts",
|
"test:integration": "jest --runInBand --forceExit -- integration-tests/**/__tests__/**/*.spec.ts",
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "tsc --build --watch",
|
"watch": "tsc --build --watch",
|
||||||
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build && tsc-alias -p tsconfig.json",
|
|
||||||
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
||||||
"test": "jest --runInBand --bail --forceExit -- src/**/__tests__/**/*.ts",
|
"test": "jest --runInBand --bail --forceExit -- src/**/__tests__/**/*.ts",
|
||||||
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "tsc --build --watch",
|
"watch": "tsc --build --watch",
|
||||||
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build && tsc-alias -p tsconfig.json",
|
|
||||||
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
||||||
"test": "jest --runInBand --bail --forceExit -- src/**/__tests__/**/*.ts",
|
"test": "jest --runInBand --bail --forceExit -- src/**/__tests__/**/*.ts",
|
||||||
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.spec.ts",
|
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.spec.ts",
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "tsc --build --watch",
|
"watch": "tsc --build --watch",
|
||||||
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build && tsc-alias -p tsconfig.json",
|
|
||||||
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
||||||
"test": "jest --runInBand --passWithNoTests --bail --forceExit -- src",
|
"test": "jest --runInBand --passWithNoTests --bail --forceExit -- src",
|
||||||
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "tsc --build --watch",
|
"watch": "tsc --build --watch",
|
||||||
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build && tsc-alias -p tsconfig.json",
|
|
||||||
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
||||||
"test": "jest --passWithNoTests --runInBand --bail --forceExit -- src",
|
"test": "jest --passWithNoTests --runInBand --bail --forceExit -- src",
|
||||||
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "tsc --build --watch",
|
"watch": "tsc --build --watch",
|
||||||
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build && tsc-alias -p tsconfig.json",
|
|
||||||
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
||||||
"test": "jest --passWithNoTests --runInBand --bail --forceExit -- src",
|
"test": "jest --passWithNoTests --runInBand --bail --forceExit -- src",
|
||||||
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
||||||
|
|||||||
@@ -6,8 +6,7 @@
|
|||||||
"start": "node dist/index.js",
|
"start": "node dist/index.js",
|
||||||
"generate:ui": "yarn start --src ../../../../packages/design-system/ui/src --output ../../../apps/ui/src/specs --clean",
|
"generate:ui": "yarn start --src ../../../../packages/design-system/ui/src --output ../../../apps/ui/src/specs --clean",
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"watch": "tsc --watch",
|
"watch": "tsc --watch"
|
||||||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build"
|
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
|
|||||||
@@ -4933,15 +4933,11 @@ __metadata:
|
|||||||
cors: ^2.8.5
|
cors: ^2.8.5
|
||||||
cross-env: ^5.2.1
|
cross-env: ^5.2.1
|
||||||
express: ^4.18.2
|
express: ^4.18.2
|
||||||
express-session: ^1.17.3
|
|
||||||
fs-exists-cached: ^1.0.0
|
fs-exists-cached: ^1.0.0
|
||||||
glob: ^7.1.6
|
glob: ^7.1.6
|
||||||
ioredis: ^5.4.1
|
|
||||||
ioredis-mock: 8.4.0
|
|
||||||
jest: ^29.7.0
|
jest: ^29.7.0
|
||||||
lodash: ^4.17.21
|
lodash: ^4.17.21
|
||||||
medusa-telemetry: ^0.0.17
|
medusa-telemetry: ^0.0.17
|
||||||
morgan: ^1.9.1
|
|
||||||
multer: ^1.4.5-lts.1
|
multer: ^1.4.5-lts.1
|
||||||
node-schedule: ^2.1.1
|
node-schedule: ^2.1.1
|
||||||
qs: ^6.11.2
|
qs: ^6.11.2
|
||||||
|
|||||||
Reference in new issue
Block a user