Skip to content

Commit 8a218be

Browse files
curriculum update
1 parent 9a3cfd0 commit 8a218be

35 files changed

+692
-454
lines changed

.editorconfig

Lines changed: 0 additions & 16 deletions
This file was deleted.

.vscode/launch.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,10 @@
44
"configurations": [
55
{
66
"name": "ng serve",
7-
"type": "pwa-chrome",
7+
"type": "chrome",
88
"request": "launch",
99
"preLaunchTask": "npm: start",
1010
"url": "http://localhost:4200/"
11-
},
12-
{
13-
"name": "ng test",
14-
"type": "chrome",
15-
"request": "launch",
16-
"preLaunchTask": "npm: test",
17-
"url": "http://localhost:9876/debug.html"
1811
}
1912
]
2013
}

.vscode/tasks.json

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,6 @@
1919
}
2020
}
2121
}
22-
},
23-
{
24-
"type": "npm",
25-
"script": "test",
26-
"isBackground": true,
27-
"problemMatcher": {
28-
"owner": "typescript",
29-
"pattern": "$tsc",
30-
"background": {
31-
"activeOnStart": true,
32-
"beginsPattern": {
33-
"regexp": "(.*?)"
34-
},
35-
"endsPattern": {
36-
"regexp": "bundle generation complete"
37-
}
38-
}
39-
}
4022
}
4123
]
4224
}

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Copyright 2018-2022 Oasis Digital Solutions Inc.
22

33
Licensed under the Apache License, Version 2.0 (the "License");
4-
you may not use this file except in compliance with the License.
4+
you may not use the associated files except in compliance with the License.
55
You may obtain a copy of the License at
66

77
http://www.apache.org/licenses/LICENSE-2.0

_legacy-api-via-http-promises.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

angular.json

