Initial commit
This commit is contained in:
commit
d1690bda81
23
packages/xo-server-test-plugin/index.js
Normal file
23
packages/xo-server-test-plugin/index.js
Normal file
@ -0,0 +1,23 @@
|
||||
exports.default = function (opts) {
|
||||
return {
|
||||
configure: function (configuration) {
|
||||
console.log('stub configured', configuration)
|
||||
},
|
||||
load: function () {
|
||||
console.log('stub loaded')
|
||||
},
|
||||
unload: function () {
|
||||
console.log('stub unloaded')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
exports.configurationSchema = {
|
||||
type: 'object',
|
||||
properties: {
|
||||
foo: {
|
||||
type: 'string'
|
||||
}
|
||||
},
|
||||
required: ['foo']
|
||||
}
|
5
packages/xo-server-test-plugin/package.json
Normal file
5
packages/xo-server-test-plugin/package.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"private": true,
|
||||
"name": "xo-server-test-plugin",
|
||||
"version": "0.0.0"
|
||||
}
|
Loading…
Reference in New Issue
Block a user