@neutralinojs/neu
Advanced tools
Changelog
v11.3.0
Developers can launch Neutralinojs from any programming language using child process APIs (i.e., subprocess
in Python) and communicate with the framework process using the extension API. The new hostProject
configuration object extends the official CLI to help developers easily create, run, and build these host projects. For example, the following host project configuration instructs the CLI to run a Node.js host project:
"hostProject": {
"projectPath": "/node-src",
"buildPath": "/node-src/dist/",
"initCommand": "npm install",
"devCommand": "npm start",
"buildCommand": "npm run build"
}
Community projects implement bindings and templates to create host projects using Node.js, Python, Go, etc. For example, the node-neutralino
NPM package lets you launch Neutralinojs via Node.js environments and execute native APIs via the NeutralinoApp
class:
import NeutralinoApp from 'node-neutralino';
const app = new NeutralinoApp({
url: '/',
windowOptions: {
enableInspector: false,
}
});
app.init();
app.window.setTitle('Node.js');
Now, the neu build
command automatically updates the executable file icon and metadata based on the following configuration options:
author
: gets written into executable's metadata.description
: gets written into executable's metadata.copyright
: gets written into executable's metadata. Defaults to current date + generic "all rights reserved".applicationName
: gets written into executable's metadata. Defaults to cli.binaryName
.applicationIcon
: a relative path to an icon in .png
format. Defaults to modes.window.icon
. If it is not set, uses Neutralinojs logo.Use the zip-lib
package to handle ZIP files for better performance and simplicity in the source code.
Changelog
v11.2.2
Changelog
v11.2.0
--clean
flag to the neu build
command to clean previous build files.cli.resourcesExclude
and cli.extensionsExclude
configuration properties. For example, now developers can use the "resourcesExclude": ".*\\.scss$|.*\\.d.ts$"
configuration to exclude *.scss
and *.d.ts
files from the final app bundle.cli.frontendLibrary.waitTimeout
configuration property.neu version
command now compares the installed CLI version and the framework version with the latest released versions and displays a warning messages if the users use an older versions.neu version
command now displays the (latest)
tag with CLI, binary, client library version details.neutralino.config.json
file before executing app-specific commands.Changelog
v11.0.1
neu build
command.--frontend-lib-dev
option.Changelog
v11.0.0
Changelog
v10.1.1
Changelog
v10.1.0
devCommand
execution, etc.,).Changelog
v10.0.0
Added new configuration options to the cli.frontendLibrary
key of the neutralino.config.json
:
projectPath
: Sets the project path of the frontend-library project. This path will be used as the current directory while executing the frontend-app-related commands.initCommand
: A command that gets executed after downloading an app template with the neu create
command.devCommand
: This command will run with the neu run
command to start the frontend development server. The CLI doesn't wait for devCommand
completion, instead, it will wait for the frontend development server via the tcp-port-used
package.buildCommand
: The neu build
command will execute this command before generating the app bundle, so you can generate static resources of your frontend app using this command.Changelog
v9.8.0
--latest
option in the neu update
command.Changelog
v9.7.0