Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5 clean the pendulumpay repo #13

Merged
merged 21 commits into from
Dec 21, 2023
Merged

5 clean the pendulumpay repo #13

merged 21 commits into from
Dec 21, 2023

Conversation

ebma
Copy link
Member

@ebma ebma commented Dec 8, 2023

This removes a lot of the portal-related functions and components while keeping the basic structure alive.
I would not recommend looking at the changes displayed for this PR but rather having a look at the branch directly.

Notes

  • The project keeps using vite and preact
  • Tailwind and daisyUI were removed
  • semantic-release was removed
  • MUI and emotion were added
  • Some icons are kept around in the assets folder

About preact

When starting the development on the portal, our freelance frontend developer decided to set it up for use with preact.js. It apparently has some performance benefits over 'regular' react and it's very simple to use because it exposes the same functions/hooks with the same interfaces. So all we have to do going forward is to import hooks from preact/compat instead of react.
But we can also remove it if you have strong opinions on this @TorstenStueber.

Closes #5.

@ebma ebma linked an issue Dec 8, 2023 that may be closed by this pull request
Copy link

netlify bot commented Dec 8, 2023

Deploy Preview for pendulum-pay ready!

Name Link
🔨 Latest commit e8a5ded
🔍 Latest deploy log https://app.netlify.com/sites/pendulum-pay/deploys/65831919a1be010009d0ea4e
😎 Deploy Preview https://deploy-preview-13--pendulum-pay.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@ebma ebma force-pushed the 5-clean-the-pendulumpay-repo branch from 06539b4 to 21ce977 Compare December 8, 2023 17:36
Copy link

github-actions bot commented Dec 8, 2023

yarn.lock changes

Summary

