Skip to content

Conversation

maximepvrt
Copy link
Contributor

@maximepvrt maximepvrt commented Sep 25, 2025

https://www.clever.cloud/developers/changelog/2025/08-12-pnpm-yarn-better-support/
https://www.clever.cloud/developers/changelog/2025/06-03-native-bun-support/

πŸ”— Linked issue

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

Updated environment variable configurations for various package managers, replacing deprecated hooks and adjusting Node.js version settings.
@maximepvrt maximepvrt requested a review from atinux as a code owner September 25, 2025 17:34
@maximepvrt maximepvrt marked this pull request as draft September 25, 2025 17:34
@HugoRCD
Copy link
Member

HugoRCD commented Sep 26, 2025

@maximepvrt Why is the PR in draft there are still things to modify? 😁

@maximepvrt
Copy link
Contributor Author

@HugoRCD Yes πŸ˜… I just put it up quickly but I haven’t had time to test everything yet!

@maximepvrt maximepvrt changed the title Refactor environment variable setup for package managers docs(clever-cloud): update env config Sep 26, 2025
@maximepvrt
Copy link
Contributor Author

@juliamrch can you check that it's ok ? @HugoRCD too ;-)

@maximepvrt maximepvrt marked this pull request as ready for review October 4, 2025 15:08
@juliamrch
Copy link
Contributor

@juliamrch can you check that it's ok ? @HugoRCD too ;-)

I'll run some tests tomorrow if that's ok for you?

Copy link
Contributor

@juliamrch juliamrch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After testing, I've included some suggestions.

  • CC_PRE_BUILD_HOOK was failing: it seems to be running before the install, and the deployment crashes with the error nuxt command not found πŸ₯²
  • The generate option: I tested by deploying this repo, but the package.json didn't contain any.
  • Static (with Apache?): the run command failed with the error NuxtHub is not compatible with nuxt generate as it needs a server to run. This is unusual, as the Static Apache runtime provides a server that is already running (it might be worth confirming the information to see if it's outdated, since I no longer work at CC).

Clever Cloud also provides a pure static HTML runtime that it would be worth exploring for this page. For this guide, I suggest we clarify if the instance is either Static with Apache or Static HTML.

Let me know if you'd like me to run additional tests or if I should reach out to my former team to add credits to your accounts for testing purposes.

@HugoRCD
Copy link
Member

HugoRCD commented Oct 9, 2025

@maximepvrt Have you had a chance to check out @juliamrch's suggestions ? (no hurry obviously 😁)

maximepvrt and others added 2 commits October 9, 2025 23:57
Updated Clever Cloud deployment instructions for npm and added note on static applications.
@maximepvrt
Copy link
Contributor Author

@juliamrch Thanks for the feedback!

  • Regarding the generate option: in Nuxt projects, generate is included by default in the package.json, so it should be available without additional configuration.
  • For the application type, I have added a note in the guide clarifying when to use Static HTML vs Static Apache.

@maximepvrt maximepvrt requested a review from juliamrch October 14, 2025 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants