[core] Also provide .d.ts files in the dist directory.

This commit is contained in:
Revone 2023-10-13 10:39:05 +08:00
parent 86e3bb2a94
commit f6c7f4930e
4 changed files with 30 additions and 30 deletions

46
package-lock.json generated
View file

@ -15,17 +15,17 @@
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"auto-changelog": "^2.4.0",
"avl-tree-typed": "^1.35.0",
"avl-tree-typed": "^1.35.1",
"benchmark": "^2.1.4",
"binary-tree-typed": "^1.35.0",
"bst-typed": "^1.35.0",
"binary-tree-typed": "^1.35.1",
"bst-typed": "^1.35.1",
"dependency-cruiser": "^14.1.0",
"eslint": "^8.50.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.28.1",
"heap-typed": "^1.35.0",
"heap-typed": "^1.35.1",
"istanbul-badges-readme": "^1.8.5",
"jest": "^29.7.0",
"prettier": "^3.0.3",
@ -2393,12 +2393,12 @@
}
},
"node_modules/avl-tree-typed": {
"version": "1.35.0",
"resolved": "https://registry.npmjs.org/avl-tree-typed/-/avl-tree-typed-1.35.0.tgz",
"integrity": "sha512-8OBbwPK4szObPywI9EYmF3KHbxdfaLcG235hoKxDkCni0kDhco02byfI2XMkrulNess14+klFmUIjHi6GhVIUQ==",
"version": "1.35.1",
"resolved": "https://registry.npmjs.org/avl-tree-typed/-/avl-tree-typed-1.35.1.tgz",
"integrity": "sha512-RoJCVIZwebvY4naJHFoPgJBpFk+K0ATB4bWAd+uNYtMifGzHwKMJrJWSP8dpKazkVKT5q5/r+B/UHGE3fpIWUg==",
"dev": true,
"dependencies": {
"data-structure-typed": "^1.35.0"
"data-structure-typed": "^1.35.1"
}
},
"node_modules/babel-jest": {
@ -2583,12 +2583,12 @@
}
},
"node_modules/binary-tree-typed": {
"version": "1.35.0",
"resolved": "https://registry.npmjs.org/binary-tree-typed/-/binary-tree-typed-1.35.0.tgz",
"integrity": "sha512-RdOMokIP2qhRV5OiVt2nF/zIO7KpkKLyB4j4/w0TJASMlDF/X0JdouAcECYvcgbegH0WMWKE5N9Iko0dsC4J3Q==",
"version": "1.35.1",
"resolved": "https://registry.npmjs.org/binary-tree-typed/-/binary-tree-typed-1.35.1.tgz",
"integrity": "sha512-X92aIl9AJyqcNsZWbxAs7ZV/LTibfTuRCoKSjnMVXiKNP+5EGknU/CHOiQOIuprFehroZuEBeRjgT2BMWxu38A==",
"dev": true,
"dependencies": {
"data-structure-typed": "^1.35.0"
"data-structure-typed": "^1.35.1"
}
},
"node_modules/brace-expansion": {
@ -2667,12 +2667,12 @@
}
},
"node_modules/bst-typed": {
"version": "1.35.0",
"resolved": "https://registry.npmjs.org/bst-typed/-/bst-typed-1.35.0.tgz",
"integrity": "sha512-sROm+OgzOfwJHGppyF2M07SjRLkjg+pL7V6Q8jxC2knGuDz48fBEslWGzcXY8QXlDI01Ry+oT2I13XMztMPEWw==",
"version": "1.35.1",
"resolved": "https://registry.npmjs.org/bst-typed/-/bst-typed-1.35.1.tgz",
"integrity": "sha512-1u9vtKvT+KlYNx+lkoBerl2wT3joKuI7dmINL7LEJoYIx2ew1m5NC5craCnd9RYNvqiwgrpV2Q0UuD3qEB8AkQ==",
"dev": true,
"dependencies": {
"data-structure-typed": "^1.35.0"
"data-structure-typed": "^1.35.1"
}
},
"node_modules/buffer-from": {
@ -3024,9 +3024,9 @@
}
},
"node_modules/data-structure-typed": {
"version": "1.35.0",
"resolved": "https://registry.npmjs.org/data-structure-typed/-/data-structure-typed-1.35.0.tgz",
"integrity": "sha512-Z3ikrs4DfH0rkoAl6zHCJZaiJXk/B1H/OJM+b0wmOs/VBxQbL8bR1C0ddRUU3oHgn/sHclQHkgKSJjAbew6ppQ==",
"version": "1.35.1",
"resolved": "https://registry.npmjs.org/data-structure-typed/-/data-structure-typed-1.35.1.tgz",
"integrity": "sha512-L9n2IZkMiI+UHfVnkGBie5c13gDtBXLZhiMhvMbV9TabwIRBrUKOwrMQ72A0bQFCGkEbDIR+WOL7XKwxrsracg==",
"dev": true
},
"node_modules/debug": {
@ -4356,12 +4356,12 @@
}
},
"node_modules/heap-typed": {
"version": "1.35.0",
"resolved": "https://registry.npmjs.org/heap-typed/-/heap-typed-1.35.0.tgz",
"integrity": "sha512-uSvnquwGTNxw0DsH85mp9D6LMXT3F14enPkrYVrTxShiwaxQVWHmdfYgLVFOW73vNlKR5pRUqbBtUJ6mA+IUNA==",
"version": "1.35.1",
"resolved": "https://registry.npmjs.org/heap-typed/-/heap-typed-1.35.1.tgz",
"integrity": "sha512-Z8CGPftOZG9PKGsAPS2n5YjcNe2Q6hcFBhVeCMXC2UxZ9AptMU2ct8/xswPdGSypcI3AuPp9pyTZt2N8FoitYw==",
"dev": true,
"dependencies": {
"data-structure-typed": "^1.35.0"
"data-structure-typed": "^1.35.1"
}
},
"node_modules/html-escaper": {

View file

@ -1,13 +1,12 @@
{
"name": "data-structure-typed",
"version": "1.35.1",
"version": "1.4.0-rc",
"description": "Data Structures of Javascript & TypeScript. Binary Tree, BST, Graph, Heap, Priority Queue, Linked List, Queue, Deque, Stack, AVL Tree, Tree Multiset, Trie, Directed Graph, Undirected Graph, Singly Linked List, Doubly Linked List, Max Heap, Max Priority Queue, Min Heap, Min Priority Queue.",
"main": "dist/index.js",
"module": "lib/index.js",
"types": "lib/index.d.ts",
"source": "src/index.ts",
"umd:main": "umd/bundle.min.js",
"type": "module",
"exports": {
"import": "./lib/index.js",
"require": "./dist/index.js"
@ -55,17 +54,17 @@
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"auto-changelog": "^2.4.0",
"avl-tree-typed": "^1.35.0",
"avl-tree-typed": "^1.35.1",
"benchmark": "^2.1.4",
"binary-tree-typed": "^1.35.0",
"bst-typed": "^1.35.0",
"binary-tree-typed": "^1.35.1",
"bst-typed": "^1.35.1",
"dependency-cruiser": "^14.1.0",
"eslint": "^8.50.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.28.1",
"heap-typed": "^1.35.0",
"heap-typed": "^1.35.1",
"istanbul-badges-readme": "^1.8.5",
"jest": "^29.7.0",
"prettier": "^3.0.3",

View file

@ -12,6 +12,7 @@
"moduleResolution": "node",
"skipLibCheck": true,
"downlevelIteration": true,
"removeComments": false,
"experimentalDecorators": true,
"typeRoots": [
"node_modules/@types"

View file

@ -10,7 +10,7 @@
"sourceMap": true,
"strict": true,
"downlevelIteration": true,
"removeComments": true,
"removeComments": false,
"typeRoots": [
"node_modules/@types"
]