Skip to content

Commit

Permalink
[🚑️][Scripts]: Fix publish-script.ts by adding path to the package …
Browse files Browse the repository at this point in the history
…to publish (#6)

* Update version

* Add path to the package to publish
  • Loading branch information
mimshins authored Mar 26, 2024
1 parent ae973ca commit f23b97c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-design-tokens",
"version": "2.0.0-canary.2",
"version": "2.0.0-canary.3",
"description": "An optimized and creative theming solution that generates CSS variables based on the tokens provided.",
"license": "MIT",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/publish-package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ void (async () => {
const { tag = "latest" } =
(packageJSON.publishConfig as { tag: string } | undefined) ?? {};

const { stderr, stdout } = await execCmd(`npm publish --tag ${tag}`);
const { stderr, stdout } = await execCmd(`npm publish ./dist/ --tag ${tag}`);

console.log({ stdout });
console.error({ stderr });
Expand Down

0 comments on commit f23b97c

Please sign in to comment.