Skip to content

Commit d214cfc

Browse files
committed
fix build issues
1 parent e9e2487 commit d214cfc

File tree

9 files changed

+33
-34
lines changed

9 files changed

+33
-34
lines changed

.eslintignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
node_modules
2+
**/**/node_modules
3+
**/**/.next
4+
**/**/public
5+
packages/prisma/zod
6+
7+
scripts/*.ts
8+
tests/*.ts

.eslintrc.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,7 @@
2222
],
2323
"parser": "@typescript-eslint/parser",
2424
"parserOptions": {
25-
"project": [
26-
"./apps/*/tsconfig.json",
27-
"./packages/*/tsconfig.json",
28-
"./scripts/tsconfig.json"
29-
]
25+
"project": ["./apps/*/tsconfig.json", "./packages/*/tsconfig.json"]
3026
},
3127
"settings": {
3228
"next": {

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engine-strict=true

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v18

apps/next/package.json

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -79,33 +79,24 @@
7979
},
8080
"devDependencies": {
8181
"@chakra-ui/cli": "^2.4.1",
82-
"@faker-js/faker": "^8.0.2",
8382
"@next/bundle-analyzer": "^13.4.8",
8483
"@types/aos": "^3.0.4",
8584
"@types/diff": "^5.0.3",
86-
"@types/jest": "^29.5.2",
8785
"@types/js-levenshtein": "^1.1.1",
8886
"@types/lodash.debounce": "^4.0.7",
8987
"@types/lodash.omit": "^4.5.7",
9088
"@types/lodash.throttle": "^4.1.7",
9189
"@types/node": "^20.3.3",
9290
"@types/otp-generator": "^4.0.0",
93-
"@types/prettier": "^2.7.3",
9491
"@types/react": "^18.2.14",
9592
"@types/react-dom": "^18.2.6",
96-
"@typescript-eslint/eslint-plugin": "^5.61.0",
97-
"@typescript-eslint/parser": "^5.61.0",
9893
"autoprefixer": "^10.4.14",
9994
"env-cmd": "^10.1.0",
100-
"eslint": "^8.44.0",
10195
"eslint-config-next": "^13.4.8",
102-
"jest": "^29.6.0",
10396
"postcss": "^8.4.24",
104-
"prettier": "^2.8.8",
10597
"prettier-plugin-tailwindcss": "^0.3.0",
10698
"react-textarea-autosize": "^8.5.2",
10799
"tailwindcss": "^3.3.2",
108-
"ts-jest": "^29.1.1",
109100
"ts-node": "^10.9.1",
110101
"typescript": "^5.1.6"
111102
},

package.json

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,21 @@
2626
"upload-sourcemaps": "npx @highlight-run/sourcemap-uploader upload --path=\".next\" -k ${HIGHLIGHT_SOURCEMAP_UPLOAD_API_KEY}"
2727
},
2828
"devDependencies": {
29-
"dotenv-cli": "^7.2.1"
30-
}
29+
"@faker-js/faker": "^8.0.2",
30+
"@types/jest": "^29.5.2",
31+
"@types/prettier": "^2.7.3",
32+
"@typescript-eslint/eslint-plugin": "^5.61.0",
33+
"@typescript-eslint/parser": "^5.61.0",
34+
"dotenv-cli": "^7.2.1",
35+
"eslint": "^8.44.0",
36+
"jest": "^29.6.0",
37+
"prettier": "^2.8.8",
38+
"ts-jest": "^29.1.1"
39+
},
40+
"engines": {
41+
"node": ">=18.x",
42+
"npm": ">=7.0.0",
43+
"yarn": ">=1.19.0"
44+
},
45+
"dependencies": {}
3146
}

prisma-seed.ts renamed to scripts/prisma-seed.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { PrismaClient } from "@prisma/client";
22
const prisma = new PrismaClient();
33

4-
import pjson from "./package.json";
4+
import pjson from "../apps/next/package.json";
55
const version = pjson.version;
66

77
async function main() {

scripts/tsconfig.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

yarn.lock

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4927,20 +4927,10 @@ camelize@^1.0.0:
49274927
resolved "https://registry.npmjs.org/camelize/-/camelize-1.0.1.tgz"
49284928
integrity sha512-dU+Tx2fsypxTgtLoE36npi3UqcjSSMNYfkqgmoEhtZrraP5VWq0K7FkWVTYa8eMPtnU/G2txVsfdCJTn9uzpuQ==
49294929

4930-
caniuse-lite@^1.0.30001406:
4931-
version "1.0.30001442"
4932-
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001442.tgz"
4933-
integrity sha512-239m03Pqy0hwxYPYR5JwOIxRJfLTWtle9FV8zosfV5pHg+/51uD4nxcUlM8+mWWGfwKtt8lJNHnD3cWw9VZ6ow==
4934-
4935-
caniuse-lite@^1.0.30001449:
4936-
version "1.0.30001460"
4937-
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001460.tgz"
4938-
integrity sha512-Bud7abqjvEjipUkpLs4D7gR0l8hBYBHoa+tGtKJHvT2AYzLp1z7EmVkUT4ERpVUfca8S2HGIVs883D8pUH1ZzQ==
4939-
4940-
caniuse-lite@^1.0.30001464, caniuse-lite@^1.0.30001503:
4941-
version "1.0.30001512"
4942-
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001512.tgz#7450843fb581c39f290305a83523c7a9ef0d4cb4"
4943-
integrity sha512-2S9nK0G/mE+jasCUsMPlARhRCts1ebcp2Ji8Y8PWi4NDE1iRdLCnEPHkEfeBrGC45L4isBx5ur3IQ6yTE2mRZw==
4930+
caniuse-lite@^1.0.30001406, caniuse-lite@^1.0.30001449, caniuse-lite@^1.0.30001464, caniuse-lite@^1.0.30001503:
4931+
version "1.0.30001518"
4932+
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001518.tgz"
4933+
integrity sha512-rup09/e3I0BKjncL+FesTayKtPrdwKhUufQFd3riFw1hHg8JmIFoInYfB102cFcY/pPgGmdyl/iy+jgiDi2vdA==
49444934

49454935
49464936
version "1.6.0"

0 commit comments

Comments
 (0)