Status Count
ADDED 40
UPDATED 27
DOWNGRADED 82
REMOVED 642
Click to toggle table visibility
Name Status Previous Current
@alloc/quick-lru REMOVED 5.2.0 -
@ardatan/relay-compiler REMOVED 12.0.0 -
@ardatan/sync-fetch REMOVED 0.0.1 -
@babel/code-frame DOWNGRADED 7.22.10 7.21.4
@babel/compat-data DOWNGRADED 7.22.9 7.21.7
@babel/core DOWNGRADED 7.22.10 7.21.8
@babel/generator DOWNGRADED 7.22.10 7.21.5
@babel/helper-annotate-as-pure DOWNGRADED 7.22.5 7.18.6
@babel/helper-compilation-targets DOWNGRADED 7.22.10 7.21.5
@babel/helper-environment-visitor DOWNGRADED 7.22.5 7.21.5
@babel/helper-function-name DOWNGRADED 7.22.5 7.21.0
@babel/helper-hoist-variables DOWNGRADED 7.22.5 7.18.6
@babel/helper-member-expression-to-functions DOWNGRADED 7.22.5 7.21.5
@babel/helper-module-imports DOWNGRADED 7.22.5 7.21.4
@babel/helper-module-transforms DOWNGRADED 7.22.9 7.21.5
@babel/helper-optimise-call-expression DOWNGRADED 7.22.5 7.18.6
@babel/helper-plugin-utils DOWNGRADED 7.22.5 7.21.5
@babel/helper-replace-supers DOWNGRADED 7.22.9 7.21.5
@babel/helper-simple-access DOWNGRADED 7.22.5 7.21.5
@babel/helper-skip-transparent-expression-wrappers DOWNGRADED 7.22.5 7.20.0
@babel/helper-split-export-declaration DOWNGRADED 7.22.6 7.18.6
@babel/helper-string-parser UPDATED 7.22.5 7.23.4
@babel/helper-validator-option DOWNGRADED 7.22.5 7.21.0
@babel/helpers DOWNGRADED 7.22.10 7.21.5
@babel/highlight DOWNGRADED 7.22.10 7.18.6
@babel/parser DOWNGRADED 7.22.10 7.21.8
@babel/plugin-syntax-flow REMOVED 7.22.5 -
@babel/plugin-syntax-jsx DOWNGRADED 7.22.5 7.21.4
@babel/plugin-transform-flow-strip-types REMOVED 7.22.5 -
@babel/plugin-transform-react-display-name REMOVED 7.22.5 -
@babel/runtime UPDATED 7.21.5 7.23.5
@babel/template DOWNGRADED 7.22.5 7.20.7
@babel/traverse DOWNGRADED 7.22.10 7.21.5
@babel/types UPDATED 7.22.10 7.23.5
@colors/colors REMOVED 1.5.0 -
@emotion/babel-plugin ADDED - 11.11.0
@emotion/cache ADDED - 11.11.0
@emotion/hash ADDED - 0.9.1
@emotion/is-prop-valid ADDED - 1.2.1
@emotion/memoize ADDED - 0.8.1
@emotion/react ADDED - 11.11.1
@emotion/serialize ADDED - 1.1.2
@emotion/sheet ADDED - 1.2.2
@emotion/styled ADDED - 11.11.0
@emotion/unitless ADDED - 0.8.1
@emotion/use-insertion-effect-with-fallbacks ADDED - 1.0.1
@emotion/utils ADDED - 1.2.1
@emotion/weak-memoize ADDED - 0.3.1
@floating-ui/core ADDED - 1.5.2
@floating-ui/dom ADDED - 1.5.3
@floating-ui/react-dom ADDED - 2.0.4
@floating-ui/utils ADDED - 0.1.6
@fontsource/roboto ADDED - 5.0.8
@gar/promisify REMOVED 1.1.3 -
@graphql-codegen/add REMOVED 5.0.0 -
@graphql-codegen/cli REMOVED 5.0.0 -
@graphql-codegen/client-preset REMOVED 4.1.0 -
@graphql-codegen/core REMOVED 4.0.0 -
@graphql-codegen/gql-tag-operations REMOVED 4.0.1 -
@graphql-codegen/plugin-helpers REMOVED 5.0.1 -
@graphql-codegen/schema-ast REMOVED 4.0.0 -
@graphql-codegen/typed-document-node REMOVED 5.0.1 -
@graphql-codegen/typescript REMOVED 4.0.1 -
@graphql-codegen/typescript-operations REMOVED 4.0.1 -
@graphql-codegen/visitor-plugin-common REMOVED 4.0.1 -
@graphql-tools/apollo-engine-loader REMOVED 8.0.0 -
@graphql-tools/batch-execute REMOVED 9.0.1 -
@graphql-tools/code-file-loader REMOVED 8.0.2 -
@graphql-tools/delegate REMOVED 10.0.2 -
@graphql-tools/documents REMOVED 1.0.0 -
@graphql-tools/executor REMOVED 1.2.0 -
@graphql-tools/executor-graphql-ws REMOVED 1.1.0 -
@graphql-tools/executor-http REMOVED 1.0.2 -
@graphql-tools/executor-legacy-ws REMOVED 1.0.1 -
@graphql-tools/git-loader REMOVED 8.0.2 -
@graphql-tools/github-loader REMOVED 8.0.0 -
@graphql-tools/graphql-file-loader REMOVED 8.0.0 -
@graphql-tools/graphql-tag-pluck REMOVED 8.0.2 -
@graphql-tools/import REMOVED 7.0.0 -
@graphql-tools/json-file-loader REMOVED 8.0.0 -
@graphql-tools/load REMOVED 8.0.0 -
@graphql-tools/merge REMOVED 9.0.0 -
@graphql-tools/optimize REMOVED 2.0.0 -
@graphql-tools/prisma-loader REMOVED 8.0.1 -
@graphql-tools/relay-operation-optimizer REMOVED 7.0.0 -
@graphql-tools/schema REMOVED 10.0.0 -
@graphql-tools/url-loader REMOVED 8.0.0 -
@graphql-tools/utils REMOVED 10.0.5 -
@graphql-tools/wrap REMOVED 10.0.0 -
@graphql-typed-document-node/core REMOVED 3.2.0 -
@heroicons/react REMOVED 2.0.18 -
@hookform/resolvers REMOVED 2.9.11 -
@isaacs/string-locale-compare REMOVED 1.1.0 -
@json-rpc-tools/provider REMOVED 1.7.6 -
@json-rpc-tools/types REMOVED 1.7.6 -
@json-rpc-tools/utils REMOVED 1.7.6 -
@lit-labs/ssr-dom-shim REMOVED 1.1.1 -
@lit/reactive-element REMOVED 1.6.2 -
@motionone/animation REMOVED 10.15.1 -
@motionone/dom REMOVED 10.16.2 -
@motionone/easing REMOVED 10.15.1 -
@motionone/generators REMOVED 10.15.1 -
@motionone/svelte REMOVED 10.16.2 -
@motionone/types REMOVED 10.15.1 -
@motionone/utils REMOVED 10.15.1 -
@motionone/vue REMOVED 10.16.2 -
@mui/base ADDED - 5.0.0-beta.26
@mui/core-downloads-tracker ADDED - 5.14.20
@mui/icons-material ADDED - 5.14.19
@mui/material ADDED - 5.14.20
@mui/private-theming ADDED - 5.14.20
@mui/styled-engine ADDED - 5.14.20
@mui/system ADDED - 5.14.20
@mui/types ADDED - 7.2.10
@mui/utils ADDED - 5.14.20
@noble/curves DOWNGRADED 1.1.0 1.0.0
@noble/hashes DOWNGRADED 1.3.1 1.3.0
@npmcli/arborist REMOVED 5.6.3 -
@npmcli/ci-detect REMOVED 2.0.0 -
@npmcli/config REMOVED 4.2.2 -
@npmcli/disparity-colors REMOVED 2.0.0 -
@npmcli/git REMOVED 3.0.2 -
@npmcli/installed-package-contents REMOVED 1.0.7 -
@npmcli/map-workspaces REMOVED 2.0.4 -
@npmcli/metavuln-calculator REMOVED 3.1.1 -
@npmcli/move-file REMOVED 2.0.1 -
@npmcli/name-from-folder REMOVED 1.0.1 -
@npmcli/node-gyp REMOVED 2.0.0 -
@npmcli/package-json REMOVED 2.0.0 -
@npmcli/promise-spawn REMOVED 3.0.0 -
@npmcli/query REMOVED 1.2.0 -
@npmcli/run-script REMOVED 4.2.1 -
@octokit/auth-token REMOVED 3.0.3 -
@octokit/core REMOVED 4.2.0 -
@octokit/endpoint REMOVED 7.0.5 -
@octokit/graphql REMOVED 5.0.5 -
@octokit/openapi-types REMOVED 17.1.0 -
@octokit/plugin-paginate-rest REMOVED 6.0.0 -
@octokit/plugin-request-log REMOVED 1.0.4 -
@octokit/plugin-rest-endpoint-methods REMOVED 7.0.1 -
@octokit/request REMOVED 6.2.3 -
@octokit/request-error REMOVED 3.0.3 -
@octokit/rest REMOVED 19.0.7 -
@octokit/types REMOVED 9.2.0 -
@peculiar/asn1-schema REMOVED 2.3.6 -
@peculiar/json-schema REMOVED 1.1.12 -
@peculiar/webcrypto REMOVED 1.4.3 -
@pedrouid/environment REMOVED 1.0.1 -
@pnpm/config.env-replace REMOVED 1.1.0 -
@pnpm/network.ca-file REMOVED 1.0.2 -
@pnpm/npm-conf REMOVED 2.2.0 -
@polkadot/api DOWNGRADED 10.9.1 10.6.1
@polkadot/api-augment DOWNGRADED 10.9.1 10.6.1
@polkadot/api-base DOWNGRADED 10.9.1 10.6.1
@polkadot/api-derive DOWNGRADED 10.9.1 10.6.1
@polkadot/extension-dapp REMOVED 0.46.5 -
@polkadot/extension-inject REMOVED 0.46.5 -
@polkadot/keyring DOWNGRADED 12.3.2 12.1.2
@polkadot/networks DOWNGRADED 12.3.2 12.1.2
@polkadot/rpc-augment DOWNGRADED 10.9.1 10.6.1
@polkadot/rpc-core DOWNGRADED 10.9.1 10.6.1
@polkadot/rpc-provider DOWNGRADED 10.9.1 10.6.1
@polkadot/types DOWNGRADED 10.9.1 10.6.1
@polkadot/types-augment DOWNGRADED 10.9.1 10.6.1
@polkadot/types-codec DOWNGRADED 10.9.1 10.6.1
@polkadot/types-create DOWNGRADED 10.9.1 10.6.1
@polkadot/types-known DOWNGRADED 10.9.1 10.6.1
@polkadot/types-support DOWNGRADED 10.9.1 10.6.1
@polkadot/util DOWNGRADED 12.3.2 12.1.2
@polkadot/util-crypto DOWNGRADED 12.3.2 12.1.2
@polkadot/wasm-bridge DOWNGRADED 7.2.1 7.1.2
@polkadot/wasm-crypto DOWNGRADED 7.2.1 7.1.2
@polkadot/wasm-crypto-asmjs DOWNGRADED 7.2.1 7.1.2
@polkadot/wasm-crypto-init DOWNGRADED 7.2.1 7.1.2
@polkadot/wasm-crypto-wasm DOWNGRADED 7.2.1 7.1.2
@polkadot/wasm-util DOWNGRADED 7.2.1 7.1.2
@polkadot/x-bigint DOWNGRADED 12.3.2 12.1.2
@polkadot/x-fetch DOWNGRADED 12.3.2 12.1.2
@polkadot/x-global DOWNGRADED 12.3.2 12.1.2
@polkadot/x-randomvalues DOWNGRADED 12.3.2 12.1.2
@polkadot/x-textdecoder DOWNGRADED 12.3.2 12.1.2
@polkadot/x-textencoder DOWNGRADED 12.3.2 12.1.2
@polkadot/x-ws DOWNGRADED 12.3.2 12.1.2
@popperjs/core ADDED - 2.11.8
@repeaterjs/repeater REMOVED 3.0.4 -
@semantic-release/changelog REMOVED 6.0.3 -
@semantic-release/commit-analyzer REMOVED 9.0.2 -
@semantic-release/error REMOVED 3.0.0 -
@semantic-release/git REMOVED 10.0.1 -
@semantic-release/github REMOVED 8.0.7 -
@semantic-release/npm REMOVED 9.0.2 -
@semantic-release/release-notes-generator REMOVED 10.0.3 -
@stablelib/aead REMOVED 1.0.1 -
@stablelib/binary REMOVED 1.0.1 -
@stablelib/bytes REMOVED 1.0.1 -
@stablelib/chacha REMOVED 1.0.1 -
@stablelib/chacha20poly1305 REMOVED 1.0.1 -
@stablelib/constant-time REMOVED 1.0.1 -
@stablelib/ed25519 REMOVED 1.0.3 -
@stablelib/hash REMOVED 1.0.1 -
@stablelib/hkdf REMOVED 1.0.1 -
@stablelib/hmac REMOVED 1.0.1 -
@stablelib/int REMOVED 1.0.1 -
@stablelib/keyagreement REMOVED 1.0.1 -
@stablelib/poly1305 REMOVED 1.0.1 -
@stablelib/random REMOVED 1.0.2 -
@stablelib/sha256 REMOVED 1.0.1 -
@stablelib/sha512 REMOVED 1.0.1 -
@stablelib/wipe REMOVED 1.0.1 -
@stablelib/x25519 REMOVED 1.0.3 -
@talismn/connect-components REMOVED 1.1.7 -
@talismn/connect-ui REMOVED 1.1.2 -
@talismn/connect-wallets REMOVED 1.2.3 -
@tanstack/query-core REMOVED 4.32.6 -
@tanstack/react-query REMOVED 4.32.6 -
@tanstack/react-table REMOVED 8.9.3 -
@tanstack/table-core REMOVED 8.9.3 -
@testing-library/react REMOVED 13.4.0 -
@testing-library/react-hooks REMOVED 8.0.1 -
@trysound/sax REMOVED 0.2.0 -
@types/big.js REMOVED 6.1.6 -
@types/cssnano REMOVED 5.1.0 -
@types/eventsource REMOVED 1.1.11 -
@types/js-yaml REMOVED 4.0.5 -
@types/json-stable-stringify REMOVED 1.0.34 -
@types/lodash REMOVED 4.14.194 -
@types/luxon REMOVED 3.3.0 -
@types/minimist REMOVED 1.2.2 -
@types/normalize-package-data REMOVED 2.4.1 -
@types/prop-types UPDATED 15.7.5 15.7.11
@types/randombytes REMOVED 2.0.0 -
@types/react-dom REMOVED 18.2.3 -
@types/react-table REMOVED 7.7.14 -
@types/react-transition-group ADDED - 4.4.10
@types/retry REMOVED 0.12.0 -
@types/trusted-types REMOVED 2.0.3 -
@types/urijs REMOVED 1.19.19 -
@types/ws REMOVED 8.5.5 -
@walletconnect/core REMOVED 2.8.1 -
@walletconnect/environment REMOVED 1.0.1 -
@walletconnect/events REMOVED 1.0.1 -
@walletconnect/heartbeat REMOVED 1.2.1 -
@walletconnect/jsonrpc-http-connection REMOVED 1.0.7 -
@walletconnect/jsonrpc-provider REMOVED 1.0.13 -
@walletconnect/jsonrpc-types REMOVED 1.0.3 -
@walletconnect/jsonrpc-utils REMOVED 1.0.8 -
@walletconnect/jsonrpc-ws-connection REMOVED 1.0.11 -
@walletconnect/keyvaluestorage REMOVED 1.0.2 -
@walletconnect/logger REMOVED 2.0.1 -
@walletconnect/modal REMOVED 2.4.7 -
@walletconnect/relay-api REMOVED 1.0.9 -
@walletconnect/relay-auth REMOVED 1.0.4 -
@walletconnect/safe-json REMOVED 1.0.2 -
@walletconnect/sign-client REMOVED 2.8.1 -
@walletconnect/time REMOVED 1.0.2 -
@walletconnect/types REMOVED 2.8.1 -
@walletconnect/universal-provider REMOVED 2.8.1 -
@walletconnect/utils REMOVED 2.8.1 -
@walletconnect/window-getters REMOVED 1.0.1 -
@walletconnect/window-metadata REMOVED 1.0.1 -
@web3modal/core REMOVED 2.4.7 -
@web3modal/ui REMOVED 2.4.7 -
@whatwg-node/events REMOVED 0.1.1 -
@whatwg-node/fetch REMOVED 0.9.9 -
@whatwg-node/node-fetch REMOVED 0.4.13 -
agent-base DOWNGRADED 7.1.0 6.0.2
aggregate-error DOWNGRADED 4.0.1 3.1.0
ansi-escapes UPDATED 5.0.0 6.2.0
ansicolors REMOVED 0.3.2 -
any-promise REMOVED 1.3.0 -
archy REMOVED 1.0.0 -
arg DOWNGRADED 5.0.2 4.1.3
argv-formatter REMOVED 1.0.0 -
array-ify REMOVED 1.0.0 -
arrify REMOVED 1.0.1 -
asap REMOVED 2.0.6 -
asn1js REMOVED 3.0.5 -
astral-regex REMOVED 2.0.0 -
atomic-sleep REMOVED 1.0.0 -
auto-bind REMOVED 4.0.0 -
autoprefixer REMOVED 10.4.14 -
axios REMOVED 0.25.0 -
babel-plugin-macros ADDED - 3.1.0
babel-plugin-syntax-trailing-function-commas REMOVED 7.0.0-beta.0 -
babel-preset-fbjs REMOVED 3.4.0 -
base-x REMOVED 4.0.0 -
base32.js REMOVED 0.1.0 -
base64-js REMOVED 1.5.1 -
before-after-hook REMOVED 2.2.3 -
big.js REMOVED 6.2.1 -
bignumber.js REMOVED 4.1.0 -
bin-links REMOVED 3.0.3 -
binary-extensions REMOVED 2.2.0 -
bl REMOVED 4.1.0 -
boolbase REMOVED 1.0.0 -
bottleneck REMOVED 2.19.5 -
browserslist DOWNGRADED 4.21.10 4.21.5
bs58 REMOVED 5.0.0 -
buffer REMOVED 6.0.3 -
builtins REMOVED 5.0.1 -
busboy REMOVED 1.6.0 -
camel-case REMOVED 4.1.2 -
camelcase-css REMOVED 2.0.1 -
camelcase-keys REMOVED 6.2.2 -
caniuse-api REMOVED 3.0.0 -
caniuse-lite DOWNGRADED 1.0.30001521 1.0.30001482
capital-case REMOVED 1.0.4 -
cardinal REMOVED 2.1.1 -
chalk UPDATED 5.2.0 5.3.0
change-case REMOVED 4.1.2 -
change-case-all REMOVED 1.0.15 -
chardet REMOVED 0.7.0 -
chokidar REMOVED 3.5.3 -
cidr-regex REMOVED 3.1.1 -
clean-stack DOWNGRADED 4.2.0 2.2.0
cli-columns REMOVED 4.0.0 -
cli-cursor UPDATED 3.1.0 4.0.0
cli-spinners REMOVED 2.9.0 -
cli-table3 REMOVED 0.6.3 -
cli-truncate UPDATED 2.1.0 4.0.0
cli-width REMOVED 3.0.0 -
clone REMOVED 1.0.4 -
clsx UPDATED 1.2.1 2.0.0
cmd-shim REMOVED 5.0.0 -
color REMOVED 4.2.3 -
color-string REMOVED 1.9.1 -
colord REMOVED 2.9.3 -
columnify REMOVED 1.6.0 -
commander UPDATED 7.2.0 11.1.0
common-ancestor-path REMOVED 1.0.1 -
common-tags REMOVED 1.8.2 -
compare-func REMOVED 2.0.0 -
concat-with-sourcemaps REMOVED 1.1.0 -
config-chain REMOVED 1.1.13 -
constant-case REMOVED 3.0.4 -
conventional-changelog-angular REMOVED 5.0.13 -
conventional-changelog-writer REMOVED 5.0.1 -
conventional-commits-filter REMOVED 2.0.7 -
conventional-commits-parser REMOVED 3.2.4 -
core-util-is REMOVED 1.0.3 -
cosmiconfig DOWNGRADED 8.2.0 7.1.0
crc REMOVED 3.8.0 -
cross-fetch REMOVED 3.1.8 -
crypto-random-string REMOVED 2.0.0 -
css-declaration-sorter REMOVED 6.4.0 -
css-select REMOVED 5.1.0 -
css-selector-tokenizer REMOVED 0.8.0 -
css-tree REMOVED 2.3.1 -
css-what REMOVED 6.1.0 -
cssesc REMOVED 3.0.0 -
cssnano REMOVED 5.1.15 -
cssnano-preset-default REMOVED 6.0.1 -
cssnano-utils REMOVED 4.0.0 -
csso REMOVED 5.0.5 -
csstype UPDATED 3.1.2 3.1.3
daisyui REMOVED 2.51.6 -
dataloader REMOVED 2.2.2 -
dateformat REMOVED 3.0.3 -
debounce REMOVED 1.2.1 -
debuglog REMOVED 1.0.1 -
decamelize REMOVED 1.2.0 -
decamelize-keys REMOVED 1.1.1 -
decode-uri-component REMOVED 0.2.2 -
deep-extend REMOVED 0.6.0 -
defaults REMOVED 1.0.4 -
del REMOVED 6.1.1 -
dependency-graph REMOVED 0.11.0 -
deprecation REMOVED 2.3.1 -
detect-browser REMOVED 5.3.0 -
detect-indent REMOVED 6.1.0 -
detect-node REMOVED 2.1.0 -
dezalgo REMOVED 1.0.4 -
didyoumean REMOVED 1.2.2 -
diff DOWNGRADED 5.1.0 4.0.2
dijkstrajs REMOVED 1.0.3 -
dlv REMOVED 1.1.3 -
dom-helpers ADDED - 5.2.1
dom-serializer REMOVED 2.0.0 -
domelementtype REMOVED 2.3.0 -
domhandler REMOVED 5.0.3 -
domutils REMOVED 3.1.0 -
dot-case REMOVED 3.0.4 -
dot-prop REMOVED 5.3.0 -
dotenv REMOVED 16.3.1 -
dset REMOVED 3.1.2 -
duplexer2 REMOVED 0.1.4 -
duplexify REMOVED 4.1.2 -
eip1193-provider REMOVED 1.0.1 -
electron-to-chromium DOWNGRADED 1.4.492 1.4.382
emoji-regex UPDATED 9.2.2 10.3.0
encode-utf8 REMOVED 1.0.3 -
end-of-stream REMOVED 1.4.4 -
env-ci REMOVED 8.0.0 -
es6-promise REMOVED 4.2.8 -
escape-string-regexp DOWNGRADED 5.0.0 4.0.0
events REMOVED 3.3.0 -
eventsource REMOVED 1.1.2 -
execa UPDATED 7.1.1 8.0.1
external-editor REMOVED 3.1.0 -
extract-files REMOVED 11.0.0 -
fast-decode-uri-component REMOVED 1.0.1 -
fast-querystring REMOVED 1.1.2 -
fast-redact REMOVED 3.2.0 -
fast-url-parser REMOVED 1.1.3 -
fastest-levenshtein REMOVED 1.0.16 -
fastparse REMOVED 1.1.2 -
fbjs REMOVED 3.0.5 -
fbjs-css-vars REMOVED 1.0.2 -
figures REMOVED 5.0.0 -
filter-obj REMOVED 1.1.0 -
find-root ADDED - 1.1.0
find-up DOWNGRADED 6.3.0 5.0.0
find-versions REMOVED 5.1.0 -
follow-redirects REMOVED 1.15.2 -
fraction.js REMOVED 4.2.0 -
from2 REMOVED 2.3.0 -
fs-extra REMOVED 11.1.1 -
generic-names REMOVED 4.0.0 -
get-east-asian-width ADDED - 1.2.0
get-stream UPDATED 6.0.1 8.0.1
git-log-parser REMOVED 1.2.0 -
graphql REMOVED 16.6.0 -
graphql-config REMOVED 5.0.2 -
graphql-request REMOVED 6.1.0 -
graphql-tag REMOVED 2.12.6 -
graphql-ws REMOVED 5.14.0 -
handlebars REMOVED 4.7.7 -
hard-rejection REMOVED 2.1.0 -
header-case REMOVED 2.0.4 -
hey-listen REMOVED 1.0.8 -
hoist-non-react-statics ADDED - 3.3.2
hook-std REMOVED 3.0.0 -
hosted-git-info REMOVED 6.1.1 -
http-proxy-agent DOWNGRADED 7.0.0 5.0.0
https-proxy-agent DOWNGRADED 7.0.1 5.0.1
human-signals UPDATED 4.3.1 5.0.0
husky ADDED - 8.0.3
icss-replace-symbols REMOVED 1.1.0 -
icss-utils REMOVED 5.1.0 -
ieee754 REMOVED 1.2.1 -
ignore-walk REMOVED 5.0.1 -
immutable REMOVED 4.3.0 -
import-cwd REMOVED 3.0.0 -
import-from REMOVED 4.0.0 -
indent-string DOWNGRADED 5.0.0 4.0.0
infer-owner REMOVED 1.0.4 -
ini REMOVED 3.0.1 -
init-package-json REMOVED 3.0.2 -
inquirer REMOVED 8.2.6 -
into-stream REMOVED 6.0.0 -
invariant REMOVED 2.2.4 -
ip-regex REMOVED 4.3.0 -
is-absolute REMOVED 1.0.0 -
is-arrayish DOWNGRADED 0.3.2 0.2.1
is-binary-path REMOVED 2.1.0 -
is-cidr REMOVED 4.0.2 -
is-fullwidth-code-point UPDATED 3.0.0 5.0.0
is-interactive REMOVED 1.0.0 -
is-lower-case REMOVED 2.0.2 -
is-obj REMOVED 2.0.0 -
is-path-cwd REMOVED 2.2.0 -
is-plain-obj REMOVED 1.1.0 -
is-plain-object REMOVED 5.0.0 -
is-relative REMOVED 1.0.0 -
is-text-path REMOVED 1.0.1 -
is-unc-path REMOVED 1.0.0 -
is-unicode-supported REMOVED 1.3.0 -
is-upper-case REMOVED 2.0.2 -
is-windows REMOVED 1.0.2 -
isomorphic-ws REMOVED 5.0.0 -
issue-parser REMOVED 6.0.0 -
java-properties REMOVED 1.0.2 -
jiti REMOVED 1.18.2 -
jose REMOVED 4.14.4 -
js-xdr REMOVED 1.3.0 -
json-parse-better-errors REMOVED 1.0.2 -
json-stable-stringify REMOVED 1.0.2 -
json-stringify-nice REMOVED 1.1.4 -
json-to-pretty-yaml REMOVED 1.2.2 -
jsonfile REMOVED 6.1.0 -
jsonify REMOVED 0.0.1 -
jsonparse REMOVED 1.3.1 -
JSONStream REMOVED 1.3.5 -
just-diff REMOVED 5.2.0 -
just-diff-apply REMOVED 5.5.0 -
keyvaluestorage-interface REMOVED 1.0.0 -
kind-of REMOVED 6.0.3 -
libnpmaccess REMOVED 6.0.4 -
libnpmdiff REMOVED 4.0.5 -
libnpmexec REMOVED 4.0.14 -
libnpmfund REMOVED 3.0.5 -
libnpmhook REMOVED 8.0.4 -
libnpmorg REMOVED 4.0.4 -
libnpmpack REMOVED 4.1.3 -
libnpmpublish REMOVED 6.0.5 -
libnpmsearch REMOVED 5.0.4 -
libnpmteam REMOVED 4.0.4 -
libnpmversion REMOVED 3.0.7 -
lilconfig UPDATED 2.1.0 3.0.0
lint-staged ADDED - 15.2.0
listr2 UPDATED 4.0.5 8.0.0
lit REMOVED 2.7.5 -
lit-element REMOVED 3.3.2 -
lit-html REMOVED 2.7.4 -
load-json-file REMOVED 4.0.0 -
loader-utils REMOVED 3.2.1 -
locate-path DOWNGRADED 7.2.0 6.0.0
lodash-es REMOVED 4.17.21 -
lodash.camelcase REMOVED 4.3.0 -
lodash.capitalize REMOVED 4.2.1 -
lodash.escaperegexp REMOVED 4.1.2 -
lodash.isequal REMOVED 4.5.0 -
lodash.ismatch REMOVED 4.4.0 -
lodash.isplainobject REMOVED 4.0.6 -
lodash.isstring REMOVED 4.0.1 -
lodash.memoize REMOVED 4.1.2 -
lodash.sortby REMOVED 4.7.0 -
lodash.uniq REMOVED 4.5.0 -
lodash.uniqby REMOVED 4.7.0 -
log-symbols REMOVED 4.1.0 -
log-update UPDATED 4.0.0 6.0.0
long REMOVED 2.4.0 -
lower-case REMOVED 2.0.2 -
lower-case-first REMOVED 2.0.2 -
luxon REMOVED 3.3.0 -
map-cache REMOVED 0.2.2 -
map-obj REMOVED 4.3.0 -
marked REMOVED 4.3.0 -
marked-terminal REMOVED 5.1.1 -
match-sorter REMOVED 6.3.1 -
mdn-data REMOVED 2.0.30 -
meow REMOVED 8.1.2 -
meros REMOVED 1.3.0 -
mime REMOVED 3.0.0 -
minimist REMOVED 1.2.8 -
minimist-options REMOVED 4.1.0 -
minipass-json-stream REMOVED 1.0.1 -
mkdirp-infer-owner REMOVED 2.0.0 -
modify-values REMOVED 1.0.1 -
motion REMOVED 10.16.2 -
ms DOWNGRADED 2.1.3 2.1.2
multiformats REMOVED 9.9.0 -
mute-stream REMOVED 0.0.8 -
mz REMOVED 2.7.0 -
neo-async REMOVED 2.6.2 -
nerf-dart REMOVED 1.0.0 -
no-case REMOVED 3.0.4 -
node-emoji REMOVED 1.11.0 -
node-gyp UPDATED 9.3.1 9.4.0
node-releases DOWNGRADED 2.0.13 2.0.10
normalize-package-data REMOVED 4.0.1 -
normalize-range REMOVED 0.1.2 -
normalize-url REMOVED 6.1.0 -
npm REMOVED 8.19.4 -
npm-audit-report REMOVED 3.0.0 -
npm-bundled REMOVED 2.0.1 -
npm-install-checks REMOVED 5.0.0 -
npm-normalize-package-bin REMOVED 2.0.0 -
npm-package-arg REMOVED 9.1.2 -
npm-packlist REMOVED 5.1.3 -
npm-pick-manifest REMOVED 7.0.2 -
npm-profile REMOVED 6.2.1 -
npm-registry-fetch REMOVED 13.3.1 -
npm-user-validate REMOVED 1.0.1 -
nth-check REMOVED 2.1.1 -
nullthrows REMOVED 1.1.1 -
object-hash REMOVED 3.0.0 -
on-exit-leak-free REMOVED 0.2.0 -
opener REMOVED 1.5.2 -
ora REMOVED 5.4.1 -
os-tmpdir REMOVED 1.0.2 -
p-each-series REMOVED 3.0.0 -
p-filter REMOVED 2.1.0 -
p-finally REMOVED 1.0.0 -
p-is-promise REMOVED 3.0.0 -
p-limit DOWNGRADED 4.0.0 3.1.0
p-locate DOWNGRADED 6.0.0 5.0.0
p-queue REMOVED 6.6.2 -
p-reduce REMOVED 3.0.0 -
p-retry REMOVED 4.6.2 -
p-timeout REMOVED 3.2.0 -
pacote REMOVED 13.6.2 -
param-case REMOVED 3.0.4 -
parse-conflict-json REMOVED 2.0.2 -
parse-filepath REMOVED 1.0.2 -
pascal-case REMOVED 3.1.2 -
path-case REMOVED 3.0.4 -
path-exists DOWNGRADED 5.0.0 4.0.0
path-root REMOVED 0.1.1 -
path-root-regex REMOVED 0.1.2 -
pidtree ADDED - 0.6.0
pify REMOVED 5.0.0 -
pino REMOVED 7.11.0 -
pino-abstract-transport REMOVED 0.5.0 -
pino-std-serializers REMOVED 4.0.0 -
pkg-conf REMOVED 2.1.0 -
pngjs REMOVED 5.0.0 -
postcss-calc REMOVED 9.0.0 -
postcss-colormin REMOVED 6.0.0 -
postcss-convert-values REMOVED 6.0.0 -
postcss-discard-comments REMOVED 6.0.0 -
postcss-discard-duplicates REMOVED 6.0.0 -
postcss-discard-empty REMOVED 6.0.0 -
postcss-discard-overridden REMOVED 6.0.0 -
postcss-import REMOVED 15.1.0 -
postcss-js REMOVED 4.0.1 -
postcss-load-config REMOVED 4.0.1 -
postcss-merge-longhand REMOVED 6.0.0 -
postcss-merge-rules REMOVED 6.0.1 -
postcss-minify-font-values REMOVED 6.0.0 -
postcss-minify-gradients REMOVED 6.0.0 -
postcss-minify-params REMOVED 6.0.0 -
postcss-minify-selectors REMOVED 6.0.0 -
postcss-modules REMOVED 6.0.0 -
postcss-modules-extract-imports REMOVED 3.0.0 -
postcss-modules-local-by-default REMOVED 4.0.0 -
postcss-modules-scope REMOVED 3.0.0 -
postcss-modules-values REMOVED 4.0.0 -
postcss-nested REMOVED 6.0.1 -
postcss-normalize-charset REMOVED 6.0.0 -
postcss-normalize-display-values REMOVED 6.0.0 -
postcss-normalize-positions REMOVED 6.0.0 -
postcss-normalize-repeat-style REMOVED 6.0.0 -
postcss-normalize-string REMOVED 6.0.0 -
postcss-normalize-timing-functions REMOVED 6.0.0 -
postcss-normalize-unicode REMOVED 6.0.0 -
postcss-normalize-url REMOVED 6.0.0 -
postcss-normalize-whitespace REMOVED 6.0.0 -
postcss-ordered-values REMOVED 6.0.0 -
postcss-reduce-initial REMOVED 6.0.0 -
postcss-reduce-transforms REMOVED 6.0.0 -
postcss-selector-parser REMOVED 6.0.12 -
postcss-svgo REMOVED 6.0.0 -
postcss-unique-selectors REMOVED 6.0.0 -
postcss-value-parser REMOVED 4.2.0 -
proc-log REMOVED 2.0.1 -
process-nextick-args REMOVED 2.0.1 -
process-warning REMOVED 1.0.0 -
promise REMOVED 7.3.1 -
promise-all-reject-late REMOVED 1.0.1 -
promise-call-limit REMOVED 1.0.2 -
promise-inflight REMOVED 1.0.1 -
promise.series REMOVED 0.2.0 -
promzard REMOVED 0.3.0 -
property-expr REMOVED 2.0.5 -
proto-list REMOVED 1.2.4 -
proxy-compare REMOVED 2.5.1 -
pvtsutils REMOVED 1.3.3 -
pvutils REMOVED 1.1.3 -
q REMOVED 1.5.1 -
qrcode REMOVED 1.5.3 -
qrcode-terminal REMOVED 0.12.0 -
query-string REMOVED 7.1.3 -
quick-format-unescaped REMOVED 4.0.4 -
quick-lru REMOVED 4.0.1 -
randombytes REMOVED 2.1.0 -
rc REMOVED 1.2.8 -
react REMOVED 18.2.0 -
react-daisyui REMOVED 3.1.2 -
react-device-detect REMOVED 2.2.3 -
react-dom REMOVED 18.2.0 -
react-error-boundary REMOVED 3.1.4 -
react-hook-form REMOVED 7.43.9 -
react-table REMOVED 7.8.0 -
react-toastify REMOVED 9.1.3 -
react-transition-group ADDED - 4.4.5
read REMOVED 1.0.7 -
read-cache REMOVED 1.0.0 -
read-cmd-shim REMOVED 3.0.1 -
read-package-json REMOVED 5.0.2 -
read-package-json-fast REMOVED 2.0.3 -
read-pkg REMOVED 7.1.0 -
read-pkg-up REMOVED 9.1.0 -
readdir-scoped-modules REMOVED 1.1.0 -
readdirp REMOVED 3.6.0 -
real-require REMOVED 0.1.0 -
redeyed REMOVED 2.1.1 -
registry-auth-token REMOVED 5.0.2 -
relay-runtime REMOVED 12.0.0 -
remedial REMOVED 1.0.8 -
remove-accents REMOVED 0.4.2 -
remove-trailing-separator REMOVED 1.1.0 -
remove-trailing-spaces REMOVED 1.0.8 -
require-main-filename REMOVED 2.0.0 -
reserved-words REMOVED 0.1.2 -
restore-cursor UPDATED 3.1.0 4.0.0
retry DOWNGRADED 0.13.1 0.12.0
rollup-plugin-postcss REMOVED 4.0.2 -
rollup-plugin-postcss-modules REMOVED 2.1.1 -
rollup-plugin-styles REMOVED 4.0.0 -
run-async REMOVED 2.4.1 -
safe-identifier REMOVED 0.4.2 -
safe-json-utils REMOVED 1.1.1 -
safe-stable-stringify REMOVED 2.4.3 -
sass REMOVED 1.62.1 -
scheduler REMOVED 0.23.0 -
scuid REMOVED 1.1.0 -
semantic-release REMOVED 20.1.3 -
semver-diff REMOVED 4.0.0 -
semver-regex REMOVED 4.0.5 -
sentence-case REMOVED 3.0.4 -
setimmediate REMOVED 1.0.5 -
sha.js REMOVED 2.4.11 -
shell-quote REMOVED 1.8.1 -
signale REMOVED 1.4.0 -
signedsource REMOVED 1.0.0 -
simple-swizzle REMOVED 0.2.2 -
slice-ansi UPDATED 4.0.0 7.1.0
snake-case REMOVED 3.0.4 -
sodium-native REMOVED 3.4.1 -
sonic-boom REMOVED 2.8.0 -
spawn-error-forwarder REMOVED 1.0.0 -
spdx-correct REMOVED 3.2.0 -
spdx-exceptions REMOVED 2.3.0 -
spdx-expression-parse REMOVED 3.0.1 -
spdx-license-ids REMOVED 3.0.13 -
split REMOVED 1.0.1 -
split-on-first REMOVED 1.1.0 -
split2 REMOVED 4.2.0 -
sponge-case REMOVED 1.0.1 -
stable REMOVED 0.1.8 -
stellar-base REMOVED 8.2.2 -
stellar-sdk REMOVED 10.4.1 -
stream-combiner2 REMOVED 1.1.1 -
stream-shift REMOVED 1.0.1 -
streamsearch REMOVED 1.1.0 -
strict-uri-encode REMOVED 2.0.0 -
string_decoder UPDATED 1.1.1 1.3.0
string-argv ADDED - 0.3.2
string-env-interpolation REMOVED 1.0.1 -
string-hash REMOVED 1.1.3 -
string-width UPDATED 5.1.2 7.0.0
style-inject REMOVED 0.3.0 -
stylehacks REMOVED 6.0.0 -
stylis ADDED - 4.2.0
sucrase REMOVED 3.32.0 -
supports-hyperlinks REMOVED 2.3.0 -
svgo REMOVED 3.0.2 -
swap-case REMOVED 2.0.2 -
tailwindcss REMOVED 3.3.2 -
temp-dir REMOVED 2.0.0 -
tempy REMOVED 1.0.1 -
text-extensions REMOVED 1.9.0 -
thenify REMOVED 3.3.1 -
thenify-all REMOVED 1.6.0 -
thread-stream REMOVED 0.15.2 -
through REMOVED 2.3.8 -
through2 REMOVED 4.0.2 -
tiny-case REMOVED 1.0.3 -
tiny-relative-date REMOVED 1.3.0 -
title-case REMOVED 3.0.3 -
tmp REMOVED 0.0.33 -
toml REMOVED 2.3.6 -
toposort REMOVED 2.0.2 -
traverse REMOVED 0.6.7 -
treeverse REMOVED 2.0.0 -
trim-newlines REMOVED 3.0.1 -
ts-interface-checker REMOVED 0.1.13 -
ts-log REMOVED 2.2.5 -
tslib DOWNGRADED 2.6.1 2.5.0
type-fest UPDATED 2.19.0 3.13.1
ua-parser-js REMOVED 1.0.35 -
uglify-js REMOVED 3.17.4 -
uint8arrays REMOVED 3.1.1 -
unc-path-regex REMOVED 0.1.2 -
unique-string REMOVED 2.0.0 -
universal-user-agent REMOVED 6.0.0 -
universalify DOWNGRADED 2.0.0 0.2.0
unixify REMOVED 1.0.0 -
upper-case REMOVED 2.0.2 -
upper-case-first REMOVED 2.0.2 -
urijs REMOVED 1.19.11 -
url-join REMOVED 4.0.1 -
urlpattern-polyfill REMOVED 9.0.0 -
use-sync-external-store REMOVED 1.2.0 -
utility-types REMOVED 3.10.0 -
validate-npm-package-license REMOVED 3.0.4 -
validate-npm-package-name REMOVED 4.0.0 -
valtio REMOVED 1.10.5 -
value-or-promise REMOVED 1.0.12 -
walk-up-path REMOVED 1.0.0 -
wcwidth REMOVED 1.0.1 -
webcrypto-core REMOVED 1.7.7 -
which-module REMOVED 2.0.1 -
wordwrap REMOVED 1.0.0 -
wrap-ansi UPDATED 8.1.0 9.0.0
xtend REMOVED 4.0.2 -
yaml UPDATED 2.3.1 2.3.4
yaml-ast-parser REMOVED 0.0.43 -
yocto-queue DOWNGRADED 1.0.0 0.1.0
yup REMOVED 1.2.0 -

