Skip to content

Commit

Permalink
feat(chore): update all npm packages and project to WebPack 4 (#447)
Browse files Browse the repository at this point in the history
* feat(chore): update all npm packages and project to WebPack 4
  • Loading branch information
ghiscoding authored Oct 31, 2020
1 parent 8410986 commit 1f8daac
Show file tree
Hide file tree
Showing 29 changed files with 151 additions and 415 deletions.
12 changes: 6 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@ jobs:
name: Upload Jest coverage to Codecov
command: bash <(curl -s https://codecov.io/bash) -t ${CODECOV_TOKEN}
- run:
name: Start Dev WebServer
command: npx nps webpack.server
name: Website Prod Build (GitHub demo site)
command: yarn run build:demo
- run:
name: Run Web Server
command: yarn run serve:demo
background: true
- restore_cache:
name: Restoring Cache for Cypress
Expand All @@ -45,11 +48,8 @@ jobs:
name: Running Cypress E2E tests with JUnit reporter
command: |
cd test/cypress
yarn cypress:ci:mochawesome
yarn cypress:ci
- store_test_results:
path: reports/junit
- store_artifacts:
path: reports/junit
- run:
name: Build Demo Site
command: NODE_ENV=production npx webpack --progress -p --env.production --env.extractCss
2 changes: 1 addition & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
{
"label": "Cypress CI (mochawesome)",
"type": "shell",
"command": "yarn run cypress:ci:mochawesome",
"command": "yarn run cypress:ci",
"problemMatcher": []
},
{
Expand Down
Binary file removed assets/favicon.ico
Binary file not shown.
86 changes: 0 additions & 86 deletions assets/i18n/en/aurelia-slickgrid.json

This file was deleted.

87 changes: 0 additions & 87 deletions assets/i18n/fr/aurelia-slickgrid.json

This file was deleted.

3 changes: 2 additions & 1 deletion aurelia_project/aurelia.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"displayName": "Web",
"port": 9000,
"hmr": false,
"open": false,
"open": true,
"host": "localhost",
"output": "dist"
},
"loader": {
Expand Down
1 change: 1 addition & 0 deletions global.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
import 'jest-extended';
import 'jsdom-global/register';
14 changes: 3 additions & 11 deletions index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,16 @@

<head>
<meta charset="utf-8">
<title>
<%- htmlWebpackPlugin.options.metadata.title %>
</title>
<title><%- htmlWebpackPlugin.options.metadata.title %></title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<base href="<%- htmlWebpackPlugin.options.metadata.baseUrl %>">
<!-- imported CSS are concatenated and added automatically -->
</head>

<body aurelia-app="main">
<script async defer src="https://buttons.github.io/buttons.js"></script>

<% if (htmlWebpackPlugin.options.metadata.server) { %>
<!-- Webpack Dev Server reload -->
<script src="/webpack-dev-server.js"></script>
<% } %>
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/6.26.0/polyfill.js"
integrity="sha256-qyG2LBYZavhW0RXdL7CQGGv2dX4WP30uIFPguGoOLjE="
crossorigin="anonymous"></script>
integrity="sha256-qyG2LBYZavhW0RXdL7CQGGv2dX4WP30uIFPguGoOLjE=" crossorigin="anonymous"></script>
</body>

</html>
</html>
91 changes: 0 additions & 91 deletions package-scripts.js

This file was deleted.

Loading

0 comments on commit 1f8daac

Please sign in to comment.