Skip to content

Commit

Permalink
add deps.ts for managing dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Sep 21, 2023
1 parent 5d5f74b commit 559fa33
Show file tree
Hide file tree
Showing 7 changed files with 66 additions and 72 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ dagger run fluentci codecov_pipeline
You can also use this pipeline programmatically:

```typescript
import { Client, connect } from "https://sdk.fluentci.io/v0.1.7/mod.ts";
import { Client, connect } from "https://sdk.fluentci.io/v0.1.9/mod.ts";
import { upload } from "https://deno.land/x/codecov_pipeline/mod.ts";

function pipeline(src = ".") {
Expand Down
113 changes: 47 additions & 66 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions deps.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
export { assertEquals } from "https://deno.land/std@0.191.0/testing/asserts.ts";
import Client from "https://sdk.fluentci.io/v0.1.9/mod.ts";
export default Client;

export { connect, uploadContext } from "https://sdk.fluentci.io/v0.1.9/mod.ts";
export { brightGreen } from "https://deno.land/std@0.191.0/fmt/colors.ts";
export { withDevbox } from "https://nix.fluentci.io/v0.5.1/src/dagger/steps.ts";
export { stringifyTree } from "https://esm.sh/stringify-tree@1.1.1";

export * as FluentGitlabCI from "https://deno.land/x/fluent_gitlab_ci@v0.4.2/mod.ts";
export * as FluentGithubActions from "https://deno.land/x/fluent_github_actions@v0.2.1/mod.ts";
export * as FluentCircleCI from "https://deno.land/x/fluent_circleci@v0.2.5/mod.ts";
export * as FluentAzurePipelines from "https://deno.land/x/fluent_azure_pipelines@v0.2.0/mod.ts";
export * as FluentAWSCodePipeline from "https://deno.land/x/fluent_aws_codepipeline@v0.2.3/mod.ts";
2 changes: 1 addition & 1 deletion import_map.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"imports": {
"@fluentci.io/dagger": "https://sdk.fluentci.io/v0.1.7/mod.ts",
"@fluentci.io/dagger": "https://sdk.fluentci.io/v0.1.9/mod.ts",
"@dagger.io/dagger": "https://esm.sh/v128/*@dagger.io/dagger@0.8.4",
"graphql-tag": "https://esm.sh/v128/graphql-tag@2.12.6",
"graphql-request": "https://esm.sh/v128/graphql-request@6.1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/dagger/jobs.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Client from "@fluentci.io/dagger";
import Client from "../../deps.ts";

export enum Job {
upload = "upload",
Expand Down
3 changes: 1 addition & 2 deletions src/dagger/list_jobs.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { brightGreen } from "https://deno.land/std@0.191.0/fmt/colors.ts";
import { brightGreen, stringifyTree } from "../../deps.ts";
import { runnableJobs, jobDescriptions, Job } from "./jobs.ts";
import { stringifyTree } from "https://esm.sh/stringify-tree@1.1.1";

const tree = {
name: brightGreen("codecov_pipeline"),
Expand Down
2 changes: 1 addition & 1 deletion src/dagger/pipeline.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Client, { connect, uploadContext } from "@fluentci.io/dagger";
import Client, { connect, uploadContext } from "../../deps.ts";
import * as jobs from "./jobs.ts";

const { upload, runnableJobs, exclude } = jobs;
Expand Down

0 comments on commit 559fa33

Please sign in to comment.