Skip to content

Commit a402406

Browse files
committed
chore: fix release configurations
1 parent 529763c commit a402406

File tree

35 files changed

+349
-280
lines changed

35 files changed

+349
-280
lines changed

.github/workflows/release.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,18 @@ jobs:
5959
GIT_COMMITTER_NAME: "@kdnjbot"
6060
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
6161
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
62-
run: pnpm run release
62+
run: |
63+
# PATCH: replace workspace:* to *
64+
# multi-semantic-release (especially @semrel-extra/npm not supported version `workspace:*`.
65+
# So, need to replace it before release
66+
homebin=$HOME/kdnj/bin
67+
mkdir -p $homebin
68+
echo -e '#!/bin/bash\npnpm "$@"' > $homebin/npm && chmod +x $homebin/npm
69+
70+
rc=/tmp/rcfile
71+
echo 'shopt -s expand_aliases' > $rc
72+
echo 'alias npm="$homebin/npm"' >> $rc
73+
source $rc
74+
find . -type f -name "package.json" -not -path './node_modules*' -not -path './.git*' -exec sed -i 's/workspace:\*/\*/g' {} \;
75+
npm --help
76+
pnpm run release

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
| ---- | ----------- | ------- |
1717
| [create-chakra-icons](https://github.com/kodingdotninja/chakra-icons/tree/main/packages/create-chakra-icons) || [![create-chakra-icons](https://badgen.net/npm/v/create-chakra-icons?color=green)](https://www.npmjs.com/package/create-chakra-icons) |
1818
| [@tooling/msrconfig](https://github.com/kodingdotninja/chakra-icons/tree/main/tooling/msr.conf) || |
19-
| [@chakra-icons/cli](https://github.com/kodingdotninja/chakra-icons/tree/main/tooling/cli) | | [![@chakra-icons/cli](https://badgen.net/npm/v/@chakra-icons/cli?color=green)](https://www.npmjs.com/package/@chakra-icons/cli) |
19+
| [@chakra-icons/cli](https://github.com/kodingdotninja/chakra-icons/tree/main/tooling/cli) | | [![@chakra-icons/cli](https://badgen.net/npm/v/@chakra-icons/cli?color=green)](https://www.npmjs.com/package/@chakra-icons/cli) |
2020
| [@chakra-icons/bootstrap](https://github.com/kodingdotninja/chakra-icons/tree/main/packages/@chakra-icons/bootstrap) || [![@chakra-icons/bootstrap version](https://badgen.net/npm/v/@chakra-icons/bootstrap?color=green)](https://www.npmjs.com/package/@chakra-icons/bootstrap) [![@chakra-icons/bootstrap treeshakeble](https://badgen.net/bundlephobia/tree-shaking/@chakra-icons/bootstrap?color=blue)](https://bundlephobia.com/package/@chakra-icons/bootstrap) |
2121
| [@chakra-icons/carbon](https://github.com/kodingdotninja/chakra-icons/tree/main/packages/@chakra-icons/carbon) || [![@chakra-icons/carbon version](https://badgen.net/npm/v/@chakra-icons/carbon?color=green)](https://www.npmjs.com/package/@chakra-icons/carbon) [![@chakra-icons/carbon treeshakeble](https://badgen.net/bundlephobia/tree-shaking/@chakra-icons/carbon?color=blue)](https://bundlephobia.com/package/@chakra-icons/carbon) |
2222
| [@chakra-icons/cryptocurrency-icons](https://github.com/kodingdotninja/chakra-icons/tree/main/packages/@chakra-icons/cryptocurrency-icons) || [![@chakra-icons/cryptocurrency-icons version](https://badgen.net/npm/v/@chakra-icons/cryptocurrency-icons?color=green)](https://www.npmjs.com/package/@chakra-icons/cryptocurrency-icons) [![@chakra-icons/cryptocurrency-icons treeshakeble](https://badgen.net/bundlephobia/tree-shaking/@chakra-icons/cryptocurrency-icons?color=blue)](https://bundlephobia.com/package/@chakra-icons/cryptocurrency-icons) |

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"packages/@chakra-icons/*",
99
"website",
1010
"!website/**",
11-
"!tooling/*.conf/**"
11+
"!tooling/*"
1212
],
1313
"scripts": {
1414
"# general commands": "--------------------------------------------------",
@@ -41,11 +41,14 @@
4141
"@types/react": "^18.2.21",
4242
"@types/react-dom": "^18.2.7",
4343
"commitlint-config-squash-pr": "^1.1.0",
44+
"eslint": "^8.47.0",
4445
"husky": "^8.0.3",
4546
"multi-semantic-release": "^3.0.2",
4647
"plop": "^3.1.2",
48+
"prettier": "^3.0.3",
4749
"shx": "^0.3.4",
48-
"turbo": "^1.10.13"
50+
"turbo": "^1.10.13",
51+
"typescript": "^5.2.2"
4952
},
5053
"prettier": "@kodingdotninja/style-guide/prettier",
5154
"private": true
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = require("@tooling/msrconfig");
1+
module.exports = require("../../../tooling/msr.conf")

packages/@chakra-icons/bootstrap/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
],
2323
"devDependencies": {
2424
"@chakra-icons/cli": "*",
25-
"@tooling/msrconfig": "workspace:*",
2625
"tsup": "^7.2.0"
2726
},
2827
"peerDependencies": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = require("@tooling/msrconfig");
1+
module.exports = require("../../../tooling/msr.conf")

packages/@chakra-icons/carbon/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
],
2323
"devDependencies": {
2424
"@chakra-icons/cli": "*",
25-
"@tooling/msrconfig": "workspace:*",
2625
"tsup": "^7.2.0"
2726
},
2827
"peerDependencies": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = require("@tooling/msrconfig");
1+
module.exports = require("../../../tooling/msr.conf")

packages/@chakra-icons/cryptocurrency-icons/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
],
2323
"devDependencies": {
2424
"@chakra-icons/cli": "*",
25-
"@tooling/msrconfig": "workspace:*",
2625
"tsup": "^7.2.0"
2726
},
2827
"peerDependencies": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = require("@tooling/msrconfig");
1+
module.exports = require("../../../tooling/msr.conf")

packages/@chakra-icons/feather/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
],
2323
"devDependencies": {
2424
"@chakra-icons/cli": "*",
25-
"@tooling/msrconfig": "workspace:*",
2625
"tsup": "^7.2.0"
2726
},
2827
"peerDependencies": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = require("@tooling/msrconfig");
1+
module.exports = require("../../../tooling/msr.conf")

packages/@chakra-icons/flat-icon/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
],
2323
"devDependencies": {
2424
"@chakra-icons/cli": "*",
25-
"@tooling/msrconfig": "workspace:*",
2625
"tsup": "^7.2.0"
2726
},
2827
"peerDependencies": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = require("@tooling/msrconfig");
1+
module.exports = require("../../../tooling/msr.conf")

packages/@chakra-icons/ionicons/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
],
2323
"devDependencies": {
2424
"@chakra-icons/cli": "*",
25-
"@tooling/msrconfig": "workspace:*",
2625
"tsup": "^7.2.0"
2726
},
2827
"peerDependencies": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = require("@tooling/msrconfig");
1+
module.exports = require("../../../tooling/msr.conf")

