this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

add types

+40 -5
+1
.gitignore
··· 1 1 .eslintcache 2 2 node_modules 3 + types
+18 -3
package-lock.json
··· 22 22 "eslint-plugin-package-json": "^0.91.0", 23 23 "knip": "^6.4.0", 24 24 "prettier": "^3.5.3", 25 + "typescript": "^6.0.2", 25 26 "xo": "^2.0.2" 26 27 }, 27 28 "engines": { ··· 7457 7458 } 7458 7459 }, 7459 7460 "node_modules/typescript": { 7460 - "version": "5.9.3", 7461 - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", 7462 - "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", 7461 + "version": "6.0.2", 7462 + "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.2.tgz", 7463 + "integrity": "sha512-bGdAIrZ0wiGDo5l8c++HWtbaNCWTS4UTv7RaTH/ThVIgjkveJt83m74bBHMJkuCbslY8ixgLBVZJIOiQlQTjfQ==", 7463 7464 "dev": true, 7464 7465 "license": "Apache-2.0", 7465 7466 "bin": { ··· 7836 7837 "license": "MIT", 7837 7838 "engines": { 7838 7839 "node": "^12.20.0 || ^14.13.1 || >=16.0.0" 7840 + } 7841 + }, 7842 + "node_modules/xo/node_modules/typescript": { 7843 + "version": "5.9.3", 7844 + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", 7845 + "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", 7846 + "dev": true, 7847 + "license": "Apache-2.0", 7848 + "bin": { 7849 + "tsc": "bin/tsc", 7850 + "tsserver": "bin/tsserver" 7851 + }, 7852 + "engines": { 7853 + "node": ">=14.17" 7839 7854 } 7840 7855 }, 7841 7856 "node_modules/yallist": {
+9 -2
package.json
··· 10 10 "author": "Patrik Csak <p@trikcsak.com> (https://patrikcsak.com)", 11 11 "type": "module", 12 12 "exports": { 13 - ".": "./source/index.js" 13 + ".": { 14 + "types": "./types/index.d.ts", 15 + "default": "./source/index.js" 16 + } 14 17 }, 15 18 "files": [ 16 - "source" 19 + "source", 20 + "types" 17 21 ], 18 22 "scripts": { 19 23 "_eslint": "eslint --cache --cache-strategy=content", 20 24 "_knip": "knip --cache", 21 25 "_prettier": "prettier --cache .", 26 + "build": "tsc", 22 27 "format:check": "npm run _prettier -- --check", 23 28 "format:fix": "npm run _prettier -- --write", 24 29 "lint:check": "npm run _eslint", 25 30 "lint:fix": "npm run _eslint -- --fix", 31 + "prepack": "npm run build", 26 32 "quality:check": "npm run format:check && npm run lint:check && npm run unused:check", 27 33 "quality:fix": "npm run format:fix && npm run lint:fix && npm run unused:fix", 28 34 "test": "node --experimental-test-module-mocks --test", ··· 41 47 "eslint-plugin-package-json": "^0.91.0", 42 48 "knip": "^6.4.0", 43 49 "prettier": "^3.5.3", 50 + "typescript": "^6.0.2", 44 51 "xo": "^2.0.2" 45 52 }, 46 53 "engines": {
+12
tsconfig.json
··· 1 + { 2 + "compilerOptions": { 3 + "allowJs": true, 4 + "declaration": true, 5 + "emitDeclarationOnly": true, 6 + "outDir": "types", 7 + "rootDir": "source", 8 + "skipLibCheck": true, 9 + "strict": true 10 + }, 11 + "include": ["source"] 12 + }