Skip to content

Commit

Permalink
Merge pull request #544 from MetaCell/feature/fix-script-names
Browse files Browse the repository at this point in the history
Change extension from sh to bash to avoid confusion
  • Loading branch information
aranega authored Sep 23, 2024
2 parents bd2c5e3 + 0761ee6 commit cb19bee
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/layout-manager-playground/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ To start develop, you need to setup yalc to link geppetto libraries to the curre
To do so, run

```
bash setup.sh
bash setup.bash
```

## Available Scripts
Expand Down
File renamed without changes.
7 changes: 7 additions & 0 deletions examples/multiple-layout-manager-playground/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,16 @@ To start develop, you need to setup yalc to link geppetto libraries to the curre

To do so, run

```
bash setup.bash
```

or you can also run manually

```
yarn install && yarn link:yalc
```

# Project Description

The Multiple Layout Manager Playground enables the creation of one or more workspaces, providing a flexible environment for managing various layouts.
Expand Down
4 changes: 2 additions & 2 deletions geppetto.js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ The UI components of Geppetto.js (work in progress)
To develop for one of the libraries, they need to be installed and "linked" together.
The linking of the libraries between each other is done using `yalc`, be sure you have it installed.

To bootstrapped all the projects, you can run the `dev-install.sh` script.
To bootstrapped all the projects, you can run the `dev-install.bash` script.

```bash
sh dev-install.sh
bash dev-install.bash
```

### Working on multiple dependent components at the same time
Expand Down
6 changes: 3 additions & 3 deletions geppetto.js/dev-install.sh → geppetto.js/dev-install.bash
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ cd "${PARENT_PATH}"
# Install and init the projects first in reverse order (the most dependent first)
# each "init" script is linking the projects using yalc
echo "[*] Install geppetto-core"
(cd geppetto-core && yarn install && yarn link:yalc && yarn build:dev && yarn publish:yalc)
(cd geppetto-core && yarn install && yarn link:yalc && yarn build:clean && yarn build:dev && yarn publish:yalc)

echo "[*] Install geppetto-ui"
(cd geppetto-ui && yarn install && yarn link:yalc && yarn build:dev && yarn publish:yalc)
(cd geppetto-ui && yarn install && yarn link:yalc && yarn build:clean && yarn build:dev && yarn publish:yalc)

echo "[*] Install geppetto-client"
(cd geppetto-client && yarn install && yarn link:yalc && yarn build:dev && yarn publish:yalc)
(cd geppetto-client && yarn install && yarn link:yalc && yarn build:clean && yarn build:dev && yarn publish:yalc)
1 change: 1 addition & 0 deletions geppetto.js/geppetto-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"lint-fix": "eslint . --fix",
"test": "jest --passWithNoTests",
"build": "yarn build:js && yarn build:package && yarn build:style",
"build:clean": "rm -rf build",
"build:dev": "yarn build:ts && yarn build:types && yarn build:package && yarn build:style",
"build:js": "babel src -d build --copy-files --extensions '.js,.jsx,.ts,.tsx'",
"build:js-dev": "babel src -d build --copy-files --extensions '.js,.jsx,.ts,.tsx' --source-maps",
Expand Down
1 change: 1 addition & 0 deletions geppetto.js/geppetto-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"lint": "eslint .",
"test": "jest",
"build": "yarn build:js && yarn build:package",
"build:clean": "rm -rf build",
"build:dev": "yarn build:js-dev && yarn build:package",
"build:js": "babel src -d build --copy-files --extensions '.js,.jsx,.ts,.tsx'",
"build:js-dev": "babel src -d build --copy-files --extensions '.js,.jsx,.ts,.tsx' --source-maps",
Expand Down
3 changes: 2 additions & 1 deletion geppetto.js/geppetto-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@
"lint": "eslint .",
"test": "jest --passWithNoTests",
"build": "yarn build:js && yarn build:types && yarn build:remove-large-files && yarn build:package",
"build:clean": "rm -rf build",
"build:dev": "yarn build:js-dev && yarn build:types && yarn build:package",
"build:js": "babel src -d build --copy-files --extensions '.js,.jsx,.ts,.tsx'",
"build:js-dev": "babel src -d build --copy-files --extensions '.js,.jsx,.ts,.tsx' --source-maps",
"build:types": "tsc --emitDeclarationOnly",
"build:ts": "tsc",
"build:types": "tsc --emitDeclarationOnly",
"build:remove-large-files": "rm -rf ./build/**/showcase/*.json",
"build:src": "rm -rf build && mkdir build && cp -r src/. build && yarn build:package",
"build:package": "cp package.json README.md LICENSE build",
Expand Down

0 comments on commit cb19bee

Please sign in to comment.