Skip to content

Commit

Permalink
move ionic-angular before angular
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen Hai committed Apr 8, 2020
1 parent f7a5119 commit cda50f0
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 45 deletions.
57 changes: 28 additions & 29 deletions packages/frameworks/frameworks.json
Expand Up @@ -309,6 +309,34 @@
}
}
},
{
"name": "Ionic Angular",
"slug": "ionic-angular",
"demo": "https://ionic-angular.now-examples.now.sh",
"logo": "https://raw.githubusercontent.com/zeit/now/master/packages/frameworks/logos/ionic.svg",
"tagline": "Ionic Angular allows you to build mobile PWAs with Angular and the Ionic Framework.",
"description": "An Ionic Angular site, created with the Ionic CLI.",
"website": "https://ionicframework.com",
"detectors": {
"every": [
{
"path": "package.json",
"matchContent": "\"(dev)?(d|D)ependencies\":\\s*{[^}]*\"@ionic\\/angular\":\\s*\".+?\"[^}]*}"
}
]
},
"settings": {
"buildCommand": {
"placeholder": "`npm run build` or `ng build`"
},
"devCommand": {
"value": "ng start"
},
"outputDirectory": {
"value": "www"
}
}
},
{
"name": "Angular",
"slug": "angular",
Expand Down Expand Up @@ -421,35 +449,6 @@
}
}
},
{
"name": "Ionic Angular",
"slug": "ionic-angular",
"demo": "https://ionic-angular.now-examples.now.sh",
"logo": "https://raw.githubusercontent.com/zeit/now/master/packages/frameworks/logos/ionic.svg",
"tagline": "Ionic Angular allows you to build mobile PWAs with Angular and the Ionic Framework.",
"description": "An Ionic Angular site, created with the Ionic CLI.",
"website": "https://ionicframework.com",
"detectors": {
"every": [
{
"path": "package.json",
"matchContent": "\"(dev)?(d|D)ependencies\":\\s*{[^}]*\"@ionic\\/angular\":\\s*\".+?\"[^}]*}"
}
]
},
"settings": {
"buildCommand": {
"placeholder": "`npm run build` or `ng build`"
},
"devCommand": {
"value": "ng start"
},
"outputDirectory": {
"value": "www"
}
}
},

{
"name": "Create React App",
"slug": "create-react-app",
Expand Down
32 changes: 16 additions & 16 deletions packages/now-static-build/src/frameworks.ts
Expand Up @@ -197,6 +197,22 @@ const frameworkList: Framework[] = [
buildCommand: 'ng build && scully',
getOutputDirName: async () => 'dist/static',
},
{
name: 'Ionic Angular',
slug: 'ionic-angular',
dependency: '@ionic/angular',
buildCommand: 'ng build',
getOutputDirName: async () => 'www',
defaultRoutes: [
{
handle: 'filesystem',
},
{
src: '/(.*)',
dest: '/index.html',
},
],
},
{
name: 'Angular',
slug: 'angular',
Expand Down Expand Up @@ -294,22 +310,6 @@ const frameworkList: Framework[] = [
},
],
},
{
name: 'Ionic Angular',
slug: 'ionic-angular',
dependency: '@ionic/angular',
buildCommand: 'ng build',
getOutputDirName: async () => 'www',
defaultRoutes: [
{
handle: 'filesystem',
},
{
src: '/(.*)',
dest: '/index.html',
},
],
},
{
name: 'Create React App',
slug: 'create-react-app',
Expand Down

0 comments on commit cda50f0

Please sign in to comment.