Skip to content

Commit

Permalink
Merge branch 'main' into ds-add-missing-dep-to-internal
Browse files Browse the repository at this point in the history
  • Loading branch information
jtoar authored May 19, 2022
2 parents da6420d + c04684b commit 1bd0b73
Show file tree
Hide file tree
Showing 3 changed files with 203 additions and 211 deletions.
6 changes: 3 additions & 3 deletions packages/cli/src/commands/setup/deploy/helpers/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { spawnSync } from 'child_process'
import { execSync } from 'child_process'
import fs from 'fs'
import path from 'path'

Expand Down Expand Up @@ -114,9 +114,9 @@ export const addPackagesTask = ({
].filter(Boolean),
]
} else {
const { stdout } = spawnSync('yarn', ['--version'])
const stdout = execSync('yarn --version')

const yarnVersion = stdout.toString()
const yarnVersion = stdout.toString().trim()

installCommand = [
'yarn',
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"copy-webpack-plugin": "11.0.0",
"core-js": "3.22.5",
"css-loader": "6.7.1",
"css-minimizer-webpack-plugin": "3.4.1",
"css-minimizer-webpack-plugin": "4.0.0",
"dotenv-webpack": "7.1.0",
"esbuild": "0.14.39",
"esbuild-loader": "2.19.0",
Expand Down
Loading

0 comments on commit 1bd0b73

Please sign in to comment.