chore: release [ci skip]
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ import type { NextConfig } from "next";
|
|||||||
* Docs: https://nextjs.org/docs/app/api-reference/next-config-js
|
* Docs: https://nextjs.org/docs/app/api-reference/next-config-js
|
||||||
*/
|
*/
|
||||||
const nextConfig: NextConfig = {
|
const nextConfig: NextConfig = {
|
||||||
output: 'standalone',
|
output: "standalone",
|
||||||
images: {
|
images: {
|
||||||
remotePatterns: [
|
remotePatterns: [
|
||||||
{
|
{
|
||||||
|
|||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "temp",
|
"name": "temp",
|
||||||
"version": "1.0.7",
|
"version": "1.0.8",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "temp",
|
"name": "temp",
|
||||||
"version": "1.0.7",
|
"version": "1.0.8",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"next": "16.1.7",
|
"next": "16.1.7",
|
||||||
"php": "^1.1.0",
|
"php": "^1.1.0",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "temp",
|
"name": "temp",
|
||||||
"version": "1.0.7",
|
"version": "1.0.8",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
|
|||||||
Binary file not shown.
+6
-2
@@ -9,11 +9,15 @@ if (!version) {
|
|||||||
|
|
||||||
const zipPath = `release-v${version}.zip`; // Thêm version vào tên file cho dễ quản lý
|
const zipPath = `release-v${version}.zip`; // Thêm version vào tên file cho dễ quản lý
|
||||||
|
|
||||||
console.log(`📦 Đang chuẩn bị đóng gói App Router Standalone cho version: ${version}...`);
|
console.log(
|
||||||
|
`📦 Đang chuẩn bị đóng gói App Router Standalone cho version: ${version}...`,
|
||||||
|
);
|
||||||
|
|
||||||
// Kiểm tra xem đã build chưa
|
// Kiểm tra xem đã build chưa
|
||||||
if (!fs.existsSync(".next/standalone")) {
|
if (!fs.existsSync(".next/standalone")) {
|
||||||
console.error("❌ Thư mục .next/standalone không tồn tại. Hãy chạy 'pnpm build' trước!");
|
console.error(
|
||||||
|
"❌ Thư mục .next/standalone không tồn tại. Hãy chạy 'pnpm build' trước!",
|
||||||
|
);
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user