Skip to content

Commit 4e0761b

Browse files
authored
Update tooling (#434)
* update storybook, remove unused packages * update react packages, add dependabot * update eslint config, bump version * add logo * remove license headers
1 parent 8dda75b commit 4e0761b

16 files changed

+15963
-21495
lines changed

.eslintrc.js

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* Copyright (c) 2021 Nordcloud Oy or its affiliates. All Rights Reserved. */
2-
31
// Display some of the warnings only while developing, prevent CI build from failing
42
const isProd = process.env.NODE_ENV === "production";
53

.github/dependabot.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: 'npm' # See documentation for possible values
9+
directory: '/' # Location of package manifests
10+
schedule:
11+
interval: 'monthly'
12+
open-pull-requests-limit: 5
13+
assignees:
14+
- '@nordcloud/frontend'

.github/workflows/test.yml

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# Copyright 2021 Nordcloud Oy or its affiliates. All Rights Reserved.
2-
31
name: Action
42
on:
53
pull_request:

.storybook/theme.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { create } from "@storybook/theming/create";
2+
import logo from "../assets/nclogo.png";
23

34
export default create({
45
base: "light",
@@ -33,6 +34,5 @@ export default create({
3334

3435
brandTitle: "GNUI",
3536

36-
brandImage:
37-
"https://nordcloud.com/wp-content/themes/nordcloud/images/logo.svg",
37+
brandImage: logo,
3838
});

assets/nclogo.png

4.46 KB
Loading

jest.config.js

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* Copyright (c) 2021 Nordcloud Oy or its affiliates. All Rights Reserved. */
2-
31
// jest.config.js
42
/** @type {import('@jest/types').Config.InitialOptions} */
53
const config = {

0 commit comments

Comments
 (0)