Commit Graph

154 Commits

Author SHA1 Message Date
renovate[bot]
2b70be404b chore(deps): update dependency concurrently to v8.2.2 (#2429)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-14 13:35:10 +01:00
renovate[bot]
dff5aa9887 chore(deps): update dependency concurrently to v8.2.1 (#2401)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-07 13:19:29 +01:00
Yu Long
256a93235b fix: work around to fix changeset (#2260) 2023-07-12 11:40:00 +02:00
Guilherme Ribeiro
f189f4eede Adding Storybook as dev playground (#1934)
* feat: draft

* feat: cleaned up

* feat: converted some files to ts

* fix: redirect result + typescript

* feat: cleaned up server

* feat: adding some stories

* feat: more changes

* feat: small adjustments

* feat: removed docs. cleaned preview

* feat: cleanup

* feat: clean up types

* feat: adding to window object

* feat: global loaders

* feat: added type to loaded checkout

* feat: storybook 7 + vite

* feat: cleanup deps not used by vite or storybook

* feat: removing unused import

* Update main.ts

* feat: webpack5

* feat: attempt to update packages

* refactor: move storybook to lib

* refactor: use rollup.dev.config.js

* refactor: redirect story fix and add a11y check

* refactor: rename story

* refactor: split rollup config

* refactor(storybook-config): use dev rollup config

* remove playground-storybook folder

* some fix

* run storybook https

* rebase main resolve conflicts

* add mirrored rollup dev plugins to vite

* correct postcss.config.js path

* fix returnUrl

* refactor: remove unused code and add types

* feat: cleaning up

---------

Co-authored-by: Yu Long <longyu901009@gmail.com>
2023-07-11 16:16:36 +02:00
Yu Long
4a2ddb7da5 CI: use Changesets to automate release PR creation (#2189) 2023-05-31 16:36:06 +02:00
renovate[bot]
d9c3f91ecc chore(deps): update dependency concurrently to v8 (#2181)
* chore(deps): update dependency concurrently to v8

* fix: fixing version

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: guilhermer <guilherme.ribeiro@adyen.com>
2023-05-22 15:53:21 +02:00
renovate[bot]
461cdc6f84 chore(deps): update dependency prettier to v2.8.8 (#2167)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-16 14:24:32 -03:00
renovate[bot]
f31d2c863c Update dependency prettier to v2.8.7 (#2107)
* Update dependency prettier to v2.8.7

* feat: removed prettier from e2e

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: guilhermer <guilherme.ribeiro@adyen.com>
Co-authored-by: Guilherme Ribeiro <guilhermemrr@gmail.com>
2023-05-12 10:57:14 -03:00
Yu Long
5b40f5ac0e chore: format all files with eslint and prettier (#2152) 2023-05-11 15:25:35 +02:00
Cenk Kucukiravul
2e23f98248 Adding Playwright for E2E testing (#1973)
* feat: initial commit

* feat: added testing app

* feat: basic ideal test

* feat: clean up

* test: testing iframes

* feat:testing binLookup with card avs field

* feat: removed node-sass

* Create GitHub Actions pipeline for E2E testing

* Add installation of all deps

* Hardcode 4 parallel runners for local runs

* Define an action default timeout of 20 seconds

* Fix indentation errors

* Fix working directory for e2e dependencies

* Format yml in supported format

* Fix indentation

* Indentation fix

* Try to make Github yaml format happy

* Attempt to fix formatting

* Fix working directory for e2e

* Reduce job count to 1

* Only test with node 16.x

* Inject environment variables

* Reduce retry count to 0 on CI

* Update secrets

* Add timeout for entire build

* Add step to store test artifacts

* Add single retry on CI

* Break the pipeline in two jobs

* Add dependency per step

* Make yaml happy

* Fix yaml formatting

* Fix yaml formatting

* Remove dependency installation for playwright

* Update working directory

* Use absolute path

* Try to fix path

* Test removing path

* Update path

* Remove checkout

* Bring back checkout step

* Make it unified again

* Add manual trigger

* Click to Pay - Removing useClickToPay flag (#1979)

* Full dependency installation for Playwright

* Fix report folder path

* Enable html reporter

* Change report path

* Remove dedicated path for report

* Use 2 workers on CI

* feat: using npm instead of yarn

* Add ms edge to projects

* fix: lib version

* feat: reduced workers. adjusted scrirpt names

* feat: added edge

* feat: adjusted timeouts

* feat: bumped playwright version

* feat: removed edge

---------

Co-authored-by: guilhermer <guilherme.ribeiro@adyen.com>
Co-authored-by: Guilherme Ribeiro <guilhermemrr@gmail.com>
Co-authored-by: Cenk Kucukiravul <cenk.kucukiravul@adyen.com>
2023-03-03 12:07:54 +01:00
renovate[bot]
63964ea701 Update dependency prettier to v2.8.4 (#2010)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-01 14:33:19 +01:00
António Ferreira
798fdaeb2e Feature Prettier pre commit hook (#1869)
* Adds prettier as pre-commit hook

* adds pre-commit hook

* updated pre-commit hook

* feat: updated root package json

* feat: fixed missing config

* feat: adjusted prettier file type

Co-authored-by: guilhermer <guilherme.ribeiro@adyen.com>
2023-01-20 16:24:50 +01:00
renovate[bot]
8c6343acb9 Update dependency prettier to v2 (#1916)
* Update dependency prettier to v2

* feat: attempt to use prettier top level

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: guilhermer <guilherme.ribeiro@adyen.com>
2023-01-19 12:58:07 +01:00
dependabot[bot]
6377fe32ad Bump concurrently from 7.4.0 to 7.6.0 (#1852)
Bumps [concurrently](https://github.com/open-cli-tools/concurrently) from 7.4.0 to 7.6.0.
- [Release notes](https://github.com/open-cli-tools/concurrently/releases)
- [Commits](https://github.com/open-cli-tools/concurrently/compare/v7.4.0...v7.6.0)

---
updated-dependencies:
- dependency-name: concurrently
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-23 07:20:45 -03:00
dependabot[bot]
46c7314fc4 Bump concurrently from 6.5.1 to 7.4.0 (#1780)
Bumps [concurrently](https://github.com/open-cli-tools/concurrently) from 6.5.1 to 7.4.0.
- [Release notes](https://github.com/open-cli-tools/concurrently/releases)
- [Commits](https://github.com/open-cli-tools/concurrently/compare/v6.5.1...v7.4.0)

---
updated-dependencies:
- dependency-name: concurrently
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-04 15:46:30 +02:00
Guilherme Ribeiro
f94aaf830e Removing Type-Only imports and 'yarn start:fast' script (#1572) 2022-04-11 10:04:15 +02:00
António Ferreira
25959b5d57 Fixes CSP error caused by regenerator-runtime (#1528)
* fixes CSP error caused by regenerator-runtime

* revert styling changes
2022-03-08 17:23:45 +01:00
dependabot[bot]
28d68fef3e Bump concurrently from 6.1.0 to 6.2.0
Bumps [concurrently](https://github.com/kimmobrunfeldt/concurrently) from 6.1.0 to 6.2.0.
- [Release notes](https://github.com/kimmobrunfeldt/concurrently/releases)
- [Commits](https://github.com/kimmobrunfeldt/concurrently/compare/v6.1.0...v6.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-25 11:19:30 +00:00
dependabot[bot]
1e2d8976f5 Bump concurrently from 6.0.2 to 6.1.0
Bumps [concurrently](https://github.com/kimmobrunfeldt/concurrently) from 6.0.2 to 6.1.0.
- [Release notes](https://github.com/kimmobrunfeldt/concurrently/releases)
- [Commits](https://github.com/kimmobrunfeldt/concurrently/compare/v6.0.2...v6.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 04:18:24 +00:00
dependabot[bot]
01a611725e Bump concurrently from 6.0.1 to 6.0.2
Bumps [concurrently](https://github.com/kimmobrunfeldt/concurrently) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/kimmobrunfeldt/concurrently/releases)
- [Commits](https://github.com/kimmobrunfeldt/concurrently/compare/v6.0.1...v6.0.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-13 04:09:07 +00:00
pablo
1844914603 Add type-check script in parent package.json file. Add type-check to the Github actions. 2021-04-12 14:27:20 +02:00
dependabot[bot]
328d3972e6 Bump concurrently from 6.0.0 to 6.0.1
Bumps [concurrently](https://github.com/kimmobrunfeldt/concurrently) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/kimmobrunfeldt/concurrently/releases)
- [Commits](https://github.com/kimmobrunfeldt/concurrently/compare/v6.0.0...v6.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-06 04:12:43 +00:00
marcp
49735d011a Add EXPERIMENTAL_DEVBUILD start:fast command 2021-03-16 16:58:36 +01:00
dependabot[bot]
9f70142f11 Bump concurrently from 5.3.0 to 6.0.0
Bumps [concurrently](https://github.com/kimmobrunfeldt/concurrently) from 5.3.0 to 6.0.0.
- [Release notes](https://github.com/kimmobrunfeldt/concurrently/releases)
- [Commits](https://github.com/kimmobrunfeldt/concurrently/compare/v5.3.0...v6.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-22 04:33:56 +00:00
marcp
b85fcf7f9e Remove playground from e2e test command 2021-02-04 16:02:12 +01:00
marcp
7a0f250998 Fix main workspace e2e test command 2021-02-04 15:59:41 +01:00
sponglord
15f30e4aed Feature/e2e testing (#511)
* Set up to make e2e testing possible

* e2e tests for KCP fields

* Moved kcp test files to new, "cards", directory

* Use core-js/web/url-search-params instead of local util

* Fixes for CI tests

* Fixes for CI tests

* Revert ability to set referrer-policy on iframe via GET params

* Removing some "unused" code from playground

* Read countryCode from commonConfig (re. setting via url params)

* Simplify Card.js playground file

* Add test:e2e command to main package.json file

* Remove unused import in playground Card.js

* Remove unused getSearchParameters method

* Adding first test for dual branding

* Added more dual branding tests

Co-authored-by: marcp <marc.pereziribas@adyen.com>
2020-11-17 17:03:59 +01:00
marcp
1a373ae517 Fix main module scripts 2020-09-08 16:12:40 +02:00
marcp
8be03d0479 Fix coveralls and test workflows 2020-09-08 16:05:24 +02:00
marcp
b30bc823f1 Rename adyen-web folder to lib 2020-09-08 16:03:23 +02:00
marcp
3ac7ed7972 Remove unused config files 2020-09-08 11:21:27 +02:00
marcp
f66d682502 Separate codebase into packages 2020-09-07 15:09:12 +02:00
dependabot[bot]
92e5568240 Bump @types/jest from 26.0.12 to 26.0.13
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.12 to 26.0.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-03 04:03:40 +00:00
Marc Pérez
bf670f4a10 Merge pull request #235 from Adyen/dependabot/npm_and_yarn/stylelint-13.7.0
Bump stylelint from 13.6.1 to 13.7.0
2020-09-01 08:47:45 +02:00
dependabot[bot]
9ba8a8fad5 Bump @types/jest from 26.0.10 to 26.0.12
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.10 to 26.0.12.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-01 04:08:59 +00:00
dependabot[bot]
d0b6f79aff Bump stylelint from 13.6.1 to 13.7.0
Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.6.1 to 13.7.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/13.6.1...13.7.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-01 04:08:45 +00:00
marcp
03d8e6a7b5 Release 3.13.0 2020-08-31 15:05:22 +02:00
Pablo Igarzábal
5c812ff681 Merge pull request #229 from Adyen/dependabot/npm_and_yarn/html-webpack-plugin-4.4.1
Bump html-webpack-plugin from 4.3.0 to 4.4.1
2020-08-31 09:13:11 +02:00
dependabot[bot]
bacd396016 Bump html-webpack-plugin from 4.3.0 to 4.4.1
Bumps [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin) from 4.3.0 to 4.4.1.
- [Release notes](https://github.com/jantimon/html-webpack-plugin/releases)
- [Changelog](https://github.com/jantimon/html-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jantimon/html-webpack-plugin/compare/v4.3.0...v4.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-31 04:09:26 +00:00
dependabot[bot]
d2248b3e5a Bump webpack-merge from 5.1.2 to 5.1.3
Bumps [webpack-merge](https://github.com/survivejs/webpack-merge) from 5.1.2 to 5.1.3.
- [Release notes](https://github.com/survivejs/webpack-merge/releases)
- [Changelog](https://github.com/survivejs/webpack-merge/blob/master/CHANGELOG.md)
- [Commits](https://github.com/survivejs/webpack-merge/compare/v5.1.2...v5.1.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-31 04:07:45 +00:00
dependabot[bot]
bd0f935660 Bump mini-css-extract-plugin from 0.10.0 to 0.11.0
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v0.10.0...v0.11.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-28 04:10:45 +00:00
dependabot[bot]
4a922e4477 Bump preact from 10.4.7 to 10.4.8
Bumps [preact](https://github.com/preactjs/preact) from 10.4.7 to 10.4.8.
- [Release notes](https://github.com/preactjs/preact/releases)
- [Commits](https://github.com/preactjs/preact/compare/10.4.7...10.4.8)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-27 04:09:51 +00:00
dependabot[bot]
7c55121790 Bump sass-loader from 10.0.0 to 10.0.1
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 10.0.0 to 10.0.1.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v10.0.0...v10.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-26 04:57:47 +00:00
Pablo Igarzábal
899e1dd05b Merge pull request #218 from Adyen/dependabot/npm_and_yarn/css-loader-4.2.2
Bump css-loader from 3.6.0 to 4.2.2
2020-08-25 17:02:00 +02:00
Pablo Igarzábal
553f43e5cb Merge pull request #217 from Adyen/dependabot/npm_and_yarn/sass-loader-10.0.0
Bump sass-loader from 9.0.3 to 10.0.0
2020-08-25 15:55:05 +02:00
Marc Pérez
58af4ec524 Merge pull request #201 from Adyen/dependabot/npm_and_yarn/webpack-merge-5.1.2
Bump webpack-merge from 4.2.2 to 5.1.2
2020-08-25 13:44:48 +02:00
dependabot[bot]
30b4b4f3e1 Bump css-loader from 3.6.0 to 4.2.2
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.6.0 to 4.2.2.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v3.6.0...v4.2.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-25 04:07:07 +00:00
dependabot[bot]
d5511dc908 Bump sass-loader from 9.0.3 to 10.0.0
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 9.0.3 to 10.0.0.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v9.0.3...v10.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-25 04:06:43 +00:00
dependabot[bot]
a071e00bde Bump ts-loader from 8.0.2 to 8.0.3
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 8.0.2 to 8.0.3.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.0.2...v8.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-25 04:06:26 +00:00
dependabot[bot]
918033f2d2 Bump @types/googlepay from 0.4.1 to 0.4.2
Bumps [@types/googlepay](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/googlepay) from 0.4.1 to 0.4.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/googlepay)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-24 04:07:59 +00:00