diff --git a/js/.npmignore b/js/.npmignore index 8ca2975d760..8b8e1ceaf1e 100644 --- a/js/.npmignore +++ b/js/.npmignore @@ -3,8 +3,6 @@ allTests.py assets bin -bower.json -bower_components gulp gulpfile.js index.html diff --git a/js/BUILDING.md b/js/BUILDING.md index 4f7b01250e4..ec3ee136c32 100644 --- a/js/BUILDING.md +++ b/js/BUILDING.md @@ -22,10 +22,9 @@ supported platforms. To build Ice for JavaScript you must have the following: -- The `slice2js` compiler from Ice for C++. If you have not built Ice for C++ - in this source distribution, refer to the - [C++ build instructions](../cpp/README.md). -- Node.js 4.6 or later +- The `slice2js` compiler from Ice for C++. If you have not built Ice for C++ in this source distribution, refer to the + [C++ build instructions](../cpp/BUILDING.md). +- Node.js 20 or later ## Building the JavaScript libraries and NodeJS packages diff --git a/js/gulpfile.js b/js/gulpfile.js index 260e1e49429..496bad5e4bb 100644 --- a/js/gulpfile.js +++ b/js/gulpfile.js @@ -286,17 +286,6 @@ gulp.task("test:common:generate", gulp.dest("test/Common")], cb); }); -gulp.task("test:common:babel", - cb => - { - pump([gulp.src(["test/Common/Controller.js", - "test/Common/ControllerI.js", - "test/Common/ControllerWorker.js", - "test/Common/TestHelper.js", - "test/Common/run.js"]), - babel({compact: false})], cb); - }); - gulp.task("test:common:clean", cb => { @@ -346,7 +335,6 @@ gulp.task("test:import:clean", }); const testTask = name => name.replace(/\//g, "_"); -const testBabelTask = name => testTask(name) + ":babel"; const testCleanTask = name => testTask(name) + ":clean"; const testBuildTask = name => testTask(name) + ":build"; diff --git a/js/src/es5/index.js b/js/src/es5/index.js deleted file mode 100644 index dcd714c820c..00000000000 --- a/js/src/es5/index.js +++ /dev/null @@ -1,13 +0,0 @@ -// -// Copyright (c) ZeroC, Inc. All rights reserved. -// - -require("core-js/stable"); -require("regenerator-runtime/runtime"); - -module.exports.Ice = require("./Ice/Ice").Ice; -module.exports.IceMX = require("./Ice/Ice").IceMX; -module.exports.IceSSL = require("./Ice/Ice").IceSSL; -module.exports.Glacier2 = require("./Glacier2/Glacier2").Glacier2; -module.exports.IceGrid = require("./IceGrid/IceGrid").IceGrid; -module.exports.IceStorm = require("./IceStorm/IceStorm").IceStorm;