Skip to content

Commit

Permalink
feat: pipeline b2c login
Browse files Browse the repository at this point in the history
  • Loading branch information
raul melo authored and raul melo committed Mar 8, 2024
1 parent 99fbc93 commit c2a1e05
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion application-webcomponents/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wizco/schematics-webcomponents",
"version": "17.1.9",
"version": "17.1.20",
"description": "Wizpro angular schematics for module MFE",
"scripts": {
"build": "tsc -p tsconfig.json",
Expand Down
5 changes: 4 additions & 1 deletion application-webcomponents/src/env-b2c/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ function addPipelineDefault(): Rule {
const sandboxConfig = projects[project].architect.build.configurations.sandbox;
const local = sandboxConfig['fileReplacements'][0]['with'];
const localSandbox = tree.read(local)!.toString('utf-8');
tree.create(local.replace('environment.sandbox.ts', 'environment.b2c.ts'), localSandbox);
tree.overwrite(
local.replace('environment.sandbox.ts', 'environment.b2c.ts'),
localSandbox
);
// script para adicionar no angular.json
projects[project].architect.build.configurations['b2c'] = {
...sandboxConfig,
Expand Down

0 comments on commit c2a1e05

Please sign in to comment.