Skip to content

Commit

Permalink
Minor fix for Upgrade to V4
Browse files Browse the repository at this point in the history
  • Loading branch information
hand-dot committed Apr 11, 2024
1 parent a3a2b0b commit 40cc703
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/common/src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const PDFME_VERSION = '4-dev';
export const PDFME_VERSION = '4.0.0';
export const PT_TO_PX_RATIO = 1.333;
export const PT_TO_MM_RATIO = 0.3528;
export const MM_TO_PT_RATIO = 2.8346; // https://www.ddc.co.jp/words/archives/20090701114500.html
Expand Down
3 changes: 1 addition & 2 deletions playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"predeploy": "npm run build",
"deploy": "gh-pages -d dist -b playground",
"deploy-v4": "gh-pages -d dist -b v4-preview"
"deploy": "gh-pages -d dist -b playground"
},
"dependencies": {
"@pdfme/common": "file:../packages/common/dist",
Expand Down
2 changes: 1 addition & 1 deletion playground/src/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Link } from "react-router-dom";
const Navigation = () => (
<div style={{ margin: "0.5rem 1rem" }}>
<span style={{ marginRight: "1rem" }}>
Branch: V4
Branch: Main
</span>
<span style={{ marginRight: "1rem" }}>
<Link to="/">Designer</Link>
Expand Down

0 comments on commit 40cc703

Please sign in to comment.