packages and configs

This commit is contained in:
Egor Aristov 2025-10-25 11:08:03 +03:00
parent 81d855e5a6
commit 3d6cfaaaaa
Signed by: egor3f
GPG Key ID: 40482A264AAEC85F
5 changed files with 104 additions and 70 deletions

50
example/ts/package-lock.json generated Normal file
View File

@ -0,0 +1,50 @@
{
"name": "kitten-ipc-example",
"version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "kitten-ipc-example",
"version": "1.0.0",
"license": "Apache 2.0"
},
"../../../../../../opt/homebrew/lib/node_modules/list": {
"version": "2.0.19",
"extraneous": true,
"license": "MIT",
"devDependencies": {
"@types/chai": "^4.2.3",
"@types/mocha": "^5.2.7",
"@types/ramda": "^0.26.28",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-plugin-annotate-pure-calls": "^0.4.0",
"chai": "4.2.0",
"cherry-pick": "^0.5.0",
"codecov": "^3.6.1",
"fast-check": "^1.17.0",
"mocha": "^6.2.1",
"np": "^5.1.0",
"nyc": "^14.1.1",
"prettier": "1.18.2",
"proptest": "0.0.4",
"ramda": "0.26.1",
"source-map-support": "^0.5.13",
"ts-node": "^8.4.1",
"tslint": "^5.20.0",
"typescript": "^3.6.3"
}
},
"../../lib/ts": {
"name": "kitten-ipc",
"version": "1.0.0",
"extraneous": true,
"license": "Apache 2.0",
"dependencies": {
"@types/node": "^22.10.5",
"ts-events": "^3.4.1"
}
}
}
}

View File

@ -1,13 +1,12 @@
{
"name": "kitten-example-simple",
"name": "kitten-ipc-example",
"version": "1.0.0",
"author": "Egor3f <ef@efprojects.com>",
"license": "Apache 2.0",
"description": "",
"main": "index.js",
"type": "module",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "tsc"
},
"author": "",
"license": "ISC",
"description": ""
}
}

View File

@ -1,46 +1,33 @@
{
// Visit https://aka.ms/tsconfig to read more about this file
"compilerOptions": {
// File Layout
// "rootDir": "./src",
// "outDir": "./dist",
"rootDir": "./src",
"outDir": "./dist",
// Environment Settings
// See also https://aka.ms/tsconfig/module
"module": "nodenext",
"target": "esnext",
"types": [],
// For nodejs:
// "lib": ["esnext"],
// "types": ["node"],
// and npm install -D @types/node
// Other Outputs
"sourceMap": true,
"declaration": true,
"declarationMap": true,
// Stricter Typechecking Options
"noUncheckedIndexedAccess": true,
"exactOptionalPropertyTypes": true,
// Style Options
// "noImplicitReturns": true,
// "noImplicitOverride": true,
// "noUnusedLocals": true,
// "noUnusedParameters": true,
// "noFallthroughCasesInSwitch": true,
// "noPropertyAccessFromIndexSignature": true,
// Recommended Options
"strict": true,
"jsx": "react-jsx",
"verbatimModuleSyntax": true,
"isolatedModules": true,
"noImplicitReturns": true,
"noImplicitOverride": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedSideEffectImports": true,
"moduleDetection": "force",
"skipLibCheck": true,
"allowImportingTsExtensions": true
"moduleDetection": "force",
"verbatimModuleSyntax": true,
// "isolatedModules": true,
// "skipLibCheck": true
}
}

View File

@ -1,14 +1,25 @@
{
"name": "kitten-ipc",
"description": "ipc lib",
"version": "1.0.0",
"main": "lib.ts",
"author": "Egor3f <ef@efprojects.com>",
"license": "Apache 2.0",
"type": "module",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"main": "./dist/index.js",
"types": "./dist/types.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/types.d.ts"
}
},
"author": "",
"license": "ISC",
"description": "",
"scripts": {
"build": "tsc"
},
"dependencies": {
"@types/node": "^22.10.5",
"ts-events": "^3.4.1"

View File

@ -1,46 +1,33 @@
{
// Visit https://aka.ms/tsconfig to read more about this file
"compilerOptions": {
// File Layout
// "rootDir": "./src",
// "outDir": "./dist",
"rootDir": "./src",
"outDir": "./dist",
// Environment Settings
// See also https://aka.ms/tsconfig/module
"module": "nodenext",
"target": "esnext",
"types": ["node"],
// For nodejs:
// "lib": ["esnext"],
// "types": ["node"],
// and npm install -D @types/node
"module": "Node16",
"target": "ES2022",
"lib": ["ES2022"],
// Other Outputs
"sourceMap": true,
"declaration": true,
"declarationMap": true,
// Stricter Typechecking Options
"strict": true,
"noUncheckedIndexedAccess": true,
"exactOptionalPropertyTypes": true,
// Style Options
// "noImplicitReturns": true,
// "noImplicitOverride": true,
// "noUnusedLocals": true,
// "noUnusedParameters": true,
// "noFallthroughCasesInSwitch": true,
// "noPropertyAccessFromIndexSignature": true,
// Recommended Options
"strict": true,
"jsx": "react-jsx",
"verbatimModuleSyntax": true,
"isolatedModules": true,
"noImplicitReturns": true,
"noImplicitOverride": true,
// "noUnusedLocals": true,
// "noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedSideEffectImports": true,
"moduleDetection": "force",
"skipLibCheck": true,
"allowImportingTsExtensions": true
}
"verbatimModuleSyntax": true,
"moduleDetection": "force",
// "isolatedModules": true,
// "skipLibCheck": true
},
"include": ["src"],
"exclude": ["node_modules", "dist"],
}