# D2 third party ui node, what to put in package.json

**URL:** https://discourse.nodered.org/t/d2-third-party-ui-node-what-to-put-in-package-json/89503
**Category:** Dashboard
**Tags:** dashboard-2
**Created:** [15 July 2024 08:56 UTC](https://discourse.nodered.org/t/d2-third-party-ui-node-what-to-put-in-package-json/89503 "2024-07-15T08:56:10Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [15 July 2024 08:56 UTC](https://discourse.nodered.org/t/d2-third-party-ui-node-what-to-put-in-package-json/89503/1 "2024-07-15T08:56:10Z")

</div>

The example node has, in package.json, as well as the obvious stuff

```auto
    "dependencies": {
        "vue": "^3.3.8",
        "vuex": "^4.1.0"
    },
    "devDependencies": {
        "@vitejs/plugin-vue": "^4.5.0",
        "eslint": "^8.53.0",
        "eslint-config-standard": "^17.1.0",
        "eslint-plugin-import": "^2.29.0",
        "eslint-plugin-n": "^16.3.1",
        "eslint-plugin-vue": "^9.18.1",
        "vite": "^5.0.13",
        "vite-plugin-css-injected-by-js": "^3.3.0"
    },

```

How do I know when, or if, I should update these to later versions?

---

<div class="post-metadata">

### Author: ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)
#### Post date: [16 July 2024 08:41 UTC](https://discourse.nodered.org/t/d2-third-party-ui-node-what-to-put-in-package-json/89503/2 "2024-07-16T08:41:06Z")

</div>

> How do I know when, or if, I should update these to later versions?

Unless there is any particular feature in a newer version that your third-party node requires here, then it's not a concern for you.

`npm` will compare with core's `package.json` (and all other packages) and work out the minimum set required accordingly, so you won't have a fear of restricting version numbers, etc.

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [16 July 2024 09:15 UTC](https://discourse.nodered.org/t/d2-third-party-ui-node-what-to-put-in-package-json/89503/3 "2024-07-16T09:15:11Z")

</div>

OK, thanks.

---

<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: [30 July 2024 09:15 UTC](https://discourse.nodered.org/t/d2-third-party-ui-node-what-to-put-in-package-json/89503/4 "2024-07-30T09:15:23Z")

</div>

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