pdf-factory 0.4.0 → 0.4.2
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/parser.cjs.map +1 -1
- package/dist/parser.js.map +1 -1
- package/dist/pdf-factory.cjs.map +1 -1
- package/dist/pdf-factory.js.map +1 -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.
|
|
3
|
+
"version": "0.4.2",
|
|
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 $(npx semver $npm_package_version -i major) && git push && git push --tags",
|
|
68
|
+
"release:minor": "npm run commits && npm version $(npx semver $npm_package_version -i minor) && git push && git push --tags",
|
|
69
|
+
"release:patch": "npm run commits && npm version $(npx semver $npm_package_version -i patch) && git push && git push --tags",
|
|
70
|
+
"release:beta": "npm run commits && npm version $(npx 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.
|
|
85
|
+
"tods-competition-factory": "^3.1.3"
|
|
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
|
-
"
|
|
94
|
-
"
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
"
|
|
98
|
-
|
|
99
|
-
|
|
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
|
+
}
|