Skip to content
This repository was archived by the owner on May 21, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/lib/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
'use strict';
import shell from "shelljs";
import path from 'path';
import config from './config';
import Log from './log';
import config from '@lib/config';
import Log from '@lib/log';

const log = new Log();

Expand Down
2 changes: 1 addition & 1 deletion src/lib/cli.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import pkg from '../../package.json';
import Log from './log';
import Log from '@lib/log';

const log = new Log();

Expand Down
2 changes: 1 addition & 1 deletion src/lib/config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { merge } from 'lodash';
import path from 'path';
import envConfig from './environment'
import envConfig from '@lib/environment'
import fs from 'fs';
/*eslint no-process-env:0*/

Expand Down
4 changes: 2 additions & 2 deletions src/lib/gh-pages.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';
import shell from 'shelljs';
import config from './config';
import Log from './log';
import config from '@lib/config';
import Log from '@lib/log';
import fs from 'fs';


Expand Down
4 changes: 2 additions & 2 deletions src/lib/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { version, help } from './cli';
import runTasks from './tasks';
import { version, help } from '@lib/cli';
import runTasks from '@lib/tasks';

const release = async options => {
if (options.version) {
Expand Down
6 changes: 3 additions & 3 deletions src/lib/redoc-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
'use strict';
import shell from 'shelljs';
import path from 'path';
import config from './config';
import themes from './theme';
import Log from './log';
import config from '@lib/config';
import themes from '@lib/theme';
import Log from '@lib/log';

const log = new Log();
var OPENAPI_YAML_PATH = path.join(config.branchPath, 'openapi.yaml');
Expand Down
4 changes: 2 additions & 2 deletions src/lib/swagger-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
'use strict';
import shell from 'shelljs';
import path from 'path';
import config from './config';
import Log from './log';
import config from '@lib/config';
import Log from '@lib/log';

const log = new Log();

Expand Down
10 changes: 5 additions & 5 deletions src/lib/tasks.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import Logger from './log';
import Config from './config';
import { fetchPages } from './gh-pages';
import bundleSpec from './bundle';
import { setupUI } from './redoc-ui';
import Logger from '@lib/log';
import Config from '@lib/config';
import { fetchPages } from '@lib/gh-pages';
import bundleSpec from '@lib/bundle';
import { setupUI } from '@lib/redoc-ui';

const runTasks = (opts, di) => {
let container = {};
Expand Down
5 changes: 2 additions & 3 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ module.exports = {
alias: {
'@lib': path.resolve(__dirname, 'src/lib')
},
modules: [
'node_modules'
]
extensions: ['.js'],
modules: ['node_modules']
},
module: {
rules: [
Expand Down