[WIP] nextjs config file options #879

Closed
VPhung24 wants to merge 5 commits from viv/nextjs-config-files into main
Owner

nextjs may have nextjs.config.js and nextjs.config.mjs lets account for that

  • todo: tests
nextjs may have `nextjs.config.js` and `nextjs.config.mjs` lets account for that - todo: tests
VPhung24 added 1 commit 2024-07-21 22:44:43 +00:00
nextjs config file options
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 40s
Smoke Test / Run basic test suite (pull_request) Successful in 4m17s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m36s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m19s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 7m51s
b1659823fb
Owner

Looks useful. I would encourage adding a couple lines of comments to the code (or if that is unappealing, to this PR) explaining what's being done. E.g. is running code formatting on the config file done to make it reliably transformable later?

Looks useful. I would encourage adding a couple lines of comments to the code (or if that is unappealing, to this PR) explaining what's being done. E.g. is running code formatting on the config file done to make it reliably transformable later?
VPhung24 added 2 commits 2024-07-22 13:38:53 +00:00
This reverts commit b1659823fb.
format
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 41s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m35s
Smoke Test / Run basic test suite (pull_request) Successful in 4m18s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m5s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 7m34s
32cbdc9008
VPhung24 added 1 commit 2024-07-22 13:52:29 +00:00
comments on js-beautify
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 36s
Smoke Test / Run basic test suite (pull_request) Successful in 4m41s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m53s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m14s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 8m51s
13303c3f7a
VPhung24 added 1 commit 2024-07-22 13:53:40 +00:00
comments on js-beautify
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 43s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m37s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m45s
Smoke Test / Run basic test suite (pull_request) Successful in 4m56s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 8m44s
725be0dd22
Author
Owner

Looks useful. I would encourage adding a couple lines of comments to the code (or if that is unappealing, to this PR) explaining what's being done. E.g. is running code formatting on the config file done to make it reliably transformable later?

updated with on line 45. Let me know if you had something else in mind.

# js-beautify formats NEXTJS_CONFIG_FILE (ie next.config.js / next.config.mjs) so we can reliably transformable later
js-beautify next.config.dist > "$NEXTJS_CONFIG_FILE"
echo "" >> "$NEXTJS_CONFIG_FILE"
> Looks useful. I would encourage adding a couple lines of comments to the code (or if that is unappealing, to this PR) explaining what's being done. E.g. is running code formatting on the config file done to make it reliably transformable later? updated with on line 45. Let me know if you had something else in mind. ```zsh # js-beautify formats NEXTJS_CONFIG_FILE (ie next.config.js / next.config.mjs) so we can reliably transformable later js-beautify next.config.dist > "$NEXTJS_CONFIG_FILE" echo "" >> "$NEXTJS_CONFIG_FILE" ```
VPhung24 requested review from dboreham 2024-07-22 13:56:06 +00:00
VPhung24 requested review from telackey 2024-07-22 13:56:07 +00:00
Member

Superseded by #890

Superseded by https://git.vdb.to/cerc-io/stack-orchestrator/pulls/890
telackey closed this pull request 2024-08-05 20:53:33 +00:00
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 43s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m37s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m45s
Smoke Test / Run basic test suite (pull_request) Successful in 4m56s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 8m44s

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
3 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#879
No description provided.