Skip to content

Commit

Permalink
Initial hard fork
Browse files Browse the repository at this point in the history
  • Loading branch information
endigma committed Sep 27, 2023
1 parent 3409304 commit 1d0821c
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 21 deletions.
6 changes: 3 additions & 3 deletions contributing.md → CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
### Contributing to Cicada Modules
### Contributing to Katoa Modules

Currently, [@cicadahq/modules](https://github.com/cicadahq/modules) is the home
to all verified Cicada modules.
Currently, [@katoahq/modules](https://github.com/katoahq/modules) is the home
to all verified Katoa modules.

Contributing is easy:

Expand Down
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# Cicada Module Registry
# Katoa Module Registry (WIP, Likely not working yet)

The Cicada Module Registry is a collection of 3rd-party code modules. These
modules abstract over Cicada **jobs**, abstract over Cicada **steps**, and
The Katoa Module Registry is a collection of 3rd-party code modules. These
modules abstract over Katoa **jobs**, abstract over Katoa **steps**, and
provide other general utility functions.

### 🕵️ Explore

Head to [deno.land/x/cicada_modules](https://deno.land/x/cicada_modules) to see
Head to [deno.land/x/katoa_modules](https://deno.land/x/katoa_modules) to see
all the modules

### 🔥 Usage

```typescript
import * as npm from "https://deno.land/x/cicada_modules/npm/mod.ts";
import * as npm from "https://deno.land/x/katoa_modules/npm/mod.ts";

npm.installDependencies();
```
Expand All @@ -22,15 +22,15 @@ npm.installDependencies();
**Step abstractions**

```typescript
import { Job, Pipeline, Secret } from "https://deno.land/x/cicada/lib.ts";
import * as npm from "https://deno.land/x/cicada_modules/npm/mod.ts"
import { Job, Pipeline, Secret } from "https://deno.land/x/katoa/lib.ts";
import * as npm from "https://deno.land/x/katoa_modules/npm/mod.ts"

const publish = new Job({
image: "ubuntu:22.04",
steps: [
npm.installNode({version: "16.4"}),
npm.installDependencies(),
npm.publish(token: new Secret.value("npm-token") ),
npm.installNode({version: "16.4"}),
npm.installDependencies(),
npm.publish(token: new Secret.value("npm-token") ),
]
})

Expand All @@ -40,10 +40,10 @@ export new Pipeline([ publish ])
**Job Abstraction**

```typescript
import { Job, Pipeline, Secret } from "https://deno.land/x/cicada/lib.ts";
import * as npm from "https://deno.land/x/cicada_modules/npm/mod.ts"
import * as terraform from "https://deno.land/x/cicada_modules/terraform/mod.ts"
import * as snyk from "https://deno.land/x/cicada_modules/snyk/mod.ts"
import { Job, Pipeline, Secret } from "https://deno.land/x/katoa/lib.ts";
import * as npm from "https://deno.land/x/katoa_modules/npm/mod.ts"
import * as terraform from "https://deno.land/x/katoa_modules/terraform/mod.ts"
import * as snyk from "https://deno.land/x/katoa_modules/snyk/mod.ts"

export new Pipeline([
new npm.TestSuite({ nodeVersion: "16.4"}),
Expand Down
2 changes: 1 addition & 1 deletion src/install/utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { StepFn } from "https://deno.land/x/cicada/mod.ts";
import { StepFn } from "https://deno.land/x/katoa/mod.ts";

import {
installPackageBasedOnPackageManager,
Expand Down
2 changes: 1 addition & 1 deletion src/node/installDependencies.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { StepFn, StepOptions } from "https://deno.land/x/cicada/mod.ts";
import { StepFn, StepOptions } from "https://deno.land/x/katoa/mod.ts";
import { hasCommand } from "../install/utils.ts";

/**
Expand Down
2 changes: 1 addition & 1 deletion src/npm/.cicada/pipeline.ts → src/npm/.katoa/pipeline.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Job, Pipeline } from "https://deno.land/x/cicada/mod.ts";
import { Job, Pipeline } from "https://deno.land/x/katoa/mod.ts";
import * as node from "../mod.ts";

const job = new Job({
Expand Down
2 changes: 1 addition & 1 deletion src/npm/installDependencies.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { StepFn, StepOptions } from "https://deno.land/x/cicada/mod.ts";
import { StepFn, StepOptions } from "https://deno.land/x/katoa/mod.ts";

/**
* Installs package.json dependencies using pnpm, yarn or npm (in that order).
Expand Down

0 comments on commit 1d0821c

Please sign in to comment.