From 356cd177ec6378721bdbf4864dd2530180a0bf1e Mon Sep 17 00:00:00 2001 From: KillerBossOriginal Date: Sun, 5 Feb 2023 13:17:25 +0100 Subject: [PATCH] 2023.02.05-2 --- .github/workflows/npm-publish.yml | 4 ++++ .gitignore | 3 ++- package.json | 8 +++++--- tsconfig.json | 2 +- tsconfig.tsbuildinfo | 1 + 5 files changed, 13 insertions(+), 5 deletions(-) create mode 100644 tsconfig.tsbuildinfo diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index d7df9ea..fb4fcb4 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -14,6 +14,10 @@ jobs: node-version: '16.x' registry-url: 'https://registry.npmjs.org' scope: '@thundernetworkrad' + - name: Install Dependency + run: npm i + - name: Build + run: npm run build - name: Publish package on NPM 📦 run: npm publish --access public env: diff --git a/.gitignore b/.gitignore index 25c8fdb..a049075 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules -package-lock.json \ No newline at end of file +package-lock.json +build \ No newline at end of file diff --git a/package.json b/package.json index 844e920..3425af4 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name": "mit.db", - "version": "2023.02.05-1", + "version": "2023.02.05-2", "description": "An easy and quick database", "main": "build/index.js", "types": "build/index.d.ts", "scripts": { - "install": "tsc" + "build": "tsc" }, "repository": { "type": "git", @@ -18,8 +18,10 @@ }, "homepage": "https://github.com/ThunderNetworkRaD/map.db#readme", "dependencies": { - "@types/node": "^18.11.18", "tslib": "^2.4.1", "typescript": "^4.9.5" + }, + "devDependencies": { + "@types/node": "^18.11.19" } } diff --git a/tsconfig.json b/tsconfig.json index 56ec083..bae4068 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -26,7 +26,7 @@ /* Modules */ "module": "CommonJS", /* Specify what module code is generated. */ - "rootDir": "./src/", /* Specify the root folder within your source files. */ + "rootDir": "src", /* Specify the root folder within your source files. */ "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */ // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ diff --git a/tsconfig.tsbuildinfo b/tsconfig.tsbuildinfo new file mode 100644 index 0000000..1f609e6 --- /dev/null +++ b/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../../usr/share/nodejs/typescript/lib/lib.es5.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2015.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2016.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2017.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2018.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2019.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2020.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2021.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.esnext.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.dom.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.dom.iterable.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.webworker.importscripts.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.scripthost.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2015.core.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2015.collection.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2015.generator.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2015.iterable.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2015.promise.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2015.proxy.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2015.reflect.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2015.symbol.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2016.array.include.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2017.object.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2017.string.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2017.intl.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2018.intl.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2018.promise.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2018.regexp.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2019.array.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2019.object.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2019.string.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2019.symbol.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2020.bigint.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2020.promise.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2020.string.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2020.intl.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2021.promise.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2021.string.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2021.weakref.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.es2021.intl.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.esnext.intl.d.ts","../../../../usr/share/nodejs/typescript/lib/lib.esnext.full.d.ts","./src/index.ts"],"fileInfos":[{"version":"dadcdf3a8c37080fb5bc64750a3c27b178e376ff02142f6df03ac0778850b622","affectsGlobalScope":true},"e8d2e50f9e8fdd312d31f97571b4c7295b8f29f7f8363498edae2a9eb113ee36","4b1854aec637e8e041eff02899e16fd3c0c78685c622336aadfd67e6604bbe1b","d6f7d47355a0167969e9a8eedfb0994f21e038d360965ec06c30f6871038900b","4735756aff7c5857de387f321633f272e2daba4950c427ab200de954340c7c13","4cac3201303b24c71d334bcdab63aee38b7424f51ba9f8884515705b7cba7606","f59097764af44b6038195f8ef1ac7fb21a8ab5ca66585982e3028430c6846ed6","80510205fb587019e1ad42bfbc046d4f55f3c5a1c8b3debca7d6fe0adc93959f","03cd07455741090d72ba6a7b21c67900b18cf68366b5e8c29ac239329fd789bc",{"version":"4ccd8a7993c9cfb684fefc2d082674cbd1ee1bfc2e58df6e4320b729f8efdea6","affectsGlobalScope":true},{"version":"52c80cc26accc88eed5d64b7e518ab2435b6d81c1da13a6031dd66ba2fb2d68d","affectsGlobalScope":true},{"version":"c364b5b0e0598d670c5ef4468e6e256c8d3a26b229e7699b6499befb2978373f","affectsGlobalScope":true},{"version":"3c7bf0c38d837f3bcc222f55d3b1a5808dbbcb13dba2a891a0956e8d2625ae26","affectsGlobalScope":true},{"version":"1698099d91846788bb88832710d14690d1474ac5b911a4cc40c40640202549af","affectsGlobalScope":true},{"version":"5a8c535851f6cb0d376f135a2a6640dec8070d48d03072c2f1ab70528d7cb4fe","affectsGlobalScope":true},{"version":"28065193ddf88bf697915b9236d2d00a27e85726563e88474f166790376e10d8","affectsGlobalScope":true},{"version":"5ae8604583db39e78e2d0a0685186f2cb6816fcd107e4ec290aa21d67dc6d64e","affectsGlobalScope":true},{"version":"93244f18d7b4e03df9b368257cdbcc90e7f833c9fd473213c4d182d02bde5df6","affectsGlobalScope":true},{"version":"fabe256ae14920149045215ce771a898aa2698b1b91fabaf5b716b53a33e9f8e","affectsGlobalScope":true},{"version":"6bea5787583501f63a4038b4d90962d044f99ac739dda29d03bc0ce6702b8fba","affectsGlobalScope":true},{"version":"e5d8d715990d96a37f3521a3f1460679507b261eec1b42dc84d4de835997b794","affectsGlobalScope":true},{"version":"622b6f32c2b022056eaced4449675b73b963d2c95e812e7c994e9a1d678395e5","affectsGlobalScope":true},{"version":"a003a6051b48dc64eaa8ad83789e4c2a540f3482bed821053b6770969bd598fb","affectsGlobalScope":true},{"version":"e90857fa86cecc3bc964a2d7db9d95a0c406bebfadeb4853a01a0079936f12f7","affectsGlobalScope":true},{"version":"8bbb03589e48f10b49996064f35256e858d205dcb364428fb4cc045061b1d786","affectsGlobalScope":true},{"version":"5044747370afee4b4c247e8a14c2969d245bbcf8396295dc5a60c659d796a71f","affectsGlobalScope":true},{"version":"d42841f3fb4fc368f35cba018a81bd0b38f1d00ae9b0449a63ab47ac1bcaba10","affectsGlobalScope":true},{"version":"a894424c7058bcc77c1a3c92fe289c0ff93792e583e064c683d021879479f7b8","affectsGlobalScope":true},{"version":"8f03386d697248c5d356fd53f2729b920ea124cd1414a6c22de03c5d24729277","affectsGlobalScope":true},{"version":"21ac76354ecc1324ee2e31ac5fcebfa91b1b6beb3e8c3fe6f3988538e9629c73","affectsGlobalScope":true},{"version":"0f71e010899461f256a976d1bece8f39710a8661ced0ae3a4a757f61e0b0200d","affectsGlobalScope":true},{"version":"fe7acdc1039eca904399190766d1c8766b7d2621413f972c8542dddd69612097","affectsGlobalScope":true},{"version":"c25aa843b930662d62f0e853dd1f347d08b66cdec09bd760151d4ba6ce220fe6","affectsGlobalScope":true},{"version":"3e47477f297e4fa0d556c40a872c2c45bddefa487fd054bf1f80bceb527a682b","affectsGlobalScope":true},{"version":"a902be9f4116b449dbac07ffe3f4d69abb664f8eddfaeb892225612469213788","affectsGlobalScope":true},{"version":"155d8d1e367e05af5e5708a860825785f00eabae01744cf7bc569664301415a4","affectsGlobalScope":true},{"version":"5b30b81cdeb239772daf44e6c0d5bf6adec9dbf8d534ed25c9a0e8a43b9abfff","affectsGlobalScope":true},{"version":"061f40294b7ad6ac2167c63159a20a50cee9f90299bf15584c35b251fef62990","affectsGlobalScope":true},{"version":"d836a4258d6b5ee12054b802002d7c9c5eb6a1adb6a654f0ee9429cbda03e1a0","affectsGlobalScope":true},{"version":"c021bff90eb33d29edfde16c9b861097bbf99aa290726d0d0ac65330aa7be85a","affectsGlobalScope":true},{"version":"1c4e64dc374ea5922d7632a52b167187ba7c7e35b34d3c1e22625be66ca1576d","affectsGlobalScope":true},{"version":"cd1bebc4db8fb52c5618ecad3f511f62c78921451c198220c5b2ee5610b4d7b9","affectsGlobalScope":true},{"version":"60232641bf6d841a87a1a6b1712c981fbf19101716f3ef061c325e4b15fcf616","affectsGlobalScope":true},{"version":"868df11ccdabb6de564f70b68aa6b379a243ef32c8f6ee6dc71056a3dd54578a","affectsGlobalScope":true},{"version":"cebef4c7f9b6afb02cd08e7288fab05d0be3e3c898c720775b8aa286e9f7cfed","affectsGlobalScope":true},{"version":"7e3c49afe9bf537f68ce2487d7996c6e5c2350c0f250939726add1efcb1bcf01","affectsGlobalScope":true},{"version":"6edba3b6648ad3377e6bab703ac0bf9e5bd1a8c7bdf627aba60d672fb67e3c6b","affectsGlobalScope":true},{"version":"8adc0c1352e476633bb3acef761c6960bddce23e3e15a180ca4528b4f2fc569b","affectsGlobalScope":true},"5de06a696919e5be6b72598e45f4087b4c1bd57ca13da335b63dbd58f66b3a7c","a877908afdfb81b3d711acd283a625cff3ccd9dbf7f2c85c4c08994cf16960de"],"options":{"declaration":true,"declarationDir":"./build","declarationMap":true,"esModuleInterop":true,"exactOptionalPropertyTypes":true,"importHelpers":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitAny":true,"noImplicitOverride":true,"noImplicitReturns":true,"noImplicitThis":true,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./build","removeComments":true,"rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"strictNullChecks":true,"strictPropertyInitialization":true,"target":99,"useUnknownInCatchVariables":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[50,[{"file":"./src/index.ts","start":16,"length":13,"messageText":"Cannot find module 'fs/promises' or its corresponding type declarations.","category":1,"code":2307},{"file":"./src/index.ts","start":46,"length":4,"messageText":"Cannot find module 'fs' or its corresponding type declarations.","category":1,"code":2307}]],10,11,15,14,2,16,17,18,19,20,21,22,23,3,4,27,24,25,26,28,29,30,5,31,32,33,34,6,35,36,37,38,7,43,39,40,41,42,8,47,44,45,46,1,9,49,48,13,12]},"version":"4.5.4"} \ No newline at end of file