-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated build - self hosting fonts and mermaid - fixed some css and js (
#3) * changes * Updated build - self hosting fonts and mermaid * Added NotoSans and some bugfixes -moved to jekyll-src * Added some workflows * Linting changes (#2) Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
2cd31a4
commit 4eefd3a
Showing
48 changed files
with
247 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: "Lint" | ||
|
||
on: [push, workflow_dispatch] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
call-workflow: | ||
uses: michijs/.github/.github/workflows/lint.yml@main | ||
name: "Run lint" | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: "Tests" | ||
|
||
on: [push, workflow_dispatch] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
call-workflow: | ||
strategy: | ||
matrix: | ||
scripts: [{script: test-tsc, name: "Typescript"}] | ||
uses: michijs/.github/.github/workflows/execute-script.yml@main | ||
name: "Run ${{matrix.scripts.name}} tests" | ||
with: | ||
script-name: ${{ matrix.scripts.script }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,38 @@ | ||
Gemfile.lock | ||
_site | ||
.jekyll-cache | ||
.jekyll-cache | ||
.bundle | ||
|
||
dist/ | ||
!www/favicon.ico | ||
www/ | ||
build/ | ||
bun.lockb | ||
jekyll-src/assets/js | ||
|
||
*~ | ||
*.sw[mnpcod] | ||
*.log | ||
*.lock | ||
*.tmp | ||
*.tmp.* | ||
log.txt | ||
*.sublime-project | ||
*.sublime-workspace | ||
|
||
.idea/ | ||
.sass-cache/ | ||
.versions/ | ||
.cache/ | ||
node_modules/ | ||
$RECYCLE.BIN/ | ||
|
||
.DS_Store | ||
Thumbs.db | ||
UserInterfaceState.xcuserstate | ||
.env | ||
|
||
package-lock.json | ||
.eslintcache | ||
|
||
rome.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"explorer.fileNesting.enabled": true, | ||
"explorer.fileNesting.expand": false, | ||
"explorer.fileNesting.patterns": { | ||
"README.md": "*.md", | ||
"Gemfile": "Gemfile.lock, _config.yml", | ||
"package.json": "bun.lockb, .gitignore, tsconfig.json, rome.json, dist.tsconfig.json, LICENSE.md, package-lock.json, jest-puppeteer.config.js, michi.config.ts", | ||
"*.tsx": "$(capture).css, $(capture).css.ts, $(capture).html, $(capture).spec.ts, $(capture).spec.tsx, $(capture).stories.tsx, types.ts, constants.ts", | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,27 @@ | ||
source "https://rubygems.org" | ||
|
||
# 1. bundle install | ||
# 2. bundle exec jekyll serve | ||
gem "jekyll", "~> 3.9.5" | ||
# 1. gem install bundler | ||
# 2. bundle install | ||
# 3. bundle exec jekyll serve --livereload | ||
# gem "jekyll", "~> 3.10.0" | ||
|
||
group :jekyll_plugins do | ||
# https://github.com/github/pages-gem | ||
gem "github-pages", "~> 231" | ||
gem "github-pages", "~> 232" | ||
end | ||
|
||
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem | ||
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby] | ||
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem | ||
# and associated library. | ||
platforms :mingw, :x64_mingw, :mswin, :jruby do | ||
gem "tzinfo", ">= 1", "< 3" | ||
gem "tzinfo-data" | ||
end | ||
|
||
# Performance-booster for watching directories on Windows | ||
gem "wdm", "~> 0.1.0" if Gem.win_platform? | ||
# gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin] | ||
|
||
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem | ||
# do not have a Java counterpart. | ||
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby] | ||
|
||
gem "webrick", "~> 1.9" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,11 +16,6 @@ | |
<link rel="alternate icon" type="image/x-icon" | ||
href="https://raw.githubusercontent.com/michijs/art/main/logo-with-background-square.png"> | ||
<link rel="stylesheet" href="/assets/css/style.css"> | ||
<link rel="preconnect" href="https://fonts.googleapis.com"> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | ||
<link | ||
href="https://fonts.googleapis.com/css2?family=Fira+Code:[email protected]&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap" | ||
rel="stylesheet"> | ||
<title>MichiJS</title> | ||
</head> | ||
|
||
|
@@ -48,7 +43,6 @@ | |
</main> | ||
</body> | ||
|
||
<script src="/assets/js/main.js" type="module"></script> | ||
<script src="/assets/js/mermaid.js" type="module"></script> | ||
<script src="/assets/js/index.js" type="module"></script> | ||
|
||
</html> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.