Skip to content

Commit

Permalink
[Windows] Make yarn pkg-version work across platforms (#2963) (#2987)…
Browse files Browse the repository at this point in the history
… (#2993)

* Makes `yarn pkg-version` work across platforms

cherry-pick from 3f576df

Signed-off-by: Miki <amoo_miki@yahoo.com>
(cherry picked from commit 5fde8d1)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

Signed-off-by: Miki <amoo_miki@yahoo.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent e7fab2e commit 5fdddc8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@
"build:types": "node scripts/remove.js ./target/types && tsc --p tsconfig.types.json",
"docs:acceptApiChanges": "node --max-old-space-size=6144 scripts/check_published_api_changes.js --accept",
"osd:bootstrap": "node scripts/build_ts_refs && node scripts/register_git_hook",
"spec_to_console": "node scripts/spec_to_console"
"spec_to_console": "node scripts/spec_to_console",
"pkg-version": "node -e \"console.log(require('./package.json').version)\""
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 5fdddc8

Please sign in to comment.