Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meta: use a single .env file for config #3498

Merged
merged 3 commits into from
Feb 17, 2022

Conversation

aduh95
Copy link
Member

@aduh95 aduh95 commented Feb 17, 2022

Fixes: #3473
Refs: #3478 (comment)

Fixes: transloadit#3473
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Co-authored-by: Mikael Finstad <finstaden@gmail.com>
@aduh95 aduh95 requested a review from mifi February 17, 2022 14:24
@@ -25,7 +25,7 @@ import DropTarget from '@uppy/drop-target'
import Audio from '@uppy/audio'
/* eslint-enable import/no-extraneous-dependencies */

// DEV CONFIG: create a .env.local file to customize those values.
// DEV CONFIG: create a .env file in the project root directory to customize those values.
Copy link
Contributor

Choose a reason for hiding this comment

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

nice 👍 i forgot about that

.env.example Outdated Show resolved Hide resolved
.github/CONTRIBUTING.md Outdated Show resolved Hide resolved
set +a
nodemon --watch packages/@uppy/companion/src --exec node ./packages/@uppy/companion/src/standalone/start-server.js
if [ -f .env ]; then
nodemon --watch packages/@uppy/companion/src --exec node -r dotenv/config ./packages/@uppy/companion/src/standalone/start-server.js
Copy link
Contributor

Choose a reason for hiding this comment

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

nice trick. did you test this locally with npm run start:companion?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes looks like it's working

aduh95 and others added 2 commits February 17, 2022 15:35
@aduh95 aduh95 merged commit f4f1b81 into transloadit:main Feb 17, 2022
@aduh95 aduh95 deleted the fix-companion-start branch February 17, 2022 14:47
@github-actions github-actions bot mentioned this pull request Feb 17, 2022
github-actions bot added a commit that referenced this pull request Feb 17, 2022
| Package         | Version | Package         | Version |
| --------------- | ------- | --------------- | ------- |
| @uppy/companion |   3.3.0 | uppy            |   2.6.0 |
| @uppy/robodog   |   2.3.2 |                 |         |

- meta: warn about not merging PR manually (Artur Paikin / #3492)
- @uppy/companion: fix unpslash author meta, sanitize metadata to strings and improve companion tests (Mikael Finstad / #3478)
- meta: ensure README is correctly formatted when doing releases (Antoine du Hamel / #3499)
- meta: fix CDN bundle (Antoine du Hamel / #3494)
- meta: fix missing EOL and end of e2e test templates (Antoine du Hamel / #3484)
- meta: use a single `.env` file for config (Antoine du Hamel / #3498)
HeavenFox pushed a commit to docsend/uppy that referenced this pull request Jun 27, 2023
| Package         | Version | Package         | Version |
| --------------- | ------- | --------------- | ------- |
| @uppy/companion |   3.3.0 | uppy            |   2.6.0 |
| @uppy/robodog   |   2.3.2 |                 |         |

- meta: warn about not merging PR manually (Artur Paikin / transloadit#3492)
- @uppy/companion: fix unpslash author meta, sanitize metadata to strings and improve companion tests (Mikael Finstad / transloadit#3478)
- meta: ensure README is correctly formatted when doing releases (Antoine du Hamel / transloadit#3499)
- meta: fix CDN bundle (Antoine du Hamel / transloadit#3494)
- meta: fix missing EOL and end of e2e test templates (Antoine du Hamel / transloadit#3484)
- meta: use a single `.env` file for config (Antoine du Hamel / transloadit#3498)
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.

Issues after #3444 merged
2 participants