diff --git a/CHANGELOG.md b/CHANGELOG.md index b6806b5..1f83890 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,11 @@ -# Changelog (6/8/2023) +# Changelog (6/9/2023) Changelog was generated by [Generi](https://github.com/betterwrite/generi). Any questions, consult the documentation. +### v1.2.2 + +* **📐 build:** ignore default case - [[a195373](https://github.com/betterwrite/pdfeasy/commit/a195373)] + ### v1.2.1 * **🚧 chore(nuxt):** force esm module - [[4829a45](https://github.com/betterwrite/pdfeasy/commit/4829a45)] diff --git a/lerna.json b/lerna.json index 0dd94db..c82e9bf 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { "npmClient": "pnpm", "useWorkspaces": true, - "version": "1.2.1" + "version": "1.2.2" } diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index 7dbeb9e..9dc19e7 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -1,61 +1,61 @@ -{ - "name": "nuxt-pdfeasy", - "sideEffects": false, - "author": { - "email": "novout@hotmail.com", - "name": "Novout", - "url": "https://github.com/Novout" - }, - "version": "1.2.1", - "repository": "https://github.com/betterwrite/nuxt-pdfeasy", - "description": "A PDF document generator to your Nuxt application.", - "engines": { - "node": ">=14.16" - }, - "bugs": { - "url": "https://github.com/betterwrite/nuxt-pdfeasy/issues" - }, - "keywords": [ - "pdfkit", - "pdf", - "typescript", - "javascript", - "printing", - "nuxt3" - ], - "license": "MIT", - "type": "module", - "exports": { - ".": { - "import": "./dist/module.mjs", - "require": "./dist/module.cjs" - } - }, - "main": "./dist/module.cjs", - "types": "./dist/types.d.ts", - "files": [ - "dist", - "package.json" - ], - "scripts": { - "build:prod": "pnpm run set", - "build": "pnpm run set", - "prepack": "pnpm run set", - "set": "nuxi prepare && nuxt-module-build && nuxi prepare playground", - "dev": "nuxi dev playground", - "dev:build": "nuxi build playground", - "dev:prepare": "nuxt-module-build --stub && nuxi prepare playground" - }, - "dependencies": { - "@nuxt/kit": "^3.5.3", - "pdfeasy": "^1.2.1" - }, - "devDependencies": { - "@nuxt/module-builder": "^0.4.0", - "@nuxt/schema": "^3.5.3", - "@nuxtjs/eslint-config-typescript": "^12.0.0", - "@types/node": "^18.11.9", - "eslint": "^8.42.0", - "nuxt": "^3.5.3" - } -} +{ + "name": "nuxt-pdfeasy", + "sideEffects": false, + "author": { + "email": "novout@hotmail.com", + "name": "Novout", + "url": "https://github.com/Novout" + }, + "version": "1.2.2", + "repository": "https://github.com/betterwrite/nuxt-pdfeasy", + "description": "A PDF document generator to your Nuxt application.", + "engines": { + "node": ">=14.16" + }, + "bugs": { + "url": "https://github.com/betterwrite/nuxt-pdfeasy/issues" + }, + "keywords": [ + "pdfkit", + "pdf", + "typescript", + "javascript", + "printing", + "nuxt3" + ], + "license": "MIT", + "type": "module", + "exports": { + ".": { + "import": "./dist/module.mjs", + "require": "./dist/module.cjs" + } + }, + "main": "./dist/module.cjs", + "types": "./dist/types.d.ts", + "files": [ + "dist", + "package.json" + ], + "scripts": { + "build:prod": "pnpm run set", + "build": "pnpm run set", + "prepack": "pnpm run set", + "set": "nuxi prepare && nuxt-module-build && nuxi prepare playground", + "dev": "nuxi dev playground", + "dev:build": "nuxi build playground", + "dev:prepare": "nuxt-module-build --stub && nuxi prepare playground" + }, + "dependencies": { + "@nuxt/kit": "^3.5.3", + "pdfeasy": "^1.2.2" + }, + "devDependencies": { + "@nuxt/module-builder": "^0.4.0", + "@nuxt/schema": "^3.5.3", + "@nuxtjs/eslint-config-typescript": "^12.0.0", + "@types/node": "^18.11.9", + "eslint": "^8.42.0", + "nuxt": "^3.5.3" + } +} diff --git a/packages/pdfeasy/package.json b/packages/pdfeasy/package.json index c4c3e1d..c269422 100644 --- a/packages/pdfeasy/package.json +++ b/packages/pdfeasy/package.json @@ -1,83 +1,83 @@ -{ - "name": "pdfeasy", - "version": "1.2.1", - "description": "Client/Server Side PDF-Creator based in PDFKit", - "author": "Novout ", - "license": "MIT", - "repository": "https://github.com/betterwrite/pdfeasy", - "bugs": { - "url": "https://github.com/betterwrite/pdfeasy/issues" - }, - "keywords": [ - "pdfkit", - "pdf", - "typescript", - "javascript", - "printing", - "layout" - ], - "browser": { - "path": "path-browserify", - "crypto": "crypto-browserify", - "stream": "stream-browserify" - }, - "exports": { - ".": { - "import": "./dist/client.esm.js", - "require": "./dist/client.cjs.js", - "node": "./dist/node.esm.js", - "types": "./dist/index.d.ts" - } - }, - "main": "./dist/client.cjs.js", - "module": "./dist/client.esm.js", - "node": "./dist/node.esm.js", - "types": "./dist/index.d.ts", - "scripts": { - "format": "prettier src/**/*.ts scripts/**/*.js --write", - "build": "rimraf dist && cross-env NODE_ENV=development node scripts/build.js && pnpm run normalizeDts", - "build:prod": "rimraf dist && cross-env NODE_ENV=production node scripts/build.js && pnpm run normalizeDts", - "normalizeDts": "tsup ./src/index.ts --dts && rimraf dist/index.js", - "test": "pnpm build:prod && vitest run --coverage", - "node:script": "node -r esm ./scripts/generate/run-node.js", - "demo": "vite --port 3000" - }, - "files": [ - "dist/**/*", - "LICENSE", - "README.md" - ], - "engines": { - "node": ">=14.0" - }, - "dependencies": { - "blob-stream": "0.1.3", - "file-saver": "2.0.5", - "fontkit-next": "1.8.3", - "mitt": "3.0.0", - "ohmyfetch": "0.4.21", - "pdfkit": "0.13.0", - "pdfkit-table": "^0.1.99" - }, - "devDependencies": { - "@types/blob-stream": "0.1.30", - "@types/file-saver": "2.0.5", - "@types/node": "20.1.2", - "@types/pdfkit": "0.12.9", - "@vitest/coverage-c8": "0.31.0", - "cross-env": "7.0.3", - "esbuild": "0.17.18", - "esbuild-plugin-alias": "0.2.1", - "esbuild-plugin-fileloc": "0.0.6", - "esbuild-plugin-replace": "1.3.0", - "esbuild-plugin-resolve": "1.0.3", - "esm": "3.2.25", - "node-stdlib-browser": "1.2.0", - "prettier": "2.8.8", - "rimraf": "5.0.0", - "tsup": "6.7.0", - "typescript": "5.0.4", - "vite": "4.3.5", - "vitest": "0.31.0" - } -} +{ + "name": "pdfeasy", + "version": "1.2.2", + "description": "Client/Server Side PDF-Creator based in PDFKit", + "author": "Novout ", + "license": "MIT", + "repository": "https://github.com/betterwrite/pdfeasy", + "bugs": { + "url": "https://github.com/betterwrite/pdfeasy/issues" + }, + "keywords": [ + "pdfkit", + "pdf", + "typescript", + "javascript", + "printing", + "layout" + ], + "browser": { + "path": "path-browserify", + "crypto": "crypto-browserify", + "stream": "stream-browserify" + }, + "exports": { + ".": { + "import": "./dist/client.esm.js", + "require": "./dist/client.cjs.js", + "node": "./dist/node.esm.js", + "types": "./dist/index.d.ts" + } + }, + "main": "./dist/client.cjs.js", + "module": "./dist/client.esm.js", + "node": "./dist/node.esm.js", + "types": "./dist/index.d.ts", + "scripts": { + "format": "prettier src/**/*.ts scripts/**/*.js --write", + "build": "rimraf dist && cross-env NODE_ENV=development node scripts/build.js && pnpm run normalizeDts", + "build:prod": "rimraf dist && cross-env NODE_ENV=production node scripts/build.js && pnpm run normalizeDts", + "normalizeDts": "tsup ./src/index.ts --dts && rimraf dist/index.js", + "test": "pnpm build:prod && vitest run --coverage", + "node:script": "node -r esm ./scripts/generate/run-node.js", + "demo": "vite --port 3000" + }, + "files": [ + "dist/**/*", + "LICENSE", + "README.md" + ], + "engines": { + "node": ">=14.0" + }, + "dependencies": { + "blob-stream": "0.1.3", + "file-saver": "2.0.5", + "fontkit-next": "1.8.3", + "mitt": "3.0.0", + "ohmyfetch": "0.4.21", + "pdfkit": "0.13.0", + "pdfkit-table": "^0.1.99" + }, + "devDependencies": { + "@types/blob-stream": "0.1.30", + "@types/file-saver": "2.0.5", + "@types/node": "20.1.2", + "@types/pdfkit": "0.12.9", + "@vitest/coverage-c8": "0.31.0", + "cross-env": "7.0.3", + "esbuild": "0.17.18", + "esbuild-plugin-alias": "0.2.1", + "esbuild-plugin-fileloc": "0.0.6", + "esbuild-plugin-replace": "1.3.0", + "esbuild-plugin-resolve": "1.0.3", + "esm": "3.2.25", + "node-stdlib-browser": "1.2.0", + "prettier": "2.8.8", + "rimraf": "5.0.0", + "tsup": "6.7.0", + "typescript": "5.0.4", + "vite": "4.3.5", + "vitest": "0.31.0" + } +} diff --git a/packages/vue/package.json b/packages/vue/package.json index 08d1b0f..0346964 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -2,7 +2,7 @@ "name": "vue-pdfeasy", "author": "Novout", "license": "MIT", - "version": "1.2.1", + "version": "1.2.2", "description": "A pdfeasy plugin for Vue 3", "type": "module", "sideEffects": false, @@ -29,7 +29,7 @@ "pdfmake" ], "dependencies": { - "pdfeasy": "^1.2.1", + "pdfeasy": "^1.2.2", "vue-demi": "latest" }, "peerDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 31afa43..ce922b3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -17,7 +17,7 @@ importers: specifier: ^3.5.3 version: 3.5.3(rollup@3.21.6) pdfeasy: - specifier: ^1.2.1 + specifier: ^1.2.2 version: link:../pdfeasy devDependencies: '@nuxt/module-builder': @@ -127,7 +127,7 @@ importers: specifier: ^1.0.0-rc.1 version: 1.0.0-rc.1(vue@3.3.1) pdfeasy: - specifier: ^1.2.1 + specifier: ^1.2.2 version: link:../pdfeasy vue-demi: specifier: latest