diff --git a/.husky/install.mjs b/.husky/install.mjs deleted file mode 100644 index ba8e33dd..00000000 --- a/.husky/install.mjs +++ /dev/null @@ -1,6 +0,0 @@ -// Skip Husky install in production and CI -if (process.env.NODE_ENV === 'production' || process.env.CI === 'true') { - process.exit(0) -} -const husky = (await import('husky')).default -console.log(husky()) diff --git a/Dockerfile b/Dockerfile index a9d6f019..3942a0ff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,6 @@ COPY package-lock.json . EXPOSE 80 FROM base AS dev -COPY .husky .husky RUN npm ci CMD [ "npm", "run", "watch" ] diff --git a/package-lock.json b/package-lock.json index ccef60aa..d3783ba8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "game-services", - "version": "0.32.0", + "version": "0.32.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "game-services", - "version": "0.32.0", + "version": "0.32.1", "license": "MIT", "dependencies": { "@dinero.js/currencies": "^2.0.0-alpha.14", diff --git a/package.json b/package.json index baeddd55..784ca1b6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "game-services", - "version": "0.32.0", + "version": "0.32.1", "description": "", "main": "src/index.ts", "scripts": { @@ -16,7 +16,7 @@ "migration:create": "DB_HOST=127.0.0.1 mikro-orm migration:create", "migration:up": "DB_HOST=127.0.0.1 mikro-orm migration:up", "service:create": "hygen service new", - "prepare": "node .husky/install.mjs", + "prepare": "husky || true", "lint": "eslint src/**/*.ts tests/**/*.ts" }, "author": "Sleepy Studios",