Skip to content

Commit

Permalink
2023-09-13T09:09:26.059Z
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpocock committed Sep 13, 2023
1 parent cc8165c commit e4478d4
Show file tree
Hide file tree
Showing 49 changed files with 360 additions and 0 deletions.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "exercise",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"dev": "run-p dev:*",
"dev:client": "tsc --project ./src/client/tsconfig.json --watch",
"dev:server": "tsc --project ./src/server/tsconfig.json --watch"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
document.addEventListener("DOMContentLoaded", () => {
const app = document.querySelector("#app")!;
app.innerHTML = "Hello World!";
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"lib": [
"ES2022",
"DOM",
"DOM.Iterable"
]
},
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @ts-expect-error
document;
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"lib": [
"ES2022"
]
},
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "Bundler",
"esModuleInterop": true,
"noEmit": true,
"strict": true,
"skipLibCheck": true,
"isolatedModules": true,
},
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "exercise",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"dev": "tsc -b --watch"
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
document.addEventListener("DOMContentLoaded", () => {
const app = document.querySelector("#app")!;
app.innerHTML = "Hello World!";
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"lib": [
"ES2022",
"DOM",
"DOM.Iterable"
]
},
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @ts-expect-error
document;
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"lib": [
"ES2022"
]
},
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "Bundler",
"esModuleInterop": true,
"noEmit": true,
"strict": true,
"skipLibCheck": true,
"isolatedModules": true,
},
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"references": [
{
"path": "./src/client/tsconfig.json"
},
{
"path": "./src/server/tsconfig.json"
}
],
"files": []
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "exercise",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"dev": "tsc -b --watch"
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
document.addEventListener("DOMContentLoaded", () => {
const app = document.querySelector("#app")!;
app.innerHTML = "Hello World!";
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @ts-expect-error
document;
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "Bundler",
"esModuleInterop": true,
"noEmit": true,
"strict": true,
"skipLibCheck": true,
"isolatedModules": true,
},
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"extends": "./tsconfig.base.json",
"compilerOptions": {
"lib": [
"ES2022",
"DOM",
"DOM.Iterable"
]
},
"include": [
"src/client"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"references": [
{
"path": "./tsconfig.client.json"
},
{
"path": "./tsconfig.server.json"
}
],
"files": []
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"extends": "./tsconfig.base.json",
"compilerOptions": {
"lib": [
"ES2022"
]
},
"include": [
"src/server"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "Bundler",
"esModuleInterop": true,
"noEmit": true,
"strict": true,
"skipLibCheck": true,
"isolatedModules": true,
},
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"extends": "./tsconfig.base.json",
"compilerOptions": {
"lib": [
"ES2022",
"DOM",
"DOM.Iterable"
]
},
"include": [
"../src/client"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"extends": "./tsconfig.base.json",
"compilerOptions": {
"lib": [
"ES2022"
]
},
"include": [
"../src/server"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "exercise",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"dev": "tsc -b --watch"
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
document.addEventListener("DOMContentLoaded", () => {
const app = document.querySelector("#app")!;
app.innerHTML = "Hello World!";
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @ts-expect-error
document;
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"references": [
{
"path": "./.config/tsconfig.client.json"
},
{
"path": "./.config/tsconfig.server.json"
}
],
"files": []
}
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "exercise",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"dev": "tsc -b --watch"
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
document.addEventListener("DOMContentLoaded", () => {
const app = document.querySelector("#app")!;
app.innerHTML = "Hello World!";
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"lib": [
"ES2022",
"DOM",
"DOM.Iterable"
]
},
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @ts-expect-error
document;
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"lib": [
"ES2022"
]
},
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "Bundler",
"esModuleInterop": true,
"noEmit": true,
"strict": true,
"skipLibCheck": true,
"isolatedModules": true,
},
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"references": [
{
"path": "./src/client/tsconfig.json"
},
{
"path": "./src/server/tsconfig.json"
}
],
"files": []
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.tsbuildinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "exercise",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"dev": "tsc -b --watch"
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
document.addEventListener("DOMContentLoaded", () => {
const app = document.querySelector("#app")!;
app.innerHTML = "Hello World!";
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"lib": [
"ES2022",
"DOM",
"DOM.Iterable"
]
},
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @ts-expect-error
document;
Loading

0 comments on commit e4478d4

Please sign in to comment.