Skip to content
This repository was archived by the owner on Aug 10, 2025. It is now read-only.

Commit dc6862f

Browse files
committed
support v12 and drop v11
- Add v12 compatibility - Drop v11 compatibility - Change `ScriptConfig` to use `FormApplication` instead of `MacroConfig` - Remove eslint from project (temporary)
1 parent 8bed281 commit dc6862f

9 files changed

Lines changed: 245 additions & 2391 deletions

File tree

.eslintrc.json

Lines changed: 0 additions & 185 deletions
This file was deleted.

jsconfig.json

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
1-
{
2-
"compilerOptions": {
3-
"module": "CommonJS",
4-
"target": "ES6"
5-
},
6-
"exclude": ["node_modules", "**/node_modules/*"],
7-
"include": [
8-
"scripts/**/*.mjs",
9-
"dnd5e/**/*.mjs",
10-
"foundry/**/*.js",
11-
"foundry/**/*.mjs"
12-
],
13-
"typeAcquisition": {
14-
"include": ["jquery"]
1+
{
2+
"compilerOptions": {
3+
"module": "CommonJS",
4+
"target": "ES6"
5+
},
6+
"exclude": ["node_modules", "**/node_modules/*"],
7+
"include": [
8+
"scripts/**/*.mjs",
9+
"dnd5e/**/*.mjs",
10+
"foundry/**/*.mjs"
11+
],
12+
"typeAcquisition": {
13+
"include": ["jquery"]
14+
}
1515
}
16-
}

lang/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"Script": {
1010
"Label": "Script",
1111
"Save": "Save Script",
12-
"Execute": "Execute Script"
12+
"SaveAndExecute": "Save and Execute Script"
1313
},
1414
"Setting": {
1515
"headerButtonPermission": {

module.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@
44
"description": "Allows you to attach one or more JS scripts to an item, which are triggered by user selectable triggers.",
55
"version": "AUTOMATIC",
66
"library": "false",
7-
"manifestPlusVersion": "1.2.0",
87
"compatibility": {
9-
"minimum": 11,
10-
"verified": 11
8+
"minimum": 12,
9+
"verified": 12
1110
},
1211
"authors": [
1312
{
@@ -22,8 +21,8 @@
2221
"id": "dnd5e",
2322
"type": "system",
2423
"compatibility": {
25-
"minimum": "3.1.0",
26-
"maximum": "3.1.9"
24+
"minimum": "3.2.0",
25+
"maximum": "3.2.9"
2726
}
2827
}
2928
]

0 commit comments

Comments
 (0)