Skip to content

Commit

Permalink
chore: fix pnpm version
Browse files Browse the repository at this point in the history
  • Loading branch information
brunotot committed Apr 20, 2024
1 parent c4c750f commit 3a072ef
Show file tree
Hide file tree
Showing 4 changed files with 3,557 additions and 4,525 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"description": "monorepo-mern-railway-starter description",
"main": "index.js",
"type": "module",
"engines": {
"pnpm": ">=8.15.7"
},
"scripts": {
"prepare": "husky",
"root:test": "echo \"Error: no test specified\"",
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "main.js",
"type": "module",
"scripts": {
"build": "rm -rf dist && npm run compile:ts && cp package.json dist/backend",
"build": "rm -rf dist && npm run compile:ts",
"compile:ts": "tsc && npm run tsc-alias",
"start": "export PACKAGE_JSON_VERSION=$(grep -o '\"version\": *\"[^\"]*\"' package.json | awk -F'\"' '{print $4}') && node --no-warnings --loader ts-node/esm --experimental-specifier-resolution=node ./dist/backend/src/main.js",
"tsc-alias": "tsc --project tsconfig.json && tsc-alias -p tsconfig.json"
Expand Down
3 changes: 1 addition & 2 deletions packages/backend/src/config/swagger/swagger.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Class } from "@org/shared";
import swaggerJsdoc from "swagger-jsdoc";
//import PackageJson from "./../../../package.json";
import express from "express";
import swaggerJsdoc from "swagger-jsdoc";
import swaggerUi from "swagger-ui-express";
import { RouteDecoratorManager } from "../../decorators/managers";
import { $BackendAppConfig } from "../BackendAppConfig";
Expand Down
Loading

0 comments on commit 3a072ef

Please sign in to comment.