Fix cypress and update nodemon config to use backend-core
This commit is contained in:
parent
bba60c5280
commit
3a4b8f4557
|
@ -7,7 +7,10 @@ export const name = (validation, { apps, currentApp } = { apps: [] }) => {
|
||||||
string()
|
string()
|
||||||
.trim()
|
.trim()
|
||||||
.required("Your application must have a name")
|
.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(
|
.test(
|
||||||
"non-existing-app-name",
|
"non-existing-app-name",
|
||||||
"Another app with the same name already exists",
|
"Another app with the same name already exists",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"watch": ["src", "../auth"],
|
"watch": ["src", "../backend-core"],
|
||||||
"ext": "js,ts,json",
|
"ext": "js,ts,json",
|
||||||
"ignore": ["src/**/*.spec.ts", "src/**/*.spec.js"],
|
"ignore": ["src/**/*.spec.ts", "src/**/*.spec.js"],
|
||||||
"exec": "ts-node src/index.ts"
|
"exec": "ts-node src/index.ts"
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
{
|
{
|
||||||
"watch": ["src", "../auth"]
|
"watch": ["src", "../backend-core"]
|
||||||
}
|
}
|
Loading…
Reference in New Issue