Skip to content

Commit

Permalink
update: node version 12 to 18
Browse files Browse the repository at this point in the history
  • Loading branch information
henriquemod committed Nov 9, 2022
1 parent 340b5c7 commit 199a719
Show file tree
Hide file tree
Showing 8 changed files with 2,765 additions and 1,754 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

strategy:
matrix:
node-version: [10.x, 12.x]
node-version: [18.x]

steps:
- uses: actions/checkout@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-s3.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Deploy

on:
on:
push:
branches:
- master
Expand All @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
node-version: 18
registry-url: https://registry.npmjs.org/
- run: |
yarn
Expand All @@ -24,4 +24,4 @@ jobs:
aws-secret-access-key: ${{ secrets.AWS_ACCESS_SECRET }}
aws-region: 'us-east-1'
- name: Deploy to S3
run: aws s3 sync docs s3://flipper-ui.ngi.com.br --delete
run: aws s3 sync docs s3://flipper-ui.ngi.com.br --delete
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: Release

on:
on:
release:
types: [created]

jobs:

publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
node-version: 18
registry-url: https://registry.npmjs.org/
- run: yarn
- run: yarn build
Expand Down
18 changes: 9 additions & 9 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module.exports = {
"stories": [
"../src/**/*.stories.mdx",
"../src/**/*.stories.@(js|jsx|ts|tsx)"
],
"addons": [
"@storybook/addon-links",
"@storybook/addon-essentials"
]
}
stories: [
'../src/**/*.stories.mdx',
'../src/**/*.stories.@(js|jsx|ts|tsx)'
],
core: {
builder: 'webpack5'
},
addons: ['@storybook/addon-links', '@storybook/addon-essentials']
}
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 12.22.10
nodejs 18.12.1
1 change: 1 addition & 0 deletions .wakatime-project
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@p&d/flipper-ui
31 changes: 18 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flipper-ui",
"version": "0.25.17",
"version": "0.26.00",
"description": "",
"main": "dist/index.js",
"homepage": "https://flipper-ui.ngi.com.br/",
Expand Down Expand Up @@ -43,16 +43,19 @@
"uuid": "9.0.0"
},
"devDependencies": {
"@babel/cli": "7.10.0",
"@babel/core": "7.9.0",
"@babel/plugin-transform-runtime": "7.9.0",
"@babel/preset-env": "7.9.0",
"@babel/preset-react": "7.9.0",
"@babel/preset-typescript": "7.9.0",
"@storybook/addon-actions": "6.3.12",
"@storybook/addon-essentials": "6.3.12",
"@storybook/addon-links": "6.3.12",
"@storybook/react": "6.3.12",
"@babel/cli": "7.19.3",
"@babel/core": "7.20.2",
"@babel/plugin-transform-runtime": "7.19.6",
"@babel/preset-env": "7.20.2",
"@babel/preset-react": "7.18.6",
"@babel/preset-typescript": "7.18.6",
"@storybook/addon-actions": "6.5.13",
"@storybook/addon-essentials": "6.5.13",
"@storybook/addon-links": "6.5.13",
"@storybook/builder-webpack5": "6.5.13",
"@storybook/manager-webpack5": "6.5.13",
"@storybook/react": "6.5.13",
"webpack": "5",
"@testing-library/react": "9.3.2",
"@types/faker": "5.5.3",
"@types/jest": "24.0.22",
Expand All @@ -63,7 +66,8 @@
"@types/uuid": "8.3.4",
"@typescript-eslint/eslint-plugin": "1.6.0",
"@typescript-eslint/parser": "1.6.0",
"babel-loader": "8.2.3",
"babel-loader": "8.2.5",
"date-fns": "2.4.1",
"babel-plugin-transform-class-properties": "6.24.1",
"babel-plugin-transform-imports": "2.0.0",
"eslint": "5.16.0",
Expand All @@ -84,7 +88,8 @@
},
"peerDependencies": {
"react": "^16.8.0",
"styled-components": "^5.0.0"
"styled-components": "^5.0.0",
"date-fns": "2.4.1"
},
"jest": {
"setupFilesAfterEnv": [
Expand Down
Loading

0 comments on commit 199a719

Please sign in to comment.