Skip to content

Commit

Permalink
Merge pull request #2 from 12deg/fastify/update-fastify-plugin
Browse files Browse the repository at this point in the history
fastify: update fastify plugin dependency and fix issue present in package.json
  • Loading branch information
rameshlohala authored Aug 21, 2024
2 parents fe6cfcc + 42b5997 commit 6a95a6a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions generators/fastify-plugin/templates/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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"
Expand All @@ -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",
Expand All @@ -56,6 +56,6 @@
},
"peerDependencies": {
"fastify": ">=4.10.2",
"fastify-plugin": ">=4.4.0"
"fastify-plugin": ">=4.5.1"
}
}

0 comments on commit 6a95a6a

Please sign in to comment.