Skip to content

Commit

Permalink
fix: switch babel-plugin-macros to a peer dependency (again) (#89)
Browse files Browse the repository at this point in the history
## PR Checklist

- [x] Addresses an existing open issue: fixes #88
- [x] That issue was marked as [`status: accepting
prs`](https://github.com/dmnd/dedent/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22)
- [x] Steps in
[CONTRIBUTING.md](https://github.com/dmnd/dedent/blob/main/.github/CONTRIBUTING.md)
were taken

## Overview

Re-applies #60 per the issue.
  • Loading branch information
JoshuaKGoldberg authored Feb 18, 2024
1 parent 87f0f9b commit 625d708
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions knip.jsonc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"$schema": "https://unpkg.com/knip@latest/schema.json",
"entry": ["src/index.ts!"],
"ignoreDependencies": ["babel-plugin-macros"],
"ignoreExportsUsedInFile": { "interface": true, "type": true },
"project": ["src/**/*.ts!"]
}
11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@
"lint-staged": {
"*": "prettier --ignore-unknown --write"
},
"dependencies": {
"babel-plugin-macros": "^3.1.0"
},
"devDependencies": {
"@babel/cli": "^7.21.5",
"@babel/preset-env": "^7.23.3",
Expand Down Expand Up @@ -110,6 +107,14 @@
"typescript": "^5.2.2",
"yaml-eslint-parser": "^1.2.2"
},
"peerDependencies": {
"babel-plugin-macros": "^3.1.0"
},
"peerDependenciesMeta": {
"babel-plugin-macros": {
"optional": true
}
},
"packageManager": "pnpm@8.7.0",
"engines": {
"node": ">=18"
Expand Down

0 comments on commit 625d708

Please sign in to comment.