@effect/platform-bun 0.7.9 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/BunContext/dist/effect-platform-bun-BunContext.cjs.dev.js +39 -7
  2. package/BunContext/dist/effect-platform-bun-BunContext.cjs.prod.js +39 -7
  3. package/BunContext/dist/effect-platform-bun-BunContext.esm.js +22 -6
  4. package/Command/dist/effect-platform-bun-Command.cjs.dev.js +32 -32
  5. package/Command/dist/effect-platform-bun-Command.cjs.prod.js +32 -32
  6. package/CommandExecutor/dist/effect-platform-bun-CommandExecutor.cjs.dev.js +4 -4
  7. package/CommandExecutor/dist/effect-platform-bun-CommandExecutor.cjs.prod.js +4 -4
  8. package/Effectify/dist/effect-platform-bun-Effectify.cjs.dev.js +2 -2
  9. package/Effectify/dist/effect-platform-bun-Effectify.cjs.prod.js +2 -2
  10. package/Error/dist/effect-platform-bun-Error.cjs.dev.js +6 -6
  11. package/Error/dist/effect-platform-bun-Error.cjs.prod.js +6 -6
  12. package/FileSystem/dist/effect-platform-bun-FileSystem.cjs.dev.js +6 -6
  13. package/FileSystem/dist/effect-platform-bun-FileSystem.cjs.prod.js +6 -6
  14. package/Http/Server/dist/effect-platform-bun-Http-Server.cjs.dev.js +2 -1
  15. package/Http/Server/dist/effect-platform-bun-Http-Server.cjs.prod.js +2 -1
  16. package/Http/Server/dist/effect-platform-bun-Http-Server.esm.js +2 -1
  17. package/HttpClient/dist/effect-platform-bun-HttpClient.cjs.dev.js +15 -15
  18. package/HttpClient/dist/effect-platform-bun-HttpClient.cjs.prod.js +15 -15
  19. package/HttpServer/dist/effect-platform-bun-HttpServer.cjs.dev.js +16 -16
  20. package/HttpServer/dist/effect-platform-bun-HttpServer.cjs.prod.js +16 -16
  21. package/HttpServer/dist/effect-platform-bun-HttpServer.esm.js +1 -1
  22. package/KeyValueStore/dist/effect-platform-bun-KeyValueStore.cjs.dev.js +6 -6
  23. package/KeyValueStore/dist/effect-platform-bun-KeyValueStore.cjs.prod.js +6 -6
  24. package/Path/dist/effect-platform-bun-Path.cjs.dev.js +8 -8
  25. package/Path/dist/effect-platform-bun-Path.cjs.prod.js +8 -8
  26. package/Runtime/dist/effect-platform-bun-Runtime.cjs.dev.js +4 -4
  27. package/Runtime/dist/effect-platform-bun-Runtime.cjs.prod.js +4 -4
  28. package/Sink/dist/effect-platform-bun-Sink.cjs.dev.js +2 -2
  29. package/Sink/dist/effect-platform-bun-Sink.cjs.prod.js +2 -2
  30. package/Stream/dist/effect-platform-bun-Stream.cjs.dev.js +6 -6
  31. package/Stream/dist/effect-platform-bun-Stream.cjs.prod.js +6 -6
  32. package/dist/{Server-4fe393ab.cjs.prod.js → Server-569bf4fe.cjs.prod.js} +4 -2
  33. package/dist/{Server-c2ad8a41.esm.js → Server-bb2be0ce.esm.js} +3 -2
  34. package/dist/{Server-3766cdb3.cjs.dev.js → Server-db27f98f.cjs.dev.js} +4 -2
  35. package/dist/declarations/src/index.d.ts.map +1 -1
  36. package/dist/effect-platform-bun.cjs.dev.js +58 -66
  37. package/dist/effect-platform-bun.cjs.prod.js +58 -66
  38. package/dist/effect-platform-bun.esm.js +26 -53
  39. package/package.json +9 -6
  40. package/src/index.ts +13 -13
  41. package/src/internal/http/server.ts +17 -13
  42. package/dist/BunContext-3aacfc41.cjs.dev.js +0 -50
  43. package/dist/BunContext-af359ac7.cjs.prod.js +0 -50
  44. package/dist/BunContext-d221b77e.esm.js +0 -27
  45. package/dist/Command-073352c2.cjs.dev.js +0 -29
  46. package/dist/Command-86aff121.cjs.prod.js +0 -29
  47. package/dist/Command-9e5827f0.esm.js +0 -27
  48. package/dist/CommandExecutor-0d9edb3d.esm.js +0 -13
  49. package/dist/CommandExecutor-79029a6f.cjs.prod.js +0 -15
  50. package/dist/CommandExecutor-9fdee39f.cjs.dev.js +0 -15
  51. package/dist/Effectify-1e2cf960.cjs.dev.js +0 -14
  52. package/dist/Effectify-583bea25.cjs.prod.js +0 -14
  53. package/dist/Effectify-d2cee621.esm.js +0 -12
  54. package/dist/Error-8b7a5b92.cjs.dev.js +0 -16
  55. package/dist/Error-f60fa020.esm.js +0 -14
  56. package/dist/Error-fd7c9f06.cjs.prod.js +0 -16
  57. package/dist/FileSystem-0f2d7096.cjs.prod.js +0 -16
  58. package/dist/FileSystem-3eb9e057.cjs.dev.js +0 -16
  59. package/dist/FileSystem-baa29214.esm.js +0 -14
  60. package/dist/HttpClient-91ed29d7.cjs.dev.js +0 -52
  61. package/dist/HttpClient-a34271de.cjs.prod.js +0 -52
  62. package/dist/HttpClient-ac0d4f82.esm.js +0 -24
  63. package/dist/HttpServer-4116a022.esm.js +0 -34
  64. package/dist/HttpServer-93d1b5e2.cjs.prod.js +0 -66
  65. package/dist/HttpServer-ae717a37.cjs.dev.js +0 -66
  66. package/dist/KeyValueStore-151c0d10.esm.js +0 -30
  67. package/dist/KeyValueStore-9e969cb3.cjs.dev.js +0 -52
  68. package/dist/KeyValueStore-ddd3d960.cjs.prod.js +0 -52
  69. package/dist/Path-42c3fda2.esm.js +0 -15
  70. package/dist/Path-49561a01.cjs.dev.js +0 -17
  71. package/dist/Path-9c4bff86.cjs.prod.js +0 -17
  72. package/dist/Runtime-399be72e.cjs.prod.js +0 -15
  73. package/dist/Runtime-ad8dde5f.cjs.dev.js +0 -15
  74. package/dist/Runtime-e0c4ce6d.esm.js +0 -13
  75. package/dist/Sink-0100d655.cjs.prod.js +0 -14
  76. package/dist/Sink-3c75e467.esm.js +0 -12
  77. package/dist/Sink-59df5de5.cjs.dev.js +0 -14
  78. package/dist/Stream-997a923c.esm.js +0 -14
  79. package/dist/Stream-a7a516a8.cjs.dev.js +0 -16
  80. package/dist/Stream-d0a08460.cjs.prod.js +0 -16
