testing changes to compendium
This commit is contained in:
parent
99657ea07f
commit
53d30e80e9
16
gulpfile.mjs
16
gulpfile.mjs
@ -27,7 +27,8 @@ const distDirectory = './dist';
|
||||
const stylesDirectory = `${sourceDirectory}/styles`;
|
||||
const stylesExtension = 'scss';
|
||||
const sourceFileExtension = 'js';
|
||||
const staticFiles = ['assets', 'fonts', 'lang', 'packs', 'templates', 'module.json'];
|
||||
const staticFiles = ['assets', 'fonts', 'lang', 'templates'];
|
||||
const runtimeStaticFiles = ['packs', 'module.json']
|
||||
|
||||
/********************/
|
||||
/* BUILD */
|
||||
@ -71,6 +72,17 @@ async function copyFiles() {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Copy runtime files
|
||||
*/
|
||||
async function copyRuntimeFiles() {
|
||||
for (const file of runtimeStaticFiles) {
|
||||
if (fs.existsSync(`${sourceDirectory}/${file}`)) {
|
||||
await fs.copy(`${sourceDirectory}/${file}`, `${distDirectory}/${file}`);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Watch for changes for each build step
|
||||
*/
|
||||
@ -84,7 +96,7 @@ export function watch() {
|
||||
);
|
||||
}
|
||||
|
||||
export const build = gulp.series(clean, gulp.parallel(buildCode, buildStyles, copyFiles));
|
||||
export const build = gulp.series(clean, gulp.parallel(buildCode, buildStyles, copyRuntimeFiles, copyFiles));
|
||||
|
||||
/********************/
|
||||
/* CLEAN */
|
||||
|
||||
137
src/module.json
137
src/module.json
@ -1,19 +1,13 @@
|
||||
{
|
||||
"id": "swade-mb-helpers",
|
||||
"title": "<human readable title for swade-mb-helpers>",
|
||||
"description": "<description of the package>",
|
||||
"title": "SWADE Helpers (MB)",
|
||||
"description": "Mike's collection of SWADE helpers",
|
||||
"authors": [
|
||||
{
|
||||
"name": "<your name>",
|
||||
"email": "<optionally your e-mail address>",
|
||||
"discord": "<optionally your discord username>"
|
||||
"name": "Mike"
|
||||
}
|
||||
],
|
||||
"url": "",
|
||||
"license": "<please choose an appropriate license. https://choosealicense.com/ is a great place to get more information if you are unsure>",
|
||||
"readme": "<optionally the URL to your readme>",
|
||||
"bugs": "<optionally the URL to your issue list>",
|
||||
"changelog": "<optionally the URL to your changelog>",
|
||||
"url": "https://git.bloy.org/foundryvtt/swade-mb-helpers",
|
||||
"version": "0.0.0",
|
||||
"compatibility": {
|
||||
"minimum": "10",
|
||||
@ -26,7 +20,121 @@
|
||||
"styles": [
|
||||
"styles/swade-mb-helpers.css"
|
||||
],
|
||||
"packs": [],
|
||||
"packs": [
|
||||
{
|
||||
"name": "module-docs",
|
||||
"label": "SWADE MB Helpers Documentation",
|
||||
"path": "packs/module-docs",
|
||||
"type": "JournalEntry",
|
||||
"system": "swade",
|
||||
"ownership": {
|
||||
"PLAYER": "OBSERVER",
|
||||
"ASSISTANT": "OWNER"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "helper-macros",
|
||||
"label": "SWADE MB Helper Macros",
|
||||
"path": "packs/helper-macros",
|
||||
"type": "Macro",
|
||||
"system": "swade",
|
||||
"ownership": {
|
||||
"PLAYER": "OBSERVER",
|
||||
"ASSISTANT": "OWNER"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Common Actions",
|
||||
"label": "SWADE MB Common Actions",
|
||||
"path": "packs/common-actions",
|
||||
"type": "Item",
|
||||
"system": "swade",
|
||||
"ownership": {
|
||||
"PLAYER": "OBSERVER",
|
||||
"ASSISTANT": "OWNER"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "helper-actors",
|
||||
"label": "SWADE MB Helper Actors",
|
||||
"path": "packs/helper-actors",
|
||||
"type": "Actor",
|
||||
"system": "swade",
|
||||
"ownership": {
|
||||
"PLAYER": "OBSERVER",
|
||||
"ASSISTANT": "OWNER"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "swade-mb-gear",
|
||||
"label": "SWADE MB Gear",
|
||||
"path": "packs/gear",
|
||||
"type": "Item",
|
||||
"system": "swade",
|
||||
"ownership": {
|
||||
"PLAYER": "OBSERVER",
|
||||
"ASSISTANT": "OWNER"
|
||||
}
|
||||
}
|
||||
],
|
||||
"packFolders": [
|
||||
{
|
||||
"name": "Swade MB Helpers",
|
||||
"sorting": "m",
|
||||
"color": "#008080",
|
||||
"folders": [],
|
||||
"packs": [
|
||||
"module-docs",
|
||||
"helper-macros",
|
||||
"helper-actors",
|
||||
"Common Actions",
|
||||
"swade-mb-gear"
|
||||
]
|
||||
}
|
||||
],
|
||||
"relationships": {
|
||||
"systems": [
|
||||
{
|
||||
"id": "swade",
|
||||
"type": "system",
|
||||
"manifest": "https://gitlab.com/api/v4/projects/16269883/packages/generic/swade/latest/system.json",
|
||||
"compatibility": {
|
||||
"verified": "2.2.5"
|
||||
}
|
||||
}
|
||||
],
|
||||
"requires": [
|
||||
{
|
||||
"id": "warpgate",
|
||||
"type": "module",
|
||||
"manifest": "https://github.com/trioderegion/warpgate/releases/latest/download/module.json",
|
||||
"compatibility": {
|
||||
"verified": "1.16.2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "socketlib",
|
||||
"type": "module",
|
||||
"compatibility": {}
|
||||
}
|
||||
],
|
||||
"recommends": [
|
||||
{
|
||||
"id": "token-variants",
|
||||
"type": "module",
|
||||
"compatibility": {}
|
||||
},
|
||||
{
|
||||
"id": "torch",
|
||||
"type": "module",
|
||||
"compatibility": {}
|
||||
},
|
||||
{
|
||||
"id": "JB2A_DnD5e",
|
||||
"type": "module"
|
||||
}
|
||||
]
|
||||
},
|
||||
"languages": [
|
||||
{
|
||||
"lang": "en",
|
||||
@ -34,13 +142,8 @@
|
||||
"path": "lang/en.json"
|
||||
}
|
||||
],
|
||||
"relationships": {
|
||||
"systems": [],
|
||||
"requires": [],
|
||||
"conflicts": []
|
||||
},
|
||||
"socket": false,
|
||||
"manifest": "",
|
||||
"manifest": "https://git.bloy.org/foundryvtt/swade-mb-helpers/raw/branch/main/module.json",
|
||||
"download": "https://host/path/to/0.0.0.zip",
|
||||
"library": false
|
||||
}
|
||||
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
2024/05/11-20:52:17.173696 7fe98e7fc700 Delete type=3 #1
|
||||
2024/05/11-20:52:17.176135 7fe98dffb700 Level-0 table #5: started
|
||||
2024/05/11-20:52:17.184822 7fe98dffb700 Level-0 table #5: 17250 bytes OK
|
||||
2024/05/11-20:52:17.194063 7fe98dffb700 Delete type=0 #3
|
||||
2024/05/11-20:52:17.194159 7fe98dffb700 Manual compaction at level-0 from '!folders!0nDRFmMBs5DBJU9M' @ 72057594037927935 : 1 .. '!items.effects!RC1Nz6iph8wPPK1B.g9W5hJisq3MsCpZW' @ 0 : 0; will stop at (end)
|
||||
2024/05/11-22:30:06.794747 7f284b7fe700 Delete type=3 #1
|
||||
2024/05/11-22:30:06.796933 7f284a7fc700 Level-0 table #5: started
|
||||
2024/05/11-22:30:06.799703 7f284a7fc700 Level-0 table #5: 17097 bytes OK
|
||||
2024/05/11-22:30:06.802321 7f284a7fc700 Delete type=0 #3
|
||||
2024/05/11-22:30:06.802396 7f284a7fc700 Manual compaction at level-0 from '!folders!0nDRFmMBs5DBJU9M' @ 72057594037927935 : 1 .. '!items.effects!RC1Nz6iph8wPPK1B.g9W5hJisq3MsCpZW' @ 0 : 0; will stop at (end)
|
||||
|
||||
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
2024/05/11-20:52:17.320720 7f319efbe700 Delete type=3 #1
|
||||
2024/05/11-20:52:17.322917 7f319d7bb700 Level-0 table #5: started
|
||||
2024/05/11-20:52:17.329916 7f319d7bb700 Level-0 table #5: 6787 bytes OK
|
||||
2024/05/11-20:52:17.338762 7f319d7bb700 Delete type=0 #3
|
||||
2024/05/11-20:52:17.338858 7f319d7bb700 Manual compaction at level-0 from '!items!JWyBQe4tnOYljFAF' @ 72057594037927935 : 1 .. '!items!tWWSfEMmLmws6Yb1' @ 0 : 0; will stop at (end)
|
||||
2024/05/11-22:30:06.919608 7f7785fbc700 Delete type=3 #1
|
||||
2024/05/11-22:30:06.921651 7f7785540700 Level-0 table #5: started
|
||||
2024/05/11-22:30:06.924491 7f7785540700 Level-0 table #5: 6787 bytes OK
|
||||
2024/05/11-22:30:06.927162 7f7785540700 Delete type=0 #3
|
||||
2024/05/11-22:30:06.927239 7f7785540700 Manual compaction at level-0 from '!items!JWyBQe4tnOYljFAF' @ 72057594037927935 : 1 .. '!items!tWWSfEMmLmws6Yb1' @ 0 : 0; will stop at (end)
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
2024/05/11-20:52:17.463965 7fd6e8b46700 Delete type=3 #1
|
||||
2024/05/11-20:52:17.466020 7fd6c27fc700 Level-0 table #5: started
|
||||
2024/05/11-20:52:17.477449 7fd6c27fc700 Level-0 table #5: 1751 bytes OK
|
||||
2024/05/11-20:52:17.486315 7fd6c27fc700 Delete type=0 #3
|
||||
2024/05/11-20:52:17.486407 7fd6c27fc700 Manual compaction at level-0 from '!actors!U5v4gFHquo0Y1SAq' @ 72057594037927935 : 1 .. '!actors!U5v4gFHquo0Y1SAq' @ 0 : 0; will stop at (end)
|
||||
2024/05/11-22:30:07.047674 7ff91d7bd700 Delete type=3 #1
|
||||
2024/05/11-22:30:07.050100 7ff67ffff700 Level-0 table #5: started
|
||||
2024/05/11-22:30:07.052851 7ff67ffff700 Level-0 table #5: 1751 bytes OK
|
||||
2024/05/11-22:30:07.055441 7ff67ffff700 Delete type=0 #3
|
||||
2024/05/11-22:30:07.055515 7ff67ffff700 Manual compaction at level-0 from '!actors!U5v4gFHquo0Y1SAq' @ 72057594037927935 : 1 .. '!actors!U5v4gFHquo0Y1SAq' @ 0 : 0; will stop at (end)
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
2024/05/11-20:52:17.623281 7f7b2b7bf700 Delete type=3 #1
|
||||
2024/05/11-20:52:17.625695 7f7b297bb700 Level-0 table #5: started
|
||||
2024/05/11-20:52:17.632888 7f7b297bb700 Level-0 table #5: 24404 bytes OK
|
||||
2024/05/11-20:52:17.641722 7f7b297bb700 Delete type=0 #3
|
||||
2024/05/11-20:52:17.641821 7f7b297bb700 Manual compaction at level-0 from '!folders!8FWN37c0gcpAisAv' @ 72057594037927935 : 1 .. '!macros!ypFtlnrgQkzqLpxI' @ 0 : 0; will stop at (end)
|
||||
2024/05/11-22:30:07.176777 7f1c8173d700 Delete type=3 #1
|
||||
2024/05/11-22:30:07.179316 7f19e3fff700 Level-0 table #5: started
|
||||
2024/05/11-22:30:07.182350 7f19e3fff700 Level-0 table #5: 24404 bytes OK
|
||||
2024/05/11-22:30:07.185008 7f19e3fff700 Delete type=0 #3
|
||||
2024/05/11-22:30:07.185087 7f19e3fff700 Manual compaction at level-0 from '!folders!8FWN37c0gcpAisAv' @ 72057594037927935 : 1 .. '!macros!ypFtlnrgQkzqLpxI' @ 0 : 0; will stop at (end)
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
2024/05/11-20:52:17.775029 7f8d097bd700 Delete type=3 #1
|
||||
2024/05/11-20:52:17.777768 7f8a6bfff700 Level-0 table #5: started
|
||||
2024/05/11-20:52:17.784945 7f8a6bfff700 Level-0 table #5: 18987 bytes OK
|
||||
2024/05/11-20:52:17.794465 7f8a6bfff700 Delete type=0 #3
|
||||
2024/05/11-20:52:17.794559 7f8a6bfff700 Manual compaction at level-0 from '!journal!HbtPlHNFO1L6RVj0' @ 72057594037927935 : 1 .. '!journal.pages!w4TImRTAiNiqDWeL.vQhO6BVdKZOubTUQ' @ 0 : 0; will stop at (end)
|
||||
2024/05/11-22:30:07.310028 7fc6c173e700 Delete type=3 #1
|
||||
2024/05/11-22:30:07.312330 7fc6bfcc0700 Level-0 table #5: started
|
||||
2024/05/11-22:30:07.315206 7fc6bfcc0700 Level-0 table #5: 18987 bytes OK
|
||||
2024/05/11-22:30:07.317871 7fc6bfcc0700 Delete type=0 #3
|
||||
2024/05/11-22:30:07.317982 7fc6bfcc0700 Manual compaction at level-0 from '!journal!HbtPlHNFO1L6RVj0' @ 72057594037927935 : 1 .. '!journal.pages!w4TImRTAiNiqDWeL.vQhO6BVdKZOubTUQ' @ 0 : 0; will stop at (end)
|
||||
|
||||
@ -32,70 +32,60 @@
|
||||
{
|
||||
"key": "system.attributes.strength.die.modifier",
|
||||
"mode": 2,
|
||||
"value": "+2",
|
||||
"priority": null
|
||||
"value": "+2"
|
||||
},
|
||||
{
|
||||
"key": "@Skill{Academics}[system.die.modifier]",
|
||||
"mode": 2,
|
||||
"value": "-2",
|
||||
"priority": null
|
||||
"value": "-2"
|
||||
},
|
||||
{
|
||||
"key": "@Skill{Common Knowledge}[system.die.modifier]",
|
||||
"mode": 2,
|
||||
"value": "-2",
|
||||
"priority": null
|
||||
"value": "-2"
|
||||
},
|
||||
{
|
||||
"key": "@Skill{Occult}[system.die.modifier]",
|
||||
"mode": 2,
|
||||
"value": "-2",
|
||||
"priority": null
|
||||
"value": "-2"
|
||||
},
|
||||
{
|
||||
"key": "@Skill{Repair}[system.die.modifier]",
|
||||
"mode": 2,
|
||||
"value": "-2",
|
||||
"priority": null
|
||||
"value": "-2"
|
||||
},
|
||||
{
|
||||
"key": "@Skill{Science}[system.die.modifier]",
|
||||
"mode": 2,
|
||||
"value": "-2",
|
||||
"priority": null
|
||||
"value": "-2"
|
||||
},
|
||||
{
|
||||
"key": "@Skill{Alchemy}[system.die.modifier]",
|
||||
"mode": 2,
|
||||
"value": "-2",
|
||||
"priority": null
|
||||
"value": "-2"
|
||||
},
|
||||
{
|
||||
"key": "@Skill{Spellcasting}[system.die.modifier]",
|
||||
"mode": 2,
|
||||
"value": "-2",
|
||||
"priority": null
|
||||
"value": "-2"
|
||||
},
|
||||
{
|
||||
"key": "@Skill{Performance}[system.die.modifier]",
|
||||
"mode": 2,
|
||||
"value": "-2",
|
||||
"priority": null
|
||||
"value": "-2"
|
||||
},
|
||||
{
|
||||
"key": "@Skill{Faith}[system.die.modifier]",
|
||||
"mode": 2,
|
||||
"value": "-2",
|
||||
"priority": null
|
||||
"value": "-2"
|
||||
}
|
||||
],
|
||||
"transfer": true,
|
||||
"_id": "wA6fOE9ZpM4ulyhg",
|
||||
"disabled": true,
|
||||
"duration": {
|
||||
"startTime": 63435411894,
|
||||
"seconds": null,
|
||||
"startTime": null,
|
||||
"seconds": 3600,
|
||||
"combat": null,
|
||||
"rounds": null,
|
||||
"turns": null,
|
||||
@ -139,34 +129,30 @@
|
||||
{
|
||||
"key": "@Skill{Healing}[system.die.modifier]",
|
||||
"mode": 2,
|
||||
"value": "-2",
|
||||
"priority": null
|
||||
"value": "-2"
|
||||
},
|
||||
{
|
||||
"key": "@Skill{Notice}[system.die.modifier]",
|
||||
"mode": 2,
|
||||
"value": "-2",
|
||||
"priority": null
|
||||
"value": "-2"
|
||||
},
|
||||
{
|
||||
"key": "@Skill{Survival}[system.die.modifier]",
|
||||
"mode": 2,
|
||||
"value": "-2",
|
||||
"priority": null
|
||||
"value": "-2"
|
||||
},
|
||||
{
|
||||
"key": "@Skill{Taunt}[system.die.modifier]",
|
||||
"mode": 2,
|
||||
"value": "-2",
|
||||
"priority": null
|
||||
"value": "-2"
|
||||
}
|
||||
],
|
||||
"transfer": true,
|
||||
"_id": "Fy6u8Vda0sL3cvUM",
|
||||
"disabled": true,
|
||||
"duration": {
|
||||
"startTime": 63435411894,
|
||||
"seconds": null,
|
||||
"startTime": null,
|
||||
"seconds": 3600,
|
||||
"combat": null,
|
||||
"rounds": null,
|
||||
"turns": null,
|
||||
@ -210,40 +196,35 @@
|
||||
{
|
||||
"key": "system.attributes.vigor.die.modifier",
|
||||
"mode": 2,
|
||||
"value": "+2",
|
||||
"priority": null
|
||||
"value": "+2"
|
||||
},
|
||||
{
|
||||
"key": "@Skill{Battle}[system.die.modifier]",
|
||||
"mode": 2,
|
||||
"value": "-2",
|
||||
"priority": null
|
||||
"value": "-2"
|
||||
},
|
||||
{
|
||||
"key": "@Skill{Gambling}[system.die.modifier]",
|
||||
"mode": 2,
|
||||
"value": "-2",
|
||||
"priority": null
|
||||
"value": "-2"
|
||||
},
|
||||
{
|
||||
"key": "@Skill{Performance}[system.die.modifier]",
|
||||
"mode": 2,
|
||||
"value": "-2",
|
||||
"priority": null
|
||||
"value": "-2"
|
||||
},
|
||||
{
|
||||
"key": "@Skill{Persuasion}[system.die.modifier]",
|
||||
"mode": 2,
|
||||
"value": "-2",
|
||||
"priority": null
|
||||
"value": "-2"
|
||||
}
|
||||
],
|
||||
"transfer": true,
|
||||
"_id": "nwbi7xVcNK8Q6O0S",
|
||||
"disabled": true,
|
||||
"duration": {
|
||||
"startTime": 63435411894,
|
||||
"seconds": null,
|
||||
"startTime": null,
|
||||
"seconds": 3600,
|
||||
"combat": null,
|
||||
"rounds": null,
|
||||
"turns": null,
|
||||
@ -291,11 +272,11 @@
|
||||
},
|
||||
"_stats": {
|
||||
"systemId": "swade",
|
||||
"systemVersion": "3.2.5",
|
||||
"systemVersion": "3.3.11",
|
||||
"coreVersion": "11.315",
|
||||
"createdTime": 1706157319122,
|
||||
"modifiedTime": 1706157765137,
|
||||
"lastModifiedBy": "Aqnn9hCDQPbyTWiq"
|
||||
"modifiedTime": 1715483766063,
|
||||
"lastModifiedBy": "sVoCvBU1knmXzoYe"
|
||||
},
|
||||
"_id": "CLRtXyFT2whk6FkQ",
|
||||
"sort": 0,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user