cc-core-cli 1.0.2 → 1.0.3
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/package.json +1 -1
- package/template/admin/index.js +1 -1
- package/template/admin/pages/404.js +1 -1
- package/template/admin/pages/[...url_key].js +1 -1
- package/template/admin/pages/_app.js +1 -1
- package/template/admin/pages/callback.js +1 -1
- package/template/admin/pages/cognito.js +1 -1
- package/template/admin/pages/confirmpassword.js +1 -1
- package/template/admin/pages/forgotpassword.js +1 -1
- package/template/admin/pages/index.js +1 -1
- package/template/admin/pages/login.js +1 -1
- package/template/admin/pages/maintenance.js +1 -1
- package/template/admin/pages/password_expired.js +1 -1
- package/template/admin/pages/permission_denied.js +1 -1
- package/template/admin/pages/profile.js +1 -1
- package/template/admin/pages/setting/[...setting_url_key].js +1 -1
- package/template/admin/pages/setting/entities/[subList]/detail.js +1 -1
- package/template/admin/pages/setting/entities/[subList]/detail_compare.js +1 -1
- package/template/admin/pages/setting/entities/[subList]/index.js +1 -1
- package/template/admin/pages/setting/entities/detail/index.js +1 -1
- package/template/admin/pages/setting/entities/index.js +1 -1
- package/template/admin/pages/social.js +1 -1
- package/template/admin/pages/token_expired.js +1 -1
package/package.json
CHANGED
package/template/admin/index.js
CHANGED
|
@@ -7,7 +7,7 @@ const app = next({ dev: process.env.NODE_ENV !== 'production' })
|
|
|
7
7
|
const handler = app.getRequestHandler()
|
|
8
8
|
const cookieParser = require('cookie-parser')
|
|
9
9
|
const bodyParser = require('body-parser')
|
|
10
|
-
const { apis, request } = require('@shopstack/cc-
|
|
10
|
+
const { apis, request } = require('@shopstack/cc-admin-lib/server')
|
|
11
11
|
|
|
12
12
|
const PORT = process.env.PORT || 3000
|
|
13
13
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import React from 'react'
|
|
3
3
|
import _get from 'lodash/get'
|
|
4
4
|
import _nth from 'lodash/nth'
|
|
5
|
-
import { DetailPage, ListPage } from '@shopstack/cc-
|
|
5
|
+
import { DetailPage, ListPage } from '@shopstack/cc-admin-lib'
|
|
6
6
|
|
|
7
7
|
class UrlKey extends React.PureComponent {
|
|
8
8
|
|
|
@@ -5,6 +5,6 @@ import 'react-toastify/dist/ReactToastify.css';
|
|
|
5
5
|
import "slick-carousel/slick/slick.css";
|
|
6
6
|
import "slick-carousel/slick/slick-theme.css";
|
|
7
7
|
|
|
8
|
-
import { CustomApp } from '@shopstack/cc-
|
|
8
|
+
import { CustomApp } from '@shopstack/cc-admin-lib'
|
|
9
9
|
|
|
10
10
|
export default CustomApp
|