diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index b0da6b3b0..22d58d8fb 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -140,7 +140,9 @@ jobs: npm install npm run build:pkg - - name: Mysterious hack to fix Type Error: Cannot read properties of undefined (reading .../jupyterlab/.pnp.cjs) + # Without a following step, it will be failed to build the jupyter lab extension by the below error + # Type Error Cannot read properties of undefined (reading .../jupyterlab/.pnp.cjs) + - name: Mysterious hack to fix the build error working-directory: jupyterlab run: yarn install diff --git a/standalone_app/package-lock.json b/standalone_app/package-lock.json index ce812efb8..5d6aa3e16 100644 --- a/standalone_app/package-lock.json +++ b/standalone_app/package-lock.json @@ -49,18 +49,6 @@ "name": "@optuna/react", "version": "0.0.1", "license": "MIT", - "dependencies": { - "@emotion/react": "^11.11.3", - "@emotion/styled": "^11.11.0", - "@mui/icons-material": "^6.1.1", - "@mui/lab": "^6.0.0-beta.10", - "@mui/material": "^6.1.1", - "@mui/system": "^6.1.1", - "@tanstack/react-table": "^8.17.3", - "plotly.js-dist-min": "^2.30.1", - "react": "^18.2.0", - "react-dom": "^18.2.0" - }, "devDependencies": { "@chromatic-com/storybook": "^1.6.1", "@optuna/storage": "file:../storage", @@ -83,6 +71,18 @@ "typescript": "^5.2.2", "vite": "^5.4.6", "vitest": "^1.4.0" + }, + "peerDependencies": { + "@emotion/react": ">=11.11.0", + "@emotion/styled": ">=11.11.0", + "@mui/icons-material": ">=6.0.0", + "@mui/lab": ">=6.0.0-beta.0", + "@mui/material": ">=6.0.0", + "@mui/system": ">=6.0.0", + "@tanstack/react-table": ">=8.0.0", + "plotly.js-dist-min": ">=2.30.0", + "react": ">=16.8.0", + "react-dom": ">=16.8.0" } }, "../tslib/react/node_modules/@emotion/react": { @@ -1917,9 +1917,9 @@ } }, "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, "dependencies": { "path-key": "^3.1.0", @@ -2502,9 +2502,9 @@ "dev": true }, "node_modules/nanoid": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", - "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "version": "3.3.8", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz", + "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", "dev": true, "funding": [ {