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:
Chirag Madlani 2024-09-25 15:09:34 +05:30 committed by GitHub
parent 6541704cea
commit 65babfd586
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 426 additions and 1238 deletions

View File

@ -16,5 +16,8 @@
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}

View File

@ -62,7 +62,7 @@ getTypes(){
for file_with_dir in $(find $tmp_dir -name "*.json" | sed -e "s/${escaped_tmp_dir}//g")
do
joblist=$(jobs | wc -l)
while [ ${joblist} -ge 10 ]
while [ ${joblist} -ge 30 ]
do
sleep 1
joblist=$(jobs | wc -l)

View File

@ -14,7 +14,7 @@
"scripts": {
"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",
"preinstall": "cd ../../../../.. && yarn global add node-gyp && yarn install --frozen-lockfile",
"preinstall": "cd ../../../../.. && yarn install --frozen-lockfile",
"postinstall": "yarn run build-check",
"pre-commit": "lint-staged --concurrent false",
"test": "jest --passWithNoTests --maxWorkers=3 --silent",
@ -253,4 +253,4 @@
"path-to-regexp": "1.9.0",
"terser-webpack-plugin": "5.1.1"
}
}
}

View File

@ -30,10 +30,6 @@ module.exports = {
// Input configuration
entry: ['@babel/polyfill', path.join(__dirname, 'src/index.tsx')],
cache: {
type: 'filesystem', // Enable caching on filesystem
},
// Output configuration
output: {

View File

@ -11,11 +11,10 @@
"url": "https://github.com/open-metadata/OpenMetadata.git"
},
"devDependencies": {
"quicktype": "^17.0.6",
"node-gyp": "^10.0.1"
"quicktype": "20.0.27"
},
"scripts": {
"preinstall": "yarn global add node-gyp",
"preinstall": "yarn global add node-gyp@10.0.1",
"test": "echo \"Error: no test specified\" && exit 1"
}
}

1646
yarn.lock

File diff suppressed because it is too large Load Diff