diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..679d35f --- /dev/null +++ b/.drone.yml @@ -0,0 +1,5 @@ +--- +kind: template +load: new-release.yaml +data: + image: gitea.kdiva.ru/infrastructure/archiver:latest diff --git a/README.md b/README.md new file mode 100644 index 0000000..109cb7b --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# Файл шаблона для новых репозиториев \ No newline at end of file diff --git a/module.json.template b/module.json.template new file mode 100644 index 0000000..d960bf9 --- /dev/null +++ b/module.json.template @@ -0,0 +1,23 @@ +{ + "id": "", + "name": "", + "title": "", + "description": "", + "authors": [ + { + "name": "leego neit" + } + ], + "version": "$RELEASE_TAG", + "minimumCoreVersion": "9", + "compatibility": { + "minimum": "9", + "verified": "11", + "maximum": "11" + }, + "url": "${DRONE_REPO_LINK}", + "manifest": "${DRONE_REPO_LINK}/releases/download/latest/module.json", + "download": "${DRONE_REPO_LINK}/releases/download/$RELEASE_TAG/module.zip", + "styles": [], + "packs": [] +} diff --git a/src/module.json b/src/module.json deleted file mode 100644 index cc7af9f..0000000 --- a/src/module.json +++ /dev/null @@ -1,91 +0,0 @@ -{ - "id": "${REPO_NAME}", - "title": "new adventure template", - "description": "${REPO_DESCRIPTION}", - "version": "1.0.0", - "compatibility": { - "minimum": "10", - "verified": "10", - "maximum": "10" - }, - "authors": [ - { - "name": "leego_neit" - } - ], - "packs": [ - { - "name": "actors", - "label": "new adventure template", - "path": "/packs/actors.db", - "entity": "Actor", - "type": "Actor", - "system": "dnd5e" - }, - { - "name": "adventure", - "label": "new adventure template", - "path": "/packs/adventure.db", - "entity": "Adventure", - "type": "Adventure", - "system": "dnd5e" - }, - { - "name": "cards", - "label": "new adventure template", - "path": "/packs/cards.db", - "entity": "Cards", - "type": "Cards" - }, - { - "name": "items", - "label": "new adventure template", - "path": "/packs/items.db", - "entity": "Item", - "type": "Item", - "system": "dnd5e" - }, - { - "name": "journals", - "label": "new adventure template", - "path": "/packs/journals.db", - "entity": "JournalEntry", - "type": "JournalEntry" - }, - { - "name": "macros", - "label": "new adventure template", - "path": "/packs/macros.db", - "entity": "Macro", - "type": "Macro" - }, - { - "name": "maps", - "label": "new adventure template", - "path": "/packs/maps.db", - "entity": "Scene", - "type": "Scene" - }, - { - "name": "playlists", - "label": "new adventure template", - "path": "/packs/playlists.db", - "entity": "Playlist", - "type": "Playlist" - }, - { - "name": "rolltables", - "label": "new adventure template", - "path": "/packs/rolltables.db", - "entity": "RollTable", - "type": "RollTable" - } - ], - "esmodules": [ - "./scripts/init.js" - ], - "url": "https://gitea.kdiva.ru${REPO_LINK}", - "manifest": "https://gitea.kdiva.ru${REPO_LINK}/raw/branch/main/src/module.json", - "download": "", - "manifestPlusVersion": "1.2.0" -} \ No newline at end of file