Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"typescript.tsdk": "node_modules/typescript/lib"
}
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"devDependencies": {
"@evilmartians/lefthook": "^1.6.18",
"@types/node": "^22.0.2",
"@evilmartians/lefthook": "^1.11.3",
"@types/node": "^22.13.10",
"conventional-changelog-conventionalcommits": "^8.0.0",
"lerna": "^8.1.9",
"prettier": "^3.5.1",
"lerna": "^8.2.1",
"prettier": "^3.5.3",
"ts-node": "^10.9.2",
"typescript": "^5.7.3"
"typescript": "^5.8.2"
},
"name": "@tstv/configs",
"private": true,
Expand Down
5 changes: 5 additions & 0 deletions packages/tsconfig-common/myFunction.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Testing "Import Assertions"
// @see https://typescript.tv/new-features/what-are-ecmascript-modules/
import user from './user.json' with {type: 'json'};

export function myFunction(a: number, b: number) {
console.log(user.age);
return a + b;
}
1 change: 0 additions & 1 deletion packages/tsconfig-common/tsconfig-react.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"jsx": "react",
"lib": ["es2022", "dom"],
Expand Down
5 changes: 2 additions & 3 deletions packages/tsconfig-common/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"allowJs": true,
"allowSyntheticDefaultImports": true,
"declaration": true,
"emitDecoratorMetadata": true,
"erasableSyntaxOnly": true,
"esModuleInterop": true,
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
"lib": ["es2023"],
"module": "nodenext",
"moduleResolution": "node16",
"module": "Node18",
"noEmitOnError": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
Expand Down
4 changes: 4 additions & 0 deletions packages/tsconfig-common/user.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"age": 1337,
"name": "Benny"
}
1,445 changes: 692 additions & 753 deletions yarn.lock

Large diffs are not rendered by default.