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

[Change] use environment variable in package.json #8010

Open
ROBOTofficial opened this issue Jan 3, 2025 · 0 comments
Open

[Change] use environment variable in package.json #8010

ROBOTofficial opened this issue Jan 3, 2025 · 0 comments

Comments

@ROBOTofficial
Copy link

Use environment variable in package.json

I have already finished analyzing the relevant code and am struggling with the implementation details.
Please see draft plans for details.

Draft Plans

"scripts": {
    "plan1": "echo $MESSAGE",
    "plan2": "echo ${MESSAGE}",
    "plan3": "echo ${ENV.MESSAGE}",
    "plan4": "echo $ENV.MESSAGE",
    "plan5": "echo $ENV{MESSAGE}"
}

I would like to hear everyone's opinion on this.
I will send out a pull request as soon as the details are finalized in this issue.

My first language is Japanese and I live in Japan
My English may be sloppy at times, but I hope you understand.

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

No branches or pull requests

1 participant