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/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.8",
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
- ];
package/jest.config.ts DELETED
@@ -1,11 +0,0 @@
1
- import type { Config } from 'jest';
2
-
3
- const config: Config = {
4
- clearMocks: true,
5
- testEnvironment: "node",
6
- transform: {
7
- "^.+.tsx?$": ["ts-jest",{}],
8
- },
9
- };
10
-
11
- export default config;