Skip to content

Commit

Permalink
Release 1.0.1 - chore(npmignore): reduce file size
Browse files Browse the repository at this point in the history
  • Loading branch information
PARCEL authored and PARCEL committed Jan 21, 2025
1 parent 96232ff commit 8ef1a04
Show file tree
Hide file tree
Showing 6 changed files with 74 additions and 25 deletions.
6 changes: 4 additions & 2 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
.gitignore
weback.config.js
webpack.config.js
/src
.github
package-lock.json
/example
/example-server-side
code-128-font.d.ts
code-128-font.d.ts
tsconfig.node.json
tsconfig.json
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"preview": "vite preview"
},
"dependencies": {
"jspdf": "^2.5.2",
"jspdf": "^2.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
1 change: 0 additions & 1 deletion example/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"jsx": "react-jsx",
"paths": {
"@/*": ["src/*"],
"jspdf": ["../node-modules/jspdf"],
"jspdf-barcode": [".."]
},
},
Expand Down
1 change: 0 additions & 1 deletion example/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export default defineConfig({
resolve: {
alias: {
'@': path.resolve("./src"),
'jspdf': path.resolve(__dirname, "../node_modules/jspdf"),
'jspdf-barcode': path.resolve(__dirname, ".."),
},
},
Expand Down
85 changes: 67 additions & 18 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jspdf-barcode",
"version": "1.0.0",
"version": "1.0.1",
"description": "barcode generator plugin for jspdf",
"main": "dist/jspdf-barcode.js",
"types": "types.d.ts",
Expand Down Expand Up @@ -29,7 +29,7 @@
"author": "ihsan fajar ramadhan",
"license": "MIT",
"peerDependencies": {
"jspdf": ">=2.0.0"
"jspdf": ">=1.4.0"
},
"dependencies": {
"code-128-encoder": "^3.1.1"
Expand Down

0 comments on commit 8ef1a04

Please sign in to comment.