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:
parent
4fe7f31d0e
commit
70eec1a295
1
.gitignore
vendored
1
.gitignore
vendored
@ -29,3 +29,4 @@ test.*
|
||||
/db/
|
||||
/test/cypress/screenshots/
|
||||
/extensions/
|
||||
/extension/lib/
|
||||
|
1
extension/.npmignore
Normal file
1
extension/.npmignore
Normal file
@ -0,0 +1 @@
|
||||
*.tsconfig.json
|
3
extension/README.md
Normal file
3
extension/README.md
Normal file
@ -0,0 +1,3 @@
|
||||
# @pigallery2/extension-kit
|
||||
|
||||
TODO.
|
11
extension/ext-enums.tsconfig.json
Normal file
11
extension/ext-enums.tsconfig.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"extends": "./../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./lib",
|
||||
"sourceMap": false
|
||||
},
|
||||
"include": [
|
||||
"./../src/common/entities/**/*",
|
||||
"./../src/common/config/**/*"
|
||||
]
|
||||
}
|
12
extension/ext-interface.tsconfig.json
Normal file
12
extension/ext-interface.tsconfig.json
Normal 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
2
extension/index.ts
Normal file
@ -0,0 +1,2 @@
|
||||
export {IServerExtension,IExtensionObject} from './lib/backend/model/extension/IExtension';
|
||||
|
8
extension/package.json
Normal file
8
extension/package.json
Normal 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"
|
||||
}
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user