# 🎉 nrg-cli v2 released

**URL:** <https://discourse.nodered.org/t/nrg-cli-v2-released/92333>\
**Category:** Developing Nodes\
**Created:** [12 October 2024 00:16 UTC](https://discourse.nodered.org/t/nrg-cli-v2-released/92333 "2024-10-12T00:16:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AllanOricil](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/allanoricil/32/106911_2.png) [@AllanOricil](https://discourse.nodered.org/u/AllanOricil)\
**Post date:** [12 October 2024 00:16 UTC](https://discourse.nodered.org/t/nrg-cli-v2-released/92333/1 "2024-10-12T00:16:10Z")

</div>

> **[GitHub - AllanOricil/nrg-cli: ⚡️ A powerful CLI tool for generating, building,...](https://github.com/AllanOricil/nrg-cli)**
>
> ⚡️ A powerful CLI tool for generating, building, and managing Node-RED nodes and plugins with best practices.

# BREAKING CHANGES

- all `@allanoricil/node-red-node` imports must be renamed to `@allanoricil/nrg-nodes`

## BEFORE

```js
import { Node } from "@allanoricil/node-red-node";

export default class MyNode extends Node {
  constructor(config) {
    super(config);
  }
}

```

## AFTER

```js
import { Node } from "@allanoricil/nrg-nodes";

export default class MyNode extends Node {
  constructor(config) {
    super(config);
  }
}

```

I also started the dispute for @nrg scope in NPM, but Github takes ages for answering it.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [11 December 2024 00:17 UTC](https://discourse.nodered.org/t/nrg-cli-v2-released/92333/2 "2024-12-11T00:17:03Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
