Skip to content

Commit cb644b1

Browse files
committed
move front-end to root
1 parent 49ba963 commit cb644b1

File tree

185 files changed

+801
-6
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

185 files changed

+801
-6
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
Binary file not shown.

lib/jekyll-admin/public/bundle.js

+73
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/jekyll-admin/public/bundle.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.

lib/jekyll-admin/public/index.html

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
5+
<title>Jekyll Admin</title>
6+
<link rel="shortcut icon" href="favicon.ico">
7+
<link rel="stylesheet" href="/admin/styles.css"></head>
8+
<body>
9+
<div id="root"></div>
10+
<script src="/admin/bundle.js"></script>
11+
</body>
12+
</html>

lib/jekyll-admin/public/styles.css

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/jekyll-admin/public/styles.css.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/jekyll-admin/public/package.json package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"start-message": "babel-node tools/startMessage.js",
77
"prestart": "npm-run-all --parallel start-message remove-dist",
88
"start": "npm-run-all --parallel start-api test:watch open:src lint:watch",
9-
"start-api": "cd ../../.. && script/test-server",
9+
"start-api": "script/test-server",
1010
"open:src": "babel-node tools/srcServer.js",
1111
"lint": "esw webpack.config.* src tools",
1212
"lint:watch": "npm run lint -- --watch",
13-
"clean-dist": "npm run remove-dist && mkdir dist",
14-
"remove-dist": "rimraf ./dist",
13+
"clean-dist": "npm run remove-dist && mkdir ./lib/jekyll-admin/public",
14+
"remove-dist": "rimraf ./lib/jekyll-admin/public",
1515
"build:html": "babel-node tools/buildHtml.js",
1616
"prebuild": "npm run clean-dist && npm run build:html && npm run lint && npm test",
1717
"build": "babel-node tools/build.js",
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
74.7 KB
Binary file not shown.

src/assets/fonts/fontawesome-webfont.svg

+685
149 KB
Binary file not shown.
88.3 KB
Binary file not shown.
70.2 KB
Binary file not shown.

src/assets/fonts/lato-bold.ttf

135 KB
Binary file not shown.

src/assets/fonts/lato-regular.ttf

136 KB
Binary file not shown.

src/assets/images/logo-black-red.png

11.7 KB

src/assets/images/logo.png

9.67 KB
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

lib/jekyll-admin/public/tools/buildHtml.js tools/buildHtml.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fs.readFile('src/index.html', 'utf8', (readError, markup) => {
1515
// since a separate spreadsheet is only utilized for the production build, need to dynamically add this here.
1616
$('head').append('<link rel="stylesheet" href="/admin/styles.css">');
1717

18-
fs.writeFile('dist/index.html', $.html(), 'utf8', (writeError) => {
18+
fs.writeFile('lib/jekyll-admin/public/index.html', $.html(), 'utf8', (writeError) => {
1919
if (writeError) {
2020
return console.log(chalkError(writeError));
2121
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

lib/jekyll-admin/public/webpack.config.dev.js webpack.config.dev.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default {
1717
],
1818
target: 'web', // necessary per https://webpack.github.io/docs/testing.html#compile-and-test
1919
output: {
20-
path: `${__dirname}/dist`, // Note: Physical files are only output by the production build task `npm run build`.
20+
path: `${__dirname}/lib/jekyll-admin/public`, // Note: Physical files are only output by the production build task `npm run build`.
2121
publicPath: `http://localhost:3000${ADMIN_PREFIX}/`, // Use absolute paths to avoid the way that URLs are resolved by Chrome when they're parsed from a dynamically loaded CSS blob. Note: Only necessary in Dev.
2222
filename: 'bundle.js'
2323
},

lib/jekyll-admin/public/webpack.config.prod.js webpack.config.prod.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default {
1515
entry: './src/index',
1616
target: 'web', // necessary per https://webpack.github.io/docs/testing.html#compile-and-test
1717
output: {
18-
path: `${__dirname}/dist`,
18+
path: `${__dirname}/lib/jekyll-admin/public`,
1919
publicPath: `${ADMIN_PREFIX}/`,
2020
filename: 'bundle.js'
2121
},

0 commit comments

Comments
 (0)