From a1267da33fcb604c4d7a18dc1786f893337e9a28 Mon Sep 17 00:00:00 2001 From: bluenex Date: Sun, 12 May 2024 20:12:47 +0700 Subject: [PATCH 1/2] build: edit tsconfig --- next-env.d.ts | 1 + tsconfig.json | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/next-env.d.ts b/next-env.d.ts index 4f11a03..fd36f94 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -1,5 +1,6 @@ /// /// +/// // NOTE: This file should not be edited // see https://nextjs.org/docs/basic-features/typescript for more information. diff --git a/tsconfig.json b/tsconfig.json index c974dff..25afebe 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -17,10 +17,16 @@ "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve", - "incremental": true + "incremental": true, + "plugins": [ + { + "name": "next" + } + ] }, "include": [ "next-env.d.ts", + ".next/types/**/*.ts", "**/*.ts", "**/*.tsx", "lib/predev.js" From 5205c105d5886d6499480621a6ff1509cd188024 Mon Sep 17 00:00:00 2001 From: bluenex Date: Sun, 12 May 2024 20:16:03 +0700 Subject: [PATCH 2/2] build: rename project --- package-lock.json | 4 ++-- package.json | 2 +- wrangler.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6503cc6..9e9905f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "bluenex-github-io", + "name": "bluenex-dev", "version": "0.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "bluenex-github-io", + "name": "bluenex-dev", "version": "0.1.0", "dependencies": { "@fontsource/bai-jamjuree": "^5.0.8", diff --git a/package.json b/package.json index fad73ce..72ac967 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "bluenex-github-io", + "name": "bluenex-dev", "version": "0.1.0", "private": true, "scripts": { diff --git a/wrangler.toml b/wrangler.toml index 119d5b4..a499a4a 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -1,3 +1,3 @@ -name = "bluenex-github-io" +name = "bluenex-dev" compatibility_flags = ["nodejs_compat"] \ No newline at end of file