Skip to content

Commit 7f97f4e

Browse files
Merge pull request udacity#299 from grutt/master
Course Maintenance
2 parents c0483b7 + 5e54fa7 commit 7f97f4e

31 files changed

+11243
-8418
lines changed

course-02/exercises/udacity-c2-basic-server/package-lock.json

Lines changed: 515 additions & 522 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

course-02/exercises/udacity-c2-basic-server/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "index.js",
66
"scripts": {
77
"test": "mocha -r ts-node/register src/**/*.tests.ts",
8-
"dev": "ts-node-dev --respawn --transpileOnly ./src/server.ts",
8+
"dev": "ts-node-dev ./src/server.ts",
99
"tsc": "tsc"
1010
},
1111
"repository": {
@@ -19,18 +19,18 @@
1919
},
2020
"homepage": "https://github.com/grutt/udacity-c2-basic-server#readme",
2121
"devDependencies": {
22-
"@types/bluebird": "^3.5.27",
23-
"@types/chai": "^4.1.7",
24-
"@types/express": "^4.17.0",
22+
"@types/bluebird": "^3.5.33",
23+
"@types/chai": "^4.2.14",
24+
"@types/express": "^4.17.9",
2525
"@types/mocha": "^5.2.7",
26-
"@types/node": "^11.13.17",
26+
"@types/node": "^11.15.42",
2727
"chai": "^4.2.0",
28-
"js-yaml": "^3.13.1",
29-
"mocha": "^6.1.4",
30-
"ts-node": "^8.3.0",
31-
"ts-node-dev": "^1.0.0-pre.40",
32-
"tslint": "^5.18.0",
33-
"typescript": "^3.5.3"
28+
"js-yaml": "^3.14.1",
29+
"mocha": "^6.2.3",
30+
"ts-node": "^8.10.2",
31+
"ts-node-dev": "^1.1.1",
32+
"tslint": "^5.20.1",
33+
"typescript": "^3.9.7"
3434
},
3535
"dependencies": {
3636
"express": "^4.17.1"
Lines changed: 12 additions & 0 deletions
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'.

course-02/exercises/udacity-c2-frontend/angular.json

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"build": {
1515
"builder": "@angular-devkit/build-angular:browser",
1616
"options": {
17+
"aot": true,
1718
"outputPath": "www",
1819
"index": "src/index.html",
1920
"main": "src/main.ts",
@@ -33,14 +34,15 @@
3334
],
3435
"styles": [
3536
{
36-
"input": "src/theme/variables.scss"
37+
"input": "src/theme/variables.scss",
38+
"inject": true
3739
},
3840
{
39-
"input": "src/global.scss"
41+
"input": "src/global.scss",
42+
"inject": true
4043
}
4144
],
42-
"scripts": [],
43-
"es5BrowserSupport": true
45+
"scripts": []
4446
},
4547
"configurations": {
4648
"production": {
@@ -53,7 +55,6 @@
5355
"optimization": true,
5456
"outputHashing": "all",
5557
"sourceMap": false,
56-
"extractCss": true,
5758
"namedChunks": false,
5859
"aot": true,
5960
"extractLicenses": true,
@@ -64,10 +65,20 @@
6465
"type": "initial",
6566
"maximumWarning": "2mb",
6667
"maximumError": "5mb"
68+
},
69+
{
70+
"type": "anyComponentStyle",
71+
"maximumWarning": "6kb"
6772
}
6873
]
6974
},
7075
"ci": {
76+
"budgets": [
77+
{
78+
"type": "anyComponentStyle",
79+
"maximumWarning": "6kb"
80+
}
81+
],
7182
"progress": false
7283
}
7384
}

0 commit comments

Comments
 (0)