Skip to content

Commit 72c5f83

Browse files
authored
Added command to cleanup core files (#106)
1 parent 22760ec commit 72c5f83

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

bin/prepare_release_files.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ check_command "yarn"
1616

1717
ASSETS_DIR="packages/assets"
1818
COMPONENTS_DIR="packages/components"
19+
CORE_DIR="packages/core"
1920

2021
echo "# Removing the assets"
2122
yarn run packages:remove-dist
@@ -35,6 +36,10 @@ echo "# Removing components dev files"
3536
rm -rf "$COMPONENTS_DIR/scripts" "$COMPONENTS_DIR/src" "$COMPONENTS_DIR/.babelrc" "$COMPONENTS_DIR/tsconfig.build.json" "$COMPONENTS_DIR/tsconfig.json"
3637
check_process "clean components dev"
3738

39+
echo "# Removing core dev files"
40+
rm -rf "$CORE_DIR/src" "$CORE_DIR/tsconfig.build.json" "$CORE_DIR/tsconfig.json"
41+
check_process "clean core dev"
42+
3843
echo "# Removing assets dev files"
3944
rm -rf "$ASSETS_DIR/src"
4045
check_process "clean assets dev"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ibexa/design-system",
3-
"version": "1.0.2",
3+
"version": "1.0.4",
44
"main": "index.js",
55
"repository": "git@github.com:ibexa/design-system.git",
66
"license": "MIT",

0 commit comments

Comments
 (0)