Skip to content

Commit

Permalink
chore: Update build:dev script to improve development workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan-Zayne committed Aug 24, 2024
1 parent b02643d commit 3de7baf
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/three-doors-talk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@zayne-labs/callapi": patch
---

add provenance tag to publish command
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"typescript.tsdk": "node_modules\\typescript\\lib",
"cSpell.words": ["treeshake"],
"cSpell.words": ["attw", "callapi", "publint", "treeshake", "TSUP"],
"arrayIndexInlay.enabled": false
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"test:attw": "attw --pack . --exclude-entrypoints utils",
"test:release": "pkg-pr-new publish",
"build": "tsup",
"build:dev": "concurrently --prefix-colors \"#7da4f8.bold,yellow.bold\" --names TSUP,PUBLINT,ATTW \"pnpm tsup --watch\"' 'pnpm:test:publint' 'pnpm:test:attw'",
"build:dev": "concurrently --prefix-colors \"yellow.bold,#7da4f8.bold,magenta\" --names PUBLINT,TSUP,ATTW 'pnpm:test:publint' \"pnpm build --watch\" 'pnpm:test:attw'",
"version-package": "changeset version",
"release": "changeset publish"
"release": "changeset publish --provenance"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default defineConfig((options) => {
clean: true, // clean up dist folder,
dts: true,
minify: isProduction ? "terser" : false,
name: "callapi",
name: "",
sourcemap: isProduction,
tsconfig: "tsconfig.json",
} satisfies Options;
Expand Down

0 comments on commit 3de7baf

Please sign in to comment.