mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-08 17:22:31 +03:00
Backport #32737
package.json: move `version_short` variable under the `config` object This is so that it works on npm 7.x too.
This commit is contained in:
@@ -12,11 +12,10 @@
|
||||
const path = require('path')
|
||||
const sh = require('shelljs')
|
||||
|
||||
const {
|
||||
version, version_short: versionShort
|
||||
} = require('../package.json')
|
||||
const pkg = require('../package.json')
|
||||
|
||||
const folderName = `bootstrap-${version}-examples`
|
||||
const versionShort = pkg.config.version_short
|
||||
const folderName = `bootstrap-${pkg.version}-examples`
|
||||
|
||||
sh.config.fatal = true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user