@7h3laughingman/foundry-types 13.351.2 → 13.351.4

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": "@7h3laughingman/foundry-types",
3
- "version": "13.351.2",
3
+ "version": "13.351.4",
4
4
  "description": "Basic TypeScript types for FoundryVTT.",
5
5
  "homepage": "https://github.com/7H3LaughingMan/foundry-types#readme",
6
6
  "bugs": {
@@ -18,8 +18,12 @@
18
18
  "#client/*": "./src/client/*",
19
19
  "#common/*": "./src/common/*"
20
20
  },
21
+ "types": "./src/index.d.ts",
21
22
  "exports": {
22
- ".": "./src/index.d.ts",
23
+ ".": {
24
+ "types": "./src/index.d.ts",
25
+ "default": "./src/index.d.ts"
26
+ },
23
27
  "./client/*": "./src/client/*",
24
28
  "./common/*": "./src/common/*",
25
29
  "./global-external": "./src/global-external.d.mts"
@@ -30,7 +34,14 @@
30
34
  "scripts": {
31
35
  "tsc": "tsc",
32
36
  "eslint": "eslint src",
33
- "eslint:fix": "eslint src --fix && prettier src --write"
37
+ "eslint:fix": "eslint src --fix && prettier src --write",
38
+ "prepare": "husky"
39
+ },
40
+ "lint-staged": {
41
+ "*.{ts,mts,cts,tsc,js,mjs,cjs,jsx}": [
42
+ "eslint --fix",
43
+ "prettier --write"
44
+ ]
34
45
  },
35
46
  "dependencies": {
36
47
  "@codemirror/lang-html": "^6.4.9",
@@ -43,6 +54,7 @@
43
54
  "@types/simple-peer": "^9.11.9",
44
55
  "@types/ws": "^8.18.1",
45
56
  "codemirror": "^6.0.1",
57
+ "gsap": "3.11.0",
46
58
  "handlebars": "^4.7.8",
47
59
  "jquery": "^3.7.1",
48
60
  "peggy": "^4.2.0",
@@ -62,18 +74,20 @@
62
74
  "prosemirror-view": "^1.38.1",
63
75
  "showdown": "^2.1.0",
64
76
  "simple-peer": "^9.11.1",
65
- "socket.io-client": "^4.8.1",
66
- "socket.io": "^4.8.1"
77
+ "socket.io": "^4.8.1",
78
+ "socket.io-client": "^4.8.1"
67
79
  },
68
80
  "devDependencies": {
69
81
  "@eslint/js": "^9.39.2",
70
82
  "@eslint/json": "^0.14.0",
83
+ "eslint": "^9.39.2",
71
84
  "eslint-config-prettier": "^10.1.8",
72
85
  "eslint-plugin-prettier": "^5.5.5",
73
- "eslint": "^9.39.2",
86
+ "husky": "^9.1.7",
87
+ "lint-staged": "^16.2.7",
74
88
  "prettier-plugin-organize-imports": "^4.3.0",
75
- "typescript-eslint": "^8.55.0",
76
- "typescript": "^5.9.3"
89
+ "typescript": "^5.9.3",
90
+ "typescript-eslint": "^8.55.0"
77
91
  },
78
92
  "engines": {
79
93
  "node": ">=24"
@@ -1,5 +1,6 @@
1
1
  import * as PixiGraphicsSmooth from "@pixi/graphics-smooth";
2
2
  import * as PixiParticles from "@pixi/particle-emitter";
3
+ import "gsap";
3
4
  import "handlebars";
4
5
  import "jquery";
5
6
  import PixiJS from "pixi.js";
@@ -43,7 +43,7 @@ type SettingSchema = {
43
43
  _id: fields.DocumentIdField;
44
44
  key: fields.StringField<string, string, true>;
45
45
  value: fields.JSONField<NonNullable<JSONValue>, true, true, false>;
46
- user: fields.ForeignDocumentField<BaseUser>;
46
+ user: fields.ForeignDocumentField<string>;
47
47
  _stats: fields.DocumentStatsField;
48
48
  };
49
49