Skip to content

Commit

Permalink
build: remove src dir from dist
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan-Zayne committed Jun 25, 2024
1 parent 922e7ad commit 2d418c5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 403 deletions.
5 changes: 5 additions & 0 deletions .changeset/kind-pigs-scream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@zayne-labs/callapi": patch
---

remove src dir from dist
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.2.5",
"type": "module",
"description": "A lightweight wrapper over fetch with quality of life improvements like built-in request cancellation, retries, interceptors and more",
"main": "./dist/src/index.js",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"prepare": "husky",
Expand All @@ -19,11 +19,11 @@
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/src/index.js"
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/src/index.cjs"
"default": "./dist/index.cjs"
}
}
},
Expand Down Expand Up @@ -55,7 +55,6 @@
"@changesets/cli": "^2.27.5",
"@eslint/js": "^9.5.0",
"@zayne-labs/tsconfig": "^0.0.7",
"changelogen": "^0.5.5",
"eslint": "^9.5.0",
"eslint-plugin-import-x": "^0.5.1",
"eslint-plugin-jsdoc": "^48.2.12",
Expand Down
Loading

0 comments on commit 2d418c5

Please sign in to comment.