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

Bump semver and firebase-admin in /packages/rmw-shell/cra-template-rmw/template/firebase/functions #483

Open
wants to merge 1,589 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1589 commits
Select commit Hold shift + click to select a range
aedf5bb
Fixed all templates
TarikHuber Dec 30, 2021
da9f949
Improved performance by moving the default routes to the config file
TarikHuber Dec 31, 2021
ed18016
Moved default routes back to template project
TarikHuber Dec 31, 2021
b3e8f6d
Updated peer dependencies #348
TarikHuber Jan 3, 2022
46bd7a8
Fixed more peer dependencies... #348
TarikHuber Jan 3, 2022
2bee4bf
Moved all providers from app container to layout container
TarikHuber Jan 4, 2022
29fc3e1
Moved all configs to template to improve performance
TarikHuber Jan 4, 2022
72f6669
Purge MUI stuff from bootstrap-shell
bjorger Jan 5, 2022
e1085c5
Purge last shit from MUI in bootstrap shell
bjorger Jan 5, 2022
8ebc968
Added gitignore file to firebase functions folder
TarikHuber Jan 5, 2022
6f8e58d
Removed old CD from rmw shell
TarikHuber Jan 5, 2022
2b7b678
Purge last MUI packages in bootstrap package
bjorger Jan 5, 2022
e9a808f
Add Bootstrap ThemeProvider
bjorger Jan 5, 2022
f32871c
Add Bootstrap ThemeProvider
bjorger Jan 5, 2022
38391fb
Improved performance
TarikHuber Jan 5, 2022
98d616a
Fixed rmw-shell body style
TarikHuber Jan 5, 2022
28e0037
Fixed chart.js peer dependency #348
TarikHuber Jan 5, 2022
a63cd38
Added github actions to rmw template
TarikHuber Jan 7, 2022
49a62ac
Merge pull request #350 from bjorger/master
TarikHuber Jan 7, 2022
0c45ba6
Updated github actions in rmw-shell
TarikHuber Jan 8, 2022
f2f6d82
Merge branch 'master' of https://github.com/TarikHuber/react-most-wanted
TarikHuber Jan 8, 2022
15957d4
Fix project structure and begin with bootstrap like menu
bjorger Jan 9, 2022
caf950c
Merge pull request #351 from bjorger/Bootstrap-Menu
TarikHuber Jan 9, 2022
71d803c
Removed formatjs dependency from base-shell
TarikHuber Jan 10, 2022
b357d42
Cleanup of base-shell and material-ui-shell
TarikHuber Jan 10, 2022
75e6400
Fixed peer dependencies #348
TarikHuber Jan 10, 2022
c1d4e2e
Updated node version in github actions
TarikHuber Jan 11, 2022
adf3cf9
Removed force install in github actions
TarikHuber Jan 11, 2022
e374f0a
Removed force isntall in rmw template
TarikHuber Jan 11, 2022
80bb107
autodeploy test
TarikHuber Jan 11, 2022
52e92ee
autodeploy test 2
TarikHuber Jan 11, 2022
1927385
autodeploy test 3
TarikHuber Jan 11, 2022
bdd87eb
autodeploy test 4
TarikHuber Jan 11, 2022
6e7da7f
peer dep fix
TarikHuber Jan 11, 2022
9ca7eda
Updated actions
TarikHuber Jan 11, 2022
a631283
test
TarikHuber Jan 11, 2022
5e2d27c
test2
TarikHuber Jan 11, 2022
6f305e9
test 3
TarikHuber Jan 11, 2022
29ed39b
test 5
TarikHuber Jan 11, 2022
c4f756c
Updated workflows
TarikHuber Jan 11, 2022
dcdc0f4
test 6
TarikHuber Jan 11, 2022
47c9b00
Fixing peer dependencies
TarikHuber Jan 11, 2022
6f31a1a
Fixing peer dependencies2
TarikHuber Jan 11, 2022
2dc47d6
remove bootstrap lib config
bjorger Jan 11, 2022
a744679
Add Desktop Bootstrap menu
bjorger Jan 11, 2022
4d07cc8
Merge pull request #352 from bjorger/Bootstrap-Menu
TarikHuber Jan 11, 2022
d8574e2
update base-shell version
bjorger Jan 11, 2022
ffbcddd
Update base shell version
bjorger Jan 11, 2022
1dd829a
Merge pull request #353 from bjorger/Bootstrap-Menu
TarikHuber Jan 11, 2022
ee487d6
Updated dependencies in bs shell
TarikHuber Jan 11, 2022
bd96002
Make menu responsive
bjorger Jan 11, 2022
d4ae470
change transition style
bjorger Jan 11, 2022
bd6383e
Merge pull request #354 from bjorger/master
TarikHuber Jan 12, 2022
ecf59f6
Updated bs shell
TarikHuber Jan 12, 2022
631e1c2
Create Menu Provider
bjorger Jan 12, 2022
e42542b
Merge pull request #355 from bjorger/menu-and-theme-provider
TarikHuber Jan 13, 2022
de5d284
Fixed bs shell
TarikHuber Jan 13, 2022
a0ab387
Made base-shell more robust for missing configs
TarikHuber Jan 13, 2022
12c9400
Update base shell version
bjorger Jan 14, 2022
93f5c72
Change layout base direction
bjorger Jan 14, 2022
04463bd
fix merge conflicts
bjorger Jan 14, 2022
c230934
Implement menu state as provider
bjorger Jan 14, 2022
9670044
start with menuItems configuration
bjorger Jan 14, 2022
3223a44
add missing brackets in menu items config
bjorger Jan 14, 2022
1673f0a
implement nested dropdown for desktop menu
bjorger Jan 16, 2022
ac73835
Implement nested dropdown for mobile
bjorger Jan 16, 2022
a8e0eda
start with dialog demo
bjorger Jan 17, 2022
5aaa82f
Merge pull request #358 from bjorger/menu-provider-menu-dropdowns
TarikHuber Jan 17, 2022
30ddec1
Release 2.3.7
TarikHuber Jan 17, 2022
cd67172
chore: release v2.3.8
TarikHuber Jan 17, 2022
a94c1e1
Installed relase-it localy
TarikHuber Jan 17, 2022
8f84fbc
chore: release v2.4.0
TarikHuber Jan 17, 2022
5531571
Changed release-it seetings
TarikHuber Jan 17, 2022
59c2b9c
chore: release v2.4.1
TarikHuber Jan 17, 2022
4b17bd9
Release it changes
TarikHuber Jan 17, 2022
f49ca09
🚀 release v2.4.2
TarikHuber Jan 17, 2022
e499e83
Added gitignore to base shell template
TarikHuber Jan 17, 2022
cf85931
🚀 release v2.1.3
TarikHuber Jan 17, 2022
63bfa8d
Prepared autorelease for base-shell
TarikHuber Jan 17, 2022
bdf31aa
Renamed base-shell github actins
TarikHuber Jan 17, 2022
c8c6037
Updated github actions
TarikHuber Jan 17, 2022
1ab93ee
created release ci script
TarikHuber Jan 17, 2022
bd1acba
🚀 release v2.4.4
TarikHuber Jan 17, 2022
95db9f1
Renamed actions in base shell CI
TarikHuber Jan 17, 2022
3d41f17
Test1
TarikHuber Jan 17, 2022
8dd0398
actions
TarikHuber Jan 17, 2022
c8e01af
Actions
TarikHuber Jan 17, 2022
19f95ce
🚀 release v2.4.5
TarikHuber Jan 17, 2022
21aea56
actions
TarikHuber Jan 17, 2022
891d6c1
updated dependencies git push
TarikHuber Jan 17, 2022
58d7272
Updated base-shell
TarikHuber Jan 17, 2022
4547441
Updated actions
TarikHuber Jan 17, 2022
b96728a
actions
TarikHuber Jan 17, 2022
4ff9f6f
actions
TarikHuber Jan 17, 2022
f9f4dd3
🚀 release v2.1.6
TarikHuber Jan 17, 2022
8ed1b02
actions
TarikHuber Jan 17, 2022
f8319be
Merge branch 'master' into menu-and-theme-provider
bjorger Jan 17, 2022
3e1299b
Merge branch 'master' of https://github.com/TarikHuber/react-most-wanted
TarikHuber Jan 17, 2022
d612054
actions
TarikHuber Jan 17, 2022
e6fbcae
🚀 release v2.1.7
TarikHuber Jan 17, 2022
775cfb1
actions
TarikHuber Jan 17, 2022
92a9725
Merge branch 'master' of https://github.com/TarikHuber/react-most-wanted
TarikHuber Jan 17, 2022
d80e3c4
actions
TarikHuber Jan 17, 2022
9a755df
🚀 release v2.1.9
TarikHuber Jan 17, 2022
34d1447
🚀 release v2.4.12
TarikHuber Jan 17, 2022
ad2ddbb
Merge pull request #357 from bjorger/menu-and-theme-provider
TarikHuber Jan 17, 2022
e126301
Implemented auto release for mui-shell
TarikHuber Jan 18, 2022
a1b583f
actions
TarikHuber Jan 18, 2022
696317e
actions
TarikHuber Jan 18, 2022
dde0d49
actions
TarikHuber Jan 18, 2022
3b50fd0
Release 3.1.2
TarikHuber Jan 18, 2022
8d43388
Release 3.1.3
TarikHuber Jan 18, 2022
403ac1b
Updated dependecnies
TarikHuber Jan 18, 2022
c163411
actions
TarikHuber Jan 18, 2022
6becb15
Release 3.3.3
TarikHuber Jan 18, 2022
dc29bc5
Release 3.1.4
TarikHuber Jan 18, 2022
a4b3e77
Updated rmw actions
TarikHuber Jan 18, 2022
5b192f1
actions
TarikHuber Jan 18, 2022
863304c
actions
TarikHuber Jan 18, 2022
d2a7c7d
🚀 release v2.4.13
TarikHuber Jan 18, 2022
df96ef0
🚀 release v2.1.10
TarikHuber Jan 18, 2022
a6a77f0
actions
TarikHuber Jan 18, 2022
f29beb6
Merge branch 'master' of https://github.com/TarikHuber/react-most-wanted
TarikHuber Jan 18, 2022
11e1542
Release 3.3.4
TarikHuber Jan 18, 2022
abc2afa
Release 3.1.5
TarikHuber Jan 18, 2022
51266b6
actions
TarikHuber Jan 18, 2022
2d9d5aa
Merge branch 'master' of https://github.com/TarikHuber/react-most-wanted
TarikHuber Jan 18, 2022
8092539
actions
TarikHuber Jan 18, 2022
9e25c22
🚀 release v2.4.14
TarikHuber Jan 18, 2022
703b6f2
🚀 release v2.1.11
TarikHuber Jan 18, 2022
4d56b61
Merge branch 'master' of https://github.com/TarikHuber/react-most-wanted
TarikHuber Jan 18, 2022
7e9a68d
Cleaned up dependences in rmw-shell
TarikHuber Jan 18, 2022
d46d216
actions
TarikHuber Jan 18, 2022
cb8d97d
actions
TarikHuber Jan 18, 2022
b998040
actions
TarikHuber Jan 18, 2022
83ebb8d
actions
TarikHuber Jan 18, 2022
25d7291
Update rmw-shell
TarikHuber Jan 18, 2022
cfe3db8
Release 11.0.24
TarikHuber Jan 18, 2022
81ede90
actions
TarikHuber Jan 18, 2022
ce7b736
actions
TarikHuber Jan 18, 2022
96ce839
Update rmw-shell
TarikHuber Jan 18, 2022
0e7bc4e
Release 11.0.25
TarikHuber Jan 18, 2022
9dd915a
adding and shortening text to fit the menu
Jan 20, 2022
ed97dbe
fixed align appbar when changes RTL
Jan 20, 2022
b95189e
Merge pull request #359 from UseMuse/master
TarikHuber Jan 20, 2022
4af4dfd
Release 3.3.5
TarikHuber Jan 20, 2022
d71a063
Release 3.1.6
TarikHuber Jan 20, 2022
16ae39f
Added submit value o getPageProps in Forms Page
TarikHuber Feb 12, 2022
57bbb83
Merge branch 'master' of https://github.com/TarikHuber/react-most-wanted
TarikHuber Feb 12, 2022
8f81bc3
Update rmw-shell
TarikHuber Feb 12, 2022
6eaae4e
Release 11.0.26
TarikHuber Feb 12, 2022
0070c0b
Fixed submit value in FormPage
TarikHuber Feb 12, 2022
d19c81d
Update rmw-shell
TarikHuber Feb 12, 2022
b26138d
Release 11.0.28
TarikHuber Feb 12, 2022
40afe98
Introduced expanded FAB button to ListPage
Mar 6, 2022
6fb96ae
rmw release
Mar 6, 2022
5770615
Fixed bug in extended FAB
Mar 6, 2022
4e4ad3b
Update rmw-shell
TarikHuber Mar 6, 2022
df511c0
Release 11.0.31
TarikHuber Mar 6, 2022
57eff82
Fixed notifications
TarikHuber Mar 12, 2022
dd89770
Update rmw-shell
TarikHuber Mar 12, 2022
2d83c1f
Release 11.0.33
TarikHuber Mar 12, 2022
3ea0929
Updated firestore rules version in rmw template
TarikHuber Mar 18, 2022
e70550d
Merge branch 'master' of https://github.com/TarikHuber/react-most-wanted
TarikHuber Mar 18, 2022
46efe57
Update rmw-shell
TarikHuber Mar 18, 2022
d66264c
Release 11.0.34
TarikHuber Mar 18, 2022
4370c6d
Fix typo in german translation
LuisMartinSchick Mar 23, 2022
f7ef1b8
Merge pull request #376 from LuisMartinSchick/patch-1
TarikHuber Mar 23, 2022
08f2c53
Release 3.3.6
TarikHuber Mar 23, 2022
be4701b
Release 3.1.7
TarikHuber Mar 23, 2022
46d66bf
Expanded Page features
TarikHuber Mar 23, 2022
47601a7
Release 3.3.8
TarikHuber Mar 23, 2022
1d7a09a
Release 3.1.8
TarikHuber Mar 23, 2022
b3fba2b
Updated rmw template
TarikHuber Mar 27, 2022
da1b02c
Added dismiss callback to requestPermission for push notifications
TarikHuber Apr 5, 2022
961aa0d
Update rmw-shell-template
TarikHuber Apr 5, 2022
2d5ea2c
Release 4.0.28
TarikHuber Apr 5, 2022
718fc60
Bugfix
TarikHuber Apr 7, 2022
6b86537
Merge branch 'master' of https://github.com/TarikHuber/react-most-wanted
TarikHuber Apr 7, 2022
f63b42c
Update rmw-shell-template
TarikHuber Apr 7, 2022
25db910
Release 4.0.29
TarikHuber Apr 7, 2022
b49ab21
Bugfixes
TarikHuber Apr 16, 2022
5a1d03f
Merge branch 'master' of https://github.com/TarikHuber/react-most-wanted
TarikHuber Apr 16, 2022
d6098b9
Version bumps
TarikHuber Apr 16, 2022
bfcda40
Updated dependencies
TarikHuber Jun 30, 2022
74fca42
Updated base shell dependencies
TarikHuber Aug 7, 2022
8aac54a
Updated dependencies #402 #407
TarikHuber Aug 7, 2022
c3e7e43
Updated dependencies
TarikHuber Aug 7, 2022
583a276
Updatd templates
TarikHuber Aug 7, 2022
1101044
Updated github actions
TarikHuber Aug 7, 2022
c7f8740
Actions test
TarikHuber Aug 7, 2022
3336183
Actions test
TarikHuber Aug 7, 2022
d9fd913
actions test 2
TarikHuber Aug 7, 2022
298bd4b
🚀 release v2.2.4
TarikHuber Aug 7, 2022
e011720
Actions test 3
TarikHuber Aug 7, 2022
ef48fda
Merge branch 'master' of https://github.com/TarikHuber/react-most-wanted
TarikHuber Aug 7, 2022
cd4cf99
action test 3
TarikHuber Aug 7, 2022
f627796
Updated github actions
TarikHuber Aug 7, 2022
6327846
Testing CI
TarikHuber Aug 7, 2022
8b5879d
Update rmw-shell-template
TarikHuber Aug 7, 2022
64af563
Release 4.1.3
TarikHuber Aug 7, 2022
e3ac6e1
Updated mui peer dependencies
TarikHuber Aug 7, 2022
dc63416
Merge branch 'master' of https://github.com/TarikHuber/react-most-wanted
TarikHuber Aug 7, 2022
79cd570
Release 3.2.4
TarikHuber Aug 7, 2022
fe13709
Testing mui actions
TarikHuber Aug 7, 2022
bd1c0f5
Merge branch 'master' of https://github.com/TarikHuber/react-most-wanted
TarikHuber Aug 7, 2022
b149b7e
Release 3.2.5
TarikHuber Aug 7, 2022
5ffc128
mui CI test
TarikHuber Aug 7, 2022
946fa67
Merge branch 'master' of https://github.com/TarikHuber/react-most-wanted
TarikHuber Aug 7, 2022
c9efe8c
Release 3.2.6
TarikHuber Aug 7, 2022
c645c3b
rmw ci test
TarikHuber Aug 7, 2022
fc73dee
Merge branch 'master' of https://github.com/TarikHuber/react-most-wanted
TarikHuber Aug 7, 2022
71367c8
rmw ci test 2
TarikHuber Aug 7, 2022
528e70f
Resolved peer dependencies in base-shell and mui-shell
Aug 7, 2022
2c5ce81
Added installation instructions with peer dependency error messages
Aug 8, 2022
6479393
Published rmw packages
Aug 8, 2022
7eee235
Fixed rmw
Aug 10, 2022
e5b0bfe
Fixed base-shell peer dependencies
Aug 10, 2022
43ca2db
Fixed template CI
Aug 10, 2022
032aed3
Fixed firebase realtime listeners
Aug 10, 2022
db6195b
Fixed dabe bug in template
Aug 12, 2022
d50deff
Fixed redireciion after login #390
Aug 12, 2022
2aa3b6f
Updated dependencies
Aug 31, 2022
ca74ae7
Updated dependencies
Aug 31, 2022
7f1dc5c
Updated dependencies
Aug 31, 2022
fb775c0
Added navigation to getMenuItems
Sep 5, 2022
cdba8f2
Updated base-shell dependencies
Oct 18, 2022
384a974
Update material ui dependencies
Oct 18, 2022
b8c9a91
Merge pull request #419 from TarikHuber/dev2
TarikHuber Oct 18, 2022
aae9296
Update rmw-shell dependencies
Oct 18, 2022
4d5ae0e
Merge pull request #421 from TarikHuber/dev2
TarikHuber Oct 18, 2022
7698de5
Fixed firebase lists bug
Oct 18, 2022
d54ed0c
Updated dependencies in b-shell
Oct 18, 2022
ef15244
Merge pull request #422 from TarikHuber/dev2
TarikHuber Oct 18, 2022
728a351
Updated dependencies in firebase functions tools
Oct 18, 2022
229b70d
Merge pull request #423 from TarikHuber/dev4
TarikHuber Oct 18, 2022
5967c35
Bugfix in Firebase Lists
TarikHuber Nov 30, 2022
9198812
rmw-shell bugfix
TarikHuber Nov 30, 2022
c40707f
fix: typo to the style prop in a div
twig1gy Jan 5, 2023
774e2bb
Merge pull request #464 from twig1gy/patch-1
TarikHuber Jan 5, 2023
013db97
Fixed roles
TarikHuber Mar 2, 2023
25fea90
Merge branch 'master' of https://github.com/TarikHuber/react-most-wanted
TarikHuber Mar 2, 2023
11b8e1d
Fixed roles bug
TarikHuber Mar 2, 2023
a036e44
Revoked last changes
Mar 29, 2023
a048ca0
Created AvatarImage
Apr 5, 2023
4d8dbab
Fixed AvatarImage Field
TarikHuber Apr 10, 2023
aef7bff
Added top and bottom to mui list page
May 9, 2023
5a4dcc6
Updted list page
May 11, 2023
5497100
Fixed role grants cloud function
TarikHuber May 24, 2023
a936ef3
Bump semver and firebase-admin
dependabot[bot] Jun 24, 2023
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
  •  
  •  
  •  
