@flowfuse/nr-tables-nodes 0.2.1 → 0.2.2-09c5b7b-202602111002.0
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/.github/workflows/release-publish.yml +10 -0
- package/eslint.config.mjs +28 -28
- package/package.json +2 -1
|
@@ -19,3 +19,13 @@ jobs:
|
|
|
19
19
|
with:
|
|
20
20
|
token: ${{ secrets.NPM_PUBLISH_TOKEN }}
|
|
21
21
|
access: public
|
|
22
|
+
- name: getVersion
|
|
23
|
+
id: getVersion
|
|
24
|
+
shell: bash
|
|
25
|
+
run: |
|
|
26
|
+
VERSION=$(npm info . --json version | sed -e 's/"//g')
|
|
27
|
+
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
|
28
|
+
- uses: flowfuse/github-actions-workflows/actions/update-nr-flows@v0.49.0
|
|
29
|
+
with:
|
|
30
|
+
package: '@flowfuse/nr-tables-nodes'
|
|
31
|
+
version: ${{ steps.getVersion.outputs.version }}
|
package/eslint.config.mjs
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import globals from
|
|
2
|
-
import html from
|
|
3
|
-
import js from
|
|
1
|
+
import globals from 'globals';
|
|
2
|
+
import html from 'eslint-plugin-html';
|
|
3
|
+
import js from '@eslint/js';
|
|
4
4
|
import neostandard, { resolveIgnoresFromGitignore } from 'neostandard';
|
|
5
5
|
import stylistic from '@stylistic/eslint-plugin';
|
|
6
6
|
|
|
7
7
|
export default [
|
|
8
8
|
{
|
|
9
|
-
files: [
|
|
9
|
+
files: ['**/*.js'],
|
|
10
10
|
languageOptions: {
|
|
11
11
|
globals: {
|
|
12
12
|
...globals.browser,
|
|
13
13
|
},
|
|
14
|
-
sourceType:
|
|
14
|
+
sourceType: 'script',
|
|
15
15
|
},
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
|
-
files: [
|
|
18
|
+
files: ['**/*.html'],
|
|
19
19
|
plugins: { html },
|
|
20
20
|
settings: {
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
'html/indent': 'tab',
|
|
22
|
+
'html/report-bad-indent': 'error',
|
|
23
23
|
},
|
|
24
24
|
},
|
|
25
25
|
{
|
|
@@ -32,29 +32,29 @@ export default [
|
|
|
32
32
|
...neostandard(),
|
|
33
33
|
{
|
|
34
34
|
plugins: {
|
|
35
|
-
|
|
35
|
+
'@stylistic': stylistic,
|
|
36
36
|
},
|
|
37
37
|
rules: {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
38
|
+
'camelcase': 'off',
|
|
39
|
+
'eqeqeq': 'error',
|
|
40
|
+
'no-empty': ['error', { 'allowEmptyCatch': true }],
|
|
41
|
+
'no-unused-vars': ['error', {
|
|
42
|
+
'args': 'none',
|
|
43
|
+
'caughtErrors': 'none',
|
|
44
44
|
}],
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
45
|
+
'object-shorthand': ['warn', 'consistent'],
|
|
46
|
+
'quotes': ['off', 'error', 'single', { 'avoidEscape': true }],
|
|
47
|
+
'yoda': 'off',
|
|
48
|
+
'@stylistic/indent': ['warn', 'tab', { 'SwitchCase': 1 }],
|
|
49
|
+
'@stylistic/linebreak-style': ['error', 'unix'],
|
|
50
|
+
'@stylistic/max-len': ['warn', 165],
|
|
51
|
+
'@stylistic/no-tabs': 'off',
|
|
52
|
+
'@stylistic/quote-props': ['warn', 'consistent'],
|
|
53
|
+
'@stylistic/semi': ['warn', 'always'],
|
|
54
|
+
'@stylistic/space-before-function-paren': ['warn', {
|
|
55
|
+
'anonymous': 'always',
|
|
56
|
+
'asyncArrow': 'always',
|
|
57
|
+
'named': 'never',
|
|
58
58
|
}],
|
|
59
59
|
},
|
|
60
60
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowfuse/nr-tables-nodes",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2-09c5b7b-202602111002.0",
|
|
4
4
|
"description": "Nodes for use with the FlowFuse Tables offering, allowing developers to write and run queries against databases inside FlowFuse Tables.",
|
|
5
5
|
"homepage": "https://flowfuse.com/node-red/flowfuse/flowfuse-tables/",
|
|
6
6
|
"author": {
|
|
@@ -68,6 +68,7 @@
|
|
|
68
68
|
},
|
|
69
69
|
"scripts": {
|
|
70
70
|
"lint": "eslint .",
|
|
71
|
+
"lint:fix": "eslint . --fix",
|
|
71
72
|
"eslint": "eslint .",
|
|
72
73
|
"eslint_fix": "eslint --fix .",
|
|
73
74
|
"markdownlint": "markdownlint '**/*.md'",
|