@effect/platform-node
Advanced tools
Comparing version 0.12.1 to 0.13.0
import * as Layer from "@effect/io/Layer"; | ||
import * as CommandExecutor from "@effect/platform-node/CommandExecutor"; | ||
import * as Console from "@effect/platform-node/Console"; | ||
import * as FileSystem from "@effect/platform-node/FileSystem"; | ||
@@ -10,3 +9,3 @@ import * as Path from "@effect/platform-node/Path"; | ||
*/ | ||
export type NodeContext = Console.Console | CommandExecutor.CommandExecutor | FileSystem.FileSystem | Path.Path; | ||
export type NodeContext = CommandExecutor.CommandExecutor | FileSystem.FileSystem | Path.Path; | ||
/** | ||
@@ -13,0 +12,0 @@ * @since 1.0.0 |
@@ -9,3 +9,2 @@ "use strict"; | ||
var CommandExecutor = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform-node/CommandExecutor")); | ||
var Console = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform-node/Console")); | ||
var FileSystem = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform-node/FileSystem")); | ||
@@ -23,4 +22,4 @@ var Path = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform-node/Path")); | ||
*/ | ||
const layer = /*#__PURE__*/Layer.merge(Layer.provideMerge(FileSystem.layer, CommandExecutor.layer))( /*#__PURE__*/Layer.merge(Path.layer)( /*#__PURE__*/Layer.merge(FileSystem.layer)(Console.layer))); | ||
const layer = /*#__PURE__*/Layer.merge(Layer.provideMerge(FileSystem.layer, CommandExecutor.layer))( /*#__PURE__*/Layer.merge(Path.layer)(FileSystem.layer)); | ||
exports.layer = layer; | ||
//# sourceMappingURL=NodeContext.js.map |
{ | ||
"name": "@effect/platform-node", | ||
"version": "0.12.1", | ||
"version": "0.13.0", | ||
"description": "Unified interfaces for common platform-specific services", | ||
@@ -34,4 +34,4 @@ "license": "MIT", | ||
"@effect/stream": "^0.34.0", | ||
"@effect/platform": "^0.12.1" | ||
"@effect/platform": "^0.13.0" | ||
} | ||
} |
@@ -7,3 +7,2 @@ /** | ||
import * as CommandExecutor from "@effect/platform-node/CommandExecutor" | ||
import * as Console from "@effect/platform-node/Console" | ||
import * as FileSystem from "@effect/platform-node/FileSystem" | ||
@@ -16,3 +15,3 @@ import * as Path from "@effect/platform-node/Path" | ||
*/ | ||
export type NodeContext = Console.Console | CommandExecutor.CommandExecutor | FileSystem.FileSystem | Path.Path | ||
export type NodeContext = CommandExecutor.CommandExecutor | FileSystem.FileSystem | Path.Path | ||
@@ -24,6 +23,5 @@ /** | ||
export const layer: Layer.Layer<never, never, NodeContext> = pipe( | ||
Console.layer, | ||
Layer.merge(FileSystem.layer), | ||
FileSystem.layer, | ||
Layer.merge(Path.layer), | ||
Layer.merge(Layer.provideMerge(FileSystem.layer, CommandExecutor.layer)) | ||
) |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
397700
182
6257