Binary file added .DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions .dccache

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["react-app"]
}
7 changes: 0 additions & 7 deletions .firebaserc

This file was deleted.

Binary file added .gitbook/assets/screenshot-2021-09-22-211556.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 48 additions & 0 deletions .github/workflows/base-shell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: base-shell
on:
push:
branches:
- master
paths:
- "packages/base-shell/src/**"
- "packages/base-shell/cra-template-base/template/**"
workflow_dispatch:
jobs:
base-shell:
runs-on: ubuntu-latest
environment: prod
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "16"
registry-url: https://registry.npmjs.org/
working-directory: ./packages/base-shell
- name: Install dependencies
run: npm i
working-directory: ./packages/base-shell
- name: Publish
run: npm publish
working-directory: ./packages/base-shell
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
base-shell-template:
if: ${{ always() }}
needs: [base-shell]
runs-on: ubuntu-latest
environment: prod
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "16"
registry-url: https://registry.npmjs.org/
working-directory: ./packages/base-shell/cra-template-base
- name: Install dependencies
run: npm i
working-directory: ./packages/base-shell/cra-template-base
- name: Publish
run: npm publish
working-directory: ./packages/base-shell/cra-template-base
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
46 changes: 46 additions & 0 deletions .github/workflows/material-ui-shell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: material-ui-shell
on:
push:
branches:
- master
paths:
- "packages/material-ui-shell/src/**"
- "packages/material-ui-shell/cra-template-material-ui/template/**"
workflow_dispatch:
jobs:
material-ui-shell:
runs-on: ubuntu-latest
environment: prod
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "16"
registry-url: https://registry.npmjs.org/l
- name: Install dependencies
run: npm i
working-directory: ./packages/material-ui-shell
- name: Publish
run: npm publish
working-directory: ./packages/material-ui-shell
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
material-ui-shell-template:
if: ${{ always() }}
needs: [material-ui-shell]
runs-on: ubuntu-latest
environment: prod
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "16"
registry-url: https://registry.npmjs.org/
- name: Install dependencies
run: npm i
working-directory: ./packages/material-ui-shell/cra-template-material-ui
- name: Publish
run: npm run release
working-directory: ./packages/material-ui-shell/cra-template-material-ui
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
108 changes: 108 additions & 0 deletions .github/workflows/rmw-shell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
name: rmw-shell
on:
push:
branches:
- master
paths:
- "packages/rmw-shell/src/**"
- "packages/rmw-shell/cra-template-rmw/template/**"
workflow_dispatch:
jobs:
rmw-shell:
runs-on: ubuntu-latest
environment: prod
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "16"
registry-url: https://registry.npmjs.org/
- name: Install dependencies
run: npm i
working-directory: ./packages/rmw-shell
- name: Install release-it
run: npm i -g release-it
working-directory: ./packages/rmw-shell
- name: git config
run: |
npm config set legacy-peer-deps true
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- name: git pull
run: |
git diff
git add .
git commit -m "Update rmw-shell"
git pull
- name: Publish
run: npm run release
working-directory: ./packages/rmw-shell
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
rmw-shell-template:
if: ${{ always() }}
needs: [rmw-shell]
runs-on: ubuntu-latest
environment: prod
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "16"
registry-url: https://registry.npmjs.org/
- name: Install dependencies
run: npm i
working-directory: ./packages/rmw-shell/cra-template-rmw
- name: Install release-it
run: npm i -g release-it
working-directory: ./packages/rmw-shell/cra-template-rmw
- name: git config
run: |
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- name: git pull
run: |
git add .
git commit -m "Update rmw-shell-template"
git diff
git pull
- name: Publish
run: npm run release
working-directory: ./packages/rmw-shell/cra-template-rmw
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
rmw-shell-demo:
if: ${{ always() }}
needs: [rmw-shell-template]
runs-on: ubuntu-latest
environment: prod
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "16"
- name: git config
run: |
npm config set legacy-peer-deps true
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- name: install-rmw-shell
run: npx create-react-app demo-app --template rmw --use-npm
- name: install firebase functins dependencies
run: npm i
working-directory: ./demo-app/firebase/functions
- name: run build
run: |
npm run build
env:
CI: false
working-directory: ./demo-app
- name: Install firebase tools
run: npm i -g firebase-tools
- name: Deploy
run: |
firebase use prod
firebase deploy --only hosting --token $FIREBASE_TOKEN
working-directory: ./demo-app
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
21 changes: 0 additions & 21 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,23 +1,2 @@
# See https://help.github.com/ignore-files/ for more about ignoring files.

