1
0
Fork 0
mirror of synced 2024-09-29 16:51:33 +13:00

Fix cypress and update nodemon config to use backend-core

This commit is contained in:
Rory Powell 2022-01-25 23:26:39 +00:00
parent 36456189f4
commit 9db180b166
3 changed files with 6 additions and 3 deletions

View file

@ -7,7 +7,10 @@ export const name = (validation, { apps, currentApp } = { apps: [] }) => {
string()
.trim()
.required("Your application must have a name")
.matches(APP_NAME_REGEX, "App name must be letters and numbers only")
.matches(
APP_NAME_REGEX,
"App name must be letters, numbers and spaces only"
)
.test(
"non-existing-app-name",
"Another app with the same name already exists",

View file

@ -1,5 +1,5 @@
{
"watch": ["src", "../auth"],
"watch": ["src", "../backend-core"],
"ext": "js,ts,json",
"ignore": ["src/**/*.spec.ts", "src/**/*.spec.js"],
"exec": "ts-node src/index.ts"

View file

@ -1,3 +1,3 @@
{
"watch": ["src", "../auth"]
"watch": ["src", "../backend-core"]
}