Merge pull request #371 from Irev-Dev/release
sync main with release after debugging email verification
This commit was merged in pull request #371.
This commit is contained in:
2
app/.gitignore
vendored
2
app/.gitignore
vendored
@@ -1 +1,3 @@
|
|||||||
dist
|
dist
|
||||||
|
web/types/graphql.d.ts
|
||||||
|
api/types/graphql.d.ts
|
||||||
|
|||||||
@@ -1,6 +1 @@
|
|||||||
const { getConfig } = require('@redwoodjs/core')
|
module.exports = require('@redwoodjs/testing/config/jest/api')
|
||||||
|
|
||||||
const config = getConfig({ type: 'jest', target: 'node' })
|
|
||||||
config.displayName.name = 'api'
|
|
||||||
|
|
||||||
module.exports = config
|
|
||||||
|
|||||||
@@ -3,9 +3,9 @@
|
|||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@redwoodjs/api": "^0.33.0",
|
"@redwoodjs/api": "^0.34.1",
|
||||||
"@redwoodjs/api-server": "^0.33.0",
|
|
||||||
"@sentry/node": "^6.5.1",
|
"@sentry/node": "^6.5.1",
|
||||||
"cloudinary": "^1.23.0"
|
"cloudinary": "^1.23.0",
|
||||||
|
"graphql-tag": "^2.12.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -2,6 +2,7 @@ import { createUserInsecure } from 'src/services/users/users.js'
|
|||||||
import { db } from 'src/lib/db'
|
import { db } from 'src/lib/db'
|
||||||
import { sentryWrapper } from 'src/lib/sentry'
|
import { sentryWrapper } from 'src/lib/sentry'
|
||||||
import { enforceAlphaNumeric, generateUniqueString } from 'src/services/helpers'
|
import { enforceAlphaNumeric, generateUniqueString } from 'src/services/helpers'
|
||||||
|
import 'graphql-tag'
|
||||||
|
|
||||||
const unWrappedHandler = async (req, _context) => {
|
const unWrappedHandler = async (req, _context) => {
|
||||||
const body = JSON.parse(req.body)
|
const body = JSON.parse(req.body)
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ export const foreignKeyReplacement = (input) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const enforceAlphaNumeric = (string) =>
|
export const enforceAlphaNumeric = (string) =>
|
||||||
string.replace(/([^a-zA-Z\d_:])/g, '-')
|
(string || '').replace(/([^a-zA-Z\d_:])/g, '-')
|
||||||
|
|
||||||
export const generateUniqueString = async (
|
export const generateUniqueString = async (
|
||||||
seed,
|
seed,
|
||||||
|
|||||||
@@ -4,7 +4,16 @@ publish = "web/dist"
|
|||||||
functions = "api/dist/functions"
|
functions = "api/dist/functions"
|
||||||
|
|
||||||
[dev]
|
[dev]
|
||||||
command = "yarn rw dev"
|
# To use [Netlify Dev](https://www.netlify.com/products/dev/),
|
||||||
|
# install netlify-cli from https://docs.netlify.com/cli/get-started/#installation
|
||||||
|
# and then use netlify link https://docs.netlify.com/cli/get-started/#link-and-unlink-sites
|
||||||
|
# to connect your local project to a site already on Netlify
|
||||||
|
# then run netlify dev and our app will be accessible on the port specified below
|
||||||
|
framework = "redwoodjs"
|
||||||
|
# Set targetPort to the [web] side port as defined in redwood.toml
|
||||||
|
targetPort = 8910
|
||||||
|
# Point your browser to this port to access your RedwoodJS app
|
||||||
|
port = 8888
|
||||||
|
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "/*"
|
from = "/*"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
},
|
},
|
||||||
"scripts": {},
|
"scripts": {},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@redwoodjs/core": "^0.33.0"
|
"@redwoodjs/core": "^0.34.1"
|
||||||
},
|
},
|
||||||
"eslintConfig": {
|
"eslintConfig": {
|
||||||
"extends": "@redwoodjs/eslint-config",
|
"extends": "@redwoodjs/eslint-config",
|
||||||
|
|||||||
@@ -1,6 +1 @@
|
|||||||
const { getConfig } = require('@redwoodjs/core')
|
module.exports = require('@redwoodjs/testing/config/jest/api')
|
||||||
|
|
||||||
const config = getConfig({ type: 'jest', target: 'browser' })
|
|
||||||
config.displayName.name = 'web'
|
|
||||||
|
|
||||||
module.exports = config
|
|
||||||
|
|||||||
@@ -16,10 +16,10 @@
|
|||||||
"@headlessui/react": "^1.0.0",
|
"@headlessui/react": "^1.0.0",
|
||||||
"@material-ui/core": "^4.11.0",
|
"@material-ui/core": "^4.11.0",
|
||||||
"@monaco-editor/react": "^4.0.11",
|
"@monaco-editor/react": "^4.0.11",
|
||||||
"@redwoodjs/auth": "^0.33.0",
|
"@redwoodjs/auth": "^0.34.1",
|
||||||
"@redwoodjs/forms": "^0.33.0",
|
"@redwoodjs/forms": "^0.34.1",
|
||||||
"@redwoodjs/router": "^0.33.0",
|
"@redwoodjs/router": "^0.34.1",
|
||||||
"@redwoodjs/web": "^0.33.0",
|
"@redwoodjs/web": "^0.34.1",
|
||||||
"@sentry/browser": "^6.5.1",
|
"@sentry/browser": "^6.5.1",
|
||||||
"browser-fs-access": "^0.17.2",
|
"browser-fs-access": "^0.17.2",
|
||||||
"cloudinary-react": "^1.6.7",
|
"cloudinary-react": "^1.6.7",
|
||||||
|
|||||||
751
app/yarn.lock
751
app/yarn.lock
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user