Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@neutralinojs/neu

Package Overview
Dependencies
Maintainers
0
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neutralinojs/neu - npm Package Versions

1
810

1.5.3

Diff

shalithasuranga
published 1.5.2 •

shalithasuranga
published 1.5.1 •

shalithasuranga
published 1.5.0 •

shalithasuranga
published 1.4.1 •

shalithasuranga
published 1.4.0 •

shalithasuranga
published 1.3.0 •

Changelog

Source

v11.3.0

Host projects support

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');

Executable icon and metadata on Windows

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.

Bugfixes/improvements

Use the zip-lib package to handle ZIP files for better performance and simplicity in the source code.

shalithasuranga
published 1.2.0 •

Changelog

Source

v11.2.0

Core: Bundler

  • Introduce the --clean flag to the neu build command to clean previous build files.
  • Add file excluding feature for the app bundle and extensions directory via 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.
  • Let app developers customize the frontend library development server wait time using the cli.frontendLibrary.waitTimeout configuration property.

Core: Version

  • The 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.
  • The neu version command now displays the (latest) tag with CLI, binary, client library version details.

Bugfixes/improvements

  • Check and validate neutralino.config.json file before executing app-specific commands.
  • Check app template validity before downloading content from a specific GitHub repository using the official GitHub API.
  • Add the app icon to the final app bundle only the specific project uses an app icon.
  • Fix the port waiting timeout issue with frontend library-based development workflow.
shalithasuranga
published 1.1.0 •

Changelog

Source

v11.1.0

Core: Bundler

  • Add cli.distributionPath into the neutralino.config.json file to customize the default dist distribution directory.
shalithasuranga
published 1.0.4 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc