Skip to content

Commit 8508487

Browse files
committed
refactor(scripts): split up docs command, use cli-framework
1 parent eb36723 commit 8508487

12 files changed

Lines changed: 629 additions & 583 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ coverage/
1010
npm-debug.log*
1111
lerna-debug.log
1212

13-
docs
13+
/docs
1414
dist
1515

1616
package-lock.json*

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"test": "lerna run test",
1111
"build": "lerna run build",
1212
"watch": "lerna run watch --parallel",
13-
"docs": "node ./packages/@ionic/cli-scripts/bin/docs",
13+
"docs": "node ./packages/@ionic/cli-scripts/bin/ionic-cli-scripts docs",
1414
"publish:canary": "lerna publish --canary --exact --npm-tag=canary --skip-git",
1515
"publish:ci-4.x": "lerna publish --canary --exact --npm-tag=canary --skip-git --cd-version=major",
1616
"publish:testing": "lerna publish --canary=testing --exact --npm-tag=testing --skip-git",
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env node
2+
3+
'use strict';
4+
5+
process.title = 'ionic-cli-scripts';
6+
process.on('unhandledRejection', function(r) { console.error(r); });
7+
8+
var cli = require('../');
9+
cli.run(process.argv.slice(2), process.env);

0 commit comments

Comments
 (0)