Skip to content

Commit

Permalink
revert back to chalk 4
Browse files Browse the repository at this point in the history
  • Loading branch information
vanhtuan0409 committed Nov 23, 2023
1 parent 268bd3c commit 3dc9d22
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 13 deletions.
67 changes: 60 additions & 7 deletions js/package-lock.json

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

4 changes: 2 additions & 2 deletions js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@anduintransaction/rivendell",
"version": "0.4.1",
"version": "0.4.2",
"repository": {
"type": "git",
"url": "git+https://github.com/anduintransaction/rivendell.git"
Expand Down Expand Up @@ -29,7 +29,7 @@
"dependencies": {
"@kubernetes-models/apimachinery": "^1.2.1",
"@kubernetes-models/base": "^4.0.3",
"chalk": "^5.3.0",
"chalk": "^4.1.2",
"infisical-node": "^1.5.0",
"yaml": "^2.3.4"
}
Expand Down
3 changes: 1 addition & 2 deletions js/src/planner.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import * as yaml from "yaml";
import chalk from "chalk";
import { DeployStep, Plan, WaitStep } from "./common";
import { Context } from "./context";
import { Module } from "./module";
import { ModuleGraph, Walker } from "./graph";
import { prefixMultiline } from "./utils";

const chalk = require("chalk");

export class Planner {
ctx: Context;

Expand Down
3 changes: 1 addition & 2 deletions js/src/runner.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import yaml from "yaml";
import chalk from "chalk";
import { DeployStep, Plan, WaitStep } from "./common";
import { ChildProcess, execFileSync, spawn } from "child_process";

const chalk = require("chalk");

export interface WaitRunner {
wait(step: WaitStep): Promise<void>;
}
Expand Down

0 comments on commit 3dc9d22

Please sign in to comment.