Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🤖 Release PR #3

Open
wants to merge 261 commits into
base: production
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
261 commits
Select commit Hold shift + click to select a range
8c51261
fix: credential generation
chrismclarke Feb 26, 2022
59f3bd3
feat: add frontend binding
chrismclarke Feb 26, 2022
238e11a
chore: remove legacy seed extract scripts
chrismclarke Feb 27, 2022
a7cde98
fix: support webpack build of shared
chrismclarke Feb 27, 2022
fd33e33
refactor: seed functions
chrismclarke Feb 27, 2022
9058d82
chore: add export
chrismclarke Feb 27, 2022
d34210f
feat: add initial export
chrismclarke Feb 27, 2022
6ed629d
docs: update readme
chrismclarke Feb 27, 2022
e5a855e
docs: introduces overview of Components package
thisislawatts Mar 29, 2022
fe2a41a
chore: prevent redirect of static assets
chrismclarke Apr 1, 2022
f924e5f
chore: remove additional headers
chrismclarke Apr 4, 2022
1d0afbb
Merge branch 'master' into fix/sw-caching
chrismclarke Apr 4, 2022
ea2dd40
chore: update workbox cache expiration and headers
chrismclarke Apr 5, 2022
db83f7e
chore: add svgs, css and map files to hosting cache-control
chrismclarke Apr 5, 2022
9897102
chore: revert cacheable headers
chrismclarke Apr 5, 2022
fe02983
chore: revert expiration
chrismclarke Apr 5, 2022
ce333e4
chore: separate maptile cache and rename static cache
chrismclarke Apr 5, 2022
a9f8b98
chore: add cors to request
chrismclarke Apr 5, 2022
45d2386
chore: make tile hostnames explicit
chrismclarke Apr 5, 2022
dceff77
chore(ci): lint code style and formatting
thisislawatts Apr 5, 2022
d56aa6b
chore: apply formatting
thisislawatts Apr 5, 2022
57ee468
docs: add information about how to apply formatters to the codebase
thisislawatts Apr 6, 2022
f7140a4
Merge pull request #1583 from ONEARMY/fix/sw-caching
chrismclarke Apr 6, 2022
aff2cb1
Merge pull request #1595 from ONEARMY/chore/ci-validate-document-style
chrismclarke Apr 6, 2022
9b99201
chore: format code
chrismclarke Apr 7, 2022
5a6b863
Merge pull request #1573 from ONEARMY/docs/adds-documentation-for-com…
chrismclarke Apr 7, 2022
d3d260f
feat: add useful button to research module
chrismclarke Apr 7, 2022
97c4d30
chore: make npm scripts use concurrently
chrismclarke Apr 7, 2022
040ff78
chore: add beta-tester authwrapper
chrismclarke Apr 7, 2022
4b4936e
Merge branch 'master' of https://github.com/ONEARMY/community-platfor…
chrismclarke Apr 7, 2022
5d0c911
chore: format code
chrismclarke Apr 7, 2022
2f6277d
chore: apply formatting
thisislawatts Apr 7, 2022
e0764f8
Merge pull request #1604 from ONEARMY/chore/apply-formatting-update
thisislawatts Apr 7, 2022
0838a9f
Merge pull request #1600 from ONEARMY/chore/format-code-20220406
chrismclarke Apr 7, 2022
9cdb3d6
Merge branch 'master' into pr/1432-rebase-1
chrismclarke Apr 8, 2022
a423781
Merge branch 'master' into chore/npm-scripts-concurrently
chrismclarke Apr 8, 2022
1903b99
Merge pull request #1603 from ONEARMY/chore/npm-scripts-concurrently
chrismclarke Apr 8, 2022
7031c83
chore: refactor emulator-only functions
chrismclarke Apr 8, 2022
2b2d15e
feat: add bootstrap methods
chrismclarke Apr 8, 2022
05c740f
Merge pull request #1602 from ONEARMY/pr/1432-rebase-1
davehakkens Apr 9, 2022
da42bac
feat: add notifications for comments on research
ppraczyk Apr 9, 2022
10e9c3c
feat: merged slug and url for notifications
ppraczyk Apr 10, 2022
001a464
fix: howto vote display
chrismclarke Apr 10, 2022
bbca63d
chore: move researchListItem
chrismclarke Apr 10, 2022
2656339
fix: dev_site role ignore
chrismclarke Apr 10, 2022
22fd2d5
refactor: howto aggregation triggers
chrismclarke Apr 10, 2022
b3d3df6
refactor: research aggregation triggers
chrismclarke Apr 10, 2022
0467ad4
feat: add aggregation stop
chrismclarke Apr 10, 2022
33bb4ce
fix: show counter for loaded but undefined aggregation
chrismclarke Apr 10, 2022
835e645
feat: add bootstrap script
chrismclarke Apr 11, 2022
a1d219a
chore: improve logging
chrismclarke Apr 11, 2022
3d8e4c6
Merge branch 'master' of https://github.com/ONEARMY/community-platfor…
chrismclarke Apr 11, 2022
9fb658e
chore: add build script for oa-shared
chrismclarke Apr 11, 2022
563061b
fix: emulator start scripts
chrismclarke Apr 11, 2022
ca50002
chore: code tidying
chrismclarke Apr 11, 2022
e9f2ef7
fix: component props
chrismclarke Apr 11, 2022
94ec237
fix: users_verified init
chrismclarke Apr 11, 2022
19a6202
refactor: common usefulstats
chrismclarke Apr 11, 2022
d146d95
feat: add aggregations optimistic override
chrismclarke Apr 11, 2022
ef4c79b
fix: vote click triggers
chrismclarke Apr 11, 2022
ba659b6
fix: aggregation default values and types
chrismclarke Apr 11, 2022
655890b
chore: fix import
chrismclarke Apr 11, 2022
b97e4e1
fix: initial value increment and tests
chrismclarke Apr 12, 2022
64f9bed
fix: change update order
chrismclarke Apr 12, 2022
1a3d498
Merge pull request #1608 from ONEARMY/fix/component-props
chrismclarke Apr 12, 2022
d2aec72
feat: add banner for users with incomplete profile
Apr 12, 2022
3697669
chore: name tidying
chrismclarke Apr 13, 2022
1a27a65
chore: code tidying
chrismclarke Apr 13, 2022
569a0e4
chore: remove beta tester requirements
chrismclarke Apr 13, 2022
f7b36a6
Merge branch 'master' into fix/aggregations-refresh
chrismclarke Apr 13, 2022
d335a35
chore: remove unused import
chrismclarke Apr 13, 2022
93b2d2e
Merge branch 'master' of https://github.com/ONEARMY/community-platfor…
chrismclarke Apr 13, 2022
4dbd153
Merge pull request #1607 from ONEARMY/fix/aggregations-refresh
chrismclarke Apr 13, 2022
2e205d8
feat: globby matching
chrismclarke Apr 13, 2022
3251ffb
chore: update yarn lock
chrismclarke Apr 13, 2022
0b4aa20
chore: fix startup scripts
chrismclarke Apr 13, 2022
f2dae79
Merge branch 'master' of https://github.com/ONEARMY/community-platfor…
chrismclarke Apr 13, 2022
8a1545e
chore: troubleshoot frontend changes
chrismclarke Apr 13, 2022
4f2bb0e
feat: notifications -> linter fixes
ppraczyk Apr 14, 2022
d874ce7
feat: notifications to comments on research
ppraczyk Apr 14, 2022
53f7154
feat: notifications comments research
ppraczyk Apr 16, 2022
c2c0ff0
fix: change member icon PK instance
amandaqiu1 Apr 18, 2022
7f1ad7c
Merge pull request #1606 from patrycjapraczyk/feature/reseach-comment…
thisislawatts Apr 21, 2022
b724f9a
Merge pull request #1598 from jojudre/notificationBar
thisislawatts Apr 21, 2022
dec6d5f
Merge pull request #1612 from ossd-sp22/1571-badge-icon
thisislawatts Apr 21, 2022
641e8d5
chore: prefer typed imports
thisislawatts Apr 5, 2022
9a0bf6a
chore: introduce eslint --fix method
thisislawatts Apr 5, 2022
81d00bf
chore: re-order scripts
thisislawatts Apr 6, 2022
77149fd
chore: reorder format commands
thisislawatts Apr 21, 2022
c8c3419
chore: apply eslint --fix to codebase
thisislawatts Apr 21, 2022
ba91813
Merge pull request #1594 from ONEARMY/chore/prefer-typed-imports
thisislawatts Apr 21, 2022
331f8c1
chore: fix sdk integration
chrismclarke Apr 22, 2022
2c661e5
feat: add support for remote repo push and pull
chrismclarke Apr 22, 2022
07a3c59
Merge branch 'master' of https://github.com/ONEARMY/community-platfor…
chrismclarke Apr 22, 2022
d89401e
chore: update readme
chrismclarke Apr 22, 2022
1715381
chore: code tidying
chrismclarke Apr 22, 2022
4e3b602
feat: added notifications for useful in research
ryanwbass Apr 23, 2022
d0bdfe3
fix: formatting fix
ryanwbass Apr 23, 2022
a4e80de
chore: fix tests
chrismclarke Apr 25, 2022
8e563de
test: fix expected count
chrismclarke Apr 25, 2022
47c99d9
test: reduce wait times
chrismclarke Apr 25, 2022
ecda8a8
chore: test updates
chrismclarke Apr 25, 2022
d2fb5a9
test: add login test
chrismclarke Apr 25, 2022
24adf0e
Merge pull request #1615 from ryanwbass/1611-research-notifications
chrismclarke Apr 25, 2022
209c363
chore: add filename linting
chrismclarke Apr 25, 2022
fb74d2d
Merge branch 'master' of https://github.com/ONEARMY/community-platfor…
chrismclarke Apr 25, 2022
080e9c0
chore: rename dockerfile
chrismclarke Apr 25, 2022
85c0291
feat: add seed data scripts
chrismclarke Apr 25, 2022
f52c660
feat: add docker build action
chrismclarke Apr 26, 2022
c625755
chore: ci test
chrismclarke Apr 26, 2022
4e198f4
feat: add dockerhub push
chrismclarke Apr 26, 2022
1676314
fix: docker image name
chrismclarke Apr 26, 2022
f19d9e7
fix: docker image name
chrismclarke Apr 26, 2022
1a586d5
chore: update image tags
chrismclarke Apr 26, 2022
ce38b9a
chore: code tidying
chrismclarke Apr 26, 2022
b692194
docs: add emulators docker docs
chrismclarke Apr 26, 2022
49e57e1
docs: update firebase-emulators docker docs
chrismclarke Apr 26, 2022
27ad0d0
chore: tidy docs
chrismclarke Apr 26, 2022
fa6eaa0
chore: update default repo
chrismclarke Apr 26, 2022
3e3825e
chore: add fn timeout and seed data check
chrismclarke Apr 26, 2022
fa8f7f9
chore: bump seed version
chrismclarke Apr 26, 2022
eb3e0d4
chore: add image pull fail handler
chrismclarke Apr 26, 2022
5c32f73
chore: additional timeout fix
chrismclarke Apr 26, 2022
1cc3f2e
chore: add cli groupings
chrismclarke Apr 26, 2022
83c82c8
chore: update cli colors
chrismclarke Apr 26, 2022
3cd77fa
chore: update emulator data
chrismclarke Apr 26, 2022
47a9a82
fix: db user profile seeding
chrismclarke Apr 26, 2022
8298fa7
feat: new theme for Fixing Fashion
thisislawatts Apr 6, 2022
176fad7
Merge pull request #1597 from ONEARMY/feat/init-fixing-fashion-theme
thisislawatts Apr 27, 2022
95f8ddc
feat: add user profile edit for admins
chrismclarke Apr 27, 2022
7535b20
docs: update emulator docs
chrismclarke Apr 27, 2022
8829014
chore: update gh action triggers
chrismclarke Apr 27, 2022
50a027c
Merge pull request #1501 from ONEARMY/spike/docker-emulators
chrismclarke Apr 27, 2022
3f1c8eb
feat: add component storybook to docs
chrismclarke Apr 27, 2022
f1f894c
Merge branch 'master' into feat/admin-profile-edit
chrismclarke Apr 27, 2022
f8c98ac
chore: introduce script for creating new components
thisislawatts Apr 27, 2022
e8ab432
docs(components): reintroduce themes for Storybook documentation
thisislawatts Apr 27, 2022
7c33a38
chore: use Mustache for the new component templating flow
thisislawatts Apr 27, 2022
698c36e
Merge pull request #1623 from ONEARMY/feat/storybook-docs
thisislawatts Apr 27, 2022
d2216f1
chore: add support for additional admins in authRoute
chrismclarke Apr 27, 2022
355f7b0
chore: update yarn lock
chrismclarke Apr 27, 2022
3e1d9ab
chore: add ts-node dep
chrismclarke Apr 27, 2022
4edfd3c
Merge pull request #1621 from ONEARMY/chore/introduce-component-scaffold
thisislawatts Apr 27, 2022
d849d0b
Merge pull request #1625 from ONEARMY/fix/yarn-lock
chrismclarke Apr 27, 2022
35fe3a5
Merge branch 'master' into feat/admin-profile-edit
chrismclarke Apr 27, 2022
306cfb7
fix: component template
chrismclarke Apr 27, 2022
d0dc76c
chore: revert import
chrismclarke Apr 27, 2022
82e0c77
chore: simplify template
chrismclarke Apr 27, 2022
c5f0d1e
chore: fix template
chrismclarke Apr 27, 2022
f444dfb
chore(ci): only deploy fixing fashion from master
thisislawatts Apr 28, 2022
02f96b4
Merge pull request #1630 from ONEARMY/chore/ci-only-deploy-from-master
thisislawatts Apr 28, 2022
4658874
chore: fix doc links
chrismclarke Apr 28, 2022
40c3bfa
fix: svgr resolution
chrismclarke Apr 28, 2022
dd86b5c
Merge branch 'master' of https://github.com/ONEARMY/community-platfor…
chrismclarke Apr 28, 2022
fa85fd8
chore: rename components
chrismclarke Apr 28, 2022
7f83243
Merge pull request #1632 from ONEARMY/chore/doc-links
chrismclarke Apr 28, 2022
fb213fa
chore: update react-ga to v4
chrismclarke Apr 28, 2022
8e7898a
feat: increase character limit comment
Apr 28, 2022
1b0c515
Merge pull request #1634 from ONEARMY/chore/update-react-ga-4
chrismclarke Apr 28, 2022
76e8a16
fix: add functions build wait for docker emulator
chrismclarke Apr 28, 2022
3344e59
chore: code tidying
chrismclarke Apr 28, 2022
6a41f0b
Merge branch 'master' of https://github.com/ONEARMY/community-platfor…
chrismclarke Apr 28, 2022
259f677
refactor: userAdmin component
chrismclarke Apr 28, 2022
69ea8fd
test: update seed data
chrismclarke Apr 28, 2022
4c00b48
test: add profile spec tests
chrismclarke Apr 28, 2022
8f30df4
chore: fix test
chrismclarke Apr 29, 2022
c93c9af
fix: local user update
chrismclarke Apr 29, 2022
bd8995f
Merge pull request #1636 from ONEARMY/fix/emulator-functions-build
davehakkens Apr 29, 2022
c0bce62
Merge pull request #1633 from ONEARMY/fix/svgr-resolution
chrismclarke Apr 30, 2022
4164f83
Merge pull request #1628 from jojudre/researchComment
thisislawatts Apr 30, 2022
e15e08c
Merge pull request #1627 from ONEARMY/fix/component-template
chrismclarke Apr 30, 2022
293751a
chore: align colours and namespaces when using concurrently
thisislawatts Apr 30, 2022
c25327a
feat: mocks AuthWrapper
thisislawatts Apr 30, 2022
35b8054
feat: refactor to remove aggregations dependency from comments
thisislawatts Apr 30, 2022
3ddfa1d
feat: automatically create links in comment content
thisislawatts Apr 30, 2022
71db80a
feat: load badges from theme
thisislawatts Apr 30, 2022
926a644
feat: introduces new MemberBadge component
thisislawatts Apr 30, 2022
6db864b
Merge pull request #1639 from ONEARMY/feat/mock-out-AuthWrapper-in-co…
thisislawatts Apr 30, 2022
726eee3
Merge pull request #1640 from ONEARMY/feat/load-badges-from-theme
davehakkens Apr 30, 2022
1f433c2
Merge pull request #1637 from ONEARMY/chore/adopt-namespace-and-colours
thisislawatts Apr 30, 2022
0f95e2c
chore(ci): adjust order of Release generation
thisislawatts May 1, 2022
aad2e90
Merge pull request #1642 from ONEARMY/chore/adjust-order-for-release-…
thisislawatts May 1, 2022
c2492c1
feat: adding categories
Apr 27, 2022
8e4ebd7
chore: apply formatting
thisislawatts May 1, 2022
8c6856f
chore: increment CACHE_NUMBER
thisislawatts May 1, 2022
ce47db3
fix: call super.init
thisislawatts May 1, 2022
1d72d22
chore: tidy up references to NEW_TAG
thisislawatts May 1, 2022
6ae8345
chore: only release on master
thisislawatts May 2, 2022
95c558b
Merge pull request #1648 from ONEARMY/chore/only-release-on-master
thisislawatts May 2, 2022
005bb74
bug fixed
hunjunChoi May 3, 2022
406a5ea
Merge branch 'master' into 1610-bug-mobile
hunjunChoi May 3, 2022
d60fb06
chore: change url path
chrismclarke May 3, 2022
a1d9c01
Merge branch 'master' of https://github.com/OneArmyWorld/onearmy into…
chrismclarke May 3, 2022
0e03afa
chore: update admin edit link
chrismclarke May 3, 2022
19c5786
chore: add back tests
chrismclarke May 3, 2022
2a750b2
Merge pull request #1620 from ONEARMY/feat/admin-profile-edit
chrismclarke May 3, 2022
8add46d
feat: adding category for howto
May 5, 2022
5ef6d69
docs: adds design contribution docs
franknoirot May 7, 2022
10df9a0
docs: simplify sentence structure and remove Just
thisislawatts May 8, 2022
69f3d94
Merge pull request #1655 from franknoirot/master
thisislawatts May 8, 2022
0a2475d
Merge pull request #1624 from jojudre/categoriesHowto
thisislawatts May 9, 2022
061ed78
Merge pull request #1659 from ONEARMY/docs/adjust-wording
thisislawatts May 9, 2022
e433300
chore: introduce check for spelling within documentation
thisislawatts May 7, 2022
cbd29f7
chore: extend accepted words and address spelling mistakes
thisislawatts May 7, 2022
09e2b0a
docs: extend dictionary to include maintainer usernames
thisislawatts May 11, 2022
dc722bd
Merge pull request #1657 from ONEARMY/chore/ci-introduce-spell-check-…
thisislawatts May 11, 2022
de657e7
docs: use CSF for documenting components
thisislawatts May 13, 2022
f25d52a
chore: update new-component file to use csf
thisislawatts May 13, 2022
e1a05a1
chore: ensure build argument is called
thisislawatts May 14, 2022
d706026
chore: drop empty component
thisislawatts May 15, 2022
56c851c
feat: use Text component from theme-ui
thisislawatts May 14, 2022
08eaec7
chore: add filename linting
chrismclarke Apr 25, 2022
089816d
chore: rename components
chrismclarke Apr 28, 2022
12cf349
chore: introduce all contributors
thisislawatts May 16, 2022
fb49f52
Merge pull request #1666 from ONEARMY/feat/drop-empty-component
thisislawatts May 16, 2022
166e928
Merge pull request #1669 from ONEARMY/chore/introduce-all-contributors
thisislawatts May 16, 2022
9afa5ca
docs: update README.md [skip ci]
allcontributors[bot] May 16, 2022
c07199d
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] May 16, 2022
18fd48b
chore: adds maintainers back
thisislawatts May 16, 2022
1bdbc46
Merge pull request #1672 from ONEARMY/all-contributors/add-davehakkens
thisislawatts May 16, 2022
2fe85b6
Merge pull request #1661 from ONEARMY/docs/switch-to-csf-for-document…
thisislawatts May 17, 2022
2621485
chore: expand job trigger to include components
thisislawatts May 17, 2022
51f888d
Merge pull request #1674 from ONEARMY/chore/expand-job-trigger-to-inc…
thisislawatts May 17, 2022
7d2a65c
Merge pull request #1663 from ONEARMY/chore/move-Text-to-components-lib
davehakkens May 17, 2022
9deba12
docs: make yarn v3 requirement explicit
thisislawatts May 17, 2022
8096508
feat: removes collapsible behaviour from settings
thisislawatts May 18, 2022
b842c2d
Merge pull request #1679 from ONEARMY/feat/removes-collapisble-behavi…
thisislawatts May 18, 2022
1ccd042
Merge pull request #1678 from ONEARMY/docs/add-yarn-v3-requirement
davehakkens May 18, 2022
d8d720d
feat: drop duplicate Flex component
thisislawatts May 15, 2022
88cdc4b
Merge pull request #1665 from ONEARMY/feat/drop-duplicate-Flex-component
davehakkens May 18, 2022
83f869f
feat: configure user ProfileTypes based on environmental-variables
thisislawatts May 16, 2022
013f5f5
Merge pull request #1668 from ONEARMY/spike/alternative-configuration…
davehakkens May 18, 2022
696d13b
fix: alignment of moderation text
thisislawatts May 19, 2022
affbb05
Merge branch 'master' of https://github.com/ONEARMY/community-platfor…
chrismclarke May 19, 2022
2794d3b
Merge branch 'chore/filename-linting' of https://github.com/ONEARMY/c…
chrismclarke May 19, 2022
b9dff92
chore: update yarn lock
chrismclarke May 19, 2022
47f058c
chore: revert text change
chrismclarke May 19, 2022
7a65016
chore: fix typo
chrismclarke May 19, 2022
ef2cb51
Merge pull request #1616 from ONEARMY/chore/filename-linting
thisislawatts May 19, 2022
05c4597
docs: re-add fork step in requirements
May 19, 2022
110ddd5
Merge pull request #1683 from amuroBosetti/docs/re-add-fork-step-in-r…
thisislawatts May 19, 2022
62161ba
docs: update README.md [skip ci]
allcontributors[bot] May 19, 2022
1ad0267
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] May 19, 2022
7121fee
fix: use relative imports to ensure loading outside of root tsconfig.…
thisislawatts May 19, 2022
7bc6aac
Merge pull request #1685 from ONEARMY/fix/unblocks-functions-deployment
thisislawatts May 19, 2022
9cbb7a8
Merge pull request #1684 from ONEARMY/all-contributors/add-amuroBosetti
thisislawatts May 19, 2022
3bc60ed
chore: remove contributors from spell check
thisislawatts May 19, 2022
cbd4fe5
Merge pull request #1686 from ONEARMY/chore/remove-contributors-from-…
thisislawatts May 19, 2022
fea1366
Merge pull request #1682 from ONEARMY/fix/alignment-of-moderation-text
thisislawatts May 21, 2022
655e04b
Merge branch 'ONEARMY:master' into master
amandaqiu1 May 21, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
65 changes: 65 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"files": [
"README.md"
],
"imageSize": 60,
"contributorsPerLine": 7,
"contributorsSortAlphabetically": false,
"badgeTemplate": "[![All Contributors](https://img.shields.io/badge/all_contributors-<%= contributors.length %>-orange.svg?style=flat-square)](#contributors)",
"skipCi": true,
"types": {
"maintainer": {
"symbol": "💪",
"description": "Maintainer",
"link": "[<%= symbol %>](\"<%= description %>\"),"
}
},
"contributors": [
{
"login": "davehakkens",
"name": "Dave Hakkens",
"avatar_url": "https://avatars.githubusercontent.com/u/13672737?v=4",
"profile": "http://davehakkens.nl",
"contributions": [
"design",
"ideas",
"projectManagement",
"maintainer"
]
},
{
"login": "chrismclarke",
"name": "Chris Clarke",
"avatar_url": "https://avatars.githubusercontent.com/u/10515065?v=4",
"profile": "https://c2dev.co.uk/",
"contributions": [
"code",
"maintainer"
]
},
{
"login": "thisislawatts",
"name": "Luke Watts",
"avatar_url": "https://avatars.githubusercontent.com/u/472589?v=4",
"profile": "https://thisis.la/",
"contributions": [
"code",
"maintainer"
]
},
{
"login": "amuroBosetti",
"name": "Mauro Bosetti",
"avatar_url": "https://avatars.githubusercontent.com/u/46928545?v=4",
"profile": "https://github.com/amuroBosetti",
"contributions": [
"doc"
]
}
],
"projectName": "community-platform",
"projectOwner": "ONEARMY",
"repoType": "github",
"repoHost": "https://github.com",
"commitConvention": "none"
}
74 changes: 62 additions & 12 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,17 @@ examples:
# Jobs - Independently specified lists of tasks and environments for execution
######################################################################################################
jobs:
spellcheck:
docker: *docker
resource_class: small
steps:
- checkout
- attach_workspace:
at: '.'
- run:
name: Check spelling on documentation
command: |
npx cspell "**/*.md" --config ./.cspell.json
lint-commits:
docker: *docker
resource_class: small
Expand All @@ -209,6 +220,12 @@ jobs:
npm config set package-lock false
npm i @types/node @commitlint/types @commitlint/config-conventional --force
npx commitlint --from=$(git merge-base remotes/origin/${CIRCLE_BRANCH} master) --verbose
lint:
docker: *docker
steps:
- setup_repo
- run:
command: yarn lint
# Prepare node module caches so that future tasks run more quickly
# NOTE - not currently used as we only have one workflow
setup:
Expand Down Expand Up @@ -365,40 +382,53 @@ workflows:
main_workflow:
# by default jobs will run concurrently, so specify requires if want to run sequentially
jobs:
- spellcheck:
name: Check documentation spelling
filters:
branches:
ignore:
- production
- lint-commits:
name: Lint commits
filters:
branches:
ignore:
- production
- lint:
name: Lint code
requires:
- 'Check documentation spelling'
- 'Lint commits'
filters:
branches:
ignore:
- production
#---------------------- Test ----------------------
# Note - when calling test we also let the test script handle building as it injects random variables for seeding the DB
- build:
requires:
- 'Lint commits'
- 'Lint code'
name: Build Application
context: build-context
- test_unit:
name: 'Unit tests'
requires:
- 'Lint commits'
- 'Lint code'
filters:
branches:
ignore:
- production
- storybook:
name: Build Storybook
requires:
- 'Lint commits'
- 'Lint code'
filters:
branches:
ignore:
- production
# - test_functions:
# name: 'Cloud Function tests'
# context: build-context
# requires:
# - 'Lint commits'
# filters:
# branches:
# ignore:
Expand All @@ -421,10 +451,17 @@ workflows:
ignore:
- production
#---------------------- Development Instances Build and Deploy ----------------------
- release:
name: Release new version to GitHub
requires:
- test_e2e
<<: *filter_only_master
context:
- release-context
- deploy:
name: 'Deploy: dev.onearmy.world'
requires:
- test_e2e
- 'Release new version to GitHub'
<<: *filter_only_master
DEPLOY_ALIAS: 'default'
NOTIFY_SLACK: false
Expand All @@ -434,24 +471,37 @@ workflows:
- deploy:
name: 'Deploy: dev.community.projectkamp.com'
requires:
- test_e2e
- 'Release new version to GitHub'
<<: *filter_only_master
DEPLOY_ALIAS: project-kamp-development
NOTIFY_SLACK: false
context:
- circle-ci-slack-context
- project-kamp-dev
- release:
- deploy:
name: 'Deploy: fixing-fashion-dev.web.app'
requires:
- 'Deploy: community.preciousplastic.com'
- 'Deploy: community.projectkamp.com'
name: Release new version to GitHub
- 'Release new version to GitHub'
<<: *filter_only_master
DEPLOY_ALIAS: fixing-fashion-dev
NOTIFY_SLACK: false
context:
- release-context
- circle-ci-slack-context
- fixing-fashion-dev
- build:
name: Build Production Release
context: build-context
<<: *filter_only_production
- deploy:
name: 'Deploy: fixing-fashion-prod.web.app'
requires:
- 'Build Production Release'
<<: *filter_only_production
DEPLOY_ALIAS: fixing-fashion-prod
NOTIFY_SLACK: false
context:
- circle-ci-slack-context
- fixing-fashion-prod
- deploy:
name: 'Deploy: community.preciousplastic.com'
requires:
Expand Down
43 changes: 43 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"version": "0.2",
"language": "en-GB",
"ignorePaths": ["node_modules/**", "**/node_modules/**"],
"words": [
"appengine",
"appspot",
"bigquery",
"blockquotes",
"boxen",
"circleci",
"davehakkens",
"dockerhub",
"dockerised",
"dockerode",
"enoent",
"firebase",
"firestore",
"franknoirot",
"formattedly",
"gcloud",
"globby",
"gsutil",
"hakkens",
"howto",
"howtos",
"indexeddb",
"kamp",
"mappins",
"mattia",
"microservices",
"mockup",
"mockups",
"onearmyworld",
"phonebloks",
"preciousplastic",
"projectkamp",
"redownload",
"runtimeconfig",
"strikethrough",
"taskkill"
]
}
41 changes: 40 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "prettier"],
"plugins": ["@typescript-eslint", "prettier", "unicorn"],
"extends": [
"plugin:react/recommended", // Uses the recommended rules from @eslint-plugin-react
"plugin:@typescript-eslint/recommended", // Uses the recommended rules from the @typescript-eslint/eslint-plugin
Expand All @@ -23,6 +23,12 @@
// as of v17 no longer required
"react/react-in-jsx-scope": "off",
"react/prop-types": "off",
"@typescript-eslint/consistent-type-imports": [
"error",
{
"prefer": "type-imports"
}
],
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/interface-name-prefix": "off",
Expand All @@ -41,6 +47,39 @@
"leadingUnderscore": "allow"
}
],
// Filenames - https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/filename-case.md
"unicorn/filename-case": [
"error",
{
"cases": {
"camelCase": true,
"pascalCase": true
},
// TODO - most can be renamed although holding off until after #1501 and #1533 merged
"ignore": [
"docusaurus.config.gh-pages.js",
"install-clean.ts",
"SWUpdateNotification.tsx",
"react-app-env.d.ts",
"service-worker.ts",
"AbstractDBClient.ts",
"react-firebase-file-uploader.d.ts",
"reset-staging-site.ts",
"post-cra-build.ts",
"user_pp.mock.tsx",
"user_pp.models.tsx",
"admin-subheader.tsx",
"admin-approvals.tsx",
"admin-howtos.tsx",
"admin-mappins.tsx",
"admin-research-detail.tsx",
"admin-research.tsx",
"admin-tags.tsx",
"admin-user-detail.tsx",
"admin-users.tsx"
]
}
],
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-inferrable-types": "off",
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ assignees: ''
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
Steps to reproduce the behaviour:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
**Expected behaviour**
A clear and concise description of what you expected to happen.

**Screenshots**
Expand Down
Loading