From c61e6413ae9d3280c4bfdaf6d29146a11a604d93 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 7 Mar 2023 17:36:35 +0000 Subject: [PATCH] Remove flux dependency --- package.json | 86 ++++++++++++++++++++++++++-------------------------- 1 file changed, 43 insertions(+), 43 deletions(-) diff --git a/package.json b/package.json index 72cd0fee50e..0a705f4cbac 100644 --- a/package.json +++ b/package.json @@ -31,11 +31,7 @@ "UserFriendlyError" ], "scripts": { - "prepack": "yarn build", "i18n": "matrix-gen-i18n && yarn i18n:sort && yarn i18n:lint", - "i18n:sort": "jq --sort-keys '.' src/i18n/strings/en_EN.json > src/i18n/strings/en_EN.json.tmp && mv src/i18n/strings/en_EN.json.tmp src/i18n/strings/en_EN.json", - "i18n:lint": "matrix-i18n-lint && prettier --log-level=silent --write src/i18n/strings/ --ignore-path /dev/null", - "i18n:diff": "cp src/i18n/strings/en_EN.json src/i18n/strings/en_EN_orig.json && yarn i18n && matrix-compare-i18n-files src/i18n/strings/en_EN_orig.json src/i18n/strings/en_EN.json", "make-component": "node scripts/make-react-component.js", "rethemendex": "res/css/rethemendex.sh", "clean": "rimraf lib", @@ -51,13 +47,17 @@ "lint:types": "tsc --noEmit --jsx react && tsc --noEmit --jsx react -p playwright", "lint:style": "stylelint \"res/css/**/*.pcss\"", "test": "jest", - "test:playwright": "playwright test", - "test:playwright:open": "yarn test:playwright --ui", - "test:playwright:screenshots": "yarn test:playwright:screenshots:build && yarn test:playwright:screenshots:run", - "test:playwright:screenshots:build": "docker build playwright -t matrix-react-sdk-playwright", - "test:playwright:screenshots:run": "docker run --rm --network host -v $(pwd)/../:/work/ -v /var/run/docker.sock:/var/run/docker.sock -v /tmp/:/tmp/ -it matrix-react-sdk-playwright", "coverage": "yarn test --coverage", - "lint:workflows": "find .github/workflows -type f \\( -iname '*.yaml' -o -iname '*.yml' \\) | xargs -I {} sh -c 'echo \"Linting {}\"; action-validator \"{}\"'" + "test:playwright:screenshots:run": "docker run --rm --network host -v $(pwd)/../:/work/ -v /var/run/docker.sock:/var/run/docker.sock -v /tmp/:/tmp/ -it matrix-react-sdk-playwright", + "test:playwright:screenshots:build": "docker build playwright -t matrix-react-sdk-playwright", + "test:playwright:screenshots": "yarn test:playwright:screenshots:build && yarn test:playwright:screenshots:run", + "test:playwright:open": "yarn test:playwright --ui", + "test:playwright": "playwright test", + "prepack": "yarn build", + "lint:workflows": "find .github/workflows -type f \\( -iname '*.yaml' -o -iname '*.yml' \\) | xargs -I {} sh -c 'echo \"Linting {}\"; action-validator \"{}\"'", + "i18n:sort": "jq --sort-keys '.' src/i18n/strings/en_EN.json > src/i18n/strings/en_EN.json.tmp && mv src/i18n/strings/en_EN.json.tmp src/i18n/strings/en_EN.json", + "i18n:lint": "matrix-i18n-lint && prettier --log-level=silent --write src/i18n/strings/ --ignore-path /dev/null", + "i18n:diff": "cp src/i18n/strings/en_EN.json src/i18n/strings/en_EN_orig.json && yarn i18n && matrix-compare-i18n-files src/i18n/strings/en_EN_orig.json src/i18n/strings/en_EN.json" }, "resolutions": { "@types/react-dom": "17.0.21", @@ -68,18 +68,10 @@ "dependencies": { "@babel/runtime": "^7.12.5", "@matrix-org/analytics-events": "^0.19.0", - "@matrix-org/emojibase-bindings": "^1.1.2", "@matrix-org/matrix-wysiwyg": "2.17.0", - "@matrix-org/olm": "3.2.15", "@matrix-org/react-sdk-module-api": "^2.4.0", - "@matrix-org/spec": "^1.7.0", "@sentry/browser": "^7.0.0", "@testing-library/react-hooks": "^8.0.1", - "@vector-im/compound-design-tokens": "^1.2.0", - "@vector-im/compound-web": "^4.0.2", - "@zxcvbn-ts/core": "^3.0.4", - "@zxcvbn-ts/language-common": "^3.0.4", - "@zxcvbn-ts/language-en": "^3.0.2", "await-lock": "^2.1.0", "blurhash": "^2.0.3", "classnames": "^2.2.6", @@ -93,11 +85,9 @@ "filesize": "10.1.1", "gfm.css": "^1.1.2", "glob-to-regexp": "^0.4.1", - "graphemer": "^1.4.0", "highlight.js": "^11.3.1", "html-entities": "^2.0.0", "is-ip": "^3.1.0", - "js-xxhash": "^3.0.1", "jszip": "^3.7.0", "katex": "^0.16.0", "linkify-element": "4.1.3", @@ -110,14 +100,11 @@ "matrix-events-sdk": "0.0.1", "matrix-js-sdk": "github:matrix-org/matrix-js-sdk#develop", "matrix-widget-api": "^1.5.0", - "memoize-one": "^6.0.0", "minimist": "^1.2.5", - "oidc-client-ts": "^3.0.1", "opus-recorder": "^8.0.3", "pako": "^2.0.3", "png-chunks-extract": "^1.0.0", "posthog-js": "1.126.0", - "proposal-temporal": "^0.9.0", "qrcode": "1.5.3", "re-resizable": "^6.9.0", "react": "17.0.2", @@ -131,13 +118,23 @@ "sanitize-html": "2.13.0", "tar-js": "^0.3.0", "ua-parser-js": "^1.0.2", + "what-input": "^5.2.10", "uuid": "^9.0.0", - "what-input": "^5.2.10" + "proposal-temporal": "^0.9.0", + "oidc-client-ts": "^3.0.1", + "memoize-one": "^6.0.0", + "js-xxhash": "^3.0.1", + "graphemer": "^1.4.0", + "@zxcvbn-ts/language-en": "^3.0.2", + "@zxcvbn-ts/language-common": "^3.0.4", + "@zxcvbn-ts/core": "^3.0.4", + "@vector-im/compound-web": "^4.0.2", + "@vector-im/compound-design-tokens": "^1.2.0", + "@matrix-org/spec": "^1.7.0", + "@matrix-org/olm": "3.2.15", + "@matrix-org/emojibase-bindings": "^1.1.2" }, "devDependencies": { - "@action-validator/cli": "^0.6.0", - "@action-validator/core": "^0.6.0", - "@axe-core/playwright": "^4.8.1", "@babel/cli": "^7.12.10", "@babel/core": "^7.12.10", "@babel/eslint-parser": "^7.12.10", @@ -154,17 +151,13 @@ "@babel/register": "^7.12.10", "@casualbot/jest-sonar-reporter": "2.2.7", "@peculiar/webcrypto": "^1.4.3", - "@playwright/test": "^1.40.1", - "@testing-library/dom": "^9.0.0", "@testing-library/jest-dom": "^6.0.0", "@testing-library/react": "^12.1.5", "@testing-library/user-event": "^14.4.3", "@types/commonmark": "^0.27.4", - "@types/content-type": "^1.1.5", "@types/counterpart": "^0.18.1", "@types/diff-match-patch": "^1.0.32", "@types/escape-html": "^1.0.1", - "@types/express": "^4.17.21", "@types/file-saver": "^2.0.3", "@types/fs-extra": "^11.0.0", "@types/glob-to-regexp": "^0.4.1", @@ -181,10 +174,8 @@ "@types/react-dom": "17.0.21", "@types/react-transition-group": "^4.4.0", "@types/sanitize-html": "2.11.0", - "@types/sdp-transform": "^2.4.6", "@types/tar-js": "^0.3.2", "@types/ua-parser-js": "^0.7.36", - "@types/uuid": "^9.0.2", "@typescript-eslint/eslint-plugin": "^7.0.0", "@typescript-eslint/parser": "^7.0.0", "axe-core": "4.9.0", @@ -201,8 +192,6 @@ "eslint-plugin-react": "^7.28.0", "eslint-plugin-react-hooks": "^4.3.0", "eslint-plugin-unicorn": "^52.0.0", - "express": "^4.18.2", - "fake-indexeddb": "^5.0.2", "fetch-mock-jest": "^1.5.1", "fs-extra": "^11.0.0", "jest": "^29.6.2", @@ -210,8 +199,6 @@ "jest-environment-jsdom": "^29.6.2", "jest-mock": "^29.6.2", "jest-raw-loader": "^1.0.1", - "jsqr": "^1.4.0", - "mailhog": "^4.16.0", "matrix-web-i18n": "^3.2.1", "mocha-junit-reporter": "^2.2.0", "node-fetch": "2", @@ -222,16 +209,29 @@ "stylelint": "^16.1.0", "stylelint-config-standard": "^36.0.0", "stylelint-scss": "^6.0.0", + "typescript": "5.4.3", "ts-node": "^10.9.1", - "typescript": "5.4.3" - }, - "peerDependencies": { - "postcss": "^8.4.19", - "webpack": "^4.0.0 || ^5.0.0" + "mailhog": "^4.16.0", + "jsqr": "^1.4.0", + "fake-indexeddb": "^5.0.2", + "express": "^4.18.2", + "@types/uuid": "^9.0.2", + "@types/sdp-transform": "^2.4.6", + "@types/express": "^4.17.21", + "@types/content-type": "^1.1.5", + "@testing-library/dom": "^9.0.0", + "@playwright/test": "^1.40.1", + "@axe-core/playwright": "^4.8.1", + "@action-validator/core": "^0.6.0", + "@action-validator/cli": "^0.6.0" }, "@casualbot/jest-sonar-reporter": { "outputDirectory": "coverage", "outputName": "jest-sonar-report.xml", "relativePaths": true + }, + "peerDependencies": { + "postcss": "^8.4.19", + "webpack": "^4.0.0 || ^5.0.0" } -} +} \ No newline at end of file