@flowfuse/nr-assistant 0.2.1-1212b04-202506121513.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowfuse/nr-assistant",
3
- "version": "0.2.1-1212b04-202506121513.0",
3
+ "version": "0.2.1",
4
4
  "description": "FlowFuse Node-RED assistant plugin",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/.eslintrc DELETED
@@ -1,32 +0,0 @@
1
- {
2
- "root": true,
3
- "globals": {
4
- "monaco": true,
5
- "RED": true
6
- },
7
- "env": {
8
- "browser": true,
9
- "commonjs": true,
10
- "es2021": true,
11
- "mocha": true,
12
- "jquery": true
13
- },
14
- "extends": [
15
- "eslint:recommended",
16
- "standard"
17
- ],
18
- "plugins": [ "eslint-plugin-html", "no-only-tests" ],
19
- "parserOptions": {
20
- "ecmaVersion": 12
21
- },
22
- "rules": {
23
- // Built-in rules
24
- "indent": ["error", 4],
25
- "object-shorthand": ["error"],
26
- "no-console": ["error", { "allow": ["debug", "info", "warn", "error"] }],
27
-
28
- // plugin:no-only-tests
29
- "no-only-tests/no-only-tests": "error"
30
-
31
- }
32
- }
@@ -1,6 +0,0 @@
1
- version: 2
2
- updates:
3
- - package-ecosystem: "github-actions"
4
- directory: "/"
5
- schedule:
6
- interval: "weekly"
@@ -1,10 +0,0 @@
1
- name: Project automations
2
- on:
3
- issues:
4
- types:
5
- - opened
6
- jobs:
7
- add_to_product_board:
8
- uses: flowfuse/.github/.github/workflows/project-automation.yml@main
9
- secrets:
10
- token: ${{ secrets.PROJECT_ACCESS_TOKEN }}
@@ -1,51 +0,0 @@
1
- name: Build and push packages
2
-
3
- on:
4
- workflow_dispatch:
5
- push:
6
- branches:
7
- - main
8
- pull_request:
9
- branches:
10
- - main
11
-
12
- jobs:
13
- build:
14
- uses: 'flowfuse/github-actions-workflows/.github/workflows/build_node_package.yml@v0.39.0'
15
- with:
16
- node: '[
17
- {"version": "16", "tests": true, "lint": false},
18
- {"version": "18", "tests": true, "lint": true},
19
- {"version": "20", "tests": true, "lint": true},
20
- ]'
21
-
22
- publish:
23
- needs: build
24
- if: |
25
- ( github.event_name == 'push' && github.ref == 'refs/heads/main' ) ||
26
- ( github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main' )
27
- uses: 'flowfuse/github-actions-workflows/.github/workflows/publish_node_package.yml@v0.39.0'
28
- with:
29
- package_name: nr-assistant
30
- publish_package: true
31
- secrets:
32
- npm_registry_token: ${{ secrets.NPM_PUBLISH_TOKEN }}
33
-
34
- dispatch_nr_launcher:
35
- name: Dispatch nr-launcher package build
36
- needs: publish
37
- runs-on: ubuntu-latest
38
- steps:
39
- - name: Generate a token
40
- id: generate_token
41
- uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
42
- with:
43
- app_id: ${{ secrets.GH_BOT_APP_ID }}
44
- private_key: ${{ secrets.GH_BOT_APP_KEY }}
45
- - name: Trigger nr-launcher package build
46
- uses: benc-uk/workflow-dispatch@e2e5e9a103e331dad343f381a29e654aea3cf8fc # v1.2.4
47
- with:
48
- workflow: publish.yml
49
- repo: flowfuse/nr-launcher
50
- ref: main
51
- token: ${{ steps.generate_token.outputs.token }}
@@ -1,19 +0,0 @@
1
- name: Release Published
2
- on:
3
- push:
4
- tags:
5
- - "v*.*.*"
6
-
7
- jobs:
8
- publish:
9
- runs-on: ubuntu-latest
10
- steps:
11
- - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
12
- - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
13
- with:
14
- node-version: 16
15
- - run: npm ci --omit=dev
16
- - uses: JS-DevTools/npm-publish@19c28f1ef146469e409470805ea4279d47c3d35c # v3.1.1
17
- with:
18
- token: ${{ secrets.NPM_PUBLISH_TOKEN }}
19
- access: public