Skip to content

Commit

Permalink
Fix settings and pages
Browse files Browse the repository at this point in the history
  • Loading branch information
mkdev404 committed Aug 11, 2022
1 parent b3ee285 commit 37e1bd9
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
5 changes: 2 additions & 3 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,10 @@
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"sourceMap": true,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"vendorChunk": true,
"buildOptimizer": true,
"budgets": [
{
Expand Down
2 changes: 1 addition & 1 deletion gh-pages.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const ghpages = require('gh-pages');

ghpages.publish('dist/angular-ngx-treeview', {
repo: 'https://' + process.env.GH_TOKEN + '@github.com/' + process.env.TRAVIS_REPO_SLUG + '.git'
repo: 'https://' + process.env.GH_TOKEN+ '@github.com/Charmedme/ngx-treeview.git'
}, function (err) {
if (err) {
console.log(err);
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

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

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@
"scripts": {
"ng": "ng",
"start": "ng serve",
"build:demo": "ng build",
"build:demo": "ng build angular-ngx-treeview --aot --output-hashing=all",
"build": "ng-packagr -p ./projects/ngx-treeview/ng-package.json",
"publish": "npm run build && npm publish --access public --folder ./dist/ngx-treeview",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
"e2e": "ng e2e",
"deploy": "npm run build:demo && node gh-pages.js"
},
"keywords": [
"ng",
Expand Down
4 changes: 2 additions & 2 deletions src/app/app.component.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<header class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
<a class="navbar-brand" href="#">ngx-treeview</a>
<div class="navbar-nav me-auto"></div>
<a class="github-button" href="https://github.com/charmedme/ngx-treeview/ngx-treeview" data-icon="octicon-star" data-size="large"
data-show-count="true" aria-label="Star leovo2708/ngx-treeview on GitHub">Star</a>
<a class="github-button" href="https://github.com/charmedme/ngx-treeview/" data-icon="octicon-star" data-size="large"
data-show-count="true" aria-label="Star charmedme/ngx-treeview on GitHub">Star</a>
</header>
<div class="container-fluid">
<div class="row">
Expand Down
2 changes: 1 addition & 1 deletion src/app/city/city.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class CityService {
if (location.hostname === 'localhost') {
return of(cities as City[]);
} else {
const url = 'https://raw.githubusercontent.com/leovo2708/ngx-treeview/master/src/app/city/cities.json';
const url = 'https://raw.githubusercontent.com/charmedme/ngx-treeview/master/src/app/city/cities.json';
return this.httpClient.get<City[]>(url);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<title>ngx-treeview</title>
<base href="/">
<base href="/ngx-treeview/">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>

Expand Down

0 comments on commit 37e1bd9

Please sign in to comment.