Commit Graph

26 Commits

Author SHA1 Message Date
Jamie Hewitt a042e4f644
Updatin the codeowners (#2006) 2023-12-14 08:24:27 +03:00
Matthias Kretschmann 0a86abbc84
Revert "default to static build (#1812)" (#1819) 2022-12-05 11:50:53 +00:00
Matthias Kretschmann 28376404a8
default to static build (#1812) 2022-12-05 09:59:57 +00:00
Matthias Kretschmann 4ae4740ec8
set S3 deploy script to Node.js v18 too (#1805) 2022-12-01 12:11:52 +00:00
Matthias Kretschmann 1b612e4194
package updates & technical debt cleanup (#1771)
* package updates

* bump Next.js

* update for Next.js v13 new `Link` behavior

* see https://nextjs.org/docs/upgrading#link-component

* test tweaks, simplify getNetworkDisplayName()

* modify codeclimate excludes

* test tweaks and cleanup

* more cleanup

* switch to Node.js v18

* back to Node.js v16

* temporarily run CI against Node.js v16 & v18

* update codeowners

* fixtures fixes for asset price

* switch to Node.js v18

* package updates

* remark updates, typescript and test fixes

* fix

* test run fixes

* yet another lockfileVersion update

* package updates

* test run fixes
2022-12-01 09:09:40 +00:00
Matthias Kretschmann 365618f5d9
CI tweaks 2022-09-22 14:22:31 +01:00
Matthias Kretschmann 25bdee16b9
static HTML for S3 deployment (#1581)
* static HTML for S3 deployment

* deploy `.out` folder
2022-07-07 14:49:33 +01:00
Matthias Kretschmann d884a9529d
remove Portis (#1529)
* remove Portis

* cleanup
2022-06-21 14:18:40 +01:00
Matthias Kretschmann 3b87122043
Dependency updates (#1500)
* bump all dependencies

* activate dependabot

* bump to ocean.js v1.0.0
2022-06-08 15:38:03 +02:00
mihaisc ed13131f57
fix ci (#1498)
* fix ci

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* add v3

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-06-08 14:31:36 +02:00
claudiaHash 6d2dea8c9d
Atomic components stories (#1422) 2022-05-23 12:29:37 +01:00
Matthias Kretschmann a5819bac58
subgraph typings generation during coverage run (#1421)
* subgraph typings generation during coverage run

* cache node_modules

* ignore src/@types/ for coverage
2022-05-16 14:38:48 +01:00
Matthias Kretschmann 5f3ee32ca2
Test setup tweaks (#1415)
* unused package cleanup

* make storybook use webpack 5

* see https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#webpack-5

* bump react, cleanup

* button story tweaks

* add Alert stories

* bump Jest to v28.1.0

* try original storyshots initialization

* split up build & test CI jobs

* stop testing Node.js v14

* set jest coverage flag

* downgrade paambaati/codeclimate-action again

* move  jest config files, remove coverageReporter override

* collect coverage from `src/` only

* another paambaati/codeclimate-action bump test

* create additional button markup test

* downgrade paambaati/codeclimate-action again

* more downgrade

* render default button without optional style prop

* ignore some folders for Jest

* full coverage for Alert

* more package updates

* add eslint-plugin-testing-library & eslint-plugin-jest-dom

* bump ESLint packages, follow new rules

* start storybook in quiet mode

* update docs

* test storybook build as part of CI

* more testing docs clarification

* add jest:watch command

* add body background colors switch in toolbar

* TypeScript voodoo

* test codeclimate-action@v2.7.3 for default coverageCommand

* downgrade codeclimate-action and running in debug mode

* make coverage artifacts OS agnostic

* subgraph typings as artifact for coverage job

* disable coverage sending job for now

Co-authored-by: Enzo Vezzaro <enzo-vezzaro@live.it>
2022-05-12 11:35:07 +01:00
EnzoVezzaro 89f2521025
Storybook and unit testing setup (#1354)
* install and config Storybook

* create basic component for initial setup

* added testing-library / jest for testing

* restore coverage for testing

* downgrade codeclimate-actions to fix viable formatter issue

* clean up - remove unnecessary components in stories

* update readme with storybook and testing

* remove unnecessary file extensions on stories config

* remove babel and moved jest-dom to devDependencies

* delete introduction stories

* change test to .tsx

* change testing description on docs

* added interface to button story

* added build phase and update test phase

* restore build in ci

* added storyshots (automate testing) to Storybook

* simplify and update codeclimate-action

* restore workable version of codeclimate-action

* test unified test action for CI

* Revert "test unified test action for CI"

This reverts commit 039cbf3485.

* test documented solutions for CI

* fix error on coverage CI

* added codeCoverage on jest setup

* upload coverage report from jest

* added download artifact to coverage CI

* added upload artifact to coverage CI

* remove collectCoverageFrom

* moved test step on CI

* remove coverageLocations to allow default

* load Ocean typography into storybook

* skip all PRs coming from dependabot

* improve docs (Storybook)

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-05-09 14:33:44 +01:00
Matthias Kretschmann 4576151e0c
CodeQL runs against v4 branch 2022-02-14 15:38:05 +00:00
Matthias Kretschmann 5da468c831
CI runs for v4 branch (#1095)
* make v4 CI runs work

* update code owners
2022-02-14 14:47:10 +00:00
Matthias Kretschmann 942bd4a77b
test runs against Node.js v16 (#989) 2022-01-13 11:57:08 +00:00
Matthias Kretschmann 1cf69c2423
fix next.js env vars 2021-10-27 18:07:11 +01:00
Matthias Kretschmann 3729c63581
migrate to Next.js (#935)
* migrate to Next.js

* migrate scripts

* generate markdown pages

* make all the markdown work

* fix profile, fix image loading

* git+ssh → git+https, again

* bump packages

* maybe windows build fix

* add public to gitignore

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* Next.js v12! Webpack 5! No build hacks anymore

* json import fixes

* fixes

Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2021-10-27 11:30:32 +01:00
Matthias Kretschmann 7279a642f6
docs updates, remove GATSBY_NETWORK env var 2021-07-27 16:12:54 +02:00
Matthias Kretschmann b398106238
Update CODEOWNERS (#751) 2021-07-23 10:49:04 +02:00
Matthias Kretschmann a951f9bf3b
replace Travis with GitHub Actions workflow (#358)
* replace Travis with GitHub Actions workflow

* fix prettier on Windows

* remove PascalCasing bash one-liner for one use case

* use mkdirp to workaround Windows

* cache tweaks

* move s3 deploy to own workflow

* upload artifacts for debug

* path tweak

* debug

* apollo:codegen without folder pre-creation

* debug: activate s3 deploy for all branches

* pass env vars to deployment build

* more env var passing

* deploy main branch pushes only
2021-02-02 15:07:02 +02:00
Matthias Kretschmann ad864cc249
Dev experience tweaks (#354)
* add VS Code workspace settings

* add everything required for auto-formatting on filesave
* add list of suggested extensions

* add pre-commit hook for `npm run format`

* update code style docs

* make pre-commit work

* update docs

Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2021-01-28 17:28:32 +01:00
Matthias Kretschmann 2f6906c208
Create codeql-analysis.yml (#321) 2021-01-20 14:57:14 +01:00
Matthias Kretschmann 38ccfc635e
refactor for Gatsby, update all the things 2020-06-30 11:28:49 +02:00
alexcos20 ebd5ba9495 first commit 2020-05-07 09:03:30 +03:00