2016-11-10 14:26:24 +01:00
|
|
|
{
|
2022-08-26 09:25:31 +02:00
|
|
|
"name": "unleash-frontend-local",
|
|
|
|
"version": "0.0.0",
|
|
|
|
"private": true,
|
2016-12-23 10:58:33 +01:00
|
|
|
"files": [
|
|
|
|
"index.js",
|
2021-04-07 09:04:48 +02:00
|
|
|
"build/"
|
2016-12-23 10:58:33 +01:00
|
|
|
],
|
2016-11-10 14:26:24 +01:00
|
|
|
"engines": {
|
2021-05-05 22:18:35 +02:00
|
|
|
"node": ">=14"
|
2016-11-10 14:26:24 +01:00
|
|
|
},
|
|
|
|
"scripts": {
|
2022-08-30 10:52:30 +02:00
|
|
|
"build": "vite build",
|
2022-10-03 12:20:47 +02:00
|
|
|
"lint": "yarn fmt:check",
|
2022-05-05 17:15:22 +02:00
|
|
|
"start": "vite",
|
2022-10-19 14:02:00 +02:00
|
|
|
"start:sandbox": "UNLEASH_API=https://sandbox.getunleash.io/ospro yarn run start",
|
2022-03-25 12:13:39 +01:00
|
|
|
"start:enterprise": "UNLEASH_API=https://unleash4.herokuapp.com yarn run start",
|
2022-06-23 08:54:08 +02:00
|
|
|
"start:demo": "UNLEASH_BASE_PATH=/demo/ yarn start",
|
2022-08-30 10:52:30 +02:00
|
|
|
"test": "tsc && vitest run",
|
2022-08-26 09:25:31 +02:00
|
|
|
"test:watch": "vitest watch",
|
2022-02-18 09:51:10 +01:00
|
|
|
"fmt": "prettier src --write --loglevel warn",
|
|
|
|
"fmt:check": "prettier src --check",
|
2022-09-30 13:01:32 +02:00
|
|
|
"ts:check": "tsc",
|
2022-03-25 12:13:39 +01:00
|
|
|
"e2e": "yarn run cypress open --config baseUrl='http://localhost:3000' --env AUTH_USER=admin,AUTH_PASSWORD=unleash4all",
|
2022-07-22 08:53:42 +02:00
|
|
|
"e2e:heroku": "yarn run cypress open --config baseUrl='http://localhost:3000' --env AUTH_USER=example@example.com",
|
2022-08-26 09:25:31 +02:00
|
|
|
"prepare": "yarn run build"
|
2016-11-10 14:26:24 +01:00
|
|
|
},
|
2021-04-09 13:38:30 +02:00
|
|
|
"devDependencies": {
|
2022-10-26 22:13:52 +02:00
|
|
|
"@codemirror/lang-json": "6.0.1",
|
2022-10-28 09:44:02 +02:00
|
|
|
"@emotion/react": "11.10.5",
|
|
|
|
"@emotion/styled": "11.10.5",
|
2022-08-30 15:01:13 +02:00
|
|
|
"@mui/icons-material": "5.10.3",
|
|
|
|
"@mui/lab": "5.0.0-alpha.97",
|
|
|
|
"@mui/material": "5.10.3",
|
2022-10-06 02:56:01 +02:00
|
|
|
"@openapitools/openapi-generator-cli": "2.5.2",
|
2022-10-11 01:04:32 +02:00
|
|
|
"@testing-library/dom": "8.19.0",
|
2022-08-19 13:16:00 +02:00
|
|
|
"@testing-library/jest-dom": "5.16.5",
|
2022-04-17 20:16:53 +02:00
|
|
|
"@testing-library/react": "12.1.5",
|
2022-08-18 15:56:39 +02:00
|
|
|
"@testing-library/react-hooks": "7.0.2",
|
2022-08-19 16:07:17 +02:00
|
|
|
"@testing-library/user-event": "14.4.3",
|
2021-09-29 21:11:52 +02:00
|
|
|
"@types/debounce": "1.2.1",
|
2021-11-08 16:02:06 +01:00
|
|
|
"@types/deep-diff": "1.0.1",
|
2022-11-09 23:04:49 +01:00
|
|
|
"@types/jest": "29.2.2",
|
2022-04-28 16:57:43 +02:00
|
|
|
"@types/lodash.clonedeep": "4.5.7",
|
2022-02-25 10:55:39 +01:00
|
|
|
"@types/node": "17.0.18",
|
2022-10-27 23:07:30 +02:00
|
|
|
"@types/react": "17.0.52",
|
2022-10-28 02:38:23 +02:00
|
|
|
"@types/react-dom": "17.0.18",
|
2022-05-05 15:34:46 +02:00
|
|
|
"@types/react-router-dom": "5.3.3",
|
2022-05-11 18:38:49 +02:00
|
|
|
"@types/react-table": "7.7.12",
|
2022-04-28 21:16:06 +02:00
|
|
|
"@types/react-test-renderer": "17.0.2",
|
2021-10-08 19:04:55 +02:00
|
|
|
"@types/react-timeago": "4.1.3",
|
2022-10-27 08:44:24 +02:00
|
|
|
"@types/semver": "7.3.13",
|
2022-11-10 07:24:17 +01:00
|
|
|
"@uiw/codemirror-theme-duotone": "4.13.0",
|
2022-10-11 06:19:21 +02:00
|
|
|
"@uiw/react-codemirror": "4.12.4",
|
2022-10-28 23:28:28 +02:00
|
|
|
"@vitejs/plugin-react": "2.2.0",
|
2022-08-04 16:46:41 +02:00
|
|
|
"chart.js": "3.9.1",
|
2022-02-21 18:02:59 +01:00
|
|
|
"chartjs-adapter-date-fns": "2.0.0",
|
2022-10-07 04:41:23 +02:00
|
|
|
"classnames": "2.3.2",
|
2022-08-03 13:46:10 +02:00
|
|
|
"copy-to-clipboard": "3.3.2",
|
2022-08-01 11:50:59 +02:00
|
|
|
"cypress": "9.7.0",
|
2022-10-07 07:12:58 +02:00
|
|
|
"date-fns": "2.29.3",
|
2021-09-27 09:12:17 +02:00
|
|
|
"debounce": "1.2.1",
|
2021-11-08 16:02:06 +01:00
|
|
|
"deep-diff": "1.0.2",
|
2022-10-10 12:18:37 +02:00
|
|
|
"dequal": "2.0.3",
|
2022-11-10 08:21:34 +01:00
|
|
|
"eslint": "8.27.0",
|
2022-08-18 15:56:39 +02:00
|
|
|
"eslint-config-react-app": "7.0.1",
|
2022-03-24 20:06:59 +01:00
|
|
|
"fast-json-patch": "3.1.1",
|
2022-04-29 01:07:23 +02:00
|
|
|
"http-proxy-middleware": "2.0.6",
|
2022-10-22 21:06:38 +02:00
|
|
|
"immer": "9.0.16",
|
2022-11-09 20:53:39 +01:00
|
|
|
"jsdom": "20.0.2",
|
2021-09-27 09:12:17 +02:00
|
|
|
"lodash.clonedeep": "4.5.0",
|
2022-10-12 17:19:37 +02:00
|
|
|
"millify": "^5.0.1",
|
2022-11-10 08:21:18 +01:00
|
|
|
"msw": "0.48.1",
|
2022-08-18 15:56:39 +02:00
|
|
|
"pkginfo": "0.4.1",
|
2022-06-07 17:35:57 +02:00
|
|
|
"plausible-tracker": "0.3.8",
|
2022-06-17 14:16:53 +02:00
|
|
|
"prettier": "2.7.1",
|
2022-02-11 01:34:06 +01:00
|
|
|
"prop-types": "15.8.1",
|
2021-09-27 09:12:17 +02:00
|
|
|
"react": "17.0.2",
|
2022-08-02 05:44:13 +02:00
|
|
|
"react-chartjs-2": "4.3.1",
|
2021-09-27 09:12:17 +02:00
|
|
|
"react-dom": "17.0.2",
|
2022-10-10 12:18:37 +02:00
|
|
|
"react-error-boundary": "3.1.4",
|
2022-08-23 11:51:17 +02:00
|
|
|
"react-hooks-global-state": "2.0.0",
|
2022-10-22 12:24:45 +02:00
|
|
|
"react-router-dom": "6.4.2",
|
2022-05-17 16:33:12 +02:00
|
|
|
"react-table": "7.8.0",
|
2022-02-25 10:55:39 +01:00
|
|
|
"react-test-renderer": "17.0.2",
|
2022-06-13 09:07:14 +02:00
|
|
|
"react-timeago": "7.1.0",
|
2022-10-12 08:23:20 +02:00
|
|
|
"sass": "1.55.0",
|
2022-10-07 16:42:35 +02:00
|
|
|
"semver": "7.3.8",
|
2022-04-30 13:18:26 +02:00
|
|
|
"swr": "1.3.0",
|
2022-08-30 08:23:37 +02:00
|
|
|
"tss-react": "4.0.0",
|
2022-10-07 19:54:29 +02:00
|
|
|
"typescript": "4.8.4",
|
chore(deps): update dependency vite to v3.2.3 (#2364)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vite](https://togithub.com/vitejs/vite/tree/main/#readme)
([source](https://togithub.com/vitejs/vite)) | [`3.2.1` ->
`3.2.3`](https://renovatebot.com/diffs/npm/vite/3.2.1/3.2.3) |
[![age](https://badges.renovateapi.com/packages/npm/vite/3.2.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vite/3.2.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vite/3.2.3/compatibility-slim/3.2.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vite/3.2.3/confidence-slim/3.2.1)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>vitejs/vite</summary>
###
[`v3.2.3`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small323-2022-11-07-small)
[Compare
Source](https://togithub.com/vitejs/vite/compare/v3.2.2...v3.2.3)
- refactor: change style.innerHTML to style.textContent
([#​10801](https://togithub.com/vitejs/vite/issues/10801))
([8ea71b4](https://togithub.com/vitejs/vite/commit/8ea71b4)), closes
[#​10801](https://togithub.com/vitejs/vite/issues/10801)
- fix: add `@types/node` as an optional peer dependency
([#​10757](https://togithub.com/vitejs/vite/issues/10757))
([57916a4](https://togithub.com/vitejs/vite/commit/57916a4)), closes
[#​10757](https://togithub.com/vitejs/vite/issues/10757)
- fix: transform import.meta.glob when scan JS/TS
[#​10634](https://togithub.com/vitejs/vite/issues/10634)
([#​10635](https://togithub.com/vitejs/vite/issues/10635))
([c53ffec](https://togithub.com/vitejs/vite/commit/c53ffec)), closes
[#​10634](https://togithub.com/vitejs/vite/issues/10634)
[#​10635](https://togithub.com/vitejs/vite/issues/10635)
- fix(css): url() with variable in sass/less (fixes
[#​3644](https://togithub.com/vitejs/vite/issues/3644),
[#​7651](https://togithub.com/vitejs/vite/issues/7651))
([#​10741](https://togithub.com/vitejs/vite/issues/10741))
([fa2e47f](https://togithub.com/vitejs/vite/commit/fa2e47f)), closes
[#​3644](https://togithub.com/vitejs/vite/issues/3644)
[#​7651](https://togithub.com/vitejs/vite/issues/7651)
[#​10741](https://togithub.com/vitejs/vite/issues/10741)
- feat: add `vite:afterUpdate` event
([#​9810](https://togithub.com/vitejs/vite/issues/9810))
([1f57f84](https://togithub.com/vitejs/vite/commit/1f57f84)), closes
[#​9810](https://togithub.com/vitejs/vite/issues/9810)
- perf: improve `multilineCommentsRE` regex (fix
[#​10689](https://togithub.com/vitejs/vite/issues/10689))
([#​10751](https://togithub.com/vitejs/vite/issues/10751))
([51ed059](https://togithub.com/vitejs/vite/commit/51ed059)), closes
[#​10689](https://togithub.com/vitejs/vite/issues/10689)
[#​10751](https://togithub.com/vitejs/vite/issues/10751)
- perf: Use only one ps exec to find a Chromium browser opened on Mac OS
([#​10588](https://togithub.com/vitejs/vite/issues/10588))
([f199e90](https://togithub.com/vitejs/vite/commit/f199e90)), closes
[#​10588](https://togithub.com/vitejs/vite/issues/10588)
- chore: fix dev build replacing undefined
([#​10740](https://togithub.com/vitejs/vite/issues/10740))
([1358a3c](https://togithub.com/vitejs/vite/commit/1358a3c)), closes
[#​10740](https://togithub.com/vitejs/vite/issues/10740)
- chore: remove non used type definitions
([#​10738](https://togithub.com/vitejs/vite/issues/10738))
([ee8c7a6](https://togithub.com/vitejs/vite/commit/ee8c7a6)), closes
[#​10738](https://togithub.com/vitejs/vite/issues/10738)
- chore(deps): update dependency
[@​rollup/plugin-commonjs](https://togithub.com/rollup/plugin-commonjs)
to v23 ([#​10611](https://togithub.com/vitejs/vite/issues/10611))
([cc4be70](https://togithub.com/vitejs/vite/commit/cc4be70)), closes
[#​10611](https://togithub.com/vitejs/vite/issues/10611)
- chore(deps): update dependency
[@​rollup/plugin-dynamic-import-vars](https://togithub.com/rollup/plugin-dynamic-import-vars)
to v2 ([#​10726](https://togithub.com/vitejs/vite/issues/10726))
([326f782](https://togithub.com/vitejs/vite/commit/326f782)), closes
[#​10726](https://togithub.com/vitejs/vite/issues/10726)
###
[`v3.2.2`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small322-2022-10-31-small)
[Compare
Source](https://togithub.com/vitejs/vite/compare/47a78db49740daee873525de90d0e44b19883771...v3.2.2)
- chore: remove src/client from package
([#​10703](https://togithub.com/vitejs/vite/issues/10703))
([816842e](https://togithub.com/vitejs/vite/commit/816842e)), closes
[#​10703](https://togithub.com/vitejs/vite/issues/10703)
- chore(deps): update all non-major dependencies
([#​10725](https://togithub.com/vitejs/vite/issues/10725))
([22cfad8](https://togithub.com/vitejs/vite/commit/22cfad8)), closes
[#​10725](https://togithub.com/vitejs/vite/issues/10725)
- fix: remove loaded input sourcemap (fixes
[#​8411](https://togithub.com/vitejs/vite/issues/8411))
([#​10705](https://togithub.com/vitejs/vite/issues/10705))
([eb50e3a](https://togithub.com/vitejs/vite/commit/eb50e3a)), closes
[#​8411](https://togithub.com/vitejs/vite/issues/8411)
[#​10705](https://togithub.com/vitejs/vite/issues/10705)
- fix: tsconfig `jsx` overrides esbuild options, reverts
[#​10374](https://togithub.com/vitejs/vite/issues/10374)
([#​10714](https://togithub.com/vitejs/vite/issues/10714))
([aacf6a4](https://togithub.com/vitejs/vite/commit/aacf6a4)), closes
[#​10374](https://togithub.com/vitejs/vite/issues/10374)
[#​10714](https://togithub.com/vitejs/vite/issues/10714)
- docs(changelog): fix broken url
([#​10692](https://togithub.com/vitejs/vite/issues/10692))
([f937ccc](https://togithub.com/vitejs/vite/commit/f937ccc)), closes
[#​10692](https://togithub.com/vitejs/vite/issues/10692)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Unleash/unleash).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzQuMTkuMCJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 23:30:23 +01:00
|
|
|
"vite": "3.2.3",
|
2022-08-18 15:56:39 +02:00
|
|
|
"vite-plugin-env-compatible": "1.1.1",
|
2022-10-19 19:33:20 +02:00
|
|
|
"vite-plugin-svgr": "2.2.2",
|
2022-10-21 03:56:06 +02:00
|
|
|
"vite-tsconfig-paths": "3.5.2",
|
2022-10-22 01:36:46 +02:00
|
|
|
"vitest": "0.24.3",
|
2022-08-26 14:49:44 +02:00
|
|
|
"whatwg-fetch": "3.6.2"
|
2017-02-23 22:18:23 +01:00
|
|
|
},
|
2022-10-14 11:44:59 +02:00
|
|
|
"resolutions": {
|
2022-10-18 20:51:08 +02:00
|
|
|
"@codemirror/state": "6.1.2",
|
2022-11-03 15:30:01 +01:00
|
|
|
"@xmldom/xmldom": "^0.8.4"
|
2022-10-14 11:44:59 +02:00
|
|
|
},
|
2017-02-23 22:18:23 +01:00
|
|
|
"jest": {
|
|
|
|
"moduleNameMapper": {
|
2022-02-04 11:32:02 +01:00
|
|
|
"\\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/src/__mocks__/fileMock.js",
|
|
|
|
"\\.svg": "<rootDir>/src/__mocks__/svgMock.js",
|
2017-02-23 22:18:23 +01:00
|
|
|
"\\.(css|scss)$": "identity-obj-proxy"
|
2022-02-04 11:32:02 +01:00
|
|
|
}
|
2021-04-07 09:04:48 +02:00
|
|
|
},
|
|
|
|
"browserslist": {
|
|
|
|
"production": [
|
|
|
|
">0.2%",
|
|
|
|
"not dead",
|
|
|
|
"not op_mini all"
|
2021-02-05 14:24:22 +01:00
|
|
|
],
|
2021-04-07 09:04:48 +02:00
|
|
|
"development": [
|
|
|
|
"last 1 chrome version",
|
|
|
|
"last 1 firefox version",
|
|
|
|
"last 1 safari version"
|
2021-02-05 14:33:32 +01:00
|
|
|
]
|
2021-03-30 15:14:02 +02:00
|
|
|
},
|
2021-04-07 09:04:48 +02:00
|
|
|
"eslintConfig": {
|
|
|
|
"extends": [
|
|
|
|
"react-app",
|
|
|
|
"react-app/jest"
|
|
|
|
],
|
2022-05-25 12:36:58 +02:00
|
|
|
"parserOptions": {
|
|
|
|
"warnOnUnsupportedTypeScriptVersion": false
|
|
|
|
},
|
2021-04-07 09:04:48 +02:00
|
|
|
"rules": {
|
|
|
|
"no-restricted-globals": "off",
|
|
|
|
"no-useless-computed-key": "off",
|
|
|
|
"import/no-anonymous-default-export": "off"
|
2022-02-25 10:21:28 +01:00
|
|
|
},
|
|
|
|
"ignorePatterns": [
|
|
|
|
"cypress"
|
|
|
|
]
|
2022-04-08 11:45:23 +02:00
|
|
|
}
|
2016-11-10 14:26:24 +01:00
|
|
|
}
|