diff --git a/packages/demo/package.json b/packages/demo/package.json index 165d7cd80..4cccb2448 100644 --- a/packages/demo/package.json +++ b/packages/demo/package.json @@ -1,7 +1,6 @@ { "name": "aurelia-slickgrid-demo", "private": true, - "version": "0.0.0", "description": "Slickgrid components made available in Aurelia", "keywords": [ "aurelia", @@ -16,13 +15,6 @@ }, "license": "MIT", "author": "Ghislain B.", - "typesVersions": { - ">=4.2": { - "*": [ - "dist/types/*" - ] - } - }, "repository": { "type": "git", "url": "git+ssh://git@github.com/ghiscoding/aurelia-slickgrid.git" diff --git a/packages/demo/src/my-app.ts b/packages/demo/src/my-app.ts index 2706e0485..1c3e8fb01 100644 --- a/packages/demo/src/my-app.ts +++ b/packages/demo/src/my-app.ts @@ -5,7 +5,7 @@ import './styles.scss'; export class MyApp { static routes = [ - { path: 'example1', component: () => import('./examples/slickgrid/example1'), title: '1- Basic Grid / 2 Grids' }, + { path: ['', 'example1'], component: () => import('./examples/slickgrid/example1'), title: '1- Basic Grid / 2 Grids' }, { path: 'example2', component: () => import('./examples/slickgrid/example2'), title: '2- Formatters' }, { path: 'example3', component: () => import('./examples/slickgrid/example3'), title: '3- Editors / Delete' }, { path: 'example4', component: () => import('./examples/slickgrid/example4'), title: '4- Client Side Sort/Filter' }, @@ -38,7 +38,7 @@ export class MyApp { { path: 'example31', component: () => import('./examples/slickgrid/example31'), title: '31- Backend OData with RxJS' }, { path: 'example32', component: () => import('./examples/slickgrid/example32'), title: '32- Columns Resize by Content' }, { path: 'example33', component: () => import('./examples/slickgrid/example33'), title: '33- Regular & Custom Tooltip' }, - { path: ['', 'example34'], component: () => import('./examples/slickgrid/example34'), title: '34- Real-Time Trading Platform' }, + { path: 'example34', component: () => import('./examples/slickgrid/example34'), title: '34- Real-Time Trading Platform' }, { path: 'example35', component: () => import('./examples/slickgrid/example35'), title: '35- Row Based Editing' }, { path: 'home', component: () => import('./home-page'), title: 'Home' }, ]; diff --git a/packages/demo/webpack.config.js b/packages/demo/webpack.config.js index 9909814a6..4930f111f 100644 --- a/packages/demo/webpack.config.js +++ b/packages/demo/webpack.config.js @@ -42,6 +42,7 @@ module.exports = ({ production, node } = {}, { server } = {}, { analyze } = {}) filename: '[name].[contenthash].bundle.js', sourceMapFilename: '[name].[contenthash].bundle.js.map', chunkFilename: '[name].[contenthash].chunk.js', + uniqueName: 'au-slickgrid-demo' }, resolve: { extensions: ['.ts', '.js'],