Describe the bug
When deploying, the project name is taken from the directory name.
Now takes the project name from:
- now.json
- package.json
- directory name
To Reproduce
- Create a new meteor app in a folder named "bonjour".
- Add to package.json:
"now":{
"name": "hello",
}
- Deploy
- App will deployed to bonjour-xyz.now.sh
Expected behavior
App should be deployed to hello-xyz.now.sh
Additional context
It's especially annoying when willing to do now alias since that takes the name in the package.json, which is not the app name meteor-now used.
Probably around here:
|
export const projectName = (() => getFolderName(process.cwd()))(); |
Describe the bug
When deploying, the project name is taken from the directory name.
Now takes the project name from:
To Reproduce
Expected behavior
App should be deployed to hello-xyz.now.sh
Additional context
It's especially annoying when willing to do
now aliassince that takes the name in thepackage.json, which is not the app namemeteor-nowused.Probably around here:
meteor-now/src/api/constants.js
Line 12 in 2e3e90a