Skip to content

Commit

Permalink
fix: dependencies and node version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
ribeiroguilherme committed Feb 16, 2024
1 parent a753251 commit 16f5a7f
Show file tree
Hide file tree
Showing 16 changed files with 530 additions and 404 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/.size-limit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Setup Node.js 18
- name: Setup Node.js 18.18
uses: actions/setup-node@v3
with:
node-version: 18.15
node-version: 18.18

- uses: andresz1/size-limit-action@master
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/coveralls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
steps:

- uses: actions/checkout@v4
- name: Use Node.js 18.x
- name: Use Node.js 18.18
uses: actions/setup-node@v4
with:
node-version: 18.15
node-version: 18.18

- name: install, coverage
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: E2E for Checkout Components

on:
on:
pull_request:
workflow_dispatch:

Expand All @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [18.15]
node-version: [18.18]
# node-version: [16.x, 18.x, 19.x]
# Currently 18 and 19 are not supported, still keeping it
# as a reminder for compatibility check
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: Publish Package
on:
release:
types: [created]
workflow_dispatch:
workflow_dispatch:

jobs:
publish-npm:
Expand All @@ -16,7 +16,7 @@ jobs:
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v4
with:
node-version: 18.15
node-version: 18.18
registry-url: https://registry.npmjs.org/
- run: yarn install --frozen-lockfile
# Copy README to adyen-web package
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Setup Node.js 18
- name: Setup Node.js 18.18
uses: actions/setup-node@v4
with:
node-version: 18.15
node-version: 18.18

- name: Install Dependencies
run: yarn
Expand All @@ -32,4 +32,4 @@ jobs:
commit: '[ci] release ${{ github.ref_name }}'
title: '[ci] Release ${{ github.ref_name }}'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

strategy:
matrix:
node-version: [18.15]
node-version: [18.18]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.15.0
v18.18.0
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 Adyen
Copyright (c) 2024 Adyen

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ You can also import Adyen Web using a `<script>` tag, as shown in the [Web Compo

## Development

Requirements:
- Node v18.18.0
- Yarn

To run the development environment:

1. Clone [this repository](https://github.com/Adyen/adyen-web).
Expand Down
10 changes: 2 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "@adyen/adyen-web-main",
"private": true,
"keywords": [
"adyen",
"adyen-web",
Expand All @@ -8,7 +9,6 @@
"payments",
"components"
],
"private": true,
"workspaces": [
"packages/*"
],
Expand All @@ -28,17 +28,11 @@
"changeset": "changeset",
"version": "changeset version"
},
"resolutions": {
"**/regenerator-runtime": "^0.13.9"
},
"dependencies": {
"concurrently": "8.2.2"
},
"devDependencies": {
"@adyen/adyen-web-server": "1.0.0",
"@changesets/cli": "2.27.1",
"@changesets/get-github-info": "0.6.0",
"dotenv": "16.4.1",
"concurrently": "8.2.2",
"prettier": "3.2.5"
}
}
2 changes: 1 addition & 1 deletion packages/e2e-playwright/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@playwright/test": "1.39.0",
"cross-env": "^7.0.3",
"css-loader": "^6.0.0",
"dotenv": "^16.0.2",
"dotenv": "16.4.4",
"html-webpack-plugin": "5.5.1",
"sass-loader": "^10.2.0",
"style-loader": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"concurrently": "8.2.2",
"cross-env": "^7.0.3",
"css-loader": "^6.0.0",
"dotenv": "^16.0.3",
"dotenv": "16.4.4",
"html-webpack-plugin": "5.5.1",
"sass-loader": "^10.2.0",
"source-map-loader": "^1.1.3",
Expand Down
10 changes: 5 additions & 5 deletions packages/lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,18 +92,18 @@
"@storybook/manager-api": "7.6.13",
"@storybook/preact": "7.6.13",
"@storybook/preact-vite": "7.6.13",
"@swc/core": "1.4.0",
"@swc/core": "1.4.1",
"@testing-library/jest-dom": "6.4.2",
"@testing-library/preact": "3.2.3",
"@testing-library/preact-hooks": "1.1.0",
"@testing-library/user-event": "14.5.2",
"@types/jest": "29.5.12",
"@typescript-eslint/eslint-plugin": "6.7.0",
"@typescript-eslint/parser": "6.7.0",
"@typescript-eslint/eslint-plugin": "7.0.1",
"@typescript-eslint/parser": "7.0.1",
"autoprefixer": "10.4.17",
"cross-env": "7.0.3",
"cssnano": "6.0.3",
"dotenv": "16.4.1",
"dotenv": "16.4.4",
"enzyme": "3.11.0",
"enzyme-adapter-preact-pure": "4.1.0",
"eslint": "8.56.0",
Expand All @@ -120,7 +120,7 @@
"postcss": "8.4.35",
"react": "18.2.0",
"react-dom": "18.2.0",
"rollup": "4.9.6",
"rollup": "4.11.0",
"rollup-plugin-dts": "6.1.0",
"rollup-plugin-postcss": "4.0.2",
"rollup-plugin-stylelint": "1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"core-js-pure": "^3.25.3",
"cross-env": "^7.0.3",
"css-loader": "^6.0.0",
"dotenv": "^16.0.3",
"dotenv": "16.4.4",
"html-webpack-plugin": "5.5.1",
"postcss": "^8.4.31",
"postcss-loader": "^7.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"devDependencies": {
"cross-env": "^7.0.3",
"dotenv": "^16.0.3",
"dotenv": "16.4.4",
"express": "^4.18.2",
"request": "^2.81.0"
},
Expand Down
Loading

0 comments on commit 16f5a7f

Please sign in to comment.