builds unlicensed route
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
"payload": "./dist/src/bin/index.js"
|
||||
},
|
||||
"scripts": {
|
||||
"copyfiles": "copyfiles \"src/admin/**/*.*\" dist",
|
||||
"copyfiles": "copyfiles src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png} dist/",
|
||||
"build:components": "webpack --config src/webpack/components.config.js",
|
||||
"build": "cross-env PAYLOAD_CONFIG_PATH=demo/payload.config.js node src/bin/build",
|
||||
"build:tsc": "tsc",
|
||||
@@ -40,7 +40,7 @@
|
||||
"@faceless-ui/modal": "^1.0.4",
|
||||
"@faceless-ui/scroll-info": "^1.1.1",
|
||||
"@faceless-ui/window-info": "^1.2.2",
|
||||
"@payloadcms/config-provider": "0.0.3",
|
||||
"@payloadcms/config-provider": "0.0.7",
|
||||
"@typescript-eslint/parser": "4.0.1",
|
||||
"@udecode/slate-plugins": "^0.64.3",
|
||||
"ajv": "^6.12.6",
|
||||
|
||||
@@ -8,6 +8,7 @@ import DefaultTemplate from './templates/Default';
|
||||
import { requests } from '../api';
|
||||
import Loading from './elements/Loading';
|
||||
import StayLoggedIn from './modals/StayLoggedIn';
|
||||
import Unlicensed from './views/Unlicensed';
|
||||
|
||||
const Dashboard = lazy(() => import('./views/Dashboard'));
|
||||
const ForgotPassword = lazy(() => import('./views/ForgotPassword'));
|
||||
@@ -81,6 +82,9 @@ const Routes = () => {
|
||||
<Route path={`${match.url}/reset/:token`}>
|
||||
<ResetPassword />
|
||||
</Route>
|
||||
<Route path={`${match.url}/unlicensed`}>
|
||||
<Unlicensed />
|
||||
</Route>
|
||||
|
||||
{collections.map((collection) => {
|
||||
if (collection?.auth?.verify) {
|
||||
|
||||
@@ -24,17 +24,20 @@
|
||||
"inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
|
||||
"skipLibCheck": true, /* Skip type checking of declaration files. */
|
||||
"forceConsistentCasingInFileNames": true, /* Disallow inconsistently-cased references to the same file. */
|
||||
// "typeRoots": [
|
||||
// "./src",
|
||||
// "./node_modules/@types"
|
||||
// ]
|
||||
},
|
||||
"include": [
|
||||
"src/",
|
||||
"src/"
|
||||
],
|
||||
"exclude": [
|
||||
"demo",
|
||||
"dist",
|
||||
"src/admin",
|
||||
"build",
|
||||
"src/tests",
|
||||
"src/tests/**/*.spec.ts",
|
||||
// "**/*.d.ts",
|
||||
// "node_modules/"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1360,10 +1360,10 @@
|
||||
dependencies:
|
||||
mkdirp "^1.0.4"
|
||||
|
||||
"@payloadcms/config-provider@0.0.3":
|
||||
version "0.0.3"
|
||||
resolved "https://registry.yarnpkg.com/@payloadcms/config-provider/-/config-provider-0.0.3.tgz#0c460583b3b70f396b3f91ad69194ade300683ed"
|
||||
integrity sha512-YSPHssYTvYZYnsd+smtrhMCNsGNL/MWU8YtApa+nZRuHGbBGgO+tuffgNqzSJzUnTnliaVBzUz/RTNdaXnXrRQ==
|
||||
"@payloadcms/config-provider@0.0.7":
|
||||
version "0.0.7"
|
||||
resolved "https://registry.yarnpkg.com/@payloadcms/config-provider/-/config-provider-0.0.7.tgz#c225f29cf1737e039c95bd54ba25be5e32550ae1"
|
||||
integrity sha512-qiiz5i/BRPkU6wyBg01Cf5pikfYxudanIjONdpTx7Z4xaUN67OZ0SDCfRno5LGrUupsFgxlEfSIXFGWb9h4gdw==
|
||||
|
||||
"@popperjs/core@^2.4.4":
|
||||
version "2.5.4"
|
||||
|
||||
Reference in New Issue
Block a user