other: Change version to satisfy semver

This commit is contained in:
mbaharip
2025-03-10 21:54:54 +07:00
parent 0541447af6
commit 6171aea7c3
4 changed files with 12 additions and 7 deletions
BIN
View File
Binary file not shown.
+7 -2
View File
@@ -1,6 +1,6 @@
{ {
"name": "next-gdrive-index", "name": "next-gdrive-index",
"version": "2.0.4", "version": "2.4.2",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev -p 3000", "dev": "next dev -p 3000",
@@ -10,7 +10,8 @@
"lint": "next lint", "lint": "next lint",
"lint:fix": "next lint --fix", "lint:fix": "next lint --fix",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json}\" --cache", "format": "prettier --write \"**/*.{js,jsx,ts,tsx,json}\" --cache",
"format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,json}\" --cache" "format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,json}\" --cache",
"cli": "node ./scripts/cli.mjs"
}, },
"dependencies": { "dependencies": {
"@hookform/resolvers": "^3.10.0", "@hookform/resolvers": "^3.10.0",
@@ -88,12 +89,16 @@
"@typescript-eslint/eslint-plugin": "^8.1.0", "@typescript-eslint/eslint-plugin": "^8.1.0",
"@typescript-eslint/parser": "^8.1.0", "@typescript-eslint/parser": "^8.1.0",
"autoprefixer": "^10.4.19", "autoprefixer": "^10.4.19",
"chalk": "^5.4.1",
"commander": "^13.1.0",
"encoding": "^0.1.13", "encoding": "^0.1.13",
"eslint": "^8.57.0", "eslint": "^8.57.0",
"eslint-config-next": "^15.0.1", "eslint-config-next": "^15.0.1",
"ora": "^8.2.0",
"postcss": "^8.4.38", "postcss": "^8.4.38",
"prettier": "3.0.0", "prettier": "3.0.0",
"prettier-plugin-tailwindcss": "0.5.12", "prettier-plugin-tailwindcss": "0.5.12",
"prompts": "^2.4.2",
"tailwindcss": "^3.4.1", "tailwindcss": "^3.4.1",
"typescript": "^5.5.3" "typescript": "^5.5.3"
} }
+2 -2
View File
@@ -8,7 +8,7 @@ const config: z.input<typeof Schema_Config> = {
* If possible, please don't change this value * If possible, please don't change this value
* Even if you're creating a PR, just let me change it myself * Even if you're creating a PR, just let me change it myself
*/ */
version: "2.0.4", version: "2.4.2",
/** /**
* Base path of the app, used for generating links * Base path of the app, used for generating links
* *
@@ -27,7 +27,7 @@ const config: z.input<typeof Schema_Config> = {
* *
* @default false * @default false
*/ */
showGuideButton: true, showGuideButton: false,
/** /**
* How long the cache will be stored in the browser * How long the cache will be stored in the browser
+3 -3
View File
@@ -13,7 +13,7 @@ import config from "~/config/gIndex.config";
export const versionExpectMap: Record<"v1" | "v2" | "latest", string[]> = { export const versionExpectMap: Record<"v1" | "v2" | "latest", string[]> = {
v1: ["1.0.0", "1.0.1", "1.0.2", "1.0.3"], v1: ["1.0.0", "1.0.1", "1.0.2", "1.0.3"],
v2: ["2.0.0", "2.0.1", "2.0.2", "2.0.3"], v2: ["2.0.0", "2.0.1", "2.0.2", "2.0.3"],
latest: ["2.0.4"], latest: ["2.0.4", "2.4.0", "2.4.1", "2.4.2"],
}; };
export type PickFileResponse = export type PickFileResponse =
| { | {
@@ -166,7 +166,7 @@ export const initialConfiguration: z.input<typeof Schema_App_Configuration> = {
}; };
export const configurationTemplate = `import { type z } from "zod"; export const configurationTemplate = `import { type z } from "zod";
import { BASE_URL } from "~/constant"; import { BASE_URL, IS_DEV } from "~/constant";
import { type Schema_Config } from "~/types/schema"; import { type Schema_Config } from "~/types/schema";
@@ -184,7 +184,7 @@ const config: z.input<typeof Schema_Config> = {
* @default process.env.NEXT_PUBLIC_DOMAIN * @default process.env.NEXT_PUBLIC_DOMAIN
* @fallback process.env.NEXT_PUBLIC_VERCEL_URL * @fallback process.env.NEXT_PUBLIC_VERCEL_URL
*/ */
basePath: \`https://\${BASE_URL}\`, basePath: IS_DEV ? "http://localhost:3000" : \`https://\${BASE_URL}\`,
/** /**
* Show deploy guide dropdown on navbar * Show deploy guide dropdown on navbar