@rimbu/graph-arrow-valued
Advanced tools
Comparing version 0.7.4 to 0.7.5
@@ -29,3 +29,3 @@ "use strict"; | ||
}; | ||
exports.ArrowValuedGraphHashed = tslib_1.__assign(tslib_1.__assign({}, _defaultContext), _contextHelpers); | ||
exports.ArrowValuedGraphHashed = (0, tslib_1.__assign)((0, tslib_1.__assign)({}, _defaultContext), _contextHelpers); | ||
//# sourceMappingURL=arrow-valued-graph-hashed.js.map |
@@ -29,3 +29,3 @@ "use strict"; | ||
}; | ||
exports.ArrowValuedGraphSorted = tslib_1.__assign(tslib_1.__assign({}, _defaultContext), _contextHelpers); | ||
exports.ArrowValuedGraphSorted = (0, tslib_1.__assign)((0, tslib_1.__assign)({}, _defaultContext), _contextHelpers); | ||
//# sourceMappingURL=arrow-valued-graph-sorted.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./arrow/arrow-valued-graph-base"), exports); | ||
(0, tslib_1.__exportStar)(require("./arrow/arrow-valued-graph-base"), exports); | ||
//# sourceMappingURL=graph-custom.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./internal"), exports); | ||
(0, tslib_1.__exportStar)(require("./internal"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -5,6 +5,6 @@ "use strict"; | ||
var tslib_1 = require("tslib"); | ||
exports.ArrowValuedGraphCustom = tslib_1.__importStar(require("./graph-custom")); | ||
tslib_1.__exportStar(require("./arrow/arrow-valued-graph"), exports); | ||
tslib_1.__exportStar(require("./arrow/arrow-valued-graph-hashed"), exports); | ||
tslib_1.__exportStar(require("./arrow/arrow-valued-graph-sorted"), exports); | ||
exports.ArrowValuedGraphCustom = (0, tslib_1.__importStar)(require("./graph-custom")); | ||
(0, tslib_1.__exportStar)(require("./arrow/arrow-valued-graph"), exports); | ||
(0, tslib_1.__exportStar)(require("./arrow/arrow-valued-graph-hashed"), exports); | ||
(0, tslib_1.__exportStar)(require("./arrow/arrow-valued-graph-sorted"), exports); | ||
//# sourceMappingURL=internal.js.map |
{ | ||
"name": "@rimbu/graph-arrow-valued", | ||
"version": "0.7.4", | ||
"version": "0.7.5", | ||
"description": "Immutable Graph data structures for TypeScript", | ||
@@ -63,9 +63,9 @@ "keywords": [ | ||
"dependencies": { | ||
"@rimbu/collection-types": "^0.7.3", | ||
"@rimbu/common": "^0.7.3", | ||
"@rimbu/graph": "^0.7.4", | ||
"@rimbu/hashed": "^0.6.6", | ||
"@rimbu/sorted": "^0.7.0", | ||
"@rimbu/stream": "^0.7.3", | ||
"tslib": "^2.3.0" | ||
"@rimbu/collection-types": "^0.7.4", | ||
"@rimbu/common": "^0.7.4", | ||
"@rimbu/graph": "^0.7.5", | ||
"@rimbu/hashed": "^0.6.7", | ||
"@rimbu/sorted": "^0.7.1", | ||
"@rimbu/stream": "^0.7.4", | ||
"tslib": "^2.3.1" | ||
}, | ||
@@ -78,3 +78,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "435cbcb64b0c17a52c2af41d0c599c1a895da424" | ||
"gitHead": "e509f9938fad6253702f6b78eb9f8e3b3a8f92ac" | ||
} |
@@ -23,6 +23,8 @@ <p align="center"> | ||
All types are exported through [`@rimbu/core`](../core). It is recommended to use this package. | ||
All types are exported through [`@rimbu/core`](../core). It is recommended to use that package. | ||
To install separately: | ||
### Yarn/NPM | ||
> `yarn add @rimbu/graph-arrow-valued` | ||
@@ -34,4 +36,30 @@ | ||
### recommended tsconfig settings | ||
### Deno | ||
Create a file called `rimbu.ts` and add the following: | ||
> ```ts | ||
> export * from 'https://deno.land/x/rimbu/graph-arrow-valued/mod.ts'; | ||
> ``` | ||
Or using a pinned version (`x.y.z`): | ||
> ```ts | ||
> export * from 'https://deno.land/x/rimbu/graph-arrow-valued@x.y.z/mod.ts'; | ||
> ``` | ||
Then import what you need from `rimbu.ts`: | ||
```ts | ||
import { ArrowValuedGraphHashed } from './rimbu.ts'; | ||
``` | ||
Because Rimbu uses complex types, it's recommended to use the `--no-check` flag (your editor should already have checked your code) and to specify a `tsconfig.json` file with the settings described below. | ||
Running your script then becomes: | ||
> `deno run --no-check --config tsconfig.json <your-script>.ts` | ||
## Recommended `tsconfig.json` settings | ||
Rimbu uses advanced and recursive typing, potentially making the TypeScript compiler quite slow in some cases, or causing infinite recursion. It is recommended to set the following values in the `tsconfig.json` file of your project: | ||
@@ -38,0 +66,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
51864
93
Updated@rimbu/common@^0.7.4
Updated@rimbu/graph@^0.7.5
Updated@rimbu/hashed@^0.6.7
Updated@rimbu/sorted@^0.7.1
Updated@rimbu/stream@^0.7.4
Updatedtslib@^2.3.1