Skip to content

Commit

Permalink
fix: [] - update config location (#37)
Browse files Browse the repository at this point in the history
* fix: Update release config, clean up
  • Loading branch information
Matthew Gordon authored May 1, 2024
1 parent 0ae9cd4 commit 84c7bf5
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 26 deletions.
Empty file removed CHANGELOG.md
Empty file.
1 change: 0 additions & 1 deletion lib/main.ts

This file was deleted.

15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,20 @@
"author": "Contentful",
"license": "MIT",
"description": "Contentful helper SDK for Vercel platform app integration to enable live preview",
"source": "./src/index.ts",
"main": "./dist/main.js",
"module": "./dist/main.js",
"typings": "./dist/main.d.ts",
"source": "./lib/index.ts",
"main": "./dist/index.js",
"module": "./dist/index.js",
"typings": "./dist/index.d.ts",
"type": "module",
"files": [
"dist",
"app-router"
],
"exports": {
".": {
"import": "./dist/main.js",
"require": "./dist/main.js",
"types": "./dist/main.d.ts"
"import": "./dist/index.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./app-router": {
"import": "./dist/app-router/handlers/app.js",
Expand Down
18 changes: 0 additions & 18 deletions release.config.js

This file was deleted.

17 changes: 17 additions & 0 deletions release.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"branches": ["main"],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
[
"@semantic-release/git",
{
"assets": ["package.json", "package-lock.json", "CHANGELOG.md"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
"@semantic-release/github"
]
}

0 comments on commit 84c7bf5

Please sign in to comment.