@effect/platform-node
Advanced tools
Comparing version
@@ -12,3 +12,3 @@ "use strict"; | ||
var Path = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("./Path.js")); | ||
var Terminal = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("./Terminal.js")); | ||
var Worker = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("./Worker.js")); | ||
function _getRequireWildcardCache(e) { | ||
@@ -47,3 +47,3 @@ if ("function" != typeof WeakMap) return null; | ||
*/ | ||
const layer = exports.layer = /*#__PURE__*/(0, _Function.pipe)(FileSystem.layer, /*#__PURE__*/Layer.merge(Path.layer), /*#__PURE__*/Layer.merge(Terminal.layer), /*#__PURE__*/Layer.merge( /*#__PURE__*/Layer.provideMerge(FileSystem.layer, CommandExecutor.layer))); | ||
const layer = exports.layer = /*#__PURE__*/(0, _Function.pipe)(FileSystem.layer, /*#__PURE__*/Layer.merge(Path.layer), /*#__PURE__*/Layer.merge( /*#__PURE__*/Layer.provideMerge(FileSystem.layer, CommandExecutor.layer)), /*#__PURE__*/Layer.merge(Worker.layerManager)); | ||
//# sourceMappingURL=NodeContext.js.map |
@@ -5,3 +5,3 @@ import * as Layer from "effect/Layer"; | ||
import * as Path from "./Path.js"; | ||
import * as Terminal from "./Terminal.js"; | ||
import * as Worker from "./Worker.js"; | ||
/** | ||
@@ -11,3 +11,3 @@ * @since 1.0.0 | ||
*/ | ||
export type NodeContext = CommandExecutor.CommandExecutor | FileSystem.FileSystem | Path.Path | Terminal.Terminal; | ||
export type NodeContext = CommandExecutor.CommandExecutor | FileSystem.FileSystem | Path.Path | Worker.WorkerManager; | ||
/** | ||
@@ -14,0 +14,0 @@ * @since 1.0.0 |
@@ -9,3 +9,3 @@ /** | ||
import * as Path from "./Path.js"; | ||
import * as Terminal from "./Terminal.js"; | ||
import * as Worker from "./Worker.js"; | ||
/** | ||
@@ -15,3 +15,3 @@ * @since 1.0.0 | ||
*/ | ||
export const layer = /*#__PURE__*/pipe(FileSystem.layer, /*#__PURE__*/Layer.merge(Path.layer), /*#__PURE__*/Layer.merge(Terminal.layer), /*#__PURE__*/Layer.merge( /*#__PURE__*/Layer.provideMerge(FileSystem.layer, CommandExecutor.layer))); | ||
export const layer = /*#__PURE__*/pipe(FileSystem.layer, /*#__PURE__*/Layer.merge(Path.layer), /*#__PURE__*/Layer.merge( /*#__PURE__*/Layer.provideMerge(FileSystem.layer, CommandExecutor.layer)), /*#__PURE__*/Layer.merge(Worker.layerManager)); | ||
//# sourceMappingURL=NodeContext.js.map |
{ | ||
"name": "@effect/platform-node", | ||
"version": "0.31.6", | ||
"version": "0.31.7", | ||
"description": "Unified interfaces for common platform-specific services", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -9,3 +9,3 @@ /** | ||
import * as Path from "./Path.js" | ||
import * as Terminal from "./Terminal.js" | ||
import * as Worker from "./Worker.js" | ||
@@ -20,3 +20,3 @@ /** | ||
| Path.Path | ||
| Terminal.Terminal | ||
| Worker.WorkerManager | ||
@@ -30,4 +30,4 @@ /** | ||
Layer.merge(Path.layer), | ||
Layer.merge(Terminal.layer), | ||
Layer.merge(Layer.provideMerge(FileSystem.layer, CommandExecutor.layer)) | ||
Layer.merge(Layer.provideMerge(FileSystem.layer, CommandExecutor.layer)), | ||
Layer.merge(Worker.layerManager) | ||
) |
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
579704
0.01%