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

Commit 438487a

Browse files
authored
New website typescript + Webpack 🚀
Typescript + Webpack
2 parents aebfdfa + 5bdfa0b commit 438487a

File tree

112 files changed

+4266
-4870
lines changed

Some content is hidden

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

112 files changed

+4266
-4870
lines changed

.eslintignore

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1-
# ignore flow typed folder
1+
# gulpfile
2+
gulpfile.babel.js
23

3-
_js/flow-typed
4+
# Service worker
5+
sw.js
6+
sw-cache-polyfill.js
7+
8+
# ThreeJS
9+
_ts/home/scene-threejs.js

.eslintrc.json

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,15 @@
11
{
2+
"root": true,
3+
"parser": "@typescript-eslint/parser",
24
"extends": [
3-
"standard",
4-
"plugin:flowtype/recommended"
5+
"eslint:recommended",
6+
"plugin:@typescript-eslint/eslint-recommended",
7+
"plugin:@typescript-eslint/recommended"
58
],
69
"plugins": [
7-
"flowtype"
10+
"@typescript-eslint"
811
],
912
"env": {
1013
"browser": true
11-
},
12-
"rules": {
13-
"flowtype/no-types-missing-file-annotation": 0
14-
},
15-
"globals": {
16-
"ga": "readonly"
17-
},
18-
"settings": {
19-
"flowtype": {
20-
"onlyFilesWithFlowAnnotation": true
21-
}
2214
}
2315
}

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
# Change Log
22
All changes to Chicio coding will be documented in this file.
33

4+
## [3.0.0](https://github.com/chicio/chicio.github.io/releases/tag/3.0.0)
5+
Release date: 2020-05-16
6+
7+
#### Added
8+
9+
- TypeScript instead of flow
10+
- Removed programmatic tracking for offline pages
11+
- Lighthouse audit with lhci is now only in the github actions
12+
- Webpack Chucks and Dynamic imports: threejs now is included only if it is needed
13+
- Webpack css bundling
14+
- Js and css versioning using Webpack.
15+
- Removed service worker ad hoc url generation
16+
417
## [2.2.0](https://github.com/chicio/chicio.github.io/releases/tag/2.2.0)
518
Release date: 2020-05-16
619

_config.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,6 @@ exclude:
5454
- gulpfile.js
5555
- gulpfile.babel.js
5656
- material
57-
- dependencies-js-home.html
58-
- dependencies-js-blog.html
59-
- dependencies-css-home.html
60-
- dependencies-css-blog-archive.html
61-
- dependencies-css-blog-home.html
62-
- dependencies-css-blog-post.html
63-
- dependencies-css-blog-tags.html
64-
- dependencies-css-privacy-policy.html
65-
- dependencies-css-cookie-policy.html
6657
- CNAME
6758
- pages-gem
6859
- chicio.github.io.code-workspace

_css/youtube.scss

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
overflow: hidden;
88
margin-top: 10px;
99
margin-bottom: 10px;
10-
}
11-
12-
.embed-container iframe, .embed-container object, .embed-container embed {
13-
position: absolute;
14-
top: 0;
15-
left: 0;
16-
width: 100%;
17-
height: 100%;
18-
}
10+
11+
iframe, .embed-container object, .embed-container embed {
12+
position: absolute;
13+
top: 0;
14+
left: 0;
15+
width: 100%;
16+
height: 100%;
17+
}
18+
}

_data/tracking.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ category:
4242
cookie_policy: "cookie_policy"
4343
privacy_policy: "privacy_policy"
4444
notfound: "notfound"
45-
offline: "offline"
4645

4746
label:
4847
footer: "footer"

_data/webpack.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
hash: 302c6850453dab66808d

_includes/critical-blog-post-archive.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)