Skip to content

Commit

Permalink
chore: various hacks and fixes to ensure app runs on new versions
Browse files Browse the repository at this point in the history
  • Loading branch information
machielvdw committed Jan 15, 2024
1 parent 72ae644 commit 4bf56f9
Show file tree
Hide file tree
Showing 24 changed files with 5,840 additions and 1,516 deletions.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.DS_Store
**/.lowdefy/**
**/.serverless/**
**/.env
**/node_modules/**
**/dist/**
!lowdefy/.lowdefy/cli.json
**/coverage/**
/auth0/globalConfig.json
File renamed without changes.
File renamed without changes.
30 changes: 18 additions & 12 deletions app/lowdefy.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
lowdefy: 4.0.0-alpha.23
lowdefy: 4.0.0-rc.15

config:
homePageId: home
theme:
lessVariables:
'@primary-color': '#438ef7'
'@border-radius-base': 6px
'@border-radius-sm': 4px
'@border-color-base': '#69c0ff'
'border-width-base': 2px
# config:
# homePageId: home
# theme:
# lessVariables:
# "@primary-color": "#438ef7"
# "@border-radius-base": 6px
# "@border-radius-sm": 4px
# "@border-color-base": "#69c0ff"
# "border-width-base": 2px

plugins:
- name: '@lowdefy/plugin-business-cards'
version: 'file:./plugins/plugin-business-cards'
version: 'workspace:*'
- name: '@lowdefy/community-plugin-mongodb'
version: '1.4.1'

auth:
theme:
Expand All @@ -23,7 +25,7 @@ auth:
profile: user.profile
adapter:
id: mdb_adapter
type: MongoDBAdapter
type: MultiAppMongoDBAdapter
properties:
databaseUri:
_secret: MONGODB_URI
Expand All @@ -35,6 +37,10 @@ auth:
_secret: LINKEDIN_CLIENT_ID
clientSecret:
_secret: LINKEDIN_CLIENT_SECRET
# authorization:
# params:
# scope: r_liteprofile

pages:
public:
- profile
Expand Down
2 changes: 1 addition & 1 deletion app/pages/home/home.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ _ref:
- '6px solid '
- _if_none:
- _var:
name: color
key: color
default:
_user: profile.color
- '#438ef7'
Expand Down
2 changes: 1 addition & 1 deletion app/pages/profile/components/profile_display.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ blocks:
- '6px solid '
- _if_none:
- _var:
name: color
key: color
default:
_request: fetch_profile.0.color
- '#438ef7'
Expand Down
1 change: 0 additions & 1 deletion app/plugins/plugin-business-cards/dist/auth/adapters.js

This file was deleted.

163 changes: 0 additions & 163 deletions app/plugins/plugin-business-cards/dist/auth/adapters/MongoDBAdapter.js

This file was deleted.

21 changes: 0 additions & 21 deletions app/plugins/plugin-business-cards/dist/blocks/QRCode/QRCode.js

This file was deleted.

9 changes: 0 additions & 9 deletions app/plugins/plugin-business-cards/dist/types.js

This file was deleted.

1 change: 0 additions & 1 deletion app/plugins/plugin-business-cards/src/auth/adapters.js

This file was deleted.

Loading

0 comments on commit 4bf56f9

Please sign in to comment.