diff --git a/generators/fastify-plugin/templates/package.json b/generators/fastify-plugin/templates/package.json index d899400..86bd5d2 100644 --- a/generators/fastify-plugin/templates/package.json +++ b/generators/fastify-plugin/templates/package.json @@ -1,11 +1,11 @@ { "name": "@<%= scope %>/<%= name %>", - "version": "@<%= version %>", + "version": "<%= version %>", "description": "<%= baseName %> plugin for fastify", - "homepage": "https://github.com/<%= scope %>/<%= name %>", + "homepage": "https://github.com/<%= scope %>/<%= baseName %>/tree/main/packages/fastify#readme", "repository": { "type": "git", - "url": "git+https://github.com/<%= scope %>/<%= name %>.git", + "url": "git+https://github.com/<%= scope %>/<%= baseName %>.git", "directory": "packages/fastify" }, "license": "MIT", @@ -16,8 +16,8 @@ "require": "./dist/<%= scope %>-<%= name %>.umd.cjs" } }, - "main": "./dist/<%= scope %>-<%= name %>-fastify.umd.cjs", - "module": "./dist/<%= scope %>-<%= name %>-fastify.js", + "main": "./dist/<%= scope %>-<%= name %>.umd.cjs", + "module": "./dist/<%= scope %>-<%= name %>.js", "types": "./dist/types/index.d.ts", "files": [ "dist" @@ -44,7 +44,7 @@ "eslint-plugin-promise": "6.1.1", "eslint-plugin-unicorn": "46.0.1", "fastify": "4.10.2", - "fastify-plugin": "4.4.0", + "fastify-plugin": "4.5.1", "prettier": "2.8.8", "typescript": "4.9.5", "vite": "4.5.3", @@ -56,6 +56,6 @@ }, "peerDependencies": { "fastify": ">=4.10.2", - "fastify-plugin": ">=4.4.0" + "fastify-plugin": ">=4.5.1" } }