@ebma ebma force-pushed the 5-clean-the-pendulumpay-repo branch from 21ce977 to cf811ad Compare December 8, 2023 17:42
@ebma ebma requested a review from TorstenStueber December 8, 2023 17:53
Copy link
Collaborator

@TorstenStueber TorstenStueber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for cleaning up this repository.

I have two general questions:

  1. Why are pages and components in this nested structure inside as index.tsx files? E.g., instead of (the more obvious?) pages/Landing.tsx it is pages/landing/index.tsx. I personally find the latter harder to work with because all open pages in my tabs are just called index.tsx and navigation is harder.

  2. This is also something personal, but I like to keep the number of dependencies to a minimum, particularly for a project that deals with money. Npm is just ridden with transitive dependencies and each is a potential vulnerability. Furthermore, the built JS might balloon to too many megabytes – this was already a big burden for DTransfer.
    As an example I see big.js, luxon and lodash. Each use case here in this template can be replaced by just a little bit more modern JavaScript. If we want to use a bigint library, then we should probably use bn.js as this is already used in polkadot-js.

package.json Outdated
"stellar-sdk": "^10.4.1",
"ts-node": "^10.9.1",
"yup": "^1.2.0"
"ts-node": "^10.9.1"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that this should rather be a devDependency

package.json Outdated
"react-hook-form": "^7.43.2",
"react-router-dom": "^6.8.1",
"react-table": "^7.8.0",
"react-toastify": "^9.1.3",
"stellar-sdk": "^10.4.1",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is most likely not required for pendulum-pay.

