Compare commits

...

9 Commits
main ... 0.1.5

Author SHA1 Message Date
macniel f1c0781b2f fix missed version string to be replaced during build
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1s Details
2025-09-25 17:15:55 +02:00
macniel bd05203dfa fix naming of style directory
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1s Details
2025-09-25 17:14:33 +02:00
macniel 59cfa8e8fd renames entry point
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2s Details
2025-09-25 17:12:05 +02:00
macniel 17bbfd61db fix id
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2s Details
2025-09-25 17:09:19 +02:00
macniel f23d070a89 somethings not right
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2s Details
2025-09-25 16:27:01 +02:00
macniel a8f7a09d69 fix script
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1s Details
2025-09-25 16:24:20 +02:00
macniel 41ba5c81d0 experimenting with the tag name output
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1s Details
2025-09-25 16:18:12 +02:00
macniel b7c4aa320b close but no cigar
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2s Details
2025-09-25 16:12:32 +02:00
macniel 27cf778a48 updates the manifest info in system.json from build processor
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2s Details
2025-09-25 16:08:35 +02:00
8 changed files with 167 additions and 945 deletions

View File

@ -8,6 +8,11 @@ jobs:
build:
runs-on: node-01
steps:
- name: Print Tag
run: |
echo ${{github.ref_name}}
echo ${GITHUB_REF##*/}
- name: Checkout code
uses: actions/checkout@v2
@ -23,6 +28,8 @@ jobs:
run: npm test
- name: Build project
env:
VERSION: ${{github.ref_name}}
run: npm run build
- name: Package build output
@ -30,6 +37,7 @@ jobs:
cd ./dist
zip -r release.zip . # Adjust the path to your build output directory
mv release.zip /tmp/release.zip
- name: Package Upload
uses: akkuman/gitea-release-action@v1
with:

View File

@ -1,5 +1,6 @@
const { src, dest, series } = require('gulp');
const process = require('node:process');
const replace = require('gulp-replace');
const sass = require('gulp-sass')(require('sass'));
function buildStyles() {
@ -13,7 +14,14 @@ function copySource() {
.pipe(dest('dist/'));
}
function updateManifestFile() {
return src('dist/system.json')
.pipe(replace('{{VERSION}}', process.env.VERSION))
.pipe(dest('dist/'))
}
exports.default = series(
copySource,
buildStyles
)
buildStyles,
updateManifestFile
)

1018
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -13,6 +13,7 @@
},
"devDependencies": {
"gulp": "^5.0.1",
"gulp-replace": "^1.1.4",
"gulp-sass": "^6.0.1",
"sass": "^1.93.2",
"sass-build": "^1.1.6"

View File

3
src/main.mjs 100644
View File

@ -0,0 +1,3 @@
Hooks.once("init", () => {
console.log("DSA 4.1 is ready for development!")
})

View File

@ -1,8 +1,8 @@
{
"id": "DSA 4.1",
"id": "DSA_4-1",
"title": "Das Schwarze Auge 4.1",
"description": "Noch ein Spielsystem für Das Schwarze Auge 4.1",
"version": "0.0.1",
"version": "{{VERSION}}",
"compatibility": {
"minimum": 12,
"verified": 13
@ -15,7 +15,7 @@
"name": "macniel"
}],
"esmodules": ["main.mjs"],
"styles": ["styles/styles.css"],
"styles": ["style/styles.css"],
"packs": [{
"name": "talente",
"label": "Basistalente",
@ -39,7 +39,11 @@
"path": "lang/de.json"
}],
"documentTypes": {
"Actor": {
"character": {}
}
},
"socket": false,
"initiative": "1d6",
"grid": {
@ -49,6 +53,6 @@
"primaryTokenAttribute": "resources.sp",
"secondaryTokenAttribute": "resources.aus",
"url": "https://git.macniel.online/macniel/foundry-dsa41-game",
"manifest": "https://git.macniel.online/macniel/foundry-dsa41-game/system.json",
"download": ""
"manifest": "https://git.macniel.online/macniel/foundry-dsa41-game/releases/download/{{VERSION}}/system.json",
"download": "https://git.macniel.online/macniel/foundry-dsa41-game/releases/download/{{VERSION}}/release.zip"
}

View File

@ -1,54 +0,0 @@
{
"id": "DSA 4.1",
"title": "Das Schwarze Auge 4.1",
"description": "Noch ein Spielsystem für Das Schwarze Auge 4.1",
"version": "0.0.1",
"compatibility": {
"minimum": 12,
"verified": 13
},
"authors": [{
"name": "GrandpaPoppy"
},{
"name": "ParanoidSpectre"
},{
"name": "macniel"
}],
"esmodules": ["main.mjs"],
"styles": ["styles/styles.css"],
"packs": [{
"name": "talente",
"label": "Basistalente",
"type": "Item"
},{
"name": "zauber",
"label": "Basiszauber",
"type": "Item"
},{
"name": "liturgien",
"label": "Basisliturgien",
"type": "Item"
},{
"name": "sonderfertigkeiten",
"label": "Basissonderfertigkeiten",
"type": "Item"
}],
"languages": [{
"lang": "de",
"name": "Deutsch",
"path": "lang/de.json"
}],
"documentTypes": {
},
"socket": false,
"initiative": "1d6",
"grid": {
"distance": 10,
"units": "Schritt"
},
"primaryTokenAttribute": "resources.sp",
"secondaryTokenAttribute": "resources.aus",
"url": "https://git.macniel.online/macniel/foundry-dsa41-game",
"manifest": "https://git.macniel.online/macniel/foundry-dsa41-game/system.json",
"download": ""
}