Skip to content

Commit

Permalink
(chore) change legacy library naming
Browse files Browse the repository at this point in the history
  • Loading branch information
dreyliky committed Oct 1, 2021
1 parent ddfc6ef commit 946485c
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
16 changes: 8 additions & 8 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": 1,
"newProjectRoot": "projects",
"projects": {
"ng-os": {
"ngx-os": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
Expand All @@ -19,7 +19,7 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/ng-os",
"outputPath": "dist/ngx-os",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
Expand Down Expand Up @@ -88,18 +88,18 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "ng-os:build"
"browserTarget": "ngx-os:build"
},
"configurations": {
"production": {
"browserTarget": "ng-os:build:production"
"browserTarget": "ngx-os:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "ng-os:build"
"browserTarget": "ngx-os:build"
}
},
"test": {
Expand Down Expand Up @@ -136,11 +136,11 @@
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "ng-os:serve"
"devServerTarget": "ngx-os:serve"
},
"configurations": {
"production": {
"devServerTarget": "ng-os:serve:production"
"devServerTarget": "ngx-os:serve:production"
}
}
}
Expand Down Expand Up @@ -207,7 +207,7 @@
}
}
},
"defaultProject": "ng-os",
"defaultProject": "ngx-os",
"schematics": {
"@schematics/angular:component": {
"style": "scss"
Expand Down
4 changes: 2 additions & 2 deletions e2e/src/app.e2e-spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { AppPage } from './app.po';
import { browser, logging } from 'protractor';
import { AppPage } from './app.po';

describe('workspace-project App', () => {
let page: AppPage;
Expand All @@ -10,7 +10,7 @@ describe('workspace-project App', () => {

it('should display welcome message', () => {
page.navigateTo();
expect(page.getTitleText()).toEqual('ng-os app is running!');
expect(page.getTitleText()).toEqual('ngx-os app is running!');
});

afterEach(async () => {
Expand Down
2 changes: 1 addition & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = function (config) {
clearContext: false // leave Jasmine Spec Runner output visible in browser
},
coverageIstanbulReporter: {
dir: require('path').join(__dirname, './coverage/ng-os'),
dir: require('path').join(__dirname, './coverage/ngx-os'),
reports: ['html', 'lcovonly', 'text-summary'],
fixWebpackSourcePaths: true
},
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "ng-os",
"name": "ngx-os",
"version": "0.0.0",
"scripts": {
"ng": "ng",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<a
class="github"
target="_blank"
href="https://github.com/dreyliky/ng-os">
href="https://github.com/dreyliky/ngx-os">
<img
class="github-icon"
src="/assets/icons/github.svg" />
Expand Down

0 comments on commit 946485c

Please sign in to comment.