diff --git a/index.js b/index.js index 9bed42ea..ffc40b30 100644 --- a/index.js +++ b/index.js @@ -4,8 +4,8 @@ /* api */ import process from 'node:process'; -import { parseCommand } from './modules/commander.js'; -import { logErr, throwErr } from './modules/common.js'; +import { parseCommand } from './scripts/commander.js'; +import { logErr, throwErr } from './scripts/common.js'; /* process */ process.on('uncaughtException', throwErr); diff --git a/modules/commander.js b/scripts/commander.js similarity index 100% rename from modules/commander.js rename to scripts/commander.js diff --git a/modules/common.js b/scripts/common.js similarity index 100% rename from modules/common.js rename to scripts/common.js diff --git a/modules/file-util.js b/scripts/file-util.js similarity index 100% rename from modules/file-util.js rename to scripts/file-util.js diff --git a/test/commander.test.js b/test/commander.test.js index d10b3670..067b412b 100644 --- a/test/commander.test.js +++ b/test/commander.test.js @@ -12,7 +12,7 @@ import { commander, cleanDirectory, extractLibraries, extractManifests, includeLibraries, parseCommand, saveLibraryPackage, saveThemeManifest, updateManifests -} from '../modules/commander.js'; +} from '../scripts/commander.js'; const BASE_URL_MOZ = 'https://hg.mozilla.org'; const DIR_CWD = process.cwd(); diff --git a/test/common.test.js b/test/common.test.js index bea91e3e..b1c5f6e4 100644 --- a/test/common.test.js +++ b/test/common.test.js @@ -6,7 +6,7 @@ import { describe, it } from 'mocha'; /* test */ import { getType, isString, logErr, logMsg, logWarn, throwErr -} from '../modules/common.js'; +} from '../scripts/common.js'; describe('getType', () => { it('should get Undefined', () => { diff --git a/test/file-util.test.js b/test/file-util.test.js index f3a99b7b..8c9a5b82 100644 --- a/test/file-util.test.js +++ b/test/file-util.test.js @@ -9,7 +9,7 @@ import { MockAgent, getGlobalDispatcher, setGlobalDispatcher } from 'undici'; /* test */ import { createFile, fetchText, getStat, isDir, isFile, readFile, removeDir -} from '../modules/file-util.js'; +} from '../scripts/file-util.js'; /* constants */ const TMPDIR = process.env.TMP || process.env.TMPDIR || process.env.TEMP ||