@comicrelief/component-library 5.6.0 → 5.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/main.yml +131 -0
- package/.github/workflows/pr-checks.yml +17 -0
- package/README.md +6 -6
- package/dist/components/Atoms/ButtonWithStates/ButtonWithStates.js +91 -0
- package/dist/components/Atoms/ButtonWithStates/ButtonWithStates.md +13 -0
- package/dist/components/Atoms/Link/Link.js +17 -4
- package/dist/components/Molecules/Lookup/Lookup.js +201 -0
- package/dist/components/Molecules/SimpleSchoolLookup/SimpleSchoolLookup.js +112 -0
- package/dist/components/Molecules/SimpleSchoolLookup/SimpleSchoolLookup.md +7 -0
- package/dist/components/Molecules/SingleMessage/__snapshots__/SingleMessage.test.js.snap +8 -0
- package/dist/components/Organisms/Footer/Footer.js +4 -3
- package/dist/components/Organisms/Footer/Footer.md +8 -1
- package/dist/components/Organisms/Footer/Nav/Nav.js +10 -5
- package/dist/index.js +24 -0
- package/package.json +2 -1
- package/src/components/Atoms/ButtonWithStates/ButtonWithStates.js +64 -0
- package/src/components/Atoms/ButtonWithStates/ButtonWithStates.md +13 -0
- package/src/components/Atoms/Link/Link.js +12 -4
- package/src/components/Molecules/Lookup/Lookup.js +148 -0
- package/src/components/Molecules/SimpleSchoolLookup/SimpleSchoolLookup.js +63 -0
- package/src/components/Molecules/SimpleSchoolLookup/SimpleSchoolLookup.md +7 -0
- package/src/components/Molecules/SingleMessage/__snapshots__/SingleMessage.test.js.snap +8 -0
- package/src/components/Organisms/Footer/Footer.js +5 -3
- package/src/components/Organisms/Footer/Footer.md +8 -1
- package/src/components/Organisms/Footer/Nav/Nav.js +3 -2
- package/src/index.js +3 -0
- package/.circleci/config.yml +0 -54
package/.circleci/config.yml
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
# Javascript Node CircleCI 2.0 configuration file
|
|
2
|
-
#
|
|
3
|
-
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
|
|
4
|
-
#
|
|
5
|
-
version: 2
|
|
6
|
-
jobs:
|
|
7
|
-
build:
|
|
8
|
-
docker:
|
|
9
|
-
|
|
10
|
-
# See https://github.com/cypress-io/cypress-docker-images
|
|
11
|
-
- image: cypress/browsers:node14.16.0-chrome89-ff77
|
|
12
|
-
environment:
|
|
13
|
-
TERM: xterm
|
|
14
|
-
NODE_OPTIONS: --max_old_space_size=4096
|
|
15
|
-
|
|
16
|
-
working_directory: ~/repo
|
|
17
|
-
|
|
18
|
-
steps:
|
|
19
|
-
- checkout
|
|
20
|
-
|
|
21
|
-
# Download and cache dependencies
|
|
22
|
-
- restore_cache:
|
|
23
|
-
key: dependency-cache-{{ checksum "yarn.lock" }}
|
|
24
|
-
|
|
25
|
-
- run: yarn install
|
|
26
|
-
|
|
27
|
-
- save_cache:
|
|
28
|
-
key: dependency-cache-{{ checksum "yarn.lock" }}
|
|
29
|
-
paths:
|
|
30
|
-
- node_modules
|
|
31
|
-
- /root/.cache/Cypress
|
|
32
|
-
|
|
33
|
-
# run tests!
|
|
34
|
-
- run:
|
|
35
|
-
name: Test Code Style
|
|
36
|
-
command: yarn lint
|
|
37
|
-
|
|
38
|
-
- run:
|
|
39
|
-
name: Run unit tests
|
|
40
|
-
command: yarn test --maxWorkers=2
|
|
41
|
-
|
|
42
|
-
- run:
|
|
43
|
-
name: Release to npm
|
|
44
|
-
command: yarn semantic-release
|
|
45
|
-
|
|
46
|
-
- run:
|
|
47
|
-
name: Run feature tests
|
|
48
|
-
command: yarn feature-test
|
|
49
|
-
|
|
50
|
-
- store_artifacts:
|
|
51
|
-
path: cypress/videos
|
|
52
|
-
|
|
53
|
-
- store_artifacts:
|
|
54
|
-
path: cypress/screenshots
|