# dependencies
/node_modules

# testing
/coverage

# production
/build

# misc
.DS_Store
.env
npm-debug.log*
yarn-debug.log*
yarn-error.log*

#firebase
firebase-debug.log

#codecov
codecov.yml
38 changes: 0 additions & 38 deletions .gitlab-ci.yml

This file was deleted.

55 changes: 30 additions & 25 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,30 @@
language: node_js
node_js:
- 6

cache:
directories:
- node_modules
- functions/node_modules

before_install:
- npm install codecov.io coveralls
- chmod +x before_install.sh
- ./before_install.sh

script:
- npm test

after_success:
- cat ./coverage/lcov.info | ./node_modules/codecov.io/bin/codecov.io.js
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
- chmod +x build.sh
- travis_wait 40 ./build.sh
- chmod +x deploy.sh
- travis_wait 40 ./deploy.sh
- node node_modules/lighthouse-ci/runlighthouse.js https://react-most-wanted.com
language: node_js
node_js:
- 12

cache:
directories:
- demo/template/node_modules
- demo/template/functions/node_modules

before_install:
- npx create-react-app demo-app --template rmw --use-npm
- rm -rf demo-app/continuous_deployment
- mkdir -p demo-app/continuous_deployment
- cp -R packages/rmw-shell/cra-template-rmw/template/continuous_deployment demo-app
- cd demo-app
- chmod +x ./continuous_deployment/before_install.sh
- ./continuous_deployment/before_install.sh

