Merge pull request #5996 from owncloud/fix-5994

idp: fix pnpm build for Node >= 17 and remove obsolete targets
This commit is contained in:
Michael Barz
2023-04-03 15:07:17 +02:00
committed by GitHub
2 changed files with 2 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ SONARSOURCE_SONAR_SCANNER_CLI = "sonarsource/sonar-scanner-cli:latest"
THEGEEKLAB_DRONE_GITHUB_COMMENT = "thegeeklab/drone-github-comment:1"
DEFAULT_PHP_VERSION = "7.4"
DEFAULT_NODEJS_VERSION = "16"
DEFAULT_NODEJS_VERSION = "18"
dirs = {
"base": "/drone/src",

View File

@@ -5,14 +5,12 @@
"homepage": ".",
"scripts": {
"analyze": "source-map-explorer 'build/static/js/*.js'",
"build": "node scripts/build.js && rm -f build/service-worker.js",
"eject": "react-scripts eject",
"build": "node --openssl-legacy-provider scripts/build.js && rm -f build/service-worker.js",
"licenses": "NODE_PATH=./node_modules node ../scripts/js-license-ranger.js",
"licenses:check": "license-checker-rseidelsohn --summary --relativeLicensePath --onlyAllow 'Python-2.0;Apache*;Apache License, Version 2.0;Apache-2.0;Apache 2.0;Artistic-2.0;BSD;BSD-3-Clause;CC-BY-3.0;CC-BY-4.0;CC0-1.0;ISC;MIT;MPL-2.0;Public Domain;Unicode-TOU;Unlicense;WTFPL;ODC-By-1.0' --excludePackages 'identifier;kpop;po2json;unicoderegexp'",
"licenses:csv": "license-checker-rseidelsohn --relativeLicensePath --csv --out ../../third-party-licenses/node/idp/third-party-licenses.csv",
"licenses:save": "license-checker-rseidelsohn --relativeLicensePath --out /dev/null --files ../../third-party-licenses/node/idp/third-party-licenses",
"lint": "eslint ./**/*.{tsx,ts,jsx,js}",
"start": "node scripts/start.js",
"test": "node scripts/test.js --env=jsdom"
},
"babel": {