pf2e-sage-stats 0.2.8 → 0.2.10
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/README.md +9 -9
- package/dist/app.d.ts +608 -0
- package/dist/app.js +3 -3
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3 -0
- package/package.json +11 -3
- package/eslint.config.mjs +0 -11
- package/jest.config.ts +0 -11
- package/src/app.ts +0 -878
- package/src/index.ts +0 -612
- package/src/types.d.ts +0 -5
- package/test/app.test.ts +0 -67
- package/tsconfig.json +0 -14
package/dist/index.js
CHANGED
|
@@ -483,6 +483,9 @@ program.command('track')
|
|
|
483
483
|
else if (action.command === 'blank') {
|
|
484
484
|
tracker.forEach((item) => {
|
|
485
485
|
item.conditions = "";
|
|
486
|
+
item.children.forEach((child) => {
|
|
487
|
+
child.conditions = "";
|
|
488
|
+
});
|
|
486
489
|
});
|
|
487
490
|
}
|
|
488
491
|
else if (action.command === 'set-conditions') {
|
package/package.json
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pf2e-sage-stats",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.10",
|
|
4
4
|
"description": "An RPG Sage's .tsv stat generation tool",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
5
|
"author": "ikariott@gmail.com",
|
|
7
6
|
"license": "MIT",
|
|
8
7
|
"scripts": {
|
|
@@ -12,8 +11,17 @@
|
|
|
12
11
|
"test": "jest"
|
|
13
12
|
},
|
|
14
13
|
"bin": {
|
|
15
|
-
"pf2e-sage-stats": "dist/index.js"
|
|
14
|
+
"pf2e-sage-stats": "./dist/index.js"
|
|
16
15
|
},
|
|
16
|
+
"main": "./dist/app.js",
|
|
17
|
+
"types": "./dist/app.d.ts",
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"types": "./dist/app.d.ts",
|
|
21
|
+
"default": "./dist/app.js"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"files": ["dist"],
|
|
17
25
|
"devDependencies": {
|
|
18
26
|
"@eslint/js": "^9.17.0",
|
|
19
27
|
"@types/jest": "^29.5.14",
|
package/eslint.config.mjs
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import globals from "globals";
|
|
2
|
-
import pluginJs from "@eslint/js";
|
|
3
|
-
import tseslint from "typescript-eslint";
|
|
4
|
-
|
|
5
|
-
/** @type {import('eslint').Linter.Config[]} */
|
|
6
|
-
export default [
|
|
7
|
-
{files: ["src/**/*.ts"]},
|
|
8
|
-
{languageOptions: { globals: globals.browser }},
|
|
9
|
-
pluginJs.configs.recommended,
|
|
10
|
-
...tseslint.configs.recommended,
|
|
11
|
-
];
|