Skip to content
This repository has been archived by the owner on Aug 14, 2021. It is now read-only.

put env replace in corejam rollup #471

Merged
merged 13 commits into from Mar 13, 2021
Merged

put env replace in corejam rollup #471

merged 13 commits into from Mar 13, 2021

Conversation

patrickhaug
Copy link
Contributor

@patrickhaug patrickhaug commented Mar 12, 2021

fixes #466
Assignement is now to true, since next major is true per default.

fixes #399
Env vars are looped over now automatically.
todo:
[X] write env var to safe env wrapper
[X] include lint rule to not call process.env

fixes #395

@codecov
Copy link

codecov bot commented Mar 12, 2021

Codecov Report

Merging #471 (7d6c14f) into next (d2a97f3) will increase coverage by 0.08%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             next     #471      +/-   ##
==========================================
+ Coverage   80.07%   80.16%   +0.08%     
==========================================
  Files         147      148       +1     
  Lines        2008     2012       +4     
  Branches      313      313              
==========================================
+ Hits         1608     1613       +5     
+ Misses        316      315       -1     
  Partials       84       84              
Impacted Files Coverage Δ
packages/core-components/app/env.ts 100.00% <100.00%> (ø)
packages/core-components/app/store/core.ts 48.57% <100.00%> (+2.85%) ⬆️
packages/core-components/app/utils/style.ts 82.08% <100.00%> (+0.27%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d2a97f3...7d6c14f. Read the comment docs.

DEPLOYMENT_URL=http://localhost:3000
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
DEPLOYMENT_URL=http://localhost:3000
API_ORIGIN=http://localhost:3000

DEPLOYMENT_URL=http://localhost:3000
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
DEPLOYMENT_URL=http://localhost:3000
API_ORIGIN=http://localhost:3000

@mattvb91
Copy link
Member

mattvb91 commented Mar 13, 2021

still receiving the #466 warning here

Edit: nevermind didnt have clean state

@patrickhaug patrickhaug merged commit 76ef8e5 into next Mar 13, 2021
@patrickhaug patrickhaug deleted the fix/env-build branch March 13, 2021 10:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix and Validate bundle Bundling Warning Errors on latest release
2 participants