cc-core-cli 1.0.116 → 1.0.118

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-core-cli",
3
- "version": "1.0.116",
3
+ "version": "1.0.118",
4
4
  "description": "Command Line Interface tool for generating project templates for the (Your Platform's Name) platform.",
5
5
  "main": "bin/index.js",
6
6
  "scripts": {
@@ -253,7 +253,7 @@
253
253
  .editable {
254
254
  margin-bottom: 24px;
255
255
 
256
- .editable-row:hover > td {
256
+ .editable-row:hover>td {
257
257
  background-color: inherit !important;
258
258
  }
259
259
  }
@@ -1948,4 +1948,10 @@ h4.ant-typography {
1948
1948
  .buttonvariable:hover {
1949
1949
  background-color: var(--background-color-hover-var) !important;
1950
1950
  color: var(--text-color-hover-var) !important;
1951
+ }
1952
+
1953
+ .table-external {
1954
+ .ant-table-cell {
1955
+ padding: 10px 16px;
1956
+ }
1951
1957
  }
@@ -17,6 +17,7 @@ storage/public/system/*
17
17
  !storage/public/system/menu/
18
18
  storage/public/system/menu/*
19
19
  !storage/public/system/menu/icons/
20
+ !storage/documents/
20
21
 
21
22
  # Generated by MacOS
22
23
  .DS_Store
@@ -253,6 +253,14 @@ async function bootstrap() {
253
253
  prefix: `/public`
254
254
  });
255
255
 
256
+ // Serve specific file for "/"
257
+ fastify.get("/", (request, reply) => {
258
+ console.log("Serving / from custom route");
259
+ reply
260
+ .type("text/html")
261
+ .sendFile("index.html", path.join(process.cwd(), "storage/documents"));
262
+ });
263
+
256
264
  _.set(CONST, "app", app);
257
265
  await initial(app);
258
266
 
@@ -0,0 +1,14 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <title>Document</title>
8
+ </head>
9
+
10
+ <body>
11
+ <h1>Welcome to Commerce Suite.</h1>
12
+ </body>
13
+
14
+ </html>