Skip to content

Commit 81debb8

Browse files
Merge pull request #2 from toss/main
feat: Today I Learned project initial commit (with no entry point) (#…
2 parents 40d323e + ffd8fa2 commit 81debb8

File tree

181 files changed

+36436
-3643
lines changed

Some content is hidden

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

181 files changed

+36436
-3643
lines changed

.github/workflows/autofix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ jobs:
2525
cache-dependency-path: "yarn.lock"
2626
node-version-file: ".nvmrc"
2727
- run: yarn install
28-
- run: yarn prettier --write .
28+
- run: yarn prettier --write '**/*.{js,jsx,ts,tsx,json,md,yml,yaml,css,scss,html}' '!.github/**'
2929
- uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,5 @@ __assetManifest.json
4343
**/.vitepress/cache
4444
**/.vitepress/dist
4545

46-
config.mts.*.js
46+
config.mts.*.js
47+
.vercel

.pnp.cjs

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

api/github/login.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ export default async function handler(req, res) {
1212
.json({ error: "GitHub OAuth configuration not complete" });
1313
}
1414

15-
const authUrl = `https://github.com/login/oauth/authorize?client_id=${clientId}&redirect_uri=${encodeURIComponent(redirectUri)}&scope=read:user,user:email,repo`;
15+
const authUrl = `https://github.com/login/oauth/authorize?client_id=${clientId}&redirect_uri=${encodeURIComponent(
16+
redirectUri
17+
)}&scope=read:user,user:email,repo`;
1618

1719
return res.redirect(authUrl);
1820
}

fundamentals/a11y/.vitepress/config.mts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,9 @@ export default defineConfig({
196196
replacement: path.resolve(__dirname, "../../shared")
197197
}
198198
]
199+
},
200+
ssr: {
201+
noExternal: ['vitepress-plugin-tabs']
199202
}
200203
}
201204
});

fundamentals/a11y/.vitepress/theme/Layout.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ html {
2828
scrollbar-gutter: stable;
2929
}
3030
31-
@media (min-width: 960px) {
31+
@media (min-width: 1024px) {
3232
.layout-wrapper {
3333
padding-left: var(--one-navi-width);
3434
}

fundamentals/a11y/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"markdown-it-footnote": "^4.0.0",
1414
"typescript": "^5.6.3",
1515
"vitepress": "^1.4.1",
16-
"vitepress-plugin-tabs": "^0.7.1"
16+
"vitepress-plugin-tabs": "^0.7.1",
17+
"vue": "^3.5.0"
1718
}
1819
}

fundamentals/bundling/.vitepress/config.mts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,9 @@ export default defineConfig({
215215
replacement: path.resolve(__dirname, "../../shared")
216216
}
217217
]
218+
},
219+
ssr: {
220+
noExternal: ['vitepress-plugin-tabs']
218221
}
219222
}
220223
});

fundamentals/bundling/.vitepress/theme/Layout.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ html {
2828
scrollbar-gutter: stable;
2929
}
3030
31-
@media (min-width: 960px) {
31+
@media (min-width: 1024px) {
3232
.layout-wrapper {
3333
padding-left: var(--one-navi-width);
3434
}

fundamentals/bundling/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"markdown-it-footnote": "^4.0.0",
1414
"typescript": "^5.6.3",
1515
"vitepress": "^1.4.1",
16-
"vitepress-plugin-tabs": "^0.7.1"
16+
"vitepress-plugin-tabs": "^0.7.1",
17+
"vue": "^3.5.0"
1718
}
1819
}

0 commit comments

Comments
 (0)