before_script:
- npm test --passWithNoTests
- chmod +x ./continuous_deployment/build.sh
- travis_wait 40 ./continuous_deployment/build.sh

script:
- chmod +x ./continuous_deployment/deploy_hosting.sh
- travis_wait 40 ./continuous_deployment/deploy_hosting.sh
- chmod +x ./continuous_deployment/deploy_functions.sh
- travis_wait 40 ./continuous_deployment/deploy_functions.sh
- chmod +x ./continuous_deployment/browser_stack.sh
- travis_wait 40 ./continuous_deployment/browser_stack.sh
25 changes: 25 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
## Prerequisites

[Node.js](http://nodejs.org/) >= v4 must be installed.

## Installation

- Running `npm install` in the components's root directory will install everything you need for development.

## Demo Development Server

- `npm start` will run a development server with the component's demo app at [http://localhost:3000](http://localhost:3000) with hot module reloading.

## Running Tests

- `npm test` will run the tests once.

- `npm run test:coverage` will run the tests and produce a coverage report in `coverage/`.

- `npm run test:watch` will run the tests on every change.

## Building

- `npm run build` will build the component for publishing to npm and also bundle the demo app.

- `npm run clean` will delete built resources.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2017 Tarik Huber
Copyright (c) 2018 Tarik Huber

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading