pane-registry 2.4.5 → 2.4.6-07d72540
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/.eslintrc +0 -0
- package/.github/workflows/ci.yml +37 -4
- package/.github/workflows/release.yml +0 -0
- package/.nvmrc +0 -0
- package/LICENSE.md +0 -0
- package/README.md +0 -0
- package/index.d.ts +2 -10
- package/package.json +4 -4
- package/paneRegistry.js +0 -16
package/.eslintrc
CHANGED
|
File without changes
|
package/.github/workflows/ci.yml
CHANGED
|
@@ -5,9 +5,12 @@ name: CI
|
|
|
5
5
|
|
|
6
6
|
on:
|
|
7
7
|
push:
|
|
8
|
-
branches:
|
|
8
|
+
branches:
|
|
9
|
+
- "**"
|
|
9
10
|
pull_request:
|
|
10
|
-
branches:
|
|
11
|
+
branches:
|
|
12
|
+
- "**"
|
|
13
|
+
workflow_dispatch:
|
|
11
14
|
|
|
12
15
|
jobs:
|
|
13
16
|
build:
|
|
@@ -16,8 +19,10 @@ jobs:
|
|
|
16
19
|
|
|
17
20
|
strategy:
|
|
18
21
|
matrix:
|
|
19
|
-
node-version:
|
|
20
|
-
|
|
22
|
+
node-version:
|
|
23
|
+
- 12.x
|
|
24
|
+
- 14.x
|
|
25
|
+
- 16.x
|
|
21
26
|
|
|
22
27
|
steps:
|
|
23
28
|
- uses: actions/checkout@v2
|
|
@@ -29,3 +34,31 @@ jobs:
|
|
|
29
34
|
- run: npm run lint
|
|
30
35
|
- run: npm test
|
|
31
36
|
- run: npm run build --if-present
|
|
37
|
+
- name: Save build
|
|
38
|
+
if: matrix.node-version == '14.x'
|
|
39
|
+
uses: actions/upload-artifact@v2
|
|
40
|
+
with:
|
|
41
|
+
name: build
|
|
42
|
+
path: |
|
|
43
|
+
.
|
|
44
|
+
!node_modules
|
|
45
|
+
retention-days: 1
|
|
46
|
+
npm-publish-build:
|
|
47
|
+
needs: build
|
|
48
|
+
runs-on: ubuntu-latest
|
|
49
|
+
steps:
|
|
50
|
+
- uses: actions/download-artifact@v2
|
|
51
|
+
with:
|
|
52
|
+
name: build
|
|
53
|
+
- uses: actions/setup-node@v1
|
|
54
|
+
with:
|
|
55
|
+
node-version: 14.x
|
|
56
|
+
- uses: rlespinasse/github-slug-action@v3.x
|
|
57
|
+
- name: Append commit hash to package version
|
|
58
|
+
run: 'sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json'
|
|
59
|
+
- name: Disable pre- and post-publish actions
|
|
60
|
+
run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
|
|
61
|
+
- uses: JS-DevTools/npm-publish@v1
|
|
62
|
+
with:
|
|
63
|
+
token: ${{ secrets.NPM_TOKEN }}
|
|
64
|
+
tag: ${{ env.GITHUB_REF_SLUG }}
|
|
File without changes
|
package/.nvmrc
CHANGED
|
File without changes
|
package/LICENSE.md
CHANGED
|
File without changes
|
package/README.md
CHANGED
|
File without changes
|
package/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This is manually built for now
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import {SolidLogic} from 'solid-logic';
|
|
3
|
+
import { LiveStore, NamedNode } from 'rdflib';
|
|
4
|
+
import { SolidLogic } from 'solid-logic';
|
|
5
5
|
|
|
6
6
|
declare const list: Array<PaneDefinition>
|
|
7
7
|
declare const paneForIcon: { [key: string]: PaneDefinition }
|
|
@@ -19,14 +19,6 @@ declare function register (
|
|
|
19
19
|
|
|
20
20
|
declare function byName (name: string): PaneDefinition | null
|
|
21
21
|
|
|
22
|
-
export class ConnectedStore extends Store {
|
|
23
|
-
public fetcher: Fetcher
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export class LiveStore extends ConnectedStore {
|
|
27
|
-
public updater: UpdateManager
|
|
28
|
-
}
|
|
29
|
-
|
|
30
22
|
/**
|
|
31
23
|
* All of the knowledge that a user accumulates throughout the current session
|
|
32
24
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pane-registry",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.6-07d72540",
|
|
4
4
|
"description": "Solid-compatible Panes: Pane Registry",
|
|
5
5
|
"main": "./paneRegistry.js",
|
|
6
6
|
"types": "./index.d.ts",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"lint": "eslint 'paneRegistry.js'",
|
|
10
10
|
"lint-fix": "eslint 'paneRegistry.js' --fix",
|
|
11
11
|
"test": "npm run lint",
|
|
12
|
-
"prepublishOnly": "npm test",
|
|
12
|
+
"ignore:prepublishOnly": "npm test",
|
|
13
13
|
"postversion": "git push origin main --follow-tags"
|
|
14
14
|
},
|
|
15
15
|
"repository": {
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
},
|
|
38
38
|
"homepage": "https://github.com/solid/chat-pane",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"rdflib": "^2.2.
|
|
40
|
+
"rdflib": "^2.2.17",
|
|
41
|
+
"solid-logic": "^1.3.13-438dc3ae"
|
|
41
42
|
},
|
|
42
43
|
"devDependencies": {
|
|
43
44
|
"eslint": "^7.32.0",
|
|
44
45
|
"husky": "^7.0.4",
|
|
45
46
|
"lint-staged": "^12.1.4",
|
|
46
|
-
"solid-logic": "^1.3.12",
|
|
47
47
|
"standard": "^16.0.4"
|
|
48
48
|
},
|
|
49
49
|
"husky": {
|
package/paneRegistry.js
CHANGED
|
@@ -13,8 +13,6 @@
|
|
|
13
13
|
// create the unique UI module on which to attach paneRegistry (no, don't attach as UI dot paneRegistry any more)
|
|
14
14
|
// var UI = require('solid-ui') // Note we will add the paneRegistry register to this.
|
|
15
15
|
|
|
16
|
-
const $rdf = require('rdflib')
|
|
17
|
-
|
|
18
16
|
const paneRegistry = (module.exports = {})
|
|
19
17
|
|
|
20
18
|
paneRegistry.list = []
|
|
@@ -55,18 +53,4 @@ paneRegistry.byName = function (name) {
|
|
|
55
53
|
return null
|
|
56
54
|
}
|
|
57
55
|
|
|
58
|
-
paneRegistry.ConnectedStore = class ConnectedStore extends $rdf.Store {
|
|
59
|
-
constructor (features) {
|
|
60
|
-
super(features)
|
|
61
|
-
this.fetcher = $rdf.fetcher(this, {})
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
paneRegistry.LiveStore = class LiveStore extends $rdf.Store {
|
|
66
|
-
constructor (features) {
|
|
67
|
-
super(features)
|
|
68
|
-
this.updater = new $rdf.UpdateManager(this)
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
56
|
// ENDS
|