@neovici/cosmoz-treenode-navigator 5.4.1 → 5.5.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.
@@ -1,61 +1,13 @@
1
- ---
2
- name: Github CI
1
+ name: CI
3
2
  on:
4
3
  pull_request:
5
4
  branches:
6
5
  - master
7
6
  push:
8
7
  branches:
8
+ - beta
9
9
  - master
10
10
  jobs:
11
- test:
12
- runs-on: ubuntu-latest
13
- steps:
14
- - name: Checkout
15
- uses: actions/checkout@v2
16
- with:
17
- fetch-depth: 0
18
-
19
- - name: Use Node.js
20
- uses: actions/setup-node@v2
21
- with:
22
- node-version: 16.x
23
- cache: 'npm'
24
-
25
- - name: Install
26
- run: npm ci
27
-
28
- - name: Lint commit messages
29
- uses: wagoid/commitlint-github-action@v3
30
-
31
- - name: ESLint
32
- run: npm run lint
33
-
34
- - name: Test and report
35
- env:
36
- CC_TEST_REPORTER_ID: 36a0219f9323e138cae8767b9b4a34a34ab33ec39027888c1c7c4d7da9c4ac44
37
- GIT_BRANCH: ${{ github.ref == 'refs/heads/master' && 'master' || github.ref }}
38
- GIT_COMMIT_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
39
- NEO_CC_URL: https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64
40
- NEO_CC: ./cc-test-reporter
41
- SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
42
- SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
43
- run: |
44
- ([[ -e $NEO_CC ]] || curl -L $NEO_CC_URL > $NEO_CC) && chmod +x $NEO_CC
45
- $NEO_CC before-build
46
- echo "::add-matcher::.github/karma-problem-matcher.json"
47
- npm test
48
- $NEO_CC after-build --exit-code $?
49
-
50
- - name: Upload coverage to Codecov
51
- uses: codecov/codecov-action@v1
52
- with:
53
- token: ${{ secrets.CODECOV_TOKEN }}
54
-
55
- - name: Semantic release
56
- run: npx semantic-release
57
- if: success()
58
- env:
59
- HUSKY: 0
60
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
61
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
11
+ build:
12
+ uses: Neovici/cfg/.github/workflows/forge.yml@master
13
+ secrets: inherit
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ # [5.5.0](https://github.com/neovici/cosmoz-treenode-navigator/compare/v5.4.2...v5.5.0) (2023-04-25)
2
+
3
+
4
+ ### Features
5
+
6
+ * update virtualizer ([5112227](https://github.com/neovici/cosmoz-treenode-navigator/commit/51122278c26cbe01b90d1bc155b0dcb5c3a5e0b0))
7
+
8
+ ## [5.4.2](https://github.com/neovici/cosmoz-treenode-navigator/compare/v5.4.1...v5.4.2) (2022-12-01)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * handle missing tree ([8a45a18](https://github.com/neovici/cosmoz-treenode-navigator/commit/8a45a1828ff0304b760bbafb94e21fc8eac4af52))
14
+
1
15
  ## [5.4.1](https://github.com/neovici/cosmoz-treenode-navigator/compare/v5.4.0...v5.4.1) (2022-11-08)
2
16
 
3
17
 
@@ -249,7 +249,7 @@ const TreenodeNavigator = (host) => {
249
249
  </svg>
250
250
  </span>
251
251
  ${guard([tree, openNodePath], () =>
252
- ((openNodePath && tree.getPathNodes(openNodePath)) || []).map(
252
+ ((openNodePath && tree?.getPathNodes(openNodePath)) || []).map(
253
253
  (node) => html`
254
254
  <span class="slash">/</span>
255
255
  <span class="pointer" tabindex="0" @click=${() => openNode(node)}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neovici/cosmoz-treenode-navigator",
3
- "version": "5.4.1",
3
+ "version": "5.5.0",
4
4
  "description": "A Polymer component that lets you navigate and search through hierarchically structured data-nodes and select one of them.",
5
5
  "keywords": [
6
6
  "polymer",
@@ -54,7 +54,8 @@
54
54
  }
55
55
  },
56
56
  "dependencies": {
57
- "@lit-labs/virtualizer": "^0.7.1",
57
+ "@lit-labs/virtualizer": "^2.0.0",
58
+ "@neovici/cfg": "^1.33.0",
58
59
  "@neovici/cosmoz-dialog": "^3.0.0",
59
60
  "@neovici/cosmoz-i18next": "^3.2.0",
60
61
  "@neovici/cosmoz-input": "^3.0.0",
@@ -71,7 +72,6 @@
71
72
  "devDependencies": {
72
73
  "@commitlint/cli": "^17.0.0",
73
74
  "@commitlint/config-conventional": "^17.0.0",
74
- "@neovici/cfg": "^1.15.2",
75
75
  "@open-wc/testing": "^3.0.0",
76
76
  "@polymer/iron-ajax": "^3.0.0",
77
77
  "@polymer/iron-component-page": "^4.0.0",
@@ -80,10 +80,8 @@
80
80
  "@polymer/test-fixture": "^4.0.2",
81
81
  "@semantic-release/changelog": "^6.0.0",
82
82
  "@semantic-release/git": "^10.0.0",
83
- "@web/dev-server": "^0.1.25",
84
- "@web/test-runner": "^0.13.19",
85
83
  "@webcomponents/webcomponentsjs": "^2.0.0",
86
84
  "husky": "^8.0.0",
87
- "semantic-release": "^19.0.3"
85
+ "semantic-release": "^21.0.1"
88
86
  }
89
87
  }
package/cc-test-reporter DELETED
Binary file