Skip to content

Commit

Permalink
Rename project
Browse files Browse the repository at this point in the history
  • Loading branch information
yushulx committed Aug 21, 2024
1 parent 776d121 commit bf4bd34
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 23 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ jobs:
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
build_configuration: production
base_href: /angular-barcode-qr-code-scanner/
base_href: /angular-barcode-mrz-document-scanner/
deploy_branch: gh-pages
angular_dist_build_folder: dist/angular-barcode-qr-code-scanner
angular_dist_build_folder: dist/angular-barcode-mrz-document-scanner
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This project demonstrates how to utilize the Dynamsoft Capture Vision SDK for de
![Dynamsoft Capture Vision Trial License](https://www.dynamsoft.com/codepool/img/2024/07/capture-vision-suite-license.png)

## Online Demo
[Try the Demo](https://yushulx.me/angular-barcode-qr-code-scanner/)
[Try the Demo](https://yushulx.me/angular-barcode-mrz-document-scanner/)


## Usage
Expand Down
12 changes: 6 additions & 6 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": 1,
"newProjectRoot": "projects",
"projects": {
"angular-barcode-qr-code-scanner": {
"angular-barcode-mrz-document-scanner": {
"projectType": "application",
"schematics": {
"@schematics/angular:application": {
Expand All @@ -17,7 +17,7 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/angular-barcode-qr-code-scanner",
"outputPath": "dist/angular-barcode-mrz-document-scanner",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
Expand Down Expand Up @@ -128,18 +128,18 @@
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"browserTarget": "angular-barcode-qr-code-scanner:build:production"
"browserTarget": "angular-barcode-mrz-document-scanner:build:production"
},
"development": {
"browserTarget": "angular-barcode-qr-code-scanner:build:development"
"browserTarget": "angular-barcode-mrz-document-scanner:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "angular-barcode-qr-code-scanner:build"
"browserTarget": "angular-barcode-mrz-document-scanner:build"
}
},
"test": {
Expand Down Expand Up @@ -167,5 +167,5 @@
}
}
},
"defaultProject": "angular-barcode-qr-code-scanner"
"defaultProject": "angular-barcode-mrz-document-scanner"
}
2 changes: 1 addition & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = function (config) {
suppressAll: true // removes the duplicated traces
},
coverageReporter: {
dir: require('path').join(__dirname, './coverage/angular-barcode-qr-code-scanner'),
dir: require('path').join(__dirname, './coverage/angular-barcode-mrz-document-scanner'),
subdir: '.',
reporters: [
{ type: 'html' },
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "angular-barcode-qr-code-scanner",
"name": "angular-barcode-mrz-document-scanner",
"version": "0.0.0",
"scripts": {
"ng": "ng",
Expand All @@ -18,7 +18,7 @@
"@angular/platform-browser": "~13.3.0",
"@angular/platform-browser-dynamic": "~13.3.0",
"@angular/router": "~13.3.0",
"angular-barcode-qr-code-scanner": "file:",
"angular-barcode-mrz-document-scanner": "file:",
"dynamsoft-barcode-reader-bundle": "^10.2.1000",
"dynamsoft-capture-vision-dnn": "^1.0.20",
"dynamsoft-capture-vision-std": "^1.2.10",
Expand All @@ -45,4 +45,4 @@
"karma-jasmine-html-reporter": "~1.7.0",
"typescript": "~4.6.2"
}
}
}
6 changes: 3 additions & 3 deletions src/app/app.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ describe('AppComponent', () => {
expect(app).toBeTruthy();
});

it(`should have as title 'angular-barcode-qr-code-scanner'`, () => {
it(`should have as title 'angular-barcode-mrz-document-scanner'`, () => {
const fixture = TestBed.createComponent(AppComponent);
const app = fixture.componentInstance;
expect(app.title).toEqual('angular-barcode-qr-code-scanner');
expect(app.title).toEqual('angular-barcode-mrz-document-scanner');
});

it('should render title', () => {
const fixture = TestBed.createComponent(AppComponent);
fixture.detectChanges();
const compiled = fixture.nativeElement as HTMLElement;
expect(compiled.querySelector('.content span')?.textContent).toContain('angular-barcode-qr-code-scanner app is running!');
expect(compiled.querySelector('.content span')?.textContent).toContain('angular-barcode-mrz-document-scanner app is running!');
});
});
2 changes: 1 addition & 1 deletion src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ import { Component } from '@angular/core';
styleUrls: ['./app.component.css']
})
export class AppComponent {
title = 'angular-barcode-qr-code-scanner';
title = 'angular-barcode-mrz-document-scanner';
}

0 comments on commit bf4bd34

Please sign in to comment.