From 1cace9fb18784c49f45a2158e36293ea0c289154 Mon Sep 17 00:00:00 2001 From: Alexander Chabin Date: Mon, 11 Sep 2023 10:09:55 +0500 Subject: [PATCH] Fix Vercel build --- client/package.json | 3 --- common/strapi/constants.js.map | 2 +- common/types/masstrans.js.map | 2 +- package.json | 5 +++++ pnpm-lock.yaml | 26 +++++++++++++------------- 5 files changed, 20 insertions(+), 18 deletions(-) diff --git a/client/package.json b/client/package.json index e9cf39ed..df19c10e 100644 --- a/client/package.json +++ b/client/package.json @@ -14,10 +14,7 @@ "leaflet": "^1.9.4", "lodash": "^4.17.21", "markdown-it": "^13.0.1", - "next": "^13.4.19", "prop-types": "^15.8.1", - "react": "^18.2.0", - "react-dom": "^18.2.0", "react-leaflet": "4.2.1", "react-redux": "^8.1.2", "redux": "^4.2.1", diff --git a/common/strapi/constants.js.map b/common/strapi/constants.js.map index 88fbfc25..cd979862 100644 --- a/common/strapi/constants.js.map +++ b/common/strapi/constants.js.map @@ -1 +1 @@ -{"version":3,"file":"constants.js","sourceRoot":"","sources":["constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAG,uCAAuC,CAAC;AAClE,8BAA8B;AACjB,QAAA,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC;AAC9C,iCAAiC;AACpB,QAAA,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC;AACpD,wDAAwD;AAC3C,QAAA,uBAAuB,GAAG,GAAG,CAAC"} \ No newline at end of file +{"version":3,"file":"constants.js","sourceRoot":"","sources":["constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAG,yCAAyC,CAAC;AACpE,8BAA8B;AACjB,QAAA,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC;AAC9C,iCAAiC;AACpB,QAAA,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC;AACpD,wDAAwD;AAC3C,QAAA,uBAAuB,GAAG,GAAG,CAAC"} \ No newline at end of file diff --git a/common/types/masstrans.js.map b/common/types/masstrans.js.map index 918aa1c9..db7f8f41 100644 --- a/common/types/masstrans.js.map +++ b/common/types/masstrans.js.map @@ -1 +1 @@ -{"version":3,"file":"masstrans.js","sourceRoot":"","sources":["masstrans.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAIX;AAJD,WAAY,UAAU;IAClB,yBAAW,CAAA;IACX,2BAAa,CAAA;IACb,6BAAe,CAAA;AACnB,CAAC,EAJW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAIrB;AAED,IAAY,QAKX;AALD,WAAY,QAAQ;IAChB,uBAAW,CAAA;IACX,yBAAa,CAAA;IACb,2BAAe,CAAA;IACf,kCAAsB,CAAA;AAC1B,CAAC,EALW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAKnB;AA4FD,IAAY,UAKX;AALD,WAAY,UAAU;IAClB,qCAAuB,CAAA;IACvB,6BAAe,CAAA;IACf,+BAAiB,CAAA;IACjB,6BAAe,CAAA;AACnB,CAAC,EALW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAKrB"} \ No newline at end of file +{"version":3,"file":"masstrans.js","sourceRoot":"","sources":["masstrans.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAIX;AAJD,WAAY,UAAU;IAClB,yBAAW,CAAA;IACX,2BAAa,CAAA;IACb,6BAAe,CAAA;AACnB,CAAC,EAJW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAIrB;AAED,IAAY,QAKX;AALD,WAAY,QAAQ;IAChB,uBAAW,CAAA;IACX,yBAAa,CAAA;IACb,2BAAe,CAAA;IACf,kCAAsB,CAAA;AAC1B,CAAC,EALW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAKnB;AA6FD,IAAY,UAKX;AALD,WAAY,UAAU;IAClB,qCAAuB,CAAA;IACvB,6BAAe,CAAA;IACf,+BAAiB,CAAA;IACjB,6BAAe,CAAA;AACnB,CAAC,EALW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAKrB"} \ No newline at end of file diff --git a/package.json b/package.json index 4eca8ee8..1efe317a 100644 --- a/package.json +++ b/package.json @@ -18,5 +18,10 @@ "husky": "^8.0.3", "lint-staged": "^13.1.2", "prettier": "^2.8.4" + }, + "dependencies": { + "next": "^13.2.1", + "react": "^18.2.0", + "react-dom": "^18.2.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8009e007..cc3ab62b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -7,6 +7,16 @@ settings: importers: .: + dependencies: + next: + specifier: ^13.2.1 + version: 13.4.19(react-dom@18.2.0)(react@18.2.0) + react: + specifier: ^18.2.0 + version: 18.2.0 + react-dom: + specifier: ^18.2.0 + version: 18.2.0(react@18.2.0) devDependencies: husky: specifier: ^8.0.3 @@ -78,18 +88,9 @@ importers: markdown-it: specifier: ^13.0.1 version: 13.0.1 - next: - specifier: ^13.4.19 - version: 13.4.19(@babel/core@7.21.3)(react-dom@18.2.0)(react@18.2.0) prop-types: specifier: ^15.8.1 version: 15.8.1 - react: - specifier: ^18.2.0 - version: 18.2.0 - react-dom: - specifier: ^18.2.0 - version: 18.2.0(react@18.2.0) react-leaflet: specifier: 4.2.1 version: 4.2.1(leaflet@1.9.4)(react-dom@18.2.0)(react@18.2.0) @@ -4891,7 +4892,7 @@ packages: resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==} engines: {node: '>= 0.6'} - /next@13.4.19(@babel/core@7.21.3)(react-dom@18.2.0)(react@18.2.0): + /next@13.4.19(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-HuPSzzAbJ1T4BD8e0bs6B9C1kWQ6gv8ykZoRWs5AQoiIuqbGHHdQO7Ljuvg05Q0Z24E2ABozHe6FxDvI6HfyAw==} engines: {node: '>=16.8.0'} hasBin: true @@ -4913,7 +4914,7 @@ packages: postcss: 8.4.14 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - styled-jsx: 5.1.1(@babel/core@7.21.3)(react@18.2.0) + styled-jsx: 5.1.1(react@18.2.0) watchpack: 2.4.0 zod: 3.21.4 optionalDependencies: @@ -5888,7 +5889,7 @@ packages: engines: {node: '>=8'} dev: true - /styled-jsx@5.1.1(@babel/core@7.21.3)(react@18.2.0): + /styled-jsx@5.1.1(react@18.2.0): resolution: {integrity: sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==} engines: {node: '>= 12.0.0'} peerDependencies: @@ -5901,7 +5902,6 @@ packages: babel-plugin-macros: optional: true dependencies: - '@babel/core': 7.21.3 client-only: 0.0.1 react: 18.2.0 dev: false