Compare commits
No commits in common. "3ca40b96046e15a04cf3603bf58a36152a446a8c" and "110b54e3281aa7bc208ffdc23b51418c8ec94478" have entirely different histories.
3ca40b9604
...
110b54e328
|
|
@ -1,28 +0,0 @@
|
||||||
name: Pull Request Check
|
|
||||||
run-name: ${{ gitea.actor }} is updating the pull request 🚀
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
types: [synchronize]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
testing:
|
|
||||||
runs-on: node-01
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Set up Node.js
|
|
||||||
uses: actions/setup-node@v2
|
|
||||||
with:
|
|
||||||
node-version: '18' # Specify the Node.js version you need
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: npm install
|
|
||||||
|
|
||||||
- name: Run tests
|
|
||||||
run: npm test
|
|
||||||
|
|
||||||
- name: Build project
|
|
||||||
env:
|
|
||||||
VERSION: ${{github.ref_name}}
|
|
||||||
run: npm run build
|
|
||||||
|
|
@ -1,48 +0,0 @@
|
||||||
name: Release Job
|
|
||||||
run-name: ${{gitea.actor}} is releasing a package
|
|
||||||
on:
|
|
||||||
release:
|
|
||||||
types: [published]
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
- name: Set up Node.js
|
|
||||||
uses: actions/setup-node@v2
|
|
||||||
with:
|
|
||||||
node-version: '18' # Specify the Node.js version you need
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: npm install
|
|
||||||
|
|
||||||
- name: Run tests
|
|
||||||
run: npm test
|
|
||||||
|
|
||||||
- name: Build project
|
|
||||||
env:
|
|
||||||
VERSION: ${{github.ref_name}}
|
|
||||||
run: npm run build
|
|
||||||
|
|
||||||
- name: Package build output
|
|
||||||
run: |
|
|
||||||
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:
|
|
||||||
server_url: https://git.macniel.online
|
|
||||||
files: |
|
|
||||||
/tmp/release.zip
|
|
||||||
./dist/system.json
|
|
||||||
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
dist
|
|
||||||
node_modules
|
|
||||||
|
|
@ -16,5 +16,3 @@ Systementwicklung: https://foundryvtt.com/article/system-development/
|
||||||
API: https://foundryvtt.com/api/classes/foundry.abstract.Document.html
|
API: https://foundryvtt.com/api/classes/foundry.abstract.Document.html
|
||||||
|
|
||||||
Demo: https://github.com/foundryvtt/dnd5e
|
Demo: https://github.com/foundryvtt/dnd5e
|
||||||
|
|
||||||
Flim Flam
|
|
||||||
|
|
|
||||||
27
gulpfile.cjs
27
gulpfile.cjs
|
|
@ -1,27 +0,0 @@
|
||||||
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() {
|
|
||||||
return src('src/style/**/*.scss')
|
|
||||||
.pipe(sass().on('error', sass.logError))
|
|
||||||
.pipe(dest('dist/style/'))
|
|
||||||
};
|
|
||||||
|
|
||||||
function copySource() {
|
|
||||||
return src(['src/**/*', '!src/style/**/*.scss'])
|
|
||||||
.pipe(dest('dist/'));
|
|
||||||
}
|
|
||||||
|
|
||||||
function updateManifestFile() {
|
|
||||||
return src('dist/system.json')
|
|
||||||
.pipe(replace('{{VERSION}}', process.env.VERSION))
|
|
||||||
.pipe(dest('dist/'))
|
|
||||||
}
|
|
||||||
|
|
||||||
exports.default = series(
|
|
||||||
copySource,
|
|
||||||
buildStyles,
|
|
||||||
updateManifestFile
|
|
||||||
)
|
|
||||||
|
|
@ -9,6 +9,4 @@ Hooks.once("init", () => {
|
||||||
CONFIG.Actor.dataModels = {
|
CONFIG.Actor.dataModels = {
|
||||||
character: PlayerCharacterDataModel,
|
character: PlayerCharacterDataModel,
|
||||||
};
|
};
|
||||||
|
|
||||||
console.log("DSA 4.1 is ready for development!")
|
|
||||||
})
|
})
|
||||||
File diff suppressed because it is too large
Load Diff
24
package.json
24
package.json
|
|
@ -1,24 +0,0 @@
|
||||||
{
|
|
||||||
"name": "DSA41Module",
|
|
||||||
"version": "0.0.1",
|
|
||||||
"description": "Another DSA 4.1 System Module for FoundryVTT",
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "git+https://git.macniel.online/macniel/foundry-dsa41-game.git"
|
|
||||||
},
|
|
||||||
"type": "module",
|
|
||||||
"scripts": {
|
|
||||||
"test": "true",
|
|
||||||
"build": "gulp"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"gulp": "^5.0.1",
|
|
||||||
"gulp-replace": "^1.1.4",
|
|
||||||
"gulp-sass": "^6.0.1",
|
|
||||||
"sass": "^1.93.2",
|
|
||||||
"sass-build": "^1.1.6"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"gulp-cli": "^3.1.0"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
$bgcolor: FFF;
|
|
||||||
|
|
||||||
html {
|
|
||||||
background-color: $bgcolor;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"id": "DSA_4-1",
|
"id": "DSA 4.1",
|
||||||
"title": "Das Schwarze Auge 4.1",
|
"title": "Das Schwarze Auge 4.1",
|
||||||
"description": "Noch ein Spielsystem für Das Schwarze Auge 4.1",
|
"description": "Noch ein Spielsystem für Das Schwarze Auge 4.1",
|
||||||
"version": "{{VERSION}}",
|
"version": "0.0.1",
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
"minimum": 12,
|
"minimum": 12,
|
||||||
"verified": 13
|
"verified": 13
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
"name": "macniel"
|
"name": "macniel"
|
||||||
}],
|
}],
|
||||||
"esmodules": ["main.mjs"],
|
"esmodules": ["main.mjs"],
|
||||||
"styles": ["style/styles.css"],
|
"styles": ["styles/styles.css"],
|
||||||
"packs": [{
|
"packs": [{
|
||||||
"name": "talente",
|
"name": "talente",
|
||||||
"label": "Basistalente",
|
"label": "Basistalente",
|
||||||
|
|
@ -52,6 +52,6 @@
|
||||||
"primaryTokenAttribute": "resources.sp",
|
"primaryTokenAttribute": "resources.sp",
|
||||||
"secondaryTokenAttribute": "resources.aus",
|
"secondaryTokenAttribute": "resources.aus",
|
||||||
"url": "https://git.macniel.online/macniel/foundry-dsa41-game",
|
"url": "https://git.macniel.online/macniel/foundry-dsa41-game",
|
||||||
"manifest": "https://git.macniel.online/macniel/foundry-dsa41-game/releases/download/{{VERSION}}/system.json",
|
"manifest": "https://git.macniel.online/macniel/foundry-dsa41-game/system.json",
|
||||||
"download": "https://git.macniel.online/macniel/foundry-dsa41-game/releases/download/{{VERSION}}/release.zip"
|
"download": ""
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue