Skip to content

Commit

Permalink
feat(new): switch default to webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
JeroenVinke committed Mar 6, 2018
1 parent dda7d63 commit 15b1f1f
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 34 deletions.
54 changes: 28 additions & 26 deletions build/tasks/skeletons.json
Original file line number Diff line number Diff line change
@@ -1,49 +1,51 @@
[{
"200": "skeleton-requirejs-esnext",
"300": "default-esnext"
"300": "custom",
"600": "requirejs",
"620": {
"id": "web",
"displayName": "Web"
}
}, {
"200": "skeleton-requirejs-typescript",
"300": "default-typescript"
"300": "custom",
"600": "requirejs",
"620": {
"id": "web",
"displayName": "Web"
},
"630": {
"id": "typescript",
"displayName": "TypeScript",
"fileExtension": ".ts"
}
},{
"200": "skeleton-systemjs-esnext",
"300": "custom",
"600": "systemjs"
"600": "systemjs",
"620": {
"id": "web",
"displayName": "Web"
}
}, {
"200": "skeleton-systemjs-typescript",
"300": "custom",
"600": "systemjs",
"620": {
"id": "web",
"displayName": "Web"
},
"630": {
"id": "typescript",
"displayName": "TypeScript",
"fileExtension": ".ts"
}
}, {
"200": "skeleton-webpack-esnext",
"300": "custom",
"600": "webpack",
"680": [{
"id": "karma",
"displayName": "Karma"
}, {
"id": "jest",
"displayName": "Jest"
}]
"300": "default-esnext"
}, {
"200": "skeleton-webpack-typescript",
"300": "custom",
"600": "webpack",
"630": {
"id": "typescript",
"displayName": "TypeScript",
"fileExtension": ".ts"
},
"680": [{
"id": "karma",
"displayName": "Karma"
}, {
"id": "jest",
"displayName": "Jest"
}]
"300": "default-typescript"
}, {
"200": "skeleton-webpack-esnext-aspnetcore",
"300": "custom",
Expand Down
30 changes: 22 additions & 8 deletions lib/commands/new/new-application.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,13 @@
"displayName": "None",
"fileExtension": ".css"
},
"unitTestRunner": {
"unitTestRunner": [{
"id": "jest",
"displayName": "Jest"
}, {
"id": "karma",
"displayName": "Karma"
},
}],
"testFramework": {
"id": "jasmine",
"displayName": "Jasmine"
Expand All @@ -39,12 +42,23 @@
"displayName": "Web"
},
"loader": {
"id": "require",
"displayName": "RequireJS"
"id": "none",
"displayName": "None"
},
"bundler": {
"id": "cli",
"displayName": "Aurelia-CLI"
"id": "webpack",
"displayName": "Webpack"
},
"build": {
"options": {
"server": "dev",
"extractCss": "prod",
"coverage": false
}
},
"integrationTestRunner": {
"id": "none",
"displayName": "None"
}
}
},
Expand All @@ -65,12 +79,12 @@
"options": [
{
"displayName": "Default ESNext",
"description": "A basic web-oriented setup with Babel and RequireJS for modern JavaScript development.",
"description": "A basic web-oriented setup with Babel and Webpack for modern JavaScript development.",
"value": "default-esnext"
},
{
"displayName": "Default TypeScript",
"description": "A basic web-oriented setup with TypeScript and RequireJS for modern JavaScript development.",
"description": "A basic web-oriented setup with TypeScript and Webpack for modern JavaScript development.",
"value": "default-typescript"
},
{
Expand Down

0 comments on commit 15b1f1f

Please sign in to comment.