Create next.config.js if it is missing. #701

Merged
telackey merged 2 commits from telackey/nxtcfg into main 2024-01-15 18:12:59 +00:00
Member

In passing, I noticed a non-fatal error like this:

cp: cannot stat 'next.config.js': No such file or directory

When the project didn't have a next.config.js file. I don't know if the project in question would work anyway, but for our purposes starting with a blank cfg is probably OK.

In passing, I noticed a non-fatal error like this: ``` cp: cannot stat 'next.config.js': No such file or directory ``` When the project didn't have a `next.config.js` file. I don't know if the project in question would work anyway, but for our purposes starting with a blank cfg is probably OK.
dboreham approved these changes 2024-01-11 14:36:05 +00:00
@ -22,2 +22,4 @@
cd "${WORK_DIR}" || exit 1
# If this file doesn't exist at all, we'll get errors below.
if [ ! -f "next.config.js" ]; then
Owner

Add a comment on why this is needed

Add a comment on why this is needed
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/stack-orchestrator#701
No description provided.