From 73c7c0af554557380e5666410f4044863a97eb2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hubert=20SABLONNI=C3=88RE?= Date: Wed, 23 Oct 2024 14:19:35 +0200 Subject: [PATCH] chore: fix CI scripts --- scripts/publish-arch.js | 2 +- scripts/publish-brew.js | 2 +- scripts/publish-cellar.js | 2 +- scripts/publish-dockerhub.js | 2 +- scripts/publish-exherbo.js | 2 +- scripts/publish-nexus.js | 2 +- scripts/publish-npm.js | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/publish-arch.js b/scripts/publish-arch.js index 66653bf..1953f6a 100644 --- a/scripts/publish-arch.js +++ b/scripts/publish-arch.js @@ -1,4 +1,4 @@ -import { cfg } from './config'; +import * as cfg from './config.js'; import fs from 'fs-extra'; import { cloneGitProject, applyTemplates, commitAndPush } from './utils'; import { getArchiveFilepath, getShaFilepath } from './paths.js'; diff --git a/scripts/publish-brew.js b/scripts/publish-brew.js index 4f70b15..9b19167 100644 --- a/scripts/publish-brew.js +++ b/scripts/publish-brew.js @@ -1,4 +1,4 @@ -import { cfg } from './config'; +import * as cfg from './config.js'; import fs from 'fs-extra'; import { cloneGitProject, applyTemplates, commitAndPush } from './utils'; import { getShaFilepath, getArchiveFilepath } from './paths.js'; diff --git a/scripts/publish-cellar.js b/scripts/publish-cellar.js index 90002e7..49a0f97 100644 --- a/scripts/publish-cellar.js +++ b/scripts/publish-cellar.js @@ -1,5 +1,5 @@ import path from 'node:path'; -import { cfg } from './config'; +import * as cfg from './config.js'; import { getCellarClient } from './cellar-client.js'; import { getArchiveFilepath, getShaFilepath, getArchiveLatestFilepath, getBundleFilepath, getBundleFilename } from './paths.js'; diff --git a/scripts/publish-dockerhub.js b/scripts/publish-dockerhub.js index 723c30c..6228e0c 100644 --- a/scripts/publish-dockerhub.js +++ b/scripts/publish-dockerhub.js @@ -1,4 +1,4 @@ -import { cfg } from './config'; +import * as cfg from './config.js'; import { cloneGitProject, applyTemplates, tagAndPush, commitAndPush, execSync } from './utils'; import childProcess from 'node:child_process'; diff --git a/scripts/publish-exherbo.js b/scripts/publish-exherbo.js index 0dfd9bd..7d38188 100644 --- a/scripts/publish-exherbo.js +++ b/scripts/publish-exherbo.js @@ -1,4 +1,4 @@ -import { cfg } from './config'; +import * as cfg from './config.js'; import del from 'del'; import { cloneGitProject, applyOneTemplate, commitAndPush } from './utils'; diff --git a/scripts/publish-nexus.js b/scripts/publish-nexus.js index fa53640..7027813 100644 --- a/scripts/publish-nexus.js +++ b/scripts/publish-nexus.js @@ -1,4 +1,4 @@ -import { cfg } from './config'; +import * as cfg from './config.js'; import { promises as fs } from 'node:fs'; import path from 'node:path'; import superagent from 'superagent'; diff --git a/scripts/publish-npm.js b/scripts/publish-npm.js index d30058a..46ba59b 100644 --- a/scripts/publish-npm.js +++ b/scripts/publish-npm.js @@ -1,4 +1,4 @@ -import { cfg } from './config'; +import * as cfg from './config.js'; import { exec } from './utils'; export async function publishNpm () {