Skip to content
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
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
## unreleased

### lint

* Updated `eslint` to v10.

### pack, serve, test, transpile

* Added `@babel/core` v8 as a peer dependency to support `babel-preset-enact` with Babel 8.

### test, transpile

* Updated `@babel/plugin-transform-modules-commonjs` to v8.

## 7.3.4 (August 21, 2026)

### bootstrap
Expand Down
2 changes: 1 addition & 1 deletion commands/clean.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint no-console: off, no-undef: off */
/* eslint-env node, es6 */

const path = require('path');
const fs = require('fs-extra');
const minimist = require('minimist');
Expand Down
2 changes: 1 addition & 1 deletion commands/info.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint no-console: off, no-undef: off */
/* eslint-env node, es6 */

const path = require('path');
const fs = require('fs');
const spawn = require('cross-spawn');
Expand Down
2 changes: 1 addition & 1 deletion commands/license.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint no-console: off, no-undef: off */
/* eslint-env node, es6 */

const path = require('path');
const checker = require('license-checker');
const minimist = require('minimist');
Expand Down
2 changes: 1 addition & 1 deletion commands/lint.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint no-console: off, no-undef: off */
/* eslint-env node, es6 */

const cp = require('child_process');
const path = require('path');
const glob = require('glob');
Expand Down
4 changes: 2 additions & 2 deletions commands/pack.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint no-console: off, no-undef: off */
/* eslint-env node, es6 */

// @remove-on-eject-begin
/**
* Portions of this source code file are from create-react-app, used under the
Expand Down Expand Up @@ -244,7 +244,7 @@ function api (opts = {}) {
try {
meta = JSON.parse(opts.meta);
} catch (e) {
throw new Error('Invalid metadata; must be a valid JSON string.\n' + e.message);
throw new Error('Invalid metadata; must be a valid JSON string.\n' + e.message, {cause: e});
}
}
app.applyEnactMeta(meta);
Expand Down
3 changes: 1 addition & 2 deletions commands/serve.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint no-console: off, no-undef: off */
/* eslint-env node, es6 */
// @remove-on-eject-begin
/**
* Portions of this source code file are from create-react-app, used under the
Expand Down Expand Up @@ -326,7 +325,7 @@ function api (opts) {
try {
meta = JSON.parse(opts.meta);
} catch (e) {
throw new Error('Invalid metadata; must be a valid JSON string.\n' + e.message);
throw new Error('Invalid metadata; must be a valid JSON string.\n' + e.message, {cause: e});
}
app.applyEnactMeta(meta);
}
Expand Down
1 change: 0 additions & 1 deletion commands/test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint no-console: off, no-undef: off */
/* eslint-env node, es6 */
// @remove-on-eject-begin
/**
* Portions of this source code file are from create-react-app, used under the
Expand Down
2 changes: 0 additions & 2 deletions config/dotenv.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint-env node, es6 */

const fs = require('fs');
const path = require('path');
const dotenv = require('dotenv');
Expand Down
2 changes: 1 addition & 1 deletion config/jest/setupTests.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint no-console: off, no-undef: off */
/* eslint-env jest */

const fs = require('fs');
const path = require('path');
const {packageRoot} = require('@enact/dev-utils');
Expand Down
2 changes: 1 addition & 1 deletion config/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint no-console: off, no-undef: off */
/* eslint-env node, es6 */

// @remove-on-eject-begin
/**
* Portions of this source code file are from create-react-app, used under the
Expand Down
Loading
Loading