packages/@chakra-icons/octicons/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
],
2323
"devDependencies": {
2424
"@chakra-icons/cli": "*",
25-
"@tooling/msrconfig": "workspace:*",
2625
"tsup": "^7.2.0"
2726
},
2827
"peerDependencies": {

packages/@chakra-icons/octicons/snapshot.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2088,6 +2088,11 @@
20882088
"svg": ".chakraIcons/icons/feed-merged-16.svg",
20892089
"code": "src/FeedMerged16.tsx"
20902090
},
2091+
{
2092+
"name": "FeedIssueReopen16",
2093+
"svg": ".chakraIcons/icons/feed-issue-reopen-16.svg",
2094+
"code": "src/FeedIssueReopen16.tsx"
2095+
},
20912096
{
20922097
"name": "FeedIssueOpen16",
20932098
"svg": ".chakraIcons/icons/feed-issue-open-16.svg",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = require("@tooling/msrconfig");
1+
module.exports = require("../../../tooling/msr.conf")

packages/@chakra-icons/simple-line-icons/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
],
2323
"devDependencies": {
2424
"@chakra-icons/cli": "*",
25-
"@tooling/msrconfig": "workspace:*",
2625
"tsup": "^7.2.0"
2726
},
2827
"peerDependencies": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = require("@tooling/msrconfig");
1+
module.exports = require("../../../tooling/msr.conf")

packages/@chakra-icons/tabler-icons/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
],
2323
"devDependencies": {
2424
"@chakra-icons/cli": "*",
25-
"@tooling/msrconfig": "workspace:*",
2625
"tsup": "^7.2.0"
2726
},
2827
"peerDependencies": {

0 commit comments

Comments
 (0)