Skip to content

Commit

Permalink
Change "rm -rf" to "rimraf" for platform neutrality.
Browse files Browse the repository at this point in the history
  • Loading branch information
RUN-Projects committed Jan 16, 2024
1 parent 3ed2526 commit ed7e6f3
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 22 deletions.
2 changes: 2 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"
4 changes: 2 additions & 2 deletions packages/base-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@
"scripts": {
"start": "npx styleguidist server",
"build:styleguide": "npx styleguidist build",
"build": "rm -rf ./dist && babel ./src --out-dir ./dist -s inline",
"build": "rimraf ./dist && babel ./src --out-dir ./dist -s inline",
"test": "react-scripts test",
"sections": "node styleguide.sections.js",
"prepublishOnly": "rm -rf ./dist && babel ./src --out-dir ./dist -s inline"
"prepublishOnly": "rimraf ./dist && babel ./src --out-dir ./dist -s inline"
},
"eslintConfig": {
"extends": [
Expand Down
4 changes: 2 additions & 2 deletions packages/base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@
},
"scripts": {
"start": "npx styleguidist server",
"build": "rm -rf ./dist && babel ./src --out-dir ./dist -s inline",
"build": "rimraf ./dist && babel ./src --out-dir ./dist -s inline",
"build:styleguide": "npx styleguidist build",
"test": "react-scripts test",
"sections": "node styleguide.sections.js",
"prepublishOnly": "rm -rf ./dist && babel ./src --out-dir ./dist -s inline"
"prepublishOnly": "rimraf ./dist && babel ./src --out-dir ./dist -s inline"
},
"eslintConfig": {
"extends": [
Expand Down
4 changes: 2 additions & 2 deletions packages/joy-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@
"scripts": {
"start": "npx styleguidist server",
"build:styleguide": "npx styleguidist build",
"build": "rm -rf ./dist && babel ./src --out-dir ./dist -s inline",
"build": "rimraf ./dist && babel ./src --out-dir ./dist -s inline",
"test": "react-scripts test",
"sections": "node styleguide.sections.js",
"prepublishOnly": "rm -rf ./dist && babel ./src --out-dir ./dist -s inline"
"prepublishOnly": "rimraf ./dist && babel ./src --out-dir ./dist -s inline"
},
"eslintConfig": {
"extends": [
Expand Down
4 changes: 2 additions & 2 deletions packages/joy-pk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@
"scripts": {
"start": "styleguidist server",
"build:styleguide": "styleguidist build",
"build": "rm -rf ./dist && babel ./src --out-dir ./dist -s inline",
"build": "rimraf ./dist && babel ./src --out-dir ./dist -s inline",
"test": "react-scripts test",
"sections": "node styleguide.sections.js",
"prepublishOnly": "rm -rf ./dist && babel ./src --out-dir ./dist -s inline"
"prepublishOnly": "rimraf ./dist && babel ./src --out-dir ./dist -s inline"
},
"eslintConfig": {
"extends": [
Expand Down
4 changes: 2 additions & 2 deletions packages/joy-verse-navigator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@
},
"scripts": {
"start": "npx styleguidist server",
"build": "rm -rf ./dist && babel ./src --out-dir ./dist -s inline",
"build": "rimraf ./dist && babel ./src --out-dir ./dist -s inline",
"test": "react-scripts test",
"prepublishOnly": "rm -rf ./dist && babel ./src --out-dir ./dist -s inline"
"prepublishOnly": "rimraf ./dist && babel ./src --out-dir ./dist -s inline"
},
"eslintConfig": {
"extends": [
Expand Down
4 changes: 2 additions & 2 deletions packages/mui-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@
"scripts": {
"start": "npx styleguidist server",
"build:styleguide": "npx styleguidist build",
"build": "rm -rf ./dist && babel ./src --out-dir ./dist -s inline",
"build": "rimraf ./dist && babel ./src --out-dir ./dist -s inline",
"test": "react-scripts test",
"sections": "node styleguide.sections.js",
"prepublishOnly": "rm -rf ./dist && babel ./src --out-dir ./dist -s inline"
"prepublishOnly": "rimraf ./dist && babel ./src --out-dir ./dist -s inline"
},
"eslintConfig": {
"extends": [
Expand Down
4 changes: 2 additions & 2 deletions packages/mui-pk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@
"scripts": {
"start": "styleguidist server",
"build:styleguide": "styleguidist build",
"build": "rm -rf ./dist && babel ./src --out-dir ./dist -s inline",
"build": "rimraf ./dist && babel ./src --out-dir ./dist -s inline",
"test": "react-scripts test",
"sections": "node styleguide.sections.js",
"prepublishOnly": "rm -rf ./dist && babel ./src --out-dir ./dist -s inline"
"prepublishOnly": "rimraf ./dist && babel ./src --out-dir ./dist -s inline"
},
"eslintConfig": {
"extends": [
Expand Down
4 changes: 2 additions & 2 deletions packages/mui-simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@
"scripts": {
"start": "npx styleguidist server",
"build-dev": "styleguidist build",
"build": "rm -rf ./dist && babel ./src --out-dir ./dist -s inline",
"build": "rimraf ./dist && babel ./src --out-dir ./dist -s inline",
"test": "react-scripts test",
"sections": "node styleguide.sections.js",
"prepublishOnly": "rm -rf ./dist && babel ./src --out-dir ./dist -s inline"
"prepublishOnly": "rimraf ./dist && babel ./src --out-dir ./dist -s inline"
},
"eslintConfig": {
"extends": [
Expand Down
4 changes: 2 additions & 2 deletions packages/mui-verse-navigator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@
},
"scripts": {
"start": "npx styleguidist server",
"build": "rm -rf ./dist && babel ./src --out-dir ./dist -s inline",
"build": "rimraf ./dist && babel ./src --out-dir ./dist -s inline",
"test": "react-scripts test",
"prepublishOnly": "rm -rf ./dist && babel ./src --out-dir ./dist -s inline"
"prepublishOnly": "rimraf ./dist && babel ./src --out-dir ./dist -s inline"
},
"eslintConfig": {
"extends": [
Expand Down
4 changes: 2 additions & 2 deletions packages/pk-aligner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@
"scripts": {
"start": "yarn && npx styleguidist server",
"build:styleguide": "npx styleguidist build",
"build": "rm -rf ./dist && babel ./src --out-dir ./dist -s inline",
"build": "rimraf ./dist && babel ./src --out-dir ./dist -s inline",
"test": "react-scripts test",
"sections": "node styleguide.sections.js",
"prepublishOnly": "rm -rf ./dist && babel ./src --out-dir ./dist -s inline"
"prepublishOnly": "rimraf ./dist && babel ./src --out-dir ./dist -s inline"
},
"eslintConfig": {
"extends": [
Expand Down
4 changes: 2 additions & 2 deletions packages/verse-mapper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
"webpack-cli": "^5.1.4"
},
"scripts": {
"build": "rm -rf ./dist && babel ./src --out-dir ./dist -s inline",
"build": "rimraf ./dist && babel ./src --out-dir ./dist -s inline",
"test": "react-scripts test",
"prepublishOnly": "rm -rf ./dist && babel ./src --out-dir ./dist -s inline"
"prepublishOnly": "rimraf ./dist && babel ./src --out-dir ./dist -s inline"
},
"eslintConfig": {
"extends": [
Expand Down

0 comments on commit ed7e6f3

Please sign in to comment.