@@ -1,53 +1,26 @@
1
- export { B as BunContext } from './BunContext-d221b77e.esm.js';
2
- export { C as Command } from './Command-9e5827f0.esm.js';
3
- export { C as CommandExecutor } from './CommandExecutor-0d9edb3d.esm.js';
4
- export { E as Effectify } from './Effectify-d2cee621.esm.js';
5
- export { E as Error } from './Error-f60fa020.esm.js';
6
- export { F as FileSystem } from './FileSystem-baa29214.esm.js';
7
- export { H as HttpClient } from './HttpClient-ac0d4f82.esm.js';
8
- export { H as HttpServer } from './HttpServer-4116a022.esm.js';
9
- export { K as KeyValueStore } from './KeyValueStore-151c0d10.esm.js';
10
- export { P as Path } from './Path-42c3fda2.esm.js';
11
- export { R as Runtime } from './Runtime-e0c4ce6d.esm.js';
12
- export { S as Sink } from './Sink-3c75e467.esm.js';
13
- export { S as Stream } from './Stream-997a923c.esm.js';
14
- import 'effect/Function';
15
- import 'effect/Layer';
16
- import '@effect/platform-node/FileSystem';
17
- import '@effect/platform-node/Path';
18
- import '@effect/platform-node/CommandExecutor';
19
- import '@effect/platform/Command';
20
- import '@effect/platform/Effectify';
21
- import '@effect/platform/Error';
22
- import '@effect/platform/Http/Body';
23
- import '@effect/platform/Http/Client';
24
- import '@effect/platform/Http/ClientError';
25
- import '@effect/platform/Http/ClientRequest';
26
- import '@effect/platform/Http/ClientResponse';
27
- import '@effect/platform/Http/Headers';
28
- import '@effect/platform/Http/UrlParams';
29
- import '@effect/platform-node/Http/Etag';
30
- import '@effect/platform-node/Http/FormData';
31
- import '@effect/platform/Http/App';
32
- import '@effect/platform/Http/Middleware';
33
- import '@effect/platform/Http/Router';
34
- import '@effect/platform/Http/ServerError';
35
- import '@effect/platform/Http/ServerRequest';
36
- import '@effect/platform/Http/ServerResponse';
37
- import './Server-c2ad8a41.esm.js';
38
- import '@effect/platform/Http/IncomingMessage';
39
- import '@effect/platform/Http/Server';
40
- import 'effect/Cause';
41
- import 'effect/Config';
42
- import 'effect/Effect';
43
- import 'effect/Option';
44
- import 'effect/Runtime';
45
- import 'effect/Stream';
46
- import 'node:stream';
47
- import '../Http/Platform/dist/effect-platform-bun-Http-Platform.esm.js';
48
- import '@effect/platform/Http/Platform';
49
- import '@effect/platform/KeyValueStore';
50
- import '@effect/platform-node/KeyValueStore';
51
- import '@effect/platform-node/Runtime';
52
- import '@effect/platform-node/Sink';
53
- import '@effect/platform-node/Stream';
1
+ import * as BunContext from '@effect/platform-bun/BunContext';
2
+ export { BunContext };
3
+ import * as Command from '@effect/platform-bun/Command';
4
+ export { Command };
5
+ import * as CommandExecutor from '@effect/platform-bun/CommandExecutor';
6
+ export { CommandExecutor };
7
+ import * as Effectify from '@effect/platform-bun/Effectify';
8
+ export { Effectify };
9
+ import * as Error from '@effect/platform-bun/Error';
10
+ export { Error };
11
+ import * as FileSystem from '@effect/platform-bun/FileSystem';
12
+ export { FileSystem };
13
+ import * as HttpClient from '@effect/platform-bun/HttpClient';
14
+ export { HttpClient };
15
+ import * as HttpServer from '@effect/platform-bun/HttpServer';
16
+ export { HttpServer };
17
+ import * as KeyValueStore from '@effect/platform-bun/KeyValueStore';
18
+ export { KeyValueStore };
19
+ import * as Path from '@effect/platform-bun/Path';
20
+ export { Path };
21
+ import * as Runtime from '@effect/platform-bun/Runtime';
22
+ export { Runtime };
23
+ import * as Sink from '@effect/platform-bun/Sink';
24
+ export { Sink };
25
+ import * as Stream from '@effect/platform-bun/Stream';
26
+ export { Stream };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effect/platform-bun",
3
- "version": "0.7.9",
3
+ "version": "0.8.0",
4
4
  "description": "Unified interfaces for common platform-specific services",
