Unverified Commit e8a5c4a6 authored by Swayangjit Prasad Parida's avatar Swayangjit Prasad Parida Committed by GitHub
Browse files

Merge pull request #182 from abhishekpnt/release-5.1.0_v10

Issue #SB-0000 fix:Angular 10 upgrade-changed package name
Showing with 7 additions and 7 deletions
+7 -7
......@@ -27,7 +27,7 @@ jobs:
if [ -z $CIRCLE_PR_NUMBER ]; then
npm run build-mobile && npm pack ./dist/common-form-elements
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
npm publish project-sunbird-common-form-elements-*
npm publish --accesss=public project-sunbird-common-form-elements-*
else
npm run build-mobile && npm pack ./dist/common-form-elements
fi
\ No newline at end of file
......@@ -125,9 +125,9 @@ const updatePackageFile = (filepath, { environment, name, version }) => {
if (name) {
packageData.name = name;
} else if (environment === 'mobile') {
packageData.name = 'common-form-elements-v9';
packageData.name = 'common-form-elements';
} else if (environment === 'web') {
packageData.name = 'common-form-elements-full-v9';
packageData.name = 'common-form-elements-full';
}
fs.writeFileSync(filepath, JSON.stringify(packageData, null, 4));
console.log(chalk.yellow(
......
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { CommonFormElementsModule, DialcodeCursor } from 'common-form-elements-v9';
import { CommonFormElementsModule, DialcodeCursor } from 'common-form-elements';
import { AppComponent } from './app.component';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { DialcodeService } from './dialcode-cursor-implementation.service';
......
import { Injectable } from '@angular/core';
import { of } from 'rxjs';
import { delay } from 'rxjs/operators';
import { DialcodeCursor } from 'common-form-elements-v9';
import { DialcodeCursor } from 'common-form-elements';
@Injectable({
providedIn: 'root'
......
......@@ -19,10 +19,10 @@
"dom"
],
"paths": {
"common-form-elements-v9": [
"common-form-elements": [
"dist/common-form-elements"
],
"common-form-elements-v9/*": [
"common-form-elements/*": [
"dist/common-form-elements/*"
]
},
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment