Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Commit 0f8af33

Browse files
committed
2020-04-07: v1.0.1 : Initial Release.
1 parent 43a889a commit 0f8af33

File tree

255 files changed

+31752
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

255 files changed

+31752
-4
lines changed

.angulardoc.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"repoId": "a13b5f05-f1dd-4d04-8f3d-e764621ce5c2",
3+
"lastSync": 0
4+
}

.editorconfig

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Editor configuration, see http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
indent_size = 4
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
max_line_length = off
13+
trim_trailing_whitespace = false

.gitignore

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# compiled output
4+
/tmp
5+
/out-tsc
6+
/dist
7+
8+
# dependencies
9+
/node_modules
10+
package-lock.json
11+
12+
# IDEs and editors
13+
/.idea
14+
.project
15+
.classpath
16+
.history
17+
.c9/
18+
*.launch
19+
.settings/
20+
*.sublime-workspace
21+
22+
# IDE - VSCode
23+
.vscode/*
24+
!.vscode/settings.json
25+
!.vscode/tasks.json
26+
!.vscode/launch.json
27+
!.vscode/extensions.json
28+
29+
# misc
30+
/.sass-cache
31+
/connect.lock
32+
/coverage
33+
/libpeerconnection.log
34+
npm-debug.log
35+
testem.log
36+
/typings
37+
38+
# e2e
39+
/e2e/*.js
40+
/e2e/*.map
41+
42+
# System Files
43+
.DS_Store
44+
Thumbs.db

.travis.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
language: node_js
2+
node_js:
3+
- '9'
4+
- '10'
5+
6+
install:
7+
- npm install
8+
9+
script:
10+
- npm run test-ci
11+
12+
cache:
13+
directories:
14+
- node_modules

LICENSE

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
GNU GENERAL PUBLIC LICENSE
22
Version 3, 29 June 2007
33

4-
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
4+
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
55
Everyone is permitted to copy and distribute verbatim copies
66
of this license document, but changing it is not allowed.
77

@@ -645,7 +645,7 @@ the "copyright" line and a pointer to where the full notice is found.
645645
GNU General Public License for more details.
646646

647647
You should have received a copy of the GNU General Public License
648-
along with this program. If not, see <https://www.gnu.org/licenses/>.
648+
along with this program. If not, see <http://www.gnu.org/licenses/>.
649649

650650
Also add information on how to contact you by electronic and paper mail.
651651

@@ -664,11 +664,11 @@ might be different; for a GUI interface, you would use an "about box".
664664
You should also get your employer (if you work as a programmer) or school,
665665
if any, to sign a "copyright disclaimer" for the program, if necessary.
666666
For more information on this, and how to apply and follow the GNU GPL, see
667-
<https://www.gnu.org/licenses/>.
667+
<http://www.gnu.org/licenses/>.
668668

669669
The GNU General Public License does not permit incorporating your program
670670
into proprietary programs. If your program is a subroutine library, you
671671
may consider it more useful to permit linking proprietary applications with
672672
the library. If this is what you want to do, use the GNU Lesser General
673673
Public License instead of this License. But first, please read
674-
<https://www.gnu.org/licenses/why-not-lgpl.html>.
674+
<http://www.gnu.org/philosophy/why-not-lgpl.html>.

angular.json

+148
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"test-ng7": {
7+
"root": "",
8+
"sourceRoot": "src",
9+
"projectType": "application",
10+
"architect": {
11+
"build": {
12+
"builder": "@angular-devkit/build-angular:browser",
13+
"options": {
14+
"outputPath": "dist",
15+
"index": "src/index.html",
16+
"main": "src/main.ts",
17+
"tsConfig": "src/tsconfig.app.json",
18+
"polyfills": "src/polyfills.ts",
19+
"assets": [
20+
"src/assets",
21+
"src/favicon.ico"
22+
],
23+
"styles": [
24+
"node_modules/font-awesome/css/font-awesome.css",
25+
"src/styles/app.scss"
26+
],
27+
"scripts": [
28+
"node_modules/chart.js/dist/Chart.js"
29+
]
30+
},
31+
"configurations": {
32+
"production": {
33+
"fileReplacements": [
34+
{
35+
"replace": "src/environments/environment.ts",
36+
"with": "src/environments/environment.prod.ts"
37+
}
38+
],
39+
"optimization": true,
40+
"outputHashing": "all",
41+
"sourceMap": false,
42+
"extractCss": true,
43+
"namedChunks": false,
44+
"aot": true,
45+
"extractLicenses": true,
46+
"vendorChunk": false,
47+
"buildOptimizer": true,
48+
"budgets": [
49+
{
50+
"type": "initial",
51+
"maximumWarning": "2mb",
52+
"maximumError": "5mb"
53+
}
54+
]
55+
}
56+
}
57+
},
58+
"serve": {
59+
"builder": "@angular-devkit/build-angular:dev-server",
60+
"options": {
61+
"browserTarget": "test-ng7:build"
62+
},
63+
"configurations": {
64+
"production": {
65+
"browserTarget": "test-ng7:build:production"
66+
}
67+
}
68+
},
69+
"extract-i18n": {
70+
"builder": "@angular-devkit/build-angular:extract-i18n",
71+
"options": {
72+
"browserTarget": "test-ng7:build"
73+
}
74+
},
75+
"test": {
76+
"builder": "@angular-devkit/build-angular:karma",
77+
"options": {
78+
"main": "src/test.ts",
79+
"polyfills": "src/polyfills.ts",
80+
"tsConfig": "src/tsconfig.spec.json",
81+
"karmaConfig": "src/karma.conf.js",
82+
"scripts": [
83+
"node_modules/chart.js/dist/Chart.js"
84+
],
85+
"styles": [
86+
"node_modules/font-awesome/css/font-awesome.css",
87+
"src/styles/app.scss"
88+
],
89+
"assets": [
90+
"src/assets",
91+
"src/favicon.ico"
92+
]
93+
}
94+
},
95+
"lint": {
96+
"builder": "@angular-devkit/build-angular:tslint",
97+
"options": {
98+
"tsConfig": [
99+
"src/tsconfig.app.json",
100+
"src/tsconfig.spec.json"
101+
],
102+
"exclude": [
103+
"**/node_modules/**"
104+
]
105+
}
106+
}
107+
}
108+
},
109+
"test-ng7-e2e": {
110+
"root": "e2e/",
111+
"projectType": "application",
112+
"prefix": "",
113+
"architect": {
114+
"e2e": {
115+
"builder": "@angular-devkit/build-angular:protractor",
116+
"options": {
117+
"protractorConfig": "e2e/protractor.conf.js",
118+
"devServerTarget": "test-ng7:serve"
119+
},
120+
"configurations": {
121+
"production": {
122+
"devServerTarget": "test-ng7:serve:production"
123+
}
124+
}
125+
},
126+
"lint": {
127+
"builder": "@angular-devkit/build-angular:tslint",
128+
"options": {
129+
"tsConfig": "e2e/tsconfig.e2e.json",
130+
"exclude": [
131+
"**/node_modules/**"
132+
]
133+
}
134+
}
135+
}
136+
}
137+
},
138+
"defaultProject": "test-ng7",
139+
"schematics": {
140+
"@schematics/angular:component": {
141+
"prefix": "app",
142+
"styleext": "scss"
143+
},
144+
"@schematics/angular:directive": {
145+
"prefix": "app"
146+
}
147+
}
148+
}

browserslist

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2+
# For additional information regarding the format and rule options, please see:
3+
# https://github.com/browserslist/browserslist#queries
4+
5+
# You can see what browsers were selected by your queries by running:
6+
# npx browserslist
7+
8+
> 0.5%
9+
last 2 versions
10+
Firefox ESR
11+
not dead
12+
not IE 9-11 # For IE 9-11 support, remove 'not'.

changelog.txt

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
=====================================
2+
Date : Version: Description
3+
=====================================
4+
5+
2020-04-07: v1.0.0 : Initial Release.

e2e/src/app.e2e-spec.ts

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/**
2+
* Copyright (c) 2020 PayGate (Pty) Ltd
3+
*
4+
* Author: App Inlet (Pty) Ltd
5+
*
6+
* Released under the GNU General Public License Version 3
7+
*
8+
*/
9+
10+
import { AppPage } from './app.po';
11+
12+
describe('test-ng8 App', () => {
13+
let page: AppPage;
14+
15+
beforeEach(() => {
16+
page = new AppPage();
17+
});
18+
19+
it('should display welcome message', () => {
20+
page.navigateTo();
21+
expect(page.getParagraphText()).toEqual('Paygate Payment');
22+
});
23+
});

e2e/src/app.po.ts

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/**
2+
* Copyright (c) 2020 PayGate (Pty) Ltd
3+
*
4+
* Author: App Inlet (Pty) Ltd
5+
*
6+
* Released under the GNU General Public License Version 3
7+
*
8+
*/
9+
10+
import { browser, by, element } from 'protractor';
11+
12+
export class AppPage {
13+
navigateTo() {
14+
return browser.get('/');
15+
}
16+
17+
getParagraphText() {
18+
return element(by.css('app-root h1')).getText();
19+
}
20+
}

e2e/tsconfig.e2e.json

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"extends": "../tsconfig.json",
3+
"compilerOptions": {
4+
"outDir": "../out-tsc/app",
5+
"module": "commonjs",
6+
"target": "es5",
7+
"types": [
8+
"jasmine",
9+
"jasminewd2",
10+
"node"
11+
]
12+
}
13+
}

0 commit comments

Comments
 (0)