5
5
  "main": "dist/effect-platform-bun.cjs.js",
6
6
  "module": "dist/effect-platform-bun.esm.js",
@@ -14,6 +14,9 @@
14
14
  "importConditionDefaultExport": "default"
15
15
  }
16
16
  },
17
+ "effect": {
18
+ "generateIndex": true
19
+ },
17
20
  "publishConfig": {
18
21
  "access": "public"
19
22
  },
@@ -27,16 +30,16 @@
27
30
  "license": "MIT",
28
31
  "sideEffects": false,
29
32
  "dependencies": {
30
- "@effect/platform": "^0.18.7",
31
- "@effect/platform-node": "^0.19.9"
33
+ "@effect/platform": "^0.19.0",
34
+ "@effect/platform-node": "^0.20.0"
32
35
  },
33
36
  "devDependencies": {
34
- "@effect/schema": "^0.39.2",
37
+ "@effect/schema": "^0.40.0",
35
38
  "bun-types": "^1.0.3",
36
- "effect": "2.0.0-next.44"
39
+ "effect": "2.0.0-next.45"
37
40
  },
38
41
  "peerDependencies": {
39
- "effect": "^2.0.0-next.44"
42
+ "effect": "^2.0.0-next.45"
40
43
  },
41
44
  "files": [
42
45
  "src",
package/src/index.ts CHANGED
@@ -1,66 +1,66 @@
1
1
  /**
2
2
  * @since 1.0.0
3
3
  */
4
- export * as BunContext from "./BunContext"
4
+ export * as BunContext from "@effect/platform-bun/BunContext"
5
5
 
6
6
  /**
7
7
  * @since 1.0.0
8
8
  */
9
- export * as Command from "./Command"
9
+ export * as Command from "@effect/platform-bun/Command"
10
10
 
11
11
  /**
12
12
  * @since 1.0.0
13
13
  */
14
- export * as CommandExecutor from "./CommandExecutor"
14
+ export * as CommandExecutor from "@effect/platform-bun/CommandExecutor"
15
15
 
16
16
  /**
17
17
  * @since 1.0.0
18
18
  */
19
- export * as Effectify from "./Effectify"
19
+ export * as Effectify from "@effect/platform-bun/Effectify"
20
20
 
21
21
  /**
22
22
  * @since 1.0.0
23
23
  */
24
- export * as Error from "./Error"
24
+ export * as Error from "@effect/platform-bun/Error"
25
25
 
26
26
  /**
27
27
  * @since 1.0.0
28
28
  */
29
- export * as FileSystem from "./FileSystem"
29
+ export * as FileSystem from "@effect/platform-bun/FileSystem"
30
30
 
31
31
  /**
32
32
  * @since 1.0.0
33
33
  */
34
- export * as HttpClient from "./HttpClient"
34
+ export * as HttpClient from "@effect/platform-bun/HttpClient"
35
35
 
36
36
  /**
37
37
  * @since 1.0.0
38
38
  */
39
- export * as HttpServer from "./HttpServer"
39
+ export * as HttpServer from "@effect/platform-bun/HttpServer"
40
40
 
41
41
  /**
42
42
  * @since 1.0.0
43
43
  *
44
44
  * Also includes exports from [`@effect/platform/KeyValueStore`](https://effect-ts.github.io/platform/platform/KeyValueStore.ts.html).
45
45
  */
46
- export * as KeyValueStore from "./KeyValueStore"
46
+ export * as KeyValueStore from "@effect/platform-bun/KeyValueStore"
47
47
 
48
48
  /**
49
49
  * @since 1.0.0
50
50
  */
51
- export * as Path from "./Path"
51
+ export * as Path from "@effect/platform-bun/Path"
52
52
 
53
53
  /**
54
54
  * @since 1.0.0
55
55
  */
56
- export * as Runtime from "./Runtime"
56
+ export * as Runtime from "@effect/platform-bun/Runtime"
57
57
 
58
58
  /**
59
59
  * @since 1.0.0
60
60
  */
61
- export * as Sink from "./Sink"
61
+ export * as Sink from "@effect/platform-bun/Sink"
62
62
 
63
63
  /**
64
64
  * @since 1.0.0
65
65
  */
66
- export * as Stream from "./Stream"
66
+ export * as Stream from "@effect/platform-bun/Stream"
@@ -1,6 +1,6 @@
1
1
  import * as FormData from "@effect/platform-node/Http/FormData"
2
2
  import type * as FileSystem from "@effect/platform/FileSystem"
3
- import type * as App from "@effect/platform/Http/App"
3
+ import * as App from "@effect/platform/Http/App"
4
4
  import * as Headers from "@effect/platform/Http/Headers"
5
5
  import * as IncomingMessage from "@effect/platform/Http/IncomingMessage"
6
6
  import type { Method } from "@effect/platform/Http/Method"
@@ -130,18 +130,22 @@ const makeResponse = (request: ServerRequest.ServerRequest, response: ServerResp
130
130
 
131
131
  const respond = Middleware.make((httpApp) =>
132
132
  Effect.flatMap(
133
- ServerRequest.ServerRequest,
134
- (request) =>
135
- Effect.onExit(
136
- httpApp,
137
- (exit) =>
138
- Effect.sync(() => {
139
- if (exit._tag === "Success") {
140
- ;(request as ServerRequestImpl).resolve(makeResponse(request, exit.value))
141
- } else {
142
- ;(request as ServerRequestImpl).reject(Cause.pretty(exit.cause))
143
- }
144
- })
133
+ App.preResponseHandler,
134
+ (preResponseHandler) =>
135
+ Effect.flatMap(
136
+ ServerRequest.ServerRequest,
137
+ (request) =>
138
+ Effect.onExit(
139
+ Effect.flatMap(httpApp, (response) => preResponseHandler(request, response)),
140
+ (exit) =>
141
+ Effect.sync(() => {
142
+ if (exit._tag === "Success") {
143
+ ;(request as ServerRequestImpl).resolve(makeResponse(request, exit.value))
144
+ } else {
145
+ ;(request as ServerRequestImpl).reject(Cause.pretty(exit.cause))
146
+ }
147
+ })
148
+ )
145
149
  )
146
150
  )
147
151
  )
@@ -1,50 +0,0 @@
1
- 'use strict';
2
-
3
- var Function = require('effect/Function');
4
- var Layer = require('effect/Layer');
5
- var FileSystem = require('@effect/platform-node/FileSystem');
6
- var Path = require('@effect/platform-node/Path');
7
- var CommandExecutor = require('@effect/platform-node/CommandExecutor');
8
-
9
- function _interopNamespace(e) {
10
- if (e && e.__esModule) return e;
11
- var n = Object.create(null);
12
- if (e) {
13
- Object.keys(e).forEach(function (k) {
14
- if (k !== 'default') {
15
- var d = Object.getOwnPropertyDescriptor(e, k);
16
- Object.defineProperty(n, k, d.get ? d : {
17
- enumerable: true,
18
- get: function () { return e[k]; }
19
- });
20
- }
21
- });
22
- }
23
- n["default"] = e;
24
- return Object.freeze(n);
25
- }
26
-
27
- var Layer__namespace = /*#__PURE__*/_interopNamespace(Layer);
28
-
29
- /**
30
- * @since 1.0.0
31
- */
32
-
33
- /**
34
- * @since 1.0.0
35
- * @category models
36
- */
37
-
38
- /**
39
- * @since 1.0.0
40
- * @category layer
41
- */
42
- const layer = /*#__PURE__*/Function.pipe(FileSystem.layer, /*#__PURE__*/Layer__namespace.merge(Path.layer), /*#__PURE__*/Layer__namespace.merge( /*#__PURE__*/Layer__namespace.provideMerge(FileSystem.layer, CommandExecutor.layer)));
43
-
44
- var BunContext = /*#__PURE__*/Object.freeze({
45
- __proto__: null,
46
- layer: layer
47
- });
48
-
49
- exports.BunContext = BunContext;
50
- exports.layer = layer;
@@ -1,50 +0,0 @@
1
- 'use strict';
2
-
3
- var Function = require('effect/Function');
4
- var Layer = require('effect/Layer');
5
- var FileSystem = require('@effect/platform-node/FileSystem');
6
- var Path = require('@effect/platform-node/Path');
7
- var CommandExecutor = require('@effect/platform-node/CommandExecutor');
8
-
9
- function _interopNamespace(e) {
10
- if (e && e.__esModule) return e;
11
- var n = Object.create(null);
12
- if (e) {
13
- Object.keys(e).forEach(function (k) {
14
- if (k !== 'default') {
15
- var d = Object.getOwnPropertyDescriptor(e, k);
16
- Object.defineProperty(n, k, d.get ? d : {
17
- enumerable: true,
18
- get: function () { return e[k]; }
19
- });
20
- }
21
- });
22
- }
23
- n["default"] = e;
24
- return Object.freeze(n);
25
- }
26
-
27
- var Layer__namespace = /*#__PURE__*/_interopNamespace(Layer);
28
-
29
- /**
30
- * @since 1.0.0
31
- */
32
-
33
- /**
34
- * @since 1.0.0
35
- * @category models
36
- */
37
-
38
- /**
39
- * @since 1.0.0
40
- * @category layer
41
- */
42
- const layer = /*#__PURE__*/Function.pipe(FileSystem.layer, /*#__PURE__*/Layer__namespace.merge(Path.layer), /*#__PURE__*/Layer__namespace.merge( /*#__PURE__*/Layer__namespace.provideMerge(FileSystem.layer, CommandExecutor.layer)));
43
-
44
- var BunContext = /*#__PURE__*/Object.freeze({
45
- __proto__: null,
46
- layer: layer
47
- });
48
-
49
- exports.BunContext = BunContext;
50
- exports.layer = layer;
@@ -1,27 +0,0 @@
1
- import { pipe } from 'effect/Function';
2
- import * as Layer from 'effect/Layer';
3
- import { layer as layer$1 } from '@effect/platform-node/FileSystem';
4
- import { layer as layer$2 } from '@effect/platform-node/Path';
5
- import { layer as layer$3 } from '@effect/platform-node/CommandExecutor';
6
-
7
- /**
8
- * @since 1.0.0
9
- */
10
-
11
- /**
12
- * @since 1.0.0
13
- * @category models
14
- */
15
-
16
- /**
17
- * @since 1.0.0
18
- * @category layer
19
- */
20
- const layer = /*#__PURE__*/pipe(layer$1, /*#__PURE__*/Layer.merge(layer$2), /*#__PURE__*/Layer.merge( /*#__PURE__*/Layer.provideMerge(layer$1, layer$3)));
21
-
22
- var BunContext = /*#__PURE__*/Object.freeze({
23
- __proto__: null,
24
- layer: layer
25
- });
26
-
27
- export { BunContext as B, layer as l };
@@ -1,29 +0,0 @@
1
- 'use strict';
2
-
3
- var Command$1 = require('@effect/platform/Command');
4
-
5
- /**
6
- * @since 1.0.0
7
- */
8
-
9
- var Command = /*#__PURE__*/Object.freeze({
10
- __proto__: null,
11
- env: Command$1.env,
12
- exitCode: Command$1.exitCode,
13
- feed: Command$1.feed,
14
- flatten: Command$1.flatten,
15
- isCommand: Command$1.isCommand,
16
- lines: Command$1.lines,
17
- make: Command$1.make,
18
- pipeTo: Command$1.pipeTo,
19
- start: Command$1.start,
20
- stderr: Command$1.stderr,
21
- stdin: Command$1.stdin,
22
- stdout: Command$1.stdout,
23
- stream: Command$1.stream,
24
- streamLines: Command$1.streamLines,
25
- string: Command$1.string,
26
- workingDirectory: Command$1.workingDirectory
27
- });
28
-
29
- exports.Command = Command;
@@ -1,29 +0,0 @@
1
- 'use strict';
2
-
3
- var Command$1 = require('@effect/platform/Command');
4
-
5
- /**
6
- * @since 1.0.0
7
- */
8
-
9
- var Command = /*#__PURE__*/Object.freeze({
10
- __proto__: null,
11
- env: Command$1.env,
12
- exitCode: Command$1.exitCode,
13
- feed: Command$1.feed,
14
- flatten: Command$1.flatten,
15
- isCommand: Command$1.isCommand,
16
- lines: Command$1.lines,
17
- make: Command$1.make,
18
- pipeTo: Command$1.pipeTo,
19
- start: Command$1.start,
20
- stderr: Command$1.stderr,
21
- stdin: Command$1.stdin,
22
- stdout: Command$1.stdout,
23
- stream: Command$1.stream,
24
- streamLines: Command$1.streamLines,
25
- string: Command$1.string,
26
- workingDirectory: Command$1.workingDirectory
27
- });
28
-
29
- exports.Command = Command;
@@ -1,27 +0,0 @@
1
- import { env, exitCode, feed, flatten, isCommand, lines, make, pipeTo, start, stderr, stdin, stdout, stream, streamLines, string, workingDirectory } from '@effect/platform/Command';
2
-
3
- /**
4
- * @since 1.0.0
5
- */
6
-
7
- var Command = /*#__PURE__*/Object.freeze({
8
- __proto__: null,
9
- env: env,
10
- exitCode: exitCode,
11
- feed: feed,
12
- flatten: flatten,
13
- isCommand: isCommand,
14
- lines: lines,
15
- make: make,
16
- pipeTo: pipeTo,
17
- start: start,
18
- stderr: stderr,
19
- stdin: stdin,
20
- stdout: stdout,
21
- stream: stream,
22
- streamLines: streamLines,
23
- string: string,
24
- workingDirectory: workingDirectory
25
- });
26
-
27
- export { Command as C };
@@ -1,13 +0,0 @@
1
- import { CommandExecutor as CommandExecutor$1, layer } from '@effect/platform-node/CommandExecutor';
2
-
3
- /**
4
- * @since 1.0.0
5
- */
6
-
7
- var CommandExecutor = /*#__PURE__*/Object.freeze({
8
- __proto__: null,
9
- CommandExecutor: CommandExecutor$1,
10
- layer: layer
11
- });
12
-
13
- export { CommandExecutor as C };
@@ -1,15 +0,0 @@
1
- 'use strict';
2
-
3
- var CommandExecutor$1 = require('@effect/platform-node/CommandExecutor');
4
-
5
- /**
6
- * @since 1.0.0
7
- */
8
-
9
- var CommandExecutor = /*#__PURE__*/Object.freeze({
10
- __proto__: null,
11
- CommandExecutor: CommandExecutor$1.CommandExecutor,
12
- layer: CommandExecutor$1.layer
13
- });
14
-
15
- exports.CommandExecutor = CommandExecutor;
@@ -1,15 +0,0 @@
1
- 'use strict';
2
-
3
- var CommandExecutor$1 = require('@effect/platform-node/CommandExecutor');
4
-
5
- /**
6
- * @since 1.0.0
7
- */
8
-
9
- var CommandExecutor = /*#__PURE__*/Object.freeze({
10
- __proto__: null,
11
- CommandExecutor: CommandExecutor$1.CommandExecutor,
12
- layer: CommandExecutor$1.layer
13
- });
14
-
15
- exports.CommandExecutor = CommandExecutor;
@@ -1,14 +0,0 @@
1
- 'use strict';
2
-
3
- var Effectify$1 = require('@effect/platform/Effectify');
4
-
5
- /**
6
- * @since 1.0.0
7
- */
8
-
9
- var Effectify = /*#__PURE__*/Object.freeze({
10
- __proto__: null,
11
- effectify: Effectify$1.effectify
12
- });
13
-
14
- exports.Effectify = Effectify;
@@ -1,14 +0,0 @@
1
- 'use strict';
2
-
3
- var Effectify$1 = require('@effect/platform/Effectify');
4
-
5
- /**
6
- * @since 1.0.0
7
- */
8
-
9
- var Effectify = /*#__PURE__*/Object.freeze({
10
- __proto__: null,
11
- effectify: Effectify$1.effectify
12
- });
13
-
14
- exports.Effectify = Effectify;
@@ -1,12 +0,0 @@
1
- import { effectify } from '@effect/platform/Effectify';
2
-
3
- /**
4
- * @since 1.0.0
5
- */
6
-
7
- var Effectify = /*#__PURE__*/Object.freeze({
8
- __proto__: null,
9
- effectify: effectify
10
- });
11
-
12
- export { Effectify as E };
@@ -1,16 +0,0 @@
1
- 'use strict';
2
-
3
- var Error$1 = require('@effect/platform/Error');
4
-
5
- /**
6
- * @since 1.0.0
7
- */
8
-
9
- var Error = /*#__PURE__*/Object.freeze({
10
- __proto__: null,
11
- BadArgument: Error$1.BadArgument,
12
- PlatformErrorTypeId: Error$1.PlatformErrorTypeId,
13
- SystemError: Error$1.SystemError
14
- });
15
-
16
- exports.Error = Error;
@@ -1,14 +0,0 @@
1
- import { BadArgument, PlatformErrorTypeId, SystemError } from '@effect/platform/Error';
2
-
3
- /**
4
- * @since 1.0.0
5
- */
6
-
7
- var Error = /*#__PURE__*/Object.freeze({
8
- __proto__: null,
9
- BadArgument: BadArgument,
10
- PlatformErrorTypeId: PlatformErrorTypeId,
11
- SystemError: SystemError
12
- });
13
-
14
- export { Error as E };
@@ -1,16 +0,0 @@
1
- 'use strict';
2
-
3
- var Error$1 = require('@effect/platform/Error');
4
-
5
- /**
6
- * @since 1.0.0
7
- */
8
-
9
- var Error = /*#__PURE__*/Object.freeze({
10
- __proto__: null,
11
- BadArgument: Error$1.BadArgument,
12
- PlatformErrorTypeId: Error$1.PlatformErrorTypeId,
13
- SystemError: Error$1.SystemError
14
- });
15
-
16
- exports.Error = Error;
@@ -1,16 +0,0 @@
1
- 'use strict';
2
-
3
- var FileSystem$1 = require('@effect/platform-node/FileSystem');
4
-
5
- /**
6
- * @since 1.0.0
7
- */
8
-
9
- var FileSystem = /*#__PURE__*/Object.freeze({
10
- __proto__: null,
11
- FileSystem: FileSystem$1.FileSystem,
12
- layer: FileSystem$1.layer,
13
- Size: FileSystem$1.Size
14
- });
15
-
16
- exports.FileSystem = FileSystem;
@@ -1,16 +0,0 @@
1
- 'use strict';
2
-
3
- var FileSystem$1 = require('@effect/platform-node/FileSystem');
4
-
5
- /**
6
- * @since 1.0.0
7
- */
8
-
9
- var FileSystem = /*#__PURE__*/Object.freeze({
10
- __proto__: null,
11
- FileSystem: FileSystem$1.FileSystem,
12
- layer: FileSystem$1.layer,
13
- Size: FileSystem$1.Size
14
- });
15
-
16
- exports.FileSystem = FileSystem;
@@ -1,14 +0,0 @@
1
- import { FileSystem as FileSystem$1, layer, Size } from '@effect/platform-node/FileSystem';
2
-
3
- /**
4
- * @since 1.0.0
5
- */
6
-
7
- var FileSystem = /*#__PURE__*/Object.freeze({
8
- __proto__: null,
9
- FileSystem: FileSystem$1,
10
- layer: layer,
11
- Size: Size
12
- });
13
-
14
- export { FileSystem as F };