1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-25 02:04:15 +02:00

Adding extension dev-kit building files and also doc placeholder #743

This commit is contained in:
Patrik J. Braun 2023-11-25 16:01:04 +01:00
parent 4fe7f31d0e
commit 70eec1a295
8 changed files with 41 additions and 2 deletions

1
.gitignore vendored
View File

@ -29,3 +29,4 @@ test.*
/db/
/test/cypress/screenshots/
/extensions/
/extension/lib/

1
extension/.npmignore Normal file
View File

@ -0,0 +1 @@
*.tsconfig.json

3
extension/README.md Normal file
View File

@ -0,0 +1,3 @@
# @pigallery2/extension-kit
TODO.

View File

@ -0,0 +1,11 @@
{
"extends": "./../tsconfig.json",
"compilerOptions": {
"outDir": "./lib",
"sourceMap": false
},
"include": [
"./../src/common/entities/**/*",
"./../src/common/config/**/*"
]
}

View File

@ -0,0 +1,12 @@
{
"extends": "./../tsconfig.json",
"compilerOptions": {
"declaration": true,
"emitDeclarationOnly": true,
"sourceMap": false,
"outDir": "./lib"
},
"include": [
"./../src/**/*"
]
}

2
extension/index.ts Normal file
View File

@ -0,0 +1,2 @@
export {IServerExtension,IExtensionObject} from './lib/backend/model/extension/IExtension';

8
extension/package.json Normal file
View File

@ -0,0 +1,8 @@
{
"name": "pigallery2-extension-kit",
"version": "2.0.2-edge",
"description": "Interfaces for developing extensions for pigallery2",
"author": "Patrik J. Braun",
"homepage": "https://github.com/bpatrik/pigallery2",
"license": "MIT"
}

View File

@ -1,6 +1,6 @@
{
"name": "pigallery2",
"version": "2.0.0",
"version": "2.0.2-edge",
"description": "This is a photo gallery optimised for running low resource servers (especially on raspberry pi)",
"author": "Patrik J. Braun",
"homepage": "https://github.com/bpatrik/pigallery2",
@ -25,7 +25,8 @@
"lint": "ng lint",
"start-e2e-server": "node ./test/folder-reset test/e2e && node ./src/backend/index --config-path=test/e2e/config.json --Database-dbFolder=test/e2e --Server-port=8080",
"cypress:open": "cypress open",
"cypress:run": "cypress run"
"cypress:run": "cypress run",
"build-extension-interface": "tsc -p extension/ext-interface.tsconfig.json && tsc -p extension/ext-enums.tsconfig.json"
},
"repository": {
"type": "git",