@vcmap/plugin-cli 3.1.1 → 3.1.3

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,5 +1,5 @@
1
1
  default:
2
- image: gitlab.virtualcitysystems.de:5050/vcsuite/devops/gitlabrunner/node:18-bullseye
2
+ image: gitlab.virtualcitysystems.de:5050/vcsuite/devops/gitlabrunner/node:20-bullseye
3
3
 
4
4
  variables:
5
5
  GIT_CLONE_PATH: $CI_BUILDS_DIR/$CI_PROJECT_PATH_SLUG/$CI_COMMIT_REF_SLUG
@@ -69,6 +69,14 @@ describe('VcsPlugin Interface test', () => {
69
69
  it('may implement initialize', () => {
70
70
  if (pluginInstance?.initialize) {
71
71
  expect(pluginInstance.initialize).to.be.a('function');
72
+ expect(pluginInstance.initialize(new VcsUiApp(), undefined)).to.not
73
+ .throw;
74
+ }
75
+ });
76
+ it('may implement onVcsAppMounted', () => {
77
+ if (pluginInstance?.onVcsAppMounted) {
78
+ expect(pluginInstance.onVcsAppMounted).to.be.a('function');
79
+ expect(pluginInstance.onVcsAppMounted(new VcsUiApp())).to.not.throw;
72
80
  }
73
81
  });
74
82
  it('should implement destroy', () => {
@@ -82,6 +82,14 @@ describe('VcsPlugin Interface test', () => {
82
82
  it('may implement initialize', () => {
83
83
  if (pluginInstance?.initialize) {
84
84
  expect(pluginInstance.initialize).to.be.a('function');
85
+ expect(pluginInstance.initialize(new VcsUiApp(), undefined)).to.not
86
+ .throw;
87
+ }
88
+ });
89
+ it('may implement onVcsAppMounted', () => {
90
+ if (pluginInstance?.onVcsAppMounted) {
91
+ expect(pluginInstance.onVcsAppMounted).to.be.a('function');
92
+ expect(pluginInstance.onVcsAppMounted(new VcsUiApp())).to.not.throw;
85
93
  }
86
94
  });
87
95
  it('should implement destroy', () => {
@@ -1,5 +1,5 @@
1
1
  default:
2
- image: gitlab.virtualcitysystems.de:5050/vcsuite/devops/gitlabrunner/node:18-bullseye
2
+ image: gitlab.virtualcitysystems.de:5050/vcsuite/devops/gitlabrunner/node:20-bullseye
3
3
 
4
4
  variables:
5
5
  GIT_CLONE_PATH: $CI_BUILDS_DIR/$CI_PROJECT_PATH_SLUG/$CI_COMMIT_REF_SLUG
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vcmap/plugin-cli",
3
- "version": "3.1.1",
3
+ "version": "3.1.3",
4
4
  "description": "A CLI to help develop and build plugins for the VC Map",
5
5
  "main": "index.js",
6
6
  "type": "module",