From 3ac28c670006c5d4c75b1270cec3aacca39eed17 Mon Sep 17 00:00:00 2001 From: Tony Air Date: Sat, 21 Apr 2018 10:36:06 +0700 Subject: [PATCH] Minor updates --- .gitignore | 8 +- .idea/workspace.xml | 22 +- composer.json | 29 +- package-lock.json | 293 ++++++++++-------- package.json | 26 +- site/LICENSE | 29 ++ site/README.md | 2 + site/_config/webpack.yml | 8 +- site/{ => client}/src/favicon.png | Bin .../src/js/_components/_spinner.js | 0 site/{ => client}/src/js/_events.js | 0 .../js/_pageType_and_component_template.js | 0 site/{ => client}/src/js/app.js | 12 +- site/{ => client}/src/js/main.js | 0 .../src/scss/_bootstrap_variables.scss | 0 site/{ => client}/src/scss/_layout.scss | 0 site/{ => client}/src/scss/_variables.scss | 0 site/{ => client}/src/scss/app.scss | 11 +- .../{ => client}/src/scss/types/HomePage.scss | 0 .../src/scss/types/typography.scss | 0 site/package.json | 33 ++ .../extensions/SiteConfigExtension.php | 0 site/{code => src}/pages/HomePage.php | 0 .../pages/HomePageController.php | 0 site/{code => src}/pages/Page.php | 0 site/{code => src}/pages/PageController.php | 0 .../templates/DeferedRequirements.php | 18 +- .../templates/WebpackTemplateProvider.php | 20 +- site/templates/Page.ss | 6 +- site/transifex.js | 34 ++ webpack.config.common.js | 108 ++++--- webpack.config.dev.js | 17 +- webpack.config.prod.js | 16 +- 33 files changed, 427 insertions(+), 265 deletions(-) create mode 100644 site/LICENSE create mode 100644 site/README.md rename site/{ => client}/src/favicon.png (100%) rename site/{ => client}/src/js/_components/_spinner.js (100%) rename site/{ => client}/src/js/_events.js (100%) rename site/{ => client}/src/js/_pageType_and_component_template.js (100%) rename site/{ => client}/src/js/app.js (84%) rename site/{ => client}/src/js/main.js (100%) rename site/{ => client}/src/scss/_bootstrap_variables.scss (100%) rename site/{ => client}/src/scss/_layout.scss (100%) rename site/{ => client}/src/scss/_variables.scss (100%) rename site/{ => client}/src/scss/app.scss (84%) rename site/{ => client}/src/scss/types/HomePage.scss (100%) rename site/{ => client}/src/scss/types/typography.scss (100%) create mode 100644 site/package.json rename site/{code => src}/extensions/SiteConfigExtension.php (100%) rename site/{code => src}/pages/HomePage.php (100%) rename site/{code => src}/pages/HomePageController.php (100%) rename site/{code => src}/pages/Page.php (100%) rename site/{code => src}/pages/PageController.php (100%) rename site/{code => src}/templates/DeferedRequirements.php (93%) rename site/{code => src}/templates/WebpackTemplateProvider.php (76%) mode change 100644 => 100755 create mode 100644 site/transifex.js diff --git a/.gitignore b/.gitignore index 161591f..4544dd0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ -/betternavigator - +/.idea /.env /node_modules /composer.lock @@ -7,5 +6,6 @@ /vendor /public/assets /public/resources -/site/client -/silverstripe-cache \ No newline at end of file +/site/client/dist +/silverstripe-cache +yarn-error\.log diff --git a/.idea/workspace.xml b/.idea/workspace.xml index d71c1c7..c6b96dd 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,27 +1,7 @@ - - - - - - - - - - - - - - - - - - - - - +