Is it possible to scaffold a new environment using the Angular CLI?Angular CLI SASS optionsAngular CLI addonHow to upgrade Angular CLI project?angular cli: application building fails on server environmentDefaultEncapsulation in angular-cli --prodAngular CLI environments not workingHow do I add Sass compilation in Angular CLI 6: angular.json?How to remove package using Angular CLI?Configure Angular Routes in environmentAngular CLI upgrade rewrote my angular-cli.json settings
Why no parachutes in the Orion AA2 abort test?
Why do we need a bootloader separate from our application program in microcontrollers?
Is conquering your neighbors to fight a greater enemy a valid strategy?
Taking my Ph.D. advisor out for dinner after graduation
Should I warn my boss I might take sick leave?
Is this standard Japanese employment negotiations, or am I missing something?
Are "confidant" and "confident" homophones?
What can a novel do that film and TV cannot?
Do the 26 richest billionaires own as much wealth as the poorest 3.8 billion people?
What causes a fastener to lock?
Did William Shakespeare hide things in his writings?
Simple Arithmetic Puzzle 8. Or is it?
How did Einstein know the speed of light was constant?
Can you take the Dodge action while prone?
Why does mean tend be more stable in different samples than median?
Taking advantage when the HR forgets to communicate the rules
Curve fitting when data has a sharp initial slope and then tapers off
LTSpice: how to setup sinusoidal or exponential voltage source?
When is one 'Ready' to make Original Contributions to Mathematics?
Isn't "Dave's protocol" good if only the database, and not the code, is leaked?
Should I cheat if the majority does it?
How do I check that users don't write down their passwords?
Change the default text editor in Terminal
What's the difference between 反面 and 一方?
Is it possible to scaffold a new environment using the Angular CLI?
Angular CLI SASS optionsAngular CLI addonHow to upgrade Angular CLI project?angular cli: application building fails on server environmentDefaultEncapsulation in angular-cli --prodAngular CLI environments not workingHow do I add Sass compilation in Angular CLI 6: angular.json?How to remove package using Angular CLI?Configure Angular Routes in environmentAngular CLI upgrade rewrote my angular-cli.json settings
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Is there a way to leverage the Angular CLI and provide it a command to create/scaffold a new environmental configuration? Out of the box with ng new
we get the ability to build locally via ng build
and have a production build via ng build --prod.
I want to add an environment like 'QA' or 'Test' for example and I can do this easily by hand rolling the required configurations inside of the environments
folder and updating the sections in angular.json
. However, is there a way to leverage the CLI and it's commands to scaffold a new configuration environment and have it update angular.json
, or am I required to always hand roll and do this manually?
I looked at the documentation and haven't seen anything exactly, but wondered if I'm missing anything or if it's possible? https://angular.io/cli/generate
angular angular-cli
add a comment |
Is there a way to leverage the Angular CLI and provide it a command to create/scaffold a new environmental configuration? Out of the box with ng new
we get the ability to build locally via ng build
and have a production build via ng build --prod.
I want to add an environment like 'QA' or 'Test' for example and I can do this easily by hand rolling the required configurations inside of the environments
folder and updating the sections in angular.json
. However, is there a way to leverage the CLI and it's commands to scaffold a new configuration environment and have it update angular.json
, or am I required to always hand roll and do this manually?
I looked at the documentation and haven't seen anything exactly, but wondered if I'm missing anything or if it's possible? https://angular.io/cli/generate
angular angular-cli
add a comment |
Is there a way to leverage the Angular CLI and provide it a command to create/scaffold a new environmental configuration? Out of the box with ng new
we get the ability to build locally via ng build
and have a production build via ng build --prod.
I want to add an environment like 'QA' or 'Test' for example and I can do this easily by hand rolling the required configurations inside of the environments
folder and updating the sections in angular.json
. However, is there a way to leverage the CLI and it's commands to scaffold a new configuration environment and have it update angular.json
, or am I required to always hand roll and do this manually?
I looked at the documentation and haven't seen anything exactly, but wondered if I'm missing anything or if it's possible? https://angular.io/cli/generate
angular angular-cli
Is there a way to leverage the Angular CLI and provide it a command to create/scaffold a new environmental configuration? Out of the box with ng new
we get the ability to build locally via ng build
and have a production build via ng build --prod.
I want to add an environment like 'QA' or 'Test' for example and I can do this easily by hand rolling the required configurations inside of the environments
folder and updating the sections in angular.json
. However, is there a way to leverage the CLI and it's commands to scaffold a new configuration environment and have it update angular.json
, or am I required to always hand roll and do this manually?
I looked at the documentation and haven't seen anything exactly, but wondered if I'm missing anything or if it's possible? https://angular.io/cli/generate
angular angular-cli
angular angular-cli
asked Mar 25 at 19:33
atconwayatconway
12k19 gold badges120 silver badges197 bronze badges
12k19 gold badges120 silver badges197 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Short answer: No.
All options that the CLI could generate are listed here
Since you are allowed to add to the environemnt whatever you like, it makes sense that the CLI doesn't try to generate this file for you.
However it is possible to wirte a schematic that does exaclty this for you (but explaining how to create schematics is beond the scope of this question).
The benefit of this approach is that you can customize the schematic exactly to your needs and therefore the generated environment will look exactly as intended.
- Schematics Indtroduction
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55345190%2fis-it-possible-to-scaffold-a-new-environment-using-the-angular-cli%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Short answer: No.
All options that the CLI could generate are listed here
Since you are allowed to add to the environemnt whatever you like, it makes sense that the CLI doesn't try to generate this file for you.
However it is possible to wirte a schematic that does exaclty this for you (but explaining how to create schematics is beond the scope of this question).
The benefit of this approach is that you can customize the schematic exactly to your needs and therefore the generated environment will look exactly as intended.
- Schematics Indtroduction
add a comment |
Short answer: No.
All options that the CLI could generate are listed here
Since you are allowed to add to the environemnt whatever you like, it makes sense that the CLI doesn't try to generate this file for you.
However it is possible to wirte a schematic that does exaclty this for you (but explaining how to create schematics is beond the scope of this question).
The benefit of this approach is that you can customize the schematic exactly to your needs and therefore the generated environment will look exactly as intended.
- Schematics Indtroduction
add a comment |
Short answer: No.
All options that the CLI could generate are listed here
Since you are allowed to add to the environemnt whatever you like, it makes sense that the CLI doesn't try to generate this file for you.
However it is possible to wirte a schematic that does exaclty this for you (but explaining how to create schematics is beond the scope of this question).
The benefit of this approach is that you can customize the schematic exactly to your needs and therefore the generated environment will look exactly as intended.
- Schematics Indtroduction
Short answer: No.
All options that the CLI could generate are listed here
Since you are allowed to add to the environemnt whatever you like, it makes sense that the CLI doesn't try to generate this file for you.
However it is possible to wirte a schematic that does exaclty this for you (but explaining how to create schematics is beond the scope of this question).
The benefit of this approach is that you can customize the schematic exactly to your needs and therefore the generated environment will look exactly as intended.
- Schematics Indtroduction
answered Mar 26 at 7:10
joweyjowey
1,0191 gold badge10 silver badges29 bronze badges
1,0191 gold badge10 silver badges29 bronze badges
add a comment |
add a comment |
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55345190%2fis-it-possible-to-scaffold-a-new-environment-using-the-angular-cli%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown