issue-pane 2.5.1 → 2.6.0-3cf7b2ca

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/README.md CHANGED
@@ -4,3 +4,4 @@ Issue tracker and bug editor pane, very configurable. Solid pane compatible
4
4
  At the moment to start a tracker you have to configure the config file in turtle.
5
5
 
6
6
  Would be good create a mintNew method to allow new ones to be created in the UI.
7
+
@@ -0,0 +1,5 @@
1
+ module.exports = {
2
+ plugins: [
3
+ ["@babel/plugin-transform-runtime"]
4
+ ]
5
+ };
package/csvButton.js CHANGED
@@ -7,8 +7,6 @@
7
7
  import { icons, ns, utils, widgets } from 'solid-ui'
8
8
  import { store } from 'solid-logic'
9
9
 
10
- const TestCSVstring = 'A,B,C\n1,2,3\n4,5,6\nfoo,bar,baz\n'
11
-
12
10
  export function quoteString(value) {
13
11
  // https://www.rfc-editor.org/rfc/rfc4180
14
12
  const stripped = value.replaceAll('\n', ' ')
@@ -117,7 +115,7 @@ export function csvButton (dom, tracker) {
117
115
  const wrapper = dom.createElement('div')
118
116
  // Add a button
119
117
  const button = widgets.button(dom, icons.iconBase + 'noun_Document_998605.svg',
120
- 'Copy as CSV', async event => {
118
+ 'Copy as CSV', async _event => {
121
119
 
122
120
  const div = button.parentNode.parentNode
123
121
  console.log('button gparent div', div)
package/dev/context.js CHANGED
@@ -1,4 +1,3 @@
1
- // import { longChatPane } from "chat-pane";
2
1
  import { DataBrowserContext, PaneRegistry } from "pane-registry";
3
2
  import { LiveStore, solidLogicSingleton, store } from "solid-logic";
4
3
 
@@ -230,7 +230,7 @@
230
230
  ical:location
231
231
  <http://www.w3.org/2000/01/rdf-schema#comment>
232
232
  flow:assignee );
233
- flow:stateStore <state.n3> .
233
+ flow:stateStore <state-big-tracker.ttl> .
234
234
 
235
235
  <tracker.n3> <http://www.w3.org/2000/01/rdf-schema#comment> """This file defines a tracker for requests.
236
236
  """;
@@ -1,16 +1,13 @@
1
-
2
-
3
1
  @prefix dc: <http://purl.org/dc/terms/> .
4
2
  @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
5
- @prefix con: <http://www.w3.org/2000/10/swap/pim/contact#> .
6
- @prefix dc: <http://purl.org/dc/elements/1.1/>.
7
- @prefix doap: <http://usefulinc.com/ns/doap#> .
8
- @prefix wf: <http://www.w3.org/2005/01/wf/flow#> .
9
- @prefix ical: <http://www.w3.org/2002/12/cal/ical#> .
10
- @prefix owl: <http://www.w3.org/2002/07/owl#> .
11
- @prefix ui: <http://www.w3.org/ns/ui#> .
12
- @prefix dct: <http://purl.org/dc/terms/> .
13
-
3
+ @prefix con: <http://www.w3.org/2000/10/swap/pim/contact#> .
4
+ @prefix dc: <http://purl.org/dc/elements/1.1/>.
5
+ @prefix doap: <http://usefulinc.com/ns/doap#> .
6
+ @prefix wf: <http://www.w3.org/2005/01/wf/flow#> .
7
+ @prefix ical: <http://www.w3.org/2002/12/cal/ical#> .
8
+ @prefix owl: <http://www.w3.org/2002/07/owl#> .
9
+ @prefix ui: <http://www.w3.org/ns/ui#> .
10
+ @prefix dct: <http://purl.org/dc/terms/> .
14
11
  @prefix : <big-tracker.ttl#> . # the config file
15
12
 
16
13
  <#Task1> wf:tracker :this ;
package/eslint.config.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ import { defineConfig } from "eslint/config";
1
2
  import { fixupConfigRules } from "@eslint/compat";
2
3
  import globals from "globals";
3
4
  import path from "node:path";
@@ -13,23 +14,22 @@ const compat = new FlatCompat({
13
14
  allConfig: js.configs.all
14
15
  });
15
16
 
16
- export default [
17
- ...fixupConfigRules(compat.extends("eslint:recommended", "plugin:import/recommended")),
18
- {
19
- languageOptions: {
20
- globals: {
21
- ...globals.browser,
22
- ...globals.node,
23
- Atomics: "readonly",
24
- SharedArrayBuffer: "readonly",
25
- },
26
- },
17
+ export default defineConfig([{
18
+ extends: fixupConfigRules(compat.extends("eslint:recommended", "plugin:import/recommended")),
27
19
 
28
- rules: {
29
- "no-unused-vars": ["warn", {
30
- argsIgnorePattern: "^_",
31
- varsIgnorePattern: "^_",
32
- }],
20
+ languageOptions: {
21
+ globals: {
22
+ ...globals.browser,
23
+ ...globals.node,
24
+ Atomics: "readonly",
25
+ SharedArrayBuffer: "readonly",
33
26
  },
34
27
  },
35
- ];
28
+
29
+ rules: {
30
+ "no-unused-vars": ["warn", {
31
+ argsIgnorePattern: "^_",
32
+ varsIgnorePattern: "^_",
33
+ }],
34
+ },
35
+ }]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "issue-pane",
3
- "version": "2.5.1",
3
+ "version": "2.6.0-3cf7b2ca",
4
4
  "description": "Solid-compatible Panes: issue editor",
5
5
  "main": "./issuePane.js",
6
6
  "scripts": {
@@ -9,8 +9,8 @@
9
9
  "lint-fix": "eslint '*.js' --fix",
10
10
  "start": "webpack serve --config webpack.dev.config.js --open",
11
11
  "test": "npm run lint",
12
- "prepublishOnly": "npm test",
13
- "postpublish": "git push origin main --follow-tags"
12
+ "ignore:prepublishOnly": "npm test",
13
+ "ignore:postpublish": "git push origin main --follow-tags"
14
14
  },
15
15
  "repository": {
16
16
  "type": "git",
@@ -35,22 +35,23 @@
35
35
  },
36
36
  "homepage": "https://github.com/solid/issue-pane",
37
37
  "dependencies": {
38
- "solid-ui": "^2.5.1"
38
+ "solid-ui": "^2.6.0"
39
39
  },
40
40
  "devDependencies": {
41
- "@eslint/compat": "^1.2.6",
42
- "@eslint/eslintrc": "^3.2.0",
43
- "@eslint/js": "^9.19.0",
41
+ "@babel/runtime": "^7.28.3",
42
+ "@eslint/compat": "^1.3.2",
43
+ "@eslint/eslintrc": "^3.3.1",
44
+ "@eslint/js": "^9.33.0",
44
45
  "babel-loader": "^10.0.0",
45
- "eslint": "^9.19.0",
46
- "eslint-plugin-import": "^2.31.0",
47
- "globals": "^15.14.0",
46
+ "eslint": "^9.33.0",
47
+ "eslint-plugin-import": "^2.32.0",
48
+ "globals": "^16.3.0",
48
49
  "html-webpack-plugin": "^5.6.3",
49
50
  "husky": "^9.1.7",
50
- "lint-staged": "^15.4.3",
51
+ "lint-staged": "^16.1.5",
51
52
  "node-polyfill-webpack-plugin": "^4.1.0",
52
53
  "webpack-cli": "^6.0.1",
53
- "webpack-dev-server": "^4.15.2"
54
+ "webpack-dev-server": "^5.2.2"
54
55
  },
55
56
  "husky": {
56
57
  "hooks": {
@@ -1,7 +1,6 @@
1
1
  #Processed by Id
2
2
  # using base file:///Users/timbl_1/src/github.com/solidos/solidos/workspaces/issue-pane/test/big-tracker-config.ttl
3
3
  @prefix : <tracker.n3#> .
4
- @prefix ca: <https://olarkin.inrupt.net/profile/card#> .
5
4
  @prefix con: <http://www.w3.org/2000/10/swap/pim/contact#> .
6
5
  @prefix doap: <http://usefulinc.com/ns/doap#> .
7
6
  @prefix flow: <http://www.w3.org/2005/01/wf/flow#> .
package/.eslintrc DELETED
@@ -1,19 +0,0 @@
1
- {
2
- "root": true,
3
- "env": {
4
- "browser": true,
5
- "es6": true,
6
- "node": true
7
- },
8
- "globals": {
9
- "Atomics": "readonly",
10
- "SharedArrayBuffer": "readonly"
11
- },
12
- "rules": {
13
- "no-unused-vars": ["warn", {
14
- "argsIgnorePattern": "^_",
15
- "varsIgnorePattern": "^_"
16
- }]
17
- },
18
- "extends": ["eslint:recommended", "plugin:import/recommended"]
19
- }
@@ -1,75 +0,0 @@
1
- name: CI
2
-
3
- on:
4
- push:
5
- branches:
6
- - "**"
7
- pull_request:
8
- branches:
9
- - "**"
10
- workflow_dispatch:
11
-
12
- jobs:
13
- build:
14
- runs-on: ubuntu-latest
15
- strategy:
16
- matrix:
17
- node-version:
18
- - 18.x
19
- - 20.x
20
- steps:
21
- - uses: actions/checkout@v2
22
- - name: Use Node.js ${{ matrix.node-version }}
23
- uses: actions/setup-node@v1
24
- with:
25
- node-version: ${{ matrix.node-version }}
26
- - run: npm ci
27
- - run: npm run lint --if-present
28
- - run: npm test
29
- - run: npm run build --if-present
30
- - name: Save build
31
- if: matrix.node-version == '18.x'
32
- uses: actions/upload-artifact@v4
33
- with:
34
- name: build
35
- path: |
36
- .
37
- !node_modules
38
- retention-days: 1
39
- npm-publish-build:
40
- needs: build
41
- runs-on: ubuntu-latest
42
- steps:
43
- - uses: actions/download-artifact@v4
44
- with:
45
- name: build
46
- - uses: actions/setup-node@v1
47
- with:
48
- node-version: 18.x
49
- - uses: rlespinasse/github-slug-action@v3.x
50
- - name: Append commit hash to package version
51
- run: 'sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json'
52
- - name: Disable pre- and post-publish actions
53
- run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
54
- - uses: JS-DevTools/npm-publish@v1
55
- with:
56
- token: ${{ secrets.NPM_TOKEN }}
57
- tag: ${{ env.GITHUB_REF_SLUG }}
58
-
59
- npm-publish-latest:
60
- needs: build
61
- runs-on: ubuntu-latest
62
- if: github.ref == 'refs/heads/main'
63
- steps:
64
- - uses: actions/download-artifact@v4
65
- with:
66
- name: build
67
- - uses: actions/setup-node@v1
68
- with:
69
- node-version: 18.x
70
- - name: Disable pre- and post-publish actions
71
- run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
72
- - uses: JS-DevTools/npm-publish@v1
73
- with:
74
- token: ${{ secrets.NPM_TOKEN }}
75
- tag: latest
package/.nvmrc DELETED
@@ -1 +0,0 @@
1
- v18.19.0