Lines changed: 89 additions & 108 deletions
Original file line numberDiff line numberDiff line change
@@ -1,146 +1,127 @@
11
{
22
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
34
"newProjectRoot": "projects",
45
"projects": {
56
"legacy-api-via-http-promises": {
7+
"projectType": "application",
8+
"schematics": {
9+
"@schematics/angular:component": {
10+
"inlineTemplate": true,
11+
"inlineStyle": true,
12+
"style": "scss",
13+
"skipTests": true
14+
},
15+
"@schematics/angular:class": {
16+
"skipTests": true
17+
},
18+
"@schematics/angular:directive": {
19+
"skipTests": true
20+
},
21+
"@schematics/angular:guard": {
22+
"skipTests": true
23+
},
24+
"@schematics/angular:interceptor": {
25+
"skipTests": true
26+
},
27+
"@schematics/angular:pipe": {
28+
"skipTests": true
29+
},
30+
"@schematics/angular:resolver": {
31+
"skipTests": true
32+
},
33+
"@schematics/angular:service": {
34+
"skipTests": true
35+
}
36+
},
37+
"root": "",
38+
"sourceRoot": "src",
39+
"prefix": "app",
640
"architect": {
741
"build": {
842
"builder": "@angular-devkit/build-angular:browser",
9-
"configurations": {
10-
"development": {
11-
"buildOptimizer": false,
12-
"extractLicenses": false,
13-
"namedChunks": true,
14-
"optimization": false,
15-
"sourceMap": true,
16-
"vendorChunk": true
17-
},
18-
"production": {
19-
"budgets": [
20-
{
21-
"maximumError": "1mb",
22-
"maximumWarning": "500kb",
23-
"type": "initial"
24-
},
25-
{
26-
"maximumError": "4kb",
27-
"maximumWarning": "2kb",
28-
"type": "anyComponentStyle"
29-
}
30-
],
31-
"fileReplacements": [
32-
{
33-
"replace": "src/environments/environment.ts",
34-
"with": "src/environments/environment.prod.ts"
35-
}
36-
],
37-
"outputHashing": "all"
38-
}
39-
},
40-
"defaultConfiguration": "production",
4143
"options": {
44+
"outputPath": "dist/legacy-api-via-http-promises",
45+
"index": "src/index.html",
46+
"main": "src/main.ts",
47+
"polyfills": [
48+
"zone.js"
49+
],
50+
"tsConfig": "tsconfig.app.json",
51+
"inlineStyleLanguage": "scss",
4252
"assets": [
4353
"src/favicon.ico",
4454
"src/assets",
4555
{
4656
"glob": "**/*",
47-
"input": "apps/abc/shared/assets",
57+
"input": "shared/assets/abc",
4858
"output": "/assets/"
4959
},
5060
{
5161
"glob": "**/*",
52-
"input": "apps/shared/assets",
62+
"input": "shared/assets/shared",
5363
"output": "/assets/"
5464
}
5565
],
56-
"index": "src/index.html",
57-
"inlineStyleLanguage": "scss",
58-
"main": "src/main.ts",
59-
"outputPath": "dist/legacy-api-via-http-promises",
60-
"polyfills": "src/polyfills.ts",
61-
"scripts": [
62-
],
6366
"styles": [
6467
"src/styles.scss",
65-
"apps/abc/shared/shared.scss",
66-
"apps/shared/shared.scss"
68+
"shared/styles/abc/shared.scss",
69+
"shared/styles/shared/shared.scss"
6770
],
68-
"tsConfig": "tsconfig.app.json"
69-
}
70-
},
71-
"extract-i18n": {
72-
"builder": "@angular-devkit/build-angular:extract-i18n",
73-
"options": {
74-
"browserTarget": "legacy-api-via-http-promises:build"
75-
}
71+
"scripts": [],
72+
"stylePreprocessorOptions": {
73+
"includePaths": [
74+
"libs/shared/styles/abc",
75+
"libs/shared/styles/shared"
76+
]
77+
}
78+
},
79+
"configurations": {
80+
"production": {
81+
"budgets": [
82+
{
83+
"type": "initial",
84+
"maximumWarning": "500kb",
85+
"maximumError": "1mb"
86+
},
87+
{
88+
"type": "anyComponentStyle",
89+
"maximumWarning": "2kb",
90+
"maximumError": "4kb"
91+
}
92+
],
93+
"outputHashing": "all"
94+
},
95+
"development": {
96+
"buildOptimizer": false,
97+
"optimization": false,
98+
"vendorChunk": true,
99+
"extractLicenses": false,
100+
"sourceMap": true,
101+
"namedChunks": true
102+
}
103+
},
104+
"defaultConfiguration": "production"
76105
},
77106
"serve": {
78107
"builder": "@angular-devkit/build-angular:dev-server",
79108
"configurations": {
80-
"development": {
81-
"browserTarget": "legacy-api-via-http-promises:build:development"
82-
},
83109
"production": {
84110
"browserTarget": "legacy-api-via-http-promises:build:production"
111+
},
112+
"development": {
113+
"browserTarget": "legacy-api-via-http-promises:build:development"
85114
}
86115
},
87116
"defaultConfiguration": "development"
88117
},
89-
"test": {
90-
"builder": "@angular-devkit/build-angular:karma",
118+
"extract-i18n": {
119+
"builder": "@angular-devkit/build-angular:extract-i18n",
91120
"options": {
92-
"assets": [
93-
"src/favicon.ico",
94-
"src/assets"
95-
],
96-
"inlineStyleLanguage": "scss",
97-
"karmaConfig": "karma.conf.js",
98-
"main": "src/test.ts",
99-
"polyfills": "src/polyfills.ts",
100-
"scripts": [
101-
],
102-
"styles": [
103-
"src/styles.scss"
104-
],
105-
"tsConfig": "tsconfig.spec.json"
121+
"browserTarget": "legacy-api-via-http-promises:build"
106122
}
107123
}
108-
},
109-
"prefix": "app",
110-
"projectType": "application",
111-
"root": "",
112-
"schematics": {
113-
"@schematics/angular:application": {
114-
"strict": true
115-
},
116-
"@schematics/angular:class": {
117-
"skipTests": true
118-
},
119-
"@schematics/angular:component": {
120-
"skipTests": true,
121-
"style": "scss"
122-
},
123-
"@schematics/angular:directive": {
124-
"skipTests": true
125-
},
126-
"@schematics/angular:guard": {
127-
"skipTests": true
128-
},
129-
"@schematics/angular:interceptor": {
130-
"skipTests": true
131-
},
132-
"@schematics/angular:pipe": {
133-
"skipTests": true
134-
},
135-
"@schematics/angular:resolver": {
136-
"skipTests": true
137-
},
138-
"@schematics/angular:service": {
139-
"skipTests": true
140-
}
141-
},
142-
"sourceRoot": "src"
124+
}
143125
}
144-
},
145-
"version": 1
146-
}
126+
}
127+
}

0 commit comments

Comments
 (0)