pane-registry 2.4.5-alpha → 2.4.6-f4ac3073

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 CHANGED
File without changes
@@ -5,9 +5,12 @@ name: CI
5
5
 
6
6
  on:
7
7
  push:
8
- branches: [ main ]
8
+ branches:
9
+ - "**"
9
10
  pull_request:
10
- branches: [ main ]
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: [ 10.x, 12.x, 14.x, 15.x ]
20
- # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
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 { NamedNode } from 'rdflib'
4
- import { SolidLogic, LiveStore } 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 }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pane-registry",
3
- "version": "2.4.5-alpha",
3
+ "version": "2.4.6-f4ac3073",
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.15"
40
+ "rdflib": "^2.2.17",
41
+ "solid-logic": "^1.3.13-2e3e7417"
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 = []