Skip to content

Commit eade9ed

Browse files
authored
Merge pull request #2 from fluent-ci-templates/use-deps
add `deps.ts` for managing dependencies
2 parents 460088c + 0fb9476 commit eade9ed

File tree

7 files changed

+110
-8
lines changed

7 files changed

+110
-8
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ dagger run fluentci .
4646
You can also use this pipeline programmatically:
4747

4848
```ts
49-
import { Client, connect } from "https://sdk.fluentci.io/v0.1.7/mod.ts";
50-
import { link, push } from "https://pkg.fluentci.io/[email protected].0/mod.ts";
49+
import { Client, connect } from "https://sdk.fluentci.io/v0.1.9/mod.ts";
50+
import { link, push } from "https://pkg.fluentci.io/[email protected].1/mod.ts";
5151

5252
function pipeline(src = ".") {
5353
connect(async (client: Client) => {

deno.lock

Lines changed: 90 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deps.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
export { assertEquals } from "https://deno.land/[email protected]/testing/asserts.ts";
2+
import Client from "https://sdk.fluentci.io/v0.1.9/mod.ts";
3+
export default Client;
4+
5+
export { connect, uploadContext } from "https://sdk.fluentci.io/v0.1.9/mod.ts";
6+
export { brightGreen } from "https://deno.land/[email protected]/fmt/colors.ts";
7+
export { withDevbox } from "https://nix.fluentci.io/v0.5.1/src/dagger/steps.ts";
8+
export { stringifyTree } from "https://esm.sh/[email protected]";
9+
10+
export * as FluentGitlabCI from "https://deno.land/x/[email protected]/mod.ts";
11+
export * as FluentGithubActions from "https://deno.land/x/[email protected]/mod.ts";
12+
export * as FluentCircleCI from "https://deno.land/x/[email protected]/mod.ts";
13+
export * as FluentAzurePipelines from "https://deno.land/x/[email protected]/mod.ts";
14+
export * as FluentAWSCodePipeline from "https://deno.land/x/[email protected]/mod.ts";

import_map.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"imports": {
3-
"@fluentci.io/dagger": "https://sdk.fluentci.io/v0.1.7/mod.ts",
3+
"@fluentci.io/dagger": "https://sdk.fluentci.io/v0.1.9/mod.ts",
44
"@dagger.io/dagger": "https://esm.sh/v128/*@dagger.io/[email protected]",
55
"graphql-tag": "https://esm.sh/v128/[email protected]",
66
"graphql-request": "https://esm.sh/v128/[email protected]",

src/dagger/jobs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Client from "@fluentci.io/dagger";
1+
import Client from "../../deps.ts";
22

33
export enum Job {
44
lint = "lint",

src/dagger/list_jobs.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import { brightGreen } from "https://deno.land/[email protected]/fmt/colors.ts";
1+
import { brightGreen, stringifyTree } from "../../deps.ts";
22
import { runnableJobs, jobDescriptions, Job } from "./jobs.ts";
3-
import { stringifyTree } from "https://esm.sh/[email protected]";
43

54
const tree = {
65
name: brightGreen("buf_pipeline"),

src/dagger/pipeline.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Client, { connect, uploadContext } from "@fluentci.io/dagger";
1+
import Client, { connect, uploadContext } from "../../deps.ts";
22
import * as jobs from "./jobs.ts";
33

44
const { lint, runnableJobs, exclude } = jobs;

0 commit comments

Comments
 (0)