@ebma
Copy link
Member Author

ebma commented Dec 14, 2023

Why are pages and components in this nested structure inside as index.tsx files? E.g., instead of (the more obvious?) pages/Landing.tsx it is pages/landing/index.tsx. I personally find the latter harder to work with because all open pages in my tabs are just called index.tsx and navigation is harder.

The idea here is to group all files that relate to one component or page into one directory. For example in the component case, imagine that we define the styles for that component in a stylesheet just for that component or we have a test, then they could be grouped with Button > index.tsx, index.test.tsx, style.css. And by calling the main file of that component index.tsx it's easier to import because you don't have to do import Button from 'Button/Button' but can just to import Button from 'Button'. See also for example the components in MUI here.
But I see your point and I don't mind too much. I just read about it in a book about React and it made sense to me so I started using it like this. It's probably not super important for us because we don't define the styles in an extra .css file and I doubt we'll write a lot of tests for the components.

This is also something personal, but I like to keep the number of dependencies to a minimum, particularly for a project that deals with money.

Right, I'll change that.

@TorstenStueber
Copy link
Collaborator

Thanks for that reasoning, almost thought so, but then thought that our components will most likely be self contained and the css will be in the ts file. So yeah, it might just boil down to whether we use tests or not. I'm fine either way then.

@ebma
Copy link
Member Author

ebma commented Dec 20, 2023

I removed the unnecessary dependencies now but left the index.tsx structure for components and pages as is.

@ebma ebma merged commit bbad9b7 into main Dec 21, 2023
5 checks passed
@ebma ebma deleted the 5-clean-the-pendulumpay-repo branch December 21, 2023 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clean the PendulumPay repo
2 participants