Skip to content
Merged
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
2 changes: 1 addition & 1 deletion component-generator/utils.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { InvalidOptionArgumentError } = require('commander');
const fs = require('fs');
const path = require('path');
const { exec } = require('child_process');
const { exec } = require('node:child_process');
require('dotenv').config();

/**
Expand Down
2 changes: 1 addition & 1 deletion generate-changelog.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const { program } = require('commander');
const { execSync } = require('child_process');
const { execSync } = require('node:child_process');
const fs = require('fs');

program
Expand Down
2 changes: 1 addition & 1 deletion lib/__tests__/build-scss.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const fs = require('fs');
const path = require('path');
const { spawn } = require('child_process');
const { spawn } = require('node:child_process');
const os = require('os');
const sass = require('sass');

Expand Down
4 changes: 2 additions & 2 deletions lib/__tests__/install-theme.test.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
const inquirer = require('inquirer');
const childProcess = require('child_process');
const childProcess = require('node:child_process');

const themeCommand = require('../install-theme');

jest.mock('inquirer');
jest.mock('child_process');
jest.mock('node:child_process');

describe('install-theme', () => {
beforeEach(() => {
Expand Down
2 changes: 1 addition & 1 deletion lib/install-theme.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const inquirer = require('inquirer');
const childProcess = require('child_process');
const childProcess = require('node:child_process');

/**
* Prompts the user to enter the @edx/brand package they want to install.
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
"axios": "^1.0.0",
"bootstrap": "^4.6.2",
"chalk": "^4.1.2",
"child_process": "^1.0.2",
"chroma-js": "^3.0.0",
"classnames": "^2.3.1",
"cli-progress": "^3.12.0",
Expand Down