Skip to content

Commit de41c0e

Browse files
authored
Merge pull request #152 from github/jtamsut/use-working-lockfile
Add working lock file and update script to add it to the npm workspace root
2 parents 7d092e2 + 9a1c8d7 commit de41c0e

2 files changed

Lines changed: 16720 additions & 1 deletion

File tree

script/bootstrap

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,14 @@ function clone_repo() {
1515
repo_root="$(git rev-parse --show-toplevel)"
1616
root="$(dirname "$repo_root")"
1717

18+
# Copy working package-lock.json to workspace
19+
echo "Copy lock file to workspace..."
20+
cp "$repo_root"/script/workspace/package-lock.json "$root"
21+
1822
# Clone dependent repos
1923
echo "Cloning dependent repos..."
2024
clone_repo https://github.com/actions/languageservices "$root"/languageservices
2125

22-
2326
# Copy workspace files
2427
echo "Copying workspace files..."
2528
cp "$repo_root"/script/workspace/package.json "$root"

0 commit comments

Comments
 (0)