mirror of
https://github.com/clarencechaan/ufc-cal.git
synced 2026-10-19 00:38:30 -07:00
Add typescript dev dependency
This commit is contained in:
1 parent
226ec8daba
commit
e0c5ddc2ff
5 files changed
+38
-4
No files matched your search
Generated
+16
-1
@@ -13,7 +13,8 @@
|
|||||||
"html-entities": "^2.4.0",
|
"html-entities": "^2.4.0",
|
||||||
"ics": "^3.4.0",
|
"ics": "^3.4.0",
|
||||||
"node-html-parser": "^6.1.9",
|
"node-html-parser": "^6.1.9",
|
||||||
"tsx": "^4.19.2"
|
"tsx": "^4.19.2",
|
||||||
|
"typescript": "^5.7.3"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@esbuild/aix-ppc64": {
|
"node_modules/@esbuild/aix-ppc64": {
|
||||||
@@ -738,6 +739,20 @@
|
|||||||
"url": "https://github.com/sponsors/sindresorhus"
|
"url": "https://github.com/sponsors/sindresorhus"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/typescript": {
|
||||||
|
"version": "5.7.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz",
|
||||||
|
"integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "Apache-2.0",
|
||||||
|
"bin": {
|
||||||
|
"tsc": "bin/tsc",
|
||||||
|
"tsserver": "bin/tsserver"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=14.17"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/undici-types": {
|
"node_modules/undici-types": {
|
||||||
"version": "6.20.0",
|
"version": "6.20.0",
|
||||||
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz",
|
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz",
|
||||||
|
|||||||
+3
-2
@@ -2,7 +2,7 @@
|
|||||||
"name": "ufc-cal",
|
"name": "ufc-cal",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "src/index.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
"start": "npx tsx src/index.ts"
|
"start": "npx tsx src/index.ts"
|
||||||
@@ -14,7 +14,8 @@
|
|||||||
"html-entities": "^2.4.0",
|
"html-entities": "^2.4.0",
|
||||||
"ics": "^3.4.0",
|
"ics": "^3.4.0",
|
||||||
"node-html-parser": "^6.1.9",
|
"node-html-parser": "^6.1.9",
|
||||||
"tsx": "^4.19.2"
|
"tsx": "^4.19.2",
|
||||||
|
"typescript": "^5.7.3"
|
||||||
},
|
},
|
||||||
"type": "module"
|
"type": "module"
|
||||||
}
|
}
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
import { getAllDetailedEvents } from "./scrape.js";
|
import { getAllDetailedEvents } from "./scrape.js";
|
||||||
import * as fs from "fs";
|
import * as fs from "fs";
|
||||||
import { createEvents, DateArray, EventAttributes } from "ics";
|
import { createEvents, type DateArray, type EventAttributes } from "ics";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Extracts the details of recent and upcoming UFC events, then creates an
|
* Extracts the details of recent and upcoming UFC events, then creates an
|
||||||
|
|||||||
Vendored
File renamed without changes.
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"skipLibCheck": true,
|
||||||
|
"target": "es2022",
|
||||||
|
"allowJs": true,
|
||||||
|
"resolveJsonModule": true,
|
||||||
|
"moduleDetection": "force",
|
||||||
|
"isolatedModules": true,
|
||||||
|
"verbatimModuleSyntax": true,
|
||||||
|
"strict": true,
|
||||||
|
"noUncheckedIndexedAccess": true,
|
||||||
|
"noImplicitOverride": true,
|
||||||
|
"module": "preserve",
|
||||||
|
"noEmit": true,
|
||||||
|
"lib": ["es2022"]
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in new issue
Block a user