mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-06-27 04:22:05 +00:00
chore(ui): bump quicktype to resolve vulnerabilities (#17979)
* chore(ui): bump quicktype to resolve vulnerabilities * fix test * lower the version to avoid build issue * revert service_account type changes * added node-gyp as global package
This commit is contained in:
parent
6541704cea
commit
65babfd586
@ -16,5 +16,8 @@
|
|||||||
},
|
},
|
||||||
"[typescript]": {
|
"[typescript]": {
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
|
},
|
||||||
|
"[json]": {
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -62,7 +62,7 @@ getTypes(){
|
|||||||
for file_with_dir in $(find $tmp_dir -name "*.json" | sed -e "s/${escaped_tmp_dir}//g")
|
for file_with_dir in $(find $tmp_dir -name "*.json" | sed -e "s/${escaped_tmp_dir}//g")
|
||||||
do
|
do
|
||||||
joblist=$(jobs | wc -l)
|
joblist=$(jobs | wc -l)
|
||||||
while [ ${joblist} -ge 10 ]
|
while [ ${joblist} -ge 30 ]
|
||||||
do
|
do
|
||||||
sleep 1
|
sleep 1
|
||||||
joblist=$(jobs | wc -l)
|
joblist=$(jobs | wc -l)
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "NODE_ENV=development BABEL_ENV=development webpack serve --config ./webpack.config.dev.js --env development",
|
"start": "NODE_ENV=development BABEL_ENV=development webpack serve --config ./webpack.config.dev.js --env development",
|
||||||
"build": "NODE_ENV=production BABEL_ENV=production webpack --config ./webpack.config.prod.js --env production",
|
"build": "NODE_ENV=production BABEL_ENV=production webpack --config ./webpack.config.prod.js --env production",
|
||||||
"preinstall": "cd ../../../../.. && yarn global add node-gyp && yarn install --frozen-lockfile",
|
"preinstall": "cd ../../../../.. && yarn install --frozen-lockfile",
|
||||||
"postinstall": "yarn run build-check",
|
"postinstall": "yarn run build-check",
|
||||||
"pre-commit": "lint-staged --concurrent false",
|
"pre-commit": "lint-staged --concurrent false",
|
||||||
"test": "jest --passWithNoTests --maxWorkers=3 --silent",
|
"test": "jest --passWithNoTests --maxWorkers=3 --silent",
|
||||||
|
@ -31,10 +31,6 @@ module.exports = {
|
|||||||
// Input configuration
|
// Input configuration
|
||||||
entry: ['@babel/polyfill', path.join(__dirname, 'src/index.tsx')],
|
entry: ['@babel/polyfill', path.join(__dirname, 'src/index.tsx')],
|
||||||
|
|
||||||
cache: {
|
|
||||||
type: 'filesystem', // Enable caching on filesystem
|
|
||||||
},
|
|
||||||
|
|
||||||
// Output configuration
|
// Output configuration
|
||||||
output: {
|
output: {
|
||||||
path: outputPath,
|
path: outputPath,
|
||||||
|
@ -11,11 +11,10 @@
|
|||||||
"url": "https://github.com/open-metadata/OpenMetadata.git"
|
"url": "https://github.com/open-metadata/OpenMetadata.git"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"quicktype": "^17.0.6",
|
"quicktype": "20.0.27"
|
||||||
"node-gyp": "^10.0.1"
|
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"preinstall": "yarn global add node-gyp",
|
"preinstall": "yarn global add node-gyp@10.0.1",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user