Skip to content

Commit

Permalink
fix : use shx in postinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
jrcarlos2000 committed Jan 11, 2025
1 parent 692f6c9 commit dc40d44
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"write-heading-ids": "docusaurus write-heading-ids",
"format": "npx prettier --write '**/*.{js,jsx,md,mdx,json,css}'",
"format-check": "npx prettier --check '**/*.{js,jsx,md,mdx,json,css}'",
"postinstall": "cp -n .env.example .env"
"postinstall": "shx cp -n .env.example .env"
},
"dependencies": {
"@docusaurus/core": "2.4.0",
Expand All @@ -28,7 +28,8 @@
},
"devDependencies": {
"@docusaurus/module-type-aliases": "2.4.0",
"prettier": "3.0.3"
"prettier": "3.0.3",
"shx": "^0.3.4"
},
"browserslist": {
"production": [
Expand Down
10 changes: 9 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5259,7 +5259,7 @@ [email protected], minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1:
dependencies:
brace-expansion "^1.1.7"

minimist@^1.2.0, minimist@^1.2.5:
minimist@^1.2.0, minimist@^1.2.3, minimist@^1.2.5:
version "1.2.8"
resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz"
integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==
Expand Down Expand Up @@ -6777,6 +6777,14 @@ shelljs@^0.8.5:
interpret "^1.0.0"
rechoir "^0.6.2"

shx@^0.3.4:
version "0.3.4"
resolved "https://registry.yarnpkg.com/shx/-/shx-0.3.4.tgz#74289230b4b663979167f94e1935901406e40f02"
integrity sha512-N6A9MLVqjxZYcVn8hLmtneQWIJtp8IKzMP4eMnx+nqkvXoqinUPCbUFLp2UcWTEIUONhlk0ewxr/jaVGlc+J+g==
dependencies:
minimist "^1.2.3"
shelljs "^0.8.5"

side-channel@^1.0.4:
version "1.0.6"
resolved "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz"
Expand Down

0 comments on commit dc40d44

Please sign in to comment.