Skip to content

Commit

Permalink
fix(apps-ui-kit): release process not building (#4876)
Browse files Browse the repository at this point in the history
* fix(apps-ui-kit): release process not building

* feat: changeset

* fix: add building scripts for both

* feat: add turbo dependencies for ui-kit

* fix: add missing outputs

* chore: remove build from nested turbo.json

* test: empty commit

* test: update button text

* Revert "test: update button text"

This reverts commit 093d44d.
  • Loading branch information
VmMad authored Jan 17, 2025
1 parent 08f7185 commit b772ffa
Show file tree
Hide file tree
Showing 5 changed files with 1,024 additions and 406 deletions.
6 changes: 6 additions & 0 deletions .changeset/pretty-hounds-give.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@iota/apps-ui-kit': patch
'@iota/apps-ui-icons': patch
---

Add correct prepublish script
7 changes: 6 additions & 1 deletion apps/ui-icons/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
{
"name": "@iota/apps-ui-icons",
"version": "0.2.0",
"main": "src/index.ts",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"sideEffects": false,
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts",
"prepublishOnly": "pnpm run build",
"clean:src": "rimraf src/**",
"clean:svgs": "rimraf svgs/**",
"clean:all": "pnpm clean:src && pnpm clean:svgs",
Expand All @@ -21,6 +25,7 @@
"@types/react": "^18.3.3",
"react": "^18.3.1",
"rimraf": "^5.0.1",
"tsup": "^8.3.5",
"typescript": "^5.5.3"
}
}
4 changes: 4 additions & 0 deletions apps/ui-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@
},
"license": "Apache-2.0",
"files": [
"CHANGELOG.md",
"LICENSE",
"src",
"dist"
],
"scripts": {
"prepublishOnly": "pnpm run build",
"prettier:check": "prettier -c --ignore-unknown --ignore-path=../../.prettierignore --ignore-path=.prettierignore .",
"prettier:fix": "prettier -w --ignore-unknown --ignore-path=../../.prettierignore --ignore-path=.prettierignore .",
"eslint:check": "eslint --max-warnings=0 .",
Expand Down
9 changes: 9 additions & 0 deletions apps/ui-kit/turbo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": ["//"],
"tasks": {
"build-storybook": {
"dependsOn": ["^build"],
"outputs": ["storybook-static/**"]
}
}
}
Loading

0 comments on commit b772ffa

Please sign in to comment.