@lowdefy/server-dev 4.0.0-rc.0 → 4.0.0-rc.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{App.js → client/App.js} +8 -7
- package/lib/{Page.js → client/Page.js} +3 -2
- package/lib/{Reload.js → client/Reload.js} +5 -2
- package/lib/{RestartingPage.js → client/RestartingPage.js} +1 -1
- package/lib/{auth → client/auth}/Auth.js +3 -3
- package/lib/{auth → client/auth}/AuthConfigured.js +20 -6
- package/lib/{auth → client/auth}/AuthNotConfigured.js +2 -1
- package/lib/{setPageId.js → client/setPageId.js} +1 -1
- package/lib/{utils → client/utils}/request.js +1 -1
- package/lib/{utils → client/utils}/useMutateCache.js +4 -13
- package/lib/{utils → client/utils}/usePageConfig.js +1 -1
- package/lib/{utils → client/utils}/useRootConfig.js +1 -1
- package/lib/{utils → client/utils}/waitForRestartedServer.js +1 -1
- package/lib/server/apiWrapper.js +64 -0
- package/lib/server/auth/getAuthOptions.js +35 -0
- package/lib/{auth → server/auth}/getServerSession.js +6 -6
- package/lib/{fileCache.js → server/fileCache.js} +1 -1
- package/lib/server/log/createLogger.js +29 -0
- package/lib/server/log/logError.js +40 -0
- package/lib/server/log/logRequest.js +33 -0
- package/manager/getContext.mjs +1 -1
- package/manager/processes/initialBuild.mjs +1 -1
- package/manager/processes/installPlugins.mjs +1 -1
- package/manager/processes/lowdefyBuild.mjs +3 -2
- package/manager/processes/nextBuild.mjs +1 -1
- package/manager/processes/readDotEnv.mjs +1 -1
- package/manager/processes/reloadClients.mjs +1 -1
- package/manager/processes/restartServer.mjs +1 -1
- package/manager/processes/shutdownServer.mjs +1 -1
- package/manager/processes/startServer.mjs +1 -1
- package/manager/processes/startWatchers.mjs +1 -1
- package/manager/run.mjs +1 -1
- package/manager/utils/BatchChanges.mjs +1 -1
- package/manager/utils/createCustomPluginTypesMap.mjs +10 -3
- package/manager/utils/createLogger.mjs +1 -2
- package/manager/utils/getLowdefyVersion.mjs +1 -1
- package/manager/utils/getNextBin.mjs +1 -1
- package/manager/utils/setupWatcher.mjs +1 -1
- package/manager/watchers/envWatcher.mjs +1 -1
- package/manager/watchers/lowdefyBuildWatcher.mjs +1 -1
- package/manager/watchers/nextBuildWatcher.mjs +19 -10
- package/next.config.js +1 -1
- package/package.json +41 -39
- package/package.original.json +94 -0
- package/pages/404.js +2 -2
- package/pages/[pageId].js +2 -2
- package/pages/_app.js +5 -4
- package/pages/_document.js +8 -4
- package/pages/api/auth/[...nextauth].js +12 -20
- package/pages/api/page/[pageId].js +8 -16
- package/pages/api/ping.js +1 -1
- package/pages/api/reload.js +1 -1
- package/pages/api/request/[pageId]/[requestId].js +13 -31
- package/pages/api/root.js +7 -17
- package/pages/index.js +2 -2
- /package/{public → public_default}/apple-touch-icon.png +0 -0
- /package/{public → public_default}/favicon.ico +0 -0
- /package/{public → public_default}/icon-512.png +0 -0
- /package/{public → public_default}/icon.svg +0 -0
- /package/{public → public_default}/logo-dark-theme.png +0 -0
- /package/{public → public_default}/logo-light-theme.png +0 -0
- /package/{public → public_default}/logo-square-dark-theme.png +0 -0
- /package/{public → public_default}/logo-square-light-theme.png +0 -0
- /package/{public → public_default}/manifest.webmanifest +0 -0
package/pages/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Copyright 2020-
|
|
2
|
+
Copyright 2020-2023 Lowdefy, Inc
|
|
3
3
|
|
|
4
4
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
you may not use this file except in compliance with the License.
|
|
@@ -14,6 +14,6 @@
|
|
|
14
14
|
limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import App from '../lib/App.js';
|
|
17
|
+
import App from '../lib/client/App.js';
|
|
18
18
|
|
|
19
19
|
export default App;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|