pdf-factory 0.4.0 → 0.4.1

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.
Files changed (1) hide show
  1. package/package.json +34 -18
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pdf-factory",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Generate tournament PDFs from TODS data — draw sheets, schedules, player lists, court cards",
5
5
  "license": "MIT",
6
6
  "author": "CourtHive",
@@ -46,6 +46,30 @@
46
46
  "files": [
47
47
  "dist"
48
48
  ],
49
+ "scripts": {
50
+ "build": "vite build",
51
+ "check-types": "tsc --noEmit",
52
+ "commit": "git-cz",
53
+ "commitlint": "commitlint --edit",
54
+ "format": "prettier --write src",
55
+ "lint": "eslint src --fix --cache",
56
+ "lint:staged": "TZ=UTC lint-staged",
57
+ "pre-commit": "lint-staged",
58
+ "prepare": "husky",
59
+ "storybook": "storybook dev -p 6007",
60
+ "build-storybook": "storybook build",
61
+ "test": "TZ=UTC vitest",
62
+ "test:run": "TZ=UTC vitest run",
63
+ "test:coverage": "TZ=UTC vitest run --coverage",
64
+ "test:ui": "vitest --ui",
65
+ "commits": "git log $(git describe --tags --abbrev=0)..HEAD --oneline --no-merges --pretty=format:'%s: %h' | sed '/pdf-factory/d'",
66
+ "release": "npm run release:patch",
67
+ "release:major": "npm run commits && npm version $(semver $npm_package_version -i major) && git push && git push --tags",
68
+ "release:minor": "npm run commits && npm version $(semver $npm_package_version -i minor) && git push && git push --tags",
69
+ "release:patch": "npm run commits && npm version $(semver $npm_package_version -i patch) && git push && git push --tags",
70
+ "release:beta": "npm run commits && npm version $(semver $npm_package_version -i prerelease --preid beta) && git push && git push --tags",
71
+ "prepublishOnly": "pnpm build && ./addVersion $npm_package_version"
72
+ },
49
73
  "lint-staged": {
50
74
  "*.{js,ts}": "eslint --cache --fix",
51
75
  "*": "prettier --ignore-unknown --write"
@@ -58,7 +82,7 @@
58
82
  "dependencies": {
59
83
  "jspdf": "^4.2.1",
60
84
  "jspdf-autotable": "^5.0.7",
61
- "tods-competition-factory": "^3.1.0"
85
+ "tods-competition-factory": "^3.1.2"
62
86
  },
63
87
  "devDependencies": {
64
88
  "@commitlint/cli": "^20.5.0",
@@ -90,20 +114,12 @@
90
114
  "vite-plugin-dts": "^4.5.4",
91
115
  "vitest": "^4.1.2"
92
116
  },
93
- "scripts": {
94
- "build": "vite build",
95
- "check-types": "tsc --noEmit",
96
- "commit": "git-cz",
97
- "commitlint": "commitlint --edit",
98
- "format": "prettier --write src",
99
- "lint": "eslint src --fix --cache",
100
- "lint:staged": "TZ=UTC lint-staged",
101
- "pre-commit": "lint-staged",
102
- "storybook": "storybook dev -p 6007",
103
- "build-storybook": "storybook build",
104
- "test": "TZ=UTC vitest",
105
- "test:run": "TZ=UTC vitest run",
106
- "test:coverage": "TZ=UTC vitest run --coverage",
107
- "test:ui": "vitest --ui"
117
+ "pnpm": {
118
+ "onlyBuiltDependencies": [
119
+ "esbuild"
120
+ ],
121
+ "ignoredBuiltDependencies": [
122
+ "core-js"
123
+ ]
108
124
  }
109
- }
125
+ }