Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…e/main instead of building pf2e types myself.

Changes:
* Removed the old type files.
* Removed a few places where I'd explicitly set TokenPF2e (it complained that actor didn't exist)
* Changed a bunch of imports
* Added some ts-ignores (with TODO:s to look into later)
* Changed vite and ts config
* Updated dependencies
  • Loading branch information
xdy committed Jan 14, 2025
1 parent 6708413 commit 36ccee2
Show file tree
Hide file tree
Showing 1,396 changed files with 1,039 additions and 83,359 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"prettier"
],
"parserOptions": {
"ecmaVersion": 2018,
"ecmaVersion": 2023,
"sourceType": "module",
"project": "./tsconfig.json"
},
Expand Down
4 changes: 2 additions & 2 deletions build/build-packs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import fs from "fs-extra";
import path from "path";
import { compilePack } from "@foundryvtt/foundryvtt-cli";
import type { MacroSource } from "common/documents/macro.d.ts";
import type { DocumentStatsData } from "common/data/fields.d.ts";
import { MacroSource } from "foundry-pf2e/foundry/common/documents/macro.js";
import { DocumentStatsData } from "foundry-pf2e/foundry/common/data/fields.js";

// We can't import this from xdy-pf2e-workbench.ts because nodejs can't run that file
const MODULENAME = "xdy-pf2e-workbench";
Expand Down
Loading

0 comments on commit 36ccee2

Please sign in to comment.