intelligent-system-design-language 0.3.22 → 0.3.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/.claude/agents/langium-language-designer.md +38 -38
  2. package/.claude/agents/typescript-vscode-expert.md +29 -29
  3. package/.claude/agents/ui-ux-designer.md +36 -36
  4. package/.claude/settings.local.json +33 -33
  5. package/.idea/inspectionProfiles/Project_Default.xml +6 -6
  6. package/.idea/isdl.iml +13 -13
  7. package/.idea/modules.xml +8 -8
  8. package/.idea/vcs.xml +6 -6
  9. package/.idea/watcherTasks.xml +3 -3
  10. package/.vscodeignore +18 -18
  11. package/LICENSE +673 -673
  12. package/README.md +86 -86
  13. package/bin/cli.js +4 -4
  14. package/bin/lsp.js +8 -8
  15. package/out/_backgrounds.scss +91 -91
  16. package/out/_handlebars.scss +497 -497
  17. package/out/_isdlStyles.scss +1444 -1444
  18. package/out/_vuetifyOverrides.scss +425 -425
  19. package/out/_vuetifyStyles.scss +31957 -31957
  20. package/out/cli/components/_backgrounds.scss +91 -91
  21. package/out/cli/components/_handlebars.scss +497 -497
  22. package/out/cli/components/_isdlStyles.scss +1444 -1444
  23. package/out/cli/components/_vuetifyOverrides.scss +425 -425
  24. package/out/cli/components/_vuetifyStyles.scss +31957 -31957
  25. package/out/cli/components/active-effect-sheet-generator.js +453 -453
  26. package/out/cli/components/chat-card-generator.js +654 -654
  27. package/out/cli/components/css-generator.js +4 -4
  28. package/out/cli/components/damage-roll-generator.js +160 -160
  29. package/out/cli/components/datamodel-generator.js +257 -257
  30. package/out/cli/components/derived-data-generator.js +923 -923
  31. package/out/cli/components/hotbar-drop-hook-generator.js +82 -82
  32. package/out/cli/components/init-hook-generator.js +495 -495
  33. package/out/cli/components/measured-template-preview.js +221 -221
  34. package/out/cli/components/method-generator.js +548 -548
  35. package/out/cli/components/ready-hook-generator.js +404 -404
  36. package/out/cli/components/token-generator.js +116 -116
  37. package/out/cli/components/vue/base-components/vue-attribute.js +138 -138
  38. package/out/cli/components/vue/base-components/vue-boolean.js +64 -64
  39. package/out/cli/components/vue/base-components/vue-calculator.js +93 -93
  40. package/out/cli/components/vue/base-components/vue-damage-application.js +356 -356
  41. package/out/cli/components/vue/base-components/vue-damage-bonuses.js +165 -165
  42. package/out/cli/components/vue/base-components/vue-damage-resistances.js +196 -196
  43. package/out/cli/components/vue/base-components/vue-damage-track.js +121 -121
  44. package/out/cli/components/vue/base-components/vue-date-time.js +42 -42
  45. package/out/cli/components/vue/base-components/vue-dice.js +98 -98
  46. package/out/cli/components/vue/base-components/vue-die.js +73 -73
  47. package/out/cli/components/vue/base-components/vue-document-choice.js +149 -149
  48. package/out/cli/components/vue/base-components/vue-document-choices.js +179 -179
  49. package/out/cli/components/vue/base-components/vue-document-link.js +60 -60
  50. package/out/cli/components/vue/base-components/vue-extended-choice.js +88 -88
  51. package/out/cli/components/vue/base-components/vue-inventory.js +519 -519
  52. package/out/cli/components/vue/base-components/vue-macro-choice.js +138 -138
  53. package/out/cli/components/vue/base-components/vue-measured-template.js +530 -530
  54. package/out/cli/components/vue/base-components/vue-money.js +483 -483
  55. package/out/cli/components/vue/base-components/vue-number.js +174 -174
  56. package/out/cli/components/vue/base-components/vue-paperdoll.js +43 -43
  57. package/out/cli/components/vue/base-components/vue-parent-property-reference.js +76 -76
  58. package/out/cli/components/vue/base-components/vue-prosemirror.js +18 -18
  59. package/out/cli/components/vue/base-components/vue-resource.js +136 -136
  60. package/out/cli/components/vue/base-components/vue-roll-visualizer.js +285 -285
  61. package/out/cli/components/vue/base-components/vue-self-property-reference.js +62 -62
  62. package/out/cli/components/vue/base-components/vue-string-choice.js +98 -98
  63. package/out/cli/components/vue/base-components/vue-string-choices.js +203 -203
  64. package/out/cli/components/vue/base-components/vue-string.js +60 -60
  65. package/out/cli/components/vue/base-components/vue-text-field.js +53 -53
  66. package/out/cli/components/vue/base-components/vue-tracker.js +431 -431
  67. package/out/cli/components/vue/vue-action-component-generator.js +64 -64
  68. package/out/cli/components/vue/vue-active-effect-sheet-generator.js +856 -856
  69. package/out/cli/components/vue/vue-datatable-sheet-class-generator.js +292 -292
  70. package/out/cli/components/vue/vue-datatable2-component-generator.js +824 -824
  71. package/out/cli/components/vue/vue-document-creation-app.js +121 -121
  72. package/out/cli/components/vue/vue-document-creation-sheet.js +94 -94
  73. package/out/cli/components/vue/vue-generator.js +40 -40
  74. package/out/cli/components/vue/vue-mixin.js +296 -296
  75. package/out/cli/components/vue/vue-pinned-datatable-component-generator.js +260 -260
  76. package/out/cli/components/vue/vue-prompt-generator.js +80 -80
  77. package/out/cli/components/vue/vue-prompt-sheet-class-generator.js +317 -317
  78. package/out/cli/components/vue/vue-sheet-application-generator.js +1171 -1171
  79. package/out/cli/components/vue/vue-sheet-class-generator.js +510 -510
  80. package/out/cli/generator.js +438 -438
  81. package/out/extension/github/githubManager.js +35 -35
  82. package/out/extension/github/githubQuickActions.js +120 -120
  83. package/out/extension/github/system-workflow.yml +47 -47
  84. package/out/extension/main.cjs.map +1 -1
  85. package/out/extension/package.json +419 -419
  86. package/out/language/generated/grammar.js +14240 -14240
  87. package/out/language/main.cjs.map +1 -1
  88. package/out/package.json +419 -419
  89. package/out/progressbar.min.js +6 -6
  90. package/out/styles.scss +762 -762
  91. package/package.json +419 -419
