Skip to content

Commit

Permalink
build: change publish directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Smart committed Dec 6, 2022
1 parent 077dee8 commit 08c220f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"version": "0.9.7",
"type": "module",
"publishConfig": {
"access": "public"
"access": "public",
"directory": "dist"
},
"files": [
"dist/**/*",
Expand All @@ -13,14 +14,14 @@
"author": "Tim Smart <[email protected]>",
"license": "MIT",
"scripts": {
"prepublishOnly": "pnpm run clean && pnpm run build:tsc",
"prepublishOnly": "pnpm run clean && pnpm run build:tsc && cp package.json dist/",
"build:tsc": "tsc -p tsconfig.json",
"types": "discord-api-codegen ./discord-api-docs -l typescript -o 'imports=RestResponse|dfx/DiscordREST/types' 'endpointReturnType=RestResponse' > src/types.ts && prettier -w src/types.ts",
"clean": "rm -rf dist/ *.tsbuildinfo"
},
"exports": {
".": "./dist/index.js",
"./*": "./dist/*.js"
".": "./index.js",
"./*": "./*.js"
},
"devDependencies": {
"@effect/io": "^0.0.30",
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"lib": ["ESNext", "DOM"],
"sourceMap": true,
"declaration": true,
"declarationMap": true,
"strict": true,
"target": "ES2022",
"incremental": true,
Expand Down
10 changes: 10 additions & 0 deletions vendor/effect-io-tsplus.json
Original file line number Diff line number Diff line change
Expand Up @@ -6837,6 +6837,11 @@
"kind": "getter",
"typeName": "effect/io/Exit",
"name": "isFailure"
},
{
"typeName": "effect/io/Exit.Ops",
"kind": "static",
"name": "isFailure"
}
]
},
Expand All @@ -6848,6 +6853,11 @@
"kind": "getter",
"typeName": "effect/io/Exit",
"name": "isSuccess"
},
{
"typeName": "effect/io/Exit.Ops",
"kind": "static",
"name": "isSuccess"
}
]
},
Expand Down

0 comments on commit 08c220f

Please sign in to comment.