Skip to content

Commit dfe3b76

Browse files
authored
Merge pull request #111 from loganhz/master
Add public folder in nextjs code package
2 parents e86a4a9 + 413ceef commit dfe3b76

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

update.list

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web-framework/nodejs/midway-koa
1+
web-framework/nodejs/next

web-framework/nodejs/next/publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Type: Application
22
Name: start-next
33
Provider:
44
- 阿里云
5-
Version: 1.2.22
5+
Version: 1.2.23
66
Description: 一个 React 开发框架,Next.js 被用于数以万计的的网站和 Web 应用程序,包括许多世界上许多最大的品牌都在使用 Next.js
77
HomePage: https://github.com/devsapp/start-web-framework
88
Tags:
@@ -55,4 +55,4 @@ Parameters:
5555
title: 函数名
5656
type: string
5757
default: next
58-
description: 函数名称,只能包含字母、数字、下划线和中划线。不能以数字、中划线开头。长度在 1-64 之间
58+
description: 函数名称,只能包含字母、数字、下划线和中划线。不能以数字、中划线开头。长度在 1-64 之间

web-framework/nodejs/next/src/s.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ services:
4040
path: ./code # 执行系统命令/钩子的路径
4141
- run: npm run build
4242
path: ./code
43+
- run: mv public .next/standalone/public
44+
path: ./code
4345
- run: mv static standalone/.next/static
4446
path: ./code/.next
4547
# - component: fc build --use-docker # 要运行的组件,格式为【component: 组件名 命令 参数】(可以通过s cli registry search --type Component 获取组件列表)
@@ -91,4 +93,4 @@ services:
9193
# service: ${vars.service} # 应用整体的服务配置
9294
# function: # 定义一个新的函数
9395
# name: next-function-example
94-
# description: 'hello world by serverless devs'
96+
# description: 'hello world by serverless devs'

0 commit comments

Comments
 (0)