@vttforge/cli 0.15.2 → 0.16.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vttforge/cli",
3
- "version": "0.15.2",
3
+ "version": "0.16.0",
4
4
  "description": "Scaffold, dev loop, release build, lint and audit for Foundry VTT v14+ systems and modules.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -13,10 +13,10 @@
13
13
  "format": "vttforge lint --fix"
14
14
  },
15
15
  "dependencies": {
16
- "@vttforge/core": "^0.16.0"
16
+ "@vttforge/core": "^0.18.0"
17
17
  },
18
18
  "devDependencies": {
19
- "@vttforge/cli": "^0.15.0",
19
+ "@vttforge/cli": "^0.16.0",
20
20
  "@vttforge/vite-plugin": "^0.5.0",
21
21
  "vite": "^8.2.2"
22
22
  },
@@ -5,13 +5,13 @@
5
5
  * modules copy from each other: the sub-type, its sheet, the enricher, the
6
6
  * settings, and the public API.
7
7
  */
8
- import { registerModule, SystemConfig, VttfError } from '@vttforge/core';
8
+ import { registerModule, PackageConfig, VttfError } from '@vttforge/core';
9
9
  import { MODULE_ID, NOTE_TYPE } from './constants.mjs';
10
10
  import { NoteData } from './data/note-data.mjs';
11
11
  import { noteEnricher } from './enricher.mjs';
12
12
  import { NoteSheet } from './sheets/note-sheet.mjs';
13
13
 
14
- const settings = new SystemConfig(MODULE_ID);
14
+ const settings = new PackageConfig(MODULE_ID);
15
15
 
16
16
  /** What `game.modules.get("{{ID}}").api` offers other modules and macros. */
17
17
  const api = {
@@ -14,10 +14,10 @@
14
14
  "typecheck": "tsc --noEmit"
15
15
  },
16
16
  "dependencies": {
17
- "@vttforge/core": "^0.16.0"
17
+ "@vttforge/core": "^0.18.0"
18
18
  },
19
19
  "devDependencies": {
20
- "@vttforge/cli": "^0.15.0",
20
+ "@vttforge/cli": "^0.16.0",
21
21
  "@vttforge/vite-plugin": "^0.5.0",
22
22
  "typescript": "^5.4.0",
23
23
  "vite": "^8.2.2"
@@ -6,13 +6,13 @@
6
6
  * settings, and the public API.
7
7
  */
8
8
  import './foundry-globals.js';
9
- import { registerModule, SystemConfig, VttfError } from '@vttforge/core';
9
+ import { registerModule, PackageConfig, VttfError } from '@vttforge/core';
10
10
  import { MODULE_ID, NOTE_TYPE } from './constants.js';
11
11
  import { NoteData } from './data/note-data.js';
12
12
  import { noteEnricher } from './enricher.js';
13
13
  import { NoteSheet } from './sheets/note-sheet.js';
14
14
 
15
- const settings = new SystemConfig(MODULE_ID);
15
+ const settings = new PackageConfig(MODULE_ID);
16
16
 
17
17
  /** What `game.modules.get("{{ID}}").api` offers other modules and macros. */
18
18
  interface ModuleApi {
@@ -13,11 +13,11 @@
13
13
  "format": "vttforge lint --fix"
14
14
  },
15
15
  "dependencies": {
16
- "@vttforge/core": "^0.16.0",
16
+ "@vttforge/core": "^0.18.0",
17
17
  "@vttforge/styles": "^0.5.0"
18
18
  },
19
19
  "devDependencies": {
20
- "@vttforge/cli": "^0.15.0",
20
+ "@vttforge/cli": "^0.16.0",
21
21
  "@vttforge/vite-plugin": "^0.5.0",
22
22
  "vite": "^8.2.2"
23
23
  },
@@ -5,7 +5,7 @@
5
5
  * systems copy from each other: data models, initiative, sheets, settings,
6
6
  * and the `ready`-time migration gate.
7
7
  */
8
- import { registerSystem, SystemConfig, VttfError } from '@vttforge/core';
8
+ import { registerSystem, PackageConfig, VttfError } from '@vttforge/core';
9
9
  import { CharacterData } from './data/character-data.mjs';
10
10
  import { GearData } from './data/gear-data.mjs';
11
11
  import { migrations } from './migrations.mjs';
@@ -14,7 +14,7 @@ import { GearSheet } from './sheets/gear-sheet.mjs';
14
14
 
15
15
  const SYSTEM_ID = '{{ID}}';
16
16
 
17
- const settings = new SystemConfig(SYSTEM_ID);
17
+ const settings = new PackageConfig(SYSTEM_ID);
18
18
 
19
19
  try {
20
20
  registerSystem({
@@ -14,11 +14,11 @@
14
14
  "typecheck": "tsc --noEmit"
15
15
  },
16
16
  "dependencies": {
17
- "@vttforge/core": "^0.16.0",
17
+ "@vttforge/core": "^0.18.0",
18
18
  "@vttforge/styles": "^0.5.0"
19
19
  },
20
20
  "devDependencies": {
21
- "@vttforge/cli": "^0.15.0",
21
+ "@vttforge/cli": "^0.16.0",
22
22
  "@vttforge/vite-plugin": "^0.5.0",
23
23
  "typescript": "^5.4.0",
24
24
  "vite": "^8.2.2"
@@ -6,7 +6,7 @@
6
6
  * and the `ready`-time migration gate.
7
7
  */
8
8
  import './foundry-globals.js';
9
- import { registerSystem, SystemConfig, VttfError } from '@vttforge/core';
9
+ import { registerSystem, PackageConfig, VttfError } from '@vttforge/core';
10
10
  import { CharacterData } from './data/character-data.js';
11
11
  import { GearData } from './data/gear-data.js';
12
12
  import { migrations } from './migrations.js';
@@ -15,7 +15,7 @@ import { GearSheet } from './sheets/gear-sheet.js';
15
15
 
16
16
  const SYSTEM_ID = '{{ID}}';
17
17
 
18
- const settings = new SystemConfig(SYSTEM_ID);
18
+ const settings = new PackageConfig(SYSTEM_ID);
19
19
 
20
20
  try {
21
21
  registerSystem({