Skip to content

Commit dbf5bd2

Browse files
committed
update deps.ts
1 parent 763381d commit dbf5bd2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+2530
-732
lines changed

deno.lock

Lines changed: 195 additions & 235 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deps.ts

Lines changed: 23 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,24 @@
1-
export { assertEquals } from "https://deno.land/[email protected]/testing/asserts.ts";
2-
import { Client } from "./sdk/client.gen.ts";
3-
export default Client;
1+
export { assertEquals } from "jsr:@std/[email protected]/asserts";
42

5-
export { Directory, Container, dag } from "./sdk/client.gen.ts";
6-
export type { DirectoryID } from "./sdk/client.gen.ts";
7-
export { connect, uploadContext } from "https://sdk.fluentci.io/v0.3.0/mod.ts";
8-
export { brightGreen } from "https://deno.land/[email protected]/fmt/colors.ts";
9-
export { withDevbox } from "https://nix.fluentci.io/v0.5.3/src/dagger/steps.ts";
10-
export { stringifyTree } from "https://esm.sh/[email protected]";
11-
import gql from "https://esm.sh/[email protected]";
3+
export type { DirectoryID, SecretID } from "./sdk/client.gen.ts";
4+
export { Directory, Secret, File, dag } from "./sdk/client.gen.ts";
5+
export { brightGreen } from "jsr:@std/[email protected]/colors";
6+
export { stringifyTree } from "npm:[email protected]";
7+
import { gql } from "npm:[email protected]";
128
export { gql };
9+
export { dirname, join, resolve } from "jsr:@std/[email protected]";
10+
export { parse } from "jsr:@std/[email protected]";
1311

14-
export {
15-
dirname,
16-
join,
17-
resolve,
18-
} from "https://deno.land/[email protected]/path/mod.ts";
19-
export { parse } from "https://deno.land/[email protected]/flags/mod.ts";
20-
export { snakeCase, camelCase } from "https://cdn.skypack.dev/lodash";
12+
import * as _ from "npm:[email protected]";
13+
const snakeCase = _.default.snakeCase;
14+
const camelCase = _.default.camelCase;
15+
export { snakeCase, camelCase };
2116

22-
export {
23-
ClientError,
24-
GraphQLClient,
25-
} from "https://esm.sh/v128/[email protected]";
17+
import * as env from "jsr:@tsirysndr/[email protected]";
18+
export { env };
19+
export { exit } from "jsr:@tsirysndr/[email protected]";
20+
21+
export { ClientError, GraphQLClient } from "npm:[email protected]";
2622
export {
2723
DaggerSDKError,
2824
UnknownDaggerError,
@@ -36,15 +32,10 @@ export {
3632
EngineSessionConnectionTimeoutError,
3733
NotAwaitedRequestError,
3834
ERROR_CODES,
39-
} from "https://esm.sh/@dagger.io/[email protected]";
40-
41-
export type {
42-
CallbackFct,
43-
ConnectOpts,
44-
} from "https://sdk.fluentci.io/v0.3.0/mod.ts";
35+
} from "./sdk/common/errors/index.ts";
4536

46-
export * as FluentGitlabCI from "https://deno.land/x/[email protected]/mod.ts";
47-
export * as FluentGithubActions from "https://deno.land/x/[email protected]/mod.ts";
48-
export * as FluentCircleCI from "https://deno.land/x/[email protected]/mod.ts";
49-
export * as FluentAzurePipelines from "https://deno.land/x/[email protected]/mod.ts";
50-
export * as FluentAWSCodePipeline from "https://deno.land/x/[email protected]/mod.ts";
37+
export * as FluentGitlabCI from "jsr:@tsirysndr/[email protected]";
38+
export * as FluentGithubActions from "jsr:@tsirysndr/[email protected]";
39+
export * as FluentCircleCI from "jsr:@tsirysndr/[email protected]";
40+
export * as FluentAzurePipelines from "jsr:@tsirysndr/[email protected]";
41+
export * as FluentAWSCodePipeline from "jsr:@tsirysndr/[email protected]";

example/.fluentci/deno.lock

Lines changed: 195 additions & 235 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/.fluentci/deps.ts

Lines changed: 23 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,24 @@
1-
export { assertEquals } from "https://deno.land/[email protected]/testing/asserts.ts";
2-
import { Client } from "./sdk/client.gen.ts";
3-
export default Client;
1+
export { assertEquals } from "jsr:@std/[email protected]/asserts";
42

5-
export { Directory, Container, dag } from "./sdk/client.gen.ts";
6-
export type { DirectoryID } from "./sdk/client.gen.ts";
7-
export { connect, uploadContext } from "https://sdk.fluentci.io/v0.3.0/mod.ts";
8-
export { brightGreen } from "https://deno.land/[email protected]/fmt/colors.ts";
9-
export { withDevbox } from "https://nix.fluentci.io/v0.5.3/src/dagger/steps.ts";
10-
export { stringifyTree } from "https://esm.sh/[email protected]";
11-
import gql from "https://esm.sh/[email protected]";
3+
export type { DirectoryID, SecretID } from "./sdk/client.gen.ts";
4+
export { Directory, Secret, File, dag } from "./sdk/client.gen.ts";
5+
export { brightGreen } from "jsr:@std/[email protected]/colors";
6+
export { stringifyTree } from "npm:[email protected]";
7+
import { gql } from "npm:[email protected]";
128
export { gql };
9+
export { dirname, join, resolve } from "jsr:@std/[email protected]";
10+
export { parse } from "jsr:@std/[email protected]";
1311

14-
export {
15-
dirname,
16-
join,
17-
resolve,
18-
} from "https://deno.land/[email protected]/path/mod.ts";
19-
export { parse } from "https://deno.land/[email protected]/flags/mod.ts";
20-
export { snakeCase, camelCase } from "https://cdn.skypack.dev/lodash";
12+
import * as _ from "npm:[email protected]";
13+
const snakeCase = _.default.snakeCase;
14+
const camelCase = _.default.camelCase;
15+
export { snakeCase, camelCase };
2116

22-
export {
23-
ClientError,
24-
GraphQLClient,
25-
} from "https://esm.sh/v128/[email protected]";
17+
import * as env from "jsr:@tsirysndr/[email protected]";
18+
export { env };
19+
export { exit } from "jsr:@tsirysndr/[email protected]";
20+
21+
export { ClientError, GraphQLClient } from "npm:[email protected]";
2622
export {
2723
DaggerSDKError,
2824
UnknownDaggerError,
@@ -36,15 +32,10 @@ export {
3632
EngineSessionConnectionTimeoutError,
3733
NotAwaitedRequestError,
3834
ERROR_CODES,
39-
} from "https://esm.sh/@dagger.io/[email protected]";
40-
41-
export type {
42-
CallbackFct,
43-
ConnectOpts,
44-
} from "https://sdk.fluentci.io/v0.3.0/mod.ts";
35+
} from "./sdk/common/errors/index.ts";
4536

46-
export * as FluentGitlabCI from "https://deno.land/x/[email protected]/mod.ts";
47-
export * as FluentGithubActions from "https://deno.land/x/[email protected]/mod.ts";
48-
export * as FluentCircleCI from "https://deno.land/x/[email protected]/mod.ts";
49-
export * as FluentAzurePipelines from "https://deno.land/x/[email protected]/mod.ts";
50-
export * as FluentAWSCodePipeline from "https://deno.land/x/[email protected]/mod.ts";
37+
export * as FluentGitlabCI from "jsr:@tsirysndr/[email protected]";
38+
export * as FluentGithubActions from "jsr:@tsirysndr/[email protected]";
39+
export * as FluentCircleCI from "jsr:@tsirysndr/[email protected]";
40+
export * as FluentAzurePipelines from "jsr:@tsirysndr/[email protected]";
41+
export * as FluentAWSCodePipeline from "jsr:@tsirysndr/[email protected]";

example/.fluentci/sdk/builder.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { createGQLClient } from "./client.ts";
22
import { Context } from "./context.ts";
3+
import { env } from "../deps.ts";
34

45
/**
56
* @hidden
@@ -10,9 +11,9 @@ export function initDefaultContext(): Context {
1011
let ctx = new Context();
1112

1213
// Prefer DAGGER_SESSION_PORT if set
13-
const daggerSessionPort = Deno.env.get("DAGGER_SESSION_PORT");
14+
const daggerSessionPort = env.get("DAGGER_SESSION_PORT");
1415
if (daggerSessionPort) {
15-
const sessionToken = Deno.env.get("DAGGER_SESSION_TOKEN");
16+
const sessionToken = env.get("DAGGER_SESSION_TOKEN");
1617
if (!sessionToken) {
1718
throw new Error(
1819
"DAGGER_SESSION_TOKEN must be set when using DAGGER_SESSION_PORT"

0 commit comments

Comments
 (0)