mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-19 08:02:55 +00:00
feat: migrate to esm
This commit is contained in:
@@ -32,7 +32,7 @@ import {
|
||||
Scope,
|
||||
Tag,
|
||||
TreeFile,
|
||||
} from './types';
|
||||
} from './types.js';
|
||||
import got from "got";
|
||||
|
||||
/**
|
||||
|
||||
@@ -13,13 +13,13 @@
|
||||
* this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
import {Logger} from '@openstapps/logger';
|
||||
import {AddLogLevel} from '@openstapps/logger/lib/transformations/add-log-level';
|
||||
import {Colorize} from '@openstapps/logger/lib/transformations/colorize';
|
||||
import {AddLogLevel} from '@openstapps/logger/lib/transformations/add-log-level.js';
|
||||
import {Colorize} from '@openstapps/logger/lib/transformations/colorize.js';
|
||||
import {Command} from 'commander';
|
||||
import {readFileSync} from 'fs';
|
||||
import path from 'path';
|
||||
import {Api, ApiRequestOptions} from './api';
|
||||
import {Issue, IssueState, MembershipScope, Scope} from './types';
|
||||
import {Api, ApiRequestOptions} from './api.js';
|
||||
import {Issue, IssueState, MembershipScope, Scope} from './types.js';
|
||||
|
||||
Logger.setTransformations([new AddLogLevel(), new Colorize()]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user