@@ -1158,37 +1158,37 @@ export class GitHubManager {
1158
1158
  const systemName = (systemInfo === null || systemInfo === void 0 ? void 0 : systemInfo.title) || (systemInfo === null || systemInfo === void 0 ? void 0 : systemInfo.id) || 'ISDL System';
1159
1159
  // Generate changelog section from ISDL changes
1160
1160
  const changelogSection = this.generateChangelogSection(changes);
1161
- return `## ${systemName} Release
1162
-
1163
- 📅 **Release Date:** ${currentDate}
1164
- 🎲 **Foundry VTT Compatibility:** v${((_a = systemInfo === null || systemInfo === void 0 ? void 0 : systemInfo.compatibility) === null || _a === void 0 ? void 0 : _a.minimum) || '12'} - v${((_b = systemInfo === null || systemInfo === void 0 ? void 0 : systemInfo.compatibility) === null || _b === void 0 ? void 0 : _b.verified) || '13'}
1165
-
1166
- ### 📦 Installation
1167
-
1168
- **Manifest URL:**
1169
- \`\`\`
1170
- https://github.com/${this.currentRepository.full_name}/releases/download/${tagName}/system.json
1171
- \`\`\`
1172
-
1173
- ${changelogSection}
1174
-
1175
- ### 📖 Documentation
1176
-
1177
- For installation instructions, usage guides, and troubleshooting:
1178
- - 📚 [Repository README](https://github.com/${this.currentRepository.full_name}#readme)
1179
- - 🐛 [Report Issues](https://github.com/${this.currentRepository.full_name}/issues)
1180
- - 💬 [Community Discussions](https://github.com/${this.currentRepository.full_name}/discussions)
1181
-
1182
- ### ⚡ Quick Start
1183
-
1184
- 1. Copy the manifest URL above
1185
- 2. Open Foundry VTT
1186
- 3. Go to "Game Systems" → "Install System"
1187
- 4. Paste the manifest URL and click "Install"
1188
- 5. Create a new world using this system
1189
-
1190
- ---
1191
-
1161
+ return `## ${systemName} Release
1162
+
1163
+ 📅 **Release Date:** ${currentDate}
1164
+ 🎲 **Foundry VTT Compatibility:** v${((_a = systemInfo === null || systemInfo === void 0 ? void 0 : systemInfo.compatibility) === null || _a === void 0 ? void 0 : _a.minimum) || '12'} - v${((_b = systemInfo === null || systemInfo === void 0 ? void 0 : systemInfo.compatibility) === null || _b === void 0 ? void 0 : _b.verified) || '13'}
1165
+
1166
+ ### 📦 Installation
1167
+
1168
+ **Manifest URL:**
1169
+ \`\`\`
1170
+ https://github.com/${this.currentRepository.full_name}/releases/download/${tagName}/system.json
1171
+ \`\`\`
1172
+
1173
+ ${changelogSection}
1174
+
1175
+ ### 📖 Documentation
1176
+
1177
+ For installation instructions, usage guides, and troubleshooting:
1178
+ - 📚 [Repository README](https://github.com/${this.currentRepository.full_name}#readme)
1179
+ - 🐛 [Report Issues](https://github.com/${this.currentRepository.full_name}/issues)
1180
+ - 💬 [Community Discussions](https://github.com/${this.currentRepository.full_name}/discussions)
1181
+
1182
+ ### ⚡ Quick Start
1183
+
1184
+ 1. Copy the manifest URL above
1185
+ 2. Open Foundry VTT
1186
+ 3. Go to "Game Systems" → "Install System"
1187
+ 4. Paste the manifest URL and click "Install"
1188
+ 5. Create a new world using this system
1189
+
1190
+ ---
1191
+
1192
1192
  *Built with ❤️ using [ISDL](https://marketplace.visualstudio.com/items?itemName=IronMooseDevelopment.isdl)*`;
1193
1193
  }
1194
1194
  /**
@@ -1196,10 +1196,10 @@ For installation instructions, usage guides, and troubleshooting:
1196
1196
  */
1197
1197
  generateChangelogSection(changes) {
1198
1198
  if (changes.length === 0) {
1199
- return `### 🚀 What's New
1200
-
1201
- - 🛠️ System implementation updated
1202
- - 🔧 Bug fixes and performance improvements
1199
+ return `### 🚀 What's New
1200
+
1201
+ - 🛠️ System implementation updated
1202
+ - 🔧 Bug fixes and performance improvements
1203
1203
  - 📱 Enhanced user interface`;
1204
1204
  }
1205
1205
  // Group changes by type
@@ -324,126 +324,126 @@ export class GitHubQuickActions {
324
324
  * Generate comprehensive README content
325
325
  */
326
326
  generateReadmeContent(repository, description) {
327
- return `# ${repository.name}
328
-
329
- ${description}
330
-
331
- [![Foundry VTT](https://img.shields.io/badge/Foundry-v12-informational?logo=foundryvirtualtabletop)](https://foundryvtt.com/)
332
- [![License](https://img.shields.io/github/license/${repository.full_name})](LICENSE)
333
- [![Latest Release](https://img.shields.io/github/v/release/${repository.full_name})](https://github.com/${repository.full_name}/releases)
334
-
335
- ## 🎲 About
336
-
337
- This is a **Foundry Virtual Tabletop** system built using **ISDL** (Intelligent System Design Language). ISDL allows for rapid development of complex tabletop RPG systems with modern, reactive character sheets and comprehensive game mechanics.
338
-
339
- ## 📦 Installation
340
-
341
- ### Automatic Installation (Recommended)
342
- 1. Open Foundry VTT
343
- 2. Go to the **"Game Systems"** tab
344
- 3. Click **"Install System"**
345
- 4. Enter this manifest URL:
346
- \`\`\`
347
- https://github.com/${repository.full_name}/releases/latest/download/system.json
348
- \`\`\`
349
- 5. Click **"Install"**
350
-
351
- ### Manual Installation
352
- 1. Download the latest release from [Releases](https://github.com/${repository.full_name}/releases)
353
- 2. Extract the contents to your Foundry \`Data/systems/${repository.name}\` folder
354
- 3. Restart Foundry VTT
355
-
356
- ## 🚀 Features
357
-
358
- - **🎨 Modern UI**: Responsive Vue.js components with Vuetify Material Design
359
- - **⚡ Reactive Sheets**: Real-time updates and smooth interactions
360
- - **🔧 Highly Configurable**: Extensive customization options for different playstyles
361
- - **📱 Mobile Friendly**: Optimized for both desktop and tablet play
362
- - **🎯 Dice Integration**: Advanced dice rolling with custom formulas
363
- - **👥 Actor Management**: Comprehensive character, NPC, and creature support
364
- - **📋 Item System**: Flexible items with custom properties and actions
365
- - **🎭 Active Effects**: Dynamic character modifications and status tracking
366
- - **🎪 Automation**: Built-in automation for common tasks and calculations
367
-
368
- ## 🛠️ Development
369
-
370
- This system was created using the ISDL VS Code extension. To modify or contribute:
371
-
372
- ### Prerequisites
373
- - [VS Code](https://code.visualstudio.com/)
374
- - [ISDL Extension](https://marketplace.visualstudio.com/items?itemName=IronMooseDevelopment.isdl)
375
- - [Node.js](https://nodejs.org/) (v18+)
376
- - [Foundry VTT](https://foundryvtt.com/) (v12-v13)
377
-
378
- ### Setup
379
- \`\`\`bash
380
- # Clone the repository
381
- git clone https://github.com/${repository.full_name}.git
382
- cd ${repository.name}
383
-
384
- # Install dependencies (if any)
385
- npm install
386
-
387
- # Open in VS Code
388
- code .
389
- \`\`\`
390
-
391
- ### Making Changes
392
- 1. Open the \`.isdl\` files in VS Code
393
- 2. Make your modifications using ISDL syntax
394
- 3. Run **"ISDL: Generate System"** command (\`Ctrl+Shift+P\`)
395
- 4. Test changes in Foundry VTT
396
- 5. Create a pull request with your improvements
397
-
398
-
399
- ## 📁 Project Structure
400
-
401
- \`\`\`
402
- ${repository.name}/
403
- ├── system.json # System manifest
404
- ├── template.json # Data templates
405
- ├── *.isdl # Source ISDL files
406
- ├── scripts/ # Generated JavaScript
407
- ├── styles/ # Generated CSS
408
- ├── templates/ # Handlebars templates
409
- ├── lang/ # Localization files
410
- └── assets/ # Images and media
411
- \`\`\`
412
-
413
-
414
- ## 🤝 Contributing
415
-
416
- We welcome contributions! Here's how you can help:
417
-
418
- 1. **🐛 Report Bugs**: Use the [issue tracker](https://github.com/${repository.full_name}/issues)
419
- 2. **💡 Suggest Features**: Share your ideas for improvements
420
- 3. **📝 Improve Documentation**: Help make our docs clearer
421
- 4. **🔧 Submit Code**: Fork, modify, and create pull requests
422
- 5. **🌍 Translate**: Help localize the system
423
-
424
- ### Development Guidelines
425
- - Follow ISDL best practices
426
- - Test thoroughly before submitting
427
- - Update documentation as needed
428
- - Use descriptive commit messages
429
-
430
- ## 📜 License
431
-
432
- This project is licensed under the terms specified in the [LICENSE](LICENSE) file.
433
-
434
- ## 🆘 Support
435
-
436
- ### Getting Help
437
- - **📖 Documentation**: Check the [Wiki](https://github.com/${repository.full_name}/wiki)
438
- - **💬 Community**: Join our [Discord](https://discord.gg/foundryvtt)
439
- - **🐛 Issues**: Report bugs on [GitHub Issues](https://github.com/${repository.full_name}/issues)
440
- - **❓ Questions**: Use [GitHub Discussions](https://github.com/${repository.full_name}/discussions)
441
-
442
- ---
443
-
444
- **Built with ❤️ using [ISDL](https://marketplace.visualstudio.com/items?itemName=IronMooseDevelopment.isdl)**
445
-
446
- *Ready to create your own ISDL system? [Get started here!](https://github.com/IronMooseDevelopment/isdl-docs)*
327
+ return `# ${repository.name}
328
+
329
+ ${description}
330
+
331
+ [![Foundry VTT](https://img.shields.io/badge/Foundry-v12-informational?logo=foundryvirtualtabletop)](https://foundryvtt.com/)
332
+ [![License](https://img.shields.io/github/license/${repository.full_name})](LICENSE)
333
+ [![Latest Release](https://img.shields.io/github/v/release/${repository.full_name})](https://github.com/${repository.full_name}/releases)
334
+
335
+ ## 🎲 About
336
+
337
+ This is a **Foundry Virtual Tabletop** system built using **ISDL** (Intelligent System Design Language). ISDL allows for rapid development of complex tabletop RPG systems with modern, reactive character sheets and comprehensive game mechanics.
338
+
339
+ ## 📦 Installation
340
+
341
+ ### Automatic Installation (Recommended)
342
+ 1. Open Foundry VTT
343
+ 2. Go to the **"Game Systems"** tab
344
+ 3. Click **"Install System"**
345
+ 4. Enter this manifest URL:
346
+ \`\`\`
347
+ https://github.com/${repository.full_name}/releases/latest/download/system.json
348
+ \`\`\`
349
+ 5. Click **"Install"**
350
+
351
+ ### Manual Installation
352
+ 1. Download the latest release from [Releases](https://github.com/${repository.full_name}/releases)
353
+ 2. Extract the contents to your Foundry \`Data/systems/${repository.name}\` folder
354
+ 3. Restart Foundry VTT
355
+
356
+ ## 🚀 Features
357
+
358
+ - **🎨 Modern UI**: Responsive Vue.js components with Vuetify Material Design
359
+ - **⚡ Reactive Sheets**: Real-time updates and smooth interactions
360
+ - **🔧 Highly Configurable**: Extensive customization options for different playstyles
361
+ - **📱 Mobile Friendly**: Optimized for both desktop and tablet play
362
+ - **🎯 Dice Integration**: Advanced dice rolling with custom formulas
363
+ - **👥 Actor Management**: Comprehensive character, NPC, and creature support
364
+ - **📋 Item System**: Flexible items with custom properties and actions
365
+ - **🎭 Active Effects**: Dynamic character modifications and status tracking
366
+ - **🎪 Automation**: Built-in automation for common tasks and calculations
367
+
368
+ ## 🛠️ Development
369
+
370
+ This system was created using the ISDL VS Code extension. To modify or contribute:
371
+
372
+ ### Prerequisites
373
+ - [VS Code](https://code.visualstudio.com/)
374
+ - [ISDL Extension](https://marketplace.visualstudio.com/items?itemName=IronMooseDevelopment.isdl)
375
+ - [Node.js](https://nodejs.org/) (v18+)
376
+ - [Foundry VTT](https://foundryvtt.com/) (v12-v13)
377
+
378
+ ### Setup
379
+ \`\`\`bash
380
+ # Clone the repository
381
+ git clone https://github.com/${repository.full_name}.git
382
+ cd ${repository.name}
383
+
384
+ # Install dependencies (if any)
385
+ npm install
386
+
387
+ # Open in VS Code
388
+ code .
389
+ \`\`\`
390
+
391
+ ### Making Changes
392
+ 1. Open the \`.isdl\` files in VS Code
393
+ 2. Make your modifications using ISDL syntax
394
+ 3. Run **"ISDL: Generate System"** command (\`Ctrl+Shift+P\`)
395
+ 4. Test changes in Foundry VTT
396
+ 5. Create a pull request with your improvements
397
+
398
+
399
+ ## 📁 Project Structure
400
+
401
+ \`\`\`
402
+ ${repository.name}/
403
+ ├── system.json # System manifest
404
+ ├── template.json # Data templates
405
+ ├── *.isdl # Source ISDL files
406
+ ├── scripts/ # Generated JavaScript
407
+ ├── styles/ # Generated CSS
408
+ ├── templates/ # Handlebars templates
409
+ ├── lang/ # Localization files
410
+ └── assets/ # Images and media
411
+ \`\`\`
412
+
413
+
414
+ ## 🤝 Contributing
415
+
416
+ We welcome contributions! Here's how you can help:
417
+
418
+ 1. **🐛 Report Bugs**: Use the [issue tracker](https://github.com/${repository.full_name}/issues)
419
+ 2. **💡 Suggest Features**: Share your ideas for improvements
420
+ 3. **📝 Improve Documentation**: Help make our docs clearer
421
+ 4. **🔧 Submit Code**: Fork, modify, and create pull requests
422
+ 5. **🌍 Translate**: Help localize the system
423
+
424
+ ### Development Guidelines
425
+ - Follow ISDL best practices
426
+ - Test thoroughly before submitting
427
+ - Update documentation as needed
428
+ - Use descriptive commit messages
429
+
430
+ ## 📜 License
431
+
432
+ This project is licensed under the terms specified in the [LICENSE](LICENSE) file.
433
+
434
+ ## 🆘 Support
435
+
436
+ ### Getting Help
437
+ - **📖 Documentation**: Check the [Wiki](https://github.com/${repository.full_name}/wiki)
438
+ - **💬 Community**: Join our [Discord](https://discord.gg/foundryvtt)
439
+ - **🐛 Issues**: Report bugs on [GitHub Issues](https://github.com/${repository.full_name}/issues)
440
+ - **❓ Questions**: Use [GitHub Discussions](https://github.com/${repository.full_name}/discussions)
441
+
442
+ ---
443
+
444
+ **Built with ❤️ using [ISDL](https://marketplace.visualstudio.com/items?itemName=IronMooseDevelopment.isdl)**
445
+
446
+ *Ready to create your own ISDL system? [Get started here!](https://github.com/IronMooseDevelopment/isdl-docs)*
447
447
  `;
448
448
  }
449
449
  /**
@@ -1,48 +1,48 @@
1
- name: Release System
2
-
3
- permissions:
4
- contents: write
5
-
6
- on:
7
- release:
8
- types: [published]
9
-
10
- jobs:
11
- build:
12
- runs-on: ubuntu-latest
13
- steps:
14
- - uses: actions/checkout@v4
15
-
16
- # Extract version from release tag
17
- - name: Extract version
18
- id: extract_version
19
- uses: battila7/get-version-action@v2
20
-
21
- # Substitute the Manifest and Download URLs in the system.json
22
- - name: Substitute Manifest and Download Links For Versioned Ones
23
- id: sub_manifest_link_version
24
- uses: microsoft/variable-substitution@v1
25
- with:
26
- files: 'system.json'
27
- env:
28
- version: ${{steps.extract_version.outputs.version}}
29
- url: https://github.com/${{github.repository}}
30
- manifest: https://github.com/${{github.repository}}/releases/latest/download/system.json
31
- download: https://github.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/system.zip
32
-
33
- # Create a zip file with all the system's files
34
- - run: zip -r ./system.zip system.json README.md LICENSE *.css *.js lang/ scripts/ styles/ templates/ packs/
35
-
36
- # Create a release for this specific version
37
- - name: Update Release with Files
38
- id: create_version_release
39
- uses: ncipollo/release-action@v1
40
- with:
41
- allowUpdates: true # Set this to false if you want to prevent updating existing releases
42
- name: ${{ github.event.release.name }}
43
- draft: ${{ github.event.release.draft }}
44
- prerelease: ${{ github.event.release.prerelease }}
45
- token: ${{ secrets.GITHUB_TOKEN }}
46
- artifacts: './system.json, ./system.zip'
47
- tag: ${{ github.event.release.tag_name }}
1
+ name: Release System
2
+
3
+ permissions:
4
+ contents: write
5
+
6
+ on:
7
+ release:
8
+ types: [published]
9
+
10
+ jobs:
11
+ build:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+
16
+ # Extract version from release tag
17
+ - name: Extract version
18
+ id: extract_version
19
+ uses: battila7/get-version-action@v2
20
+
21
+ # Substitute the Manifest and Download URLs in the system.json
22
+ - name: Substitute Manifest and Download Links For Versioned Ones
23
+ id: sub_manifest_link_version
24
+ uses: microsoft/variable-substitution@v1
25
+ with:
26
+ files: 'system.json'
27
+ env:
28
+ version: ${{steps.extract_version.outputs.version}}
29
+ url: https://github.com/${{github.repository}}
30
+ manifest: https://github.com/${{github.repository}}/releases/latest/download/system.json
31
+ download: https://github.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/system.zip
32
+
33
+ # Create a zip file with all the system's files
34
+ - run: zip -r ./system.zip system.json README.md LICENSE *.css *.js lang/ scripts/ styles/ templates/ packs/
35
+
36
+ # Create a release for this specific version
37
+ - name: Update Release with Files
38
+ id: create_version_release
39
+ uses: ncipollo/release-action@v1
40
+ with:
41
+ allowUpdates: true # Set this to false if you want to prevent updating existing releases
42
+ name: ${{ github.event.release.name }}
43
+ draft: ${{ github.event.release.draft }}
44
+ prerelease: ${{ github.event.release.prerelease }}
45
+ token: ${{ secrets.GITHUB_TOKEN }}
46
+ artifacts: './system.json, ./system.zip'
47
+ tag: ${{ github.event.release.tag_name }}
48
48
  body: ${{ github.event.release.body }}