Skip to content

Commit

Permalink
fix: ran generator
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Apr 7, 2018
1 parent e5cd1ac commit 0b308d1
Show file tree
Hide file tree
Showing 7 changed files with 405 additions and 36 deletions.
5 changes: 2 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@ jobs:
- v1-yarn-{{checksum ".circleci/config.yml"}}-{{ checksum "yarn.lock"}}
- v1-yarn-{{checksum ".circleci/config.yml"}}
- run: .circleci/greenkeeper
- run: yarn add -D nyc@11 @oclif/nyc-config@1 mocha-junit-reporter@1 @commitlint/cli@6 @commitlint/config-conventional@6
- run: yarn add -D nyc@11 @oclif/nyc-config@1 mocha-junit-reporter@1
- run: ./bin/run --help
- run: |
mkdir -p reports
$NYC yarn test --reporter mocha-junit-reporter
$NYC report --reporter text-lcov > coverage.lcov
curl -s https://codecov.io/bash | bash
- run: yarn exec commitlint -- -x @commitlint/config-conventional --from origin/master
- store_test_results: &store_test_results
path: ~/cli/reports
node-8:
Expand All @@ -35,7 +34,7 @@ jobs:
- add_ssh_keys
- checkout
- restore_cache: *restore_cache
- run: yarn global add @oclif/semantic-release@1 semantic-release@12
- run: yarn global add @oclif/semantic-release@2 semantic-release@15
- run: yarn --frozen-lockfile
- run: |
export PATH=/usr/local/share/.config/yarn/global/node_modules/.bin:$PATH
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
*-debug.log
*-error.log
.oclif.manifest.json
/dist
/lib
/node_modules
/package-lock.json
/tmp
43 changes: 36 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,42 @@


[![Version](https://img.shields.io/npm/v/@oclif/plugin-update.svg)](https://npmjs.org/package/@oclif/plugin-update)
[![CircleCI](https://circleci.com/gh/jdxcode/plugin-update/tree/master.svg?style=svg)](https://circleci.com/gh/jdxcode/plugin-update/tree/master)
[![Appveyor CI](https://ci.appveyor.com/api/projects/status/github/jdxcode/plugin-update?branch=master&svg=true)](https://ci.appveyor.com/project/heroku/plugin-update/branch/master)
[![Codecov](https://codecov.io/gh/jdxcode/plugin-update/branch/master/graph/badge.svg)](https://codecov.io/gh/jdxcode/plugin-update)
[![Greenkeeper](https://badges.greenkeeper.io/jdxcode/plugin-update.svg)](https://greenkeeper.io/)
[![Known Vulnerabilities](https://snyk.io/test/npm/@oclif/plugin-update/badge.svg)](https://snyk.io/test/npm/@oclif/plugin-update)
[![CircleCI](https://circleci.com/gh/oclif/plugin-update/tree/master.svg?style=shield)](https://circleci.com/gh/oclif/plugin-update/tree/master)
[![Appveyor CI](https://ci.appveyor.com/api/projects/status/github/oclif/plugin-update?branch=master&svg=true)](https://ci.appveyor.com/project/oclif/plugin-update/branch/master)
[![Codecov](https://codecov.io/gh/oclif/plugin-update/branch/master/graph/badge.svg)](https://codecov.io/gh/oclif/plugin-update)
[![Downloads/week](https://img.shields.io/npm/dw/@oclif/plugin-update.svg)](https://npmjs.org/package/@oclif/plugin-update)
[![License](https://img.shields.io/npm/l/@oclif/plugin-update.svg)](https://github.com/jdxcode/plugin-update/blob/master/package.json)
[![License](https://img.shields.io/npm/l/@oclif/plugin-update.svg)](https://github.com/oclif/plugin-update/blob/master/package.json)

<!-- toc -->
* [Usage](#usage)
* [Commands](#commands)
<!-- tocstop -->
# Usage
<!-- usage -->
```sh-session
$ npm install -g @oclif/plugin-update
$ oclif-example COMMAND
running command...
$ oclif-example (-v|--version|version)
@oclif/plugin-update/1.0.4 darwin-x64 node-v9.11.1
$ oclif-example --help [COMMAND]
USAGE
$ oclif-example COMMAND
...
```
<!-- usagestop -->
# Commands
<!-- commands -->
* [oclif-example update [CHANNEL]](#oclif-example-update-channel)

This plugin is still a WIP
## oclif-example update [CHANNEL]

update the oclif-example CLI

```
USAGE
$ oclif-example update [CHANNEL]
```

_See code: [src/commands/update.ts](https://github.com/oclif/plugin-update/blob/v1.0.4/src/commands/update.ts)_
<!-- commandsstop -->
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"dependencies": {
"@heroku-cli/color": "^1.1.3",
"@oclif/command": "^1.4.7",
"@oclif/config": "^1.3.64",
"@oclif/config": "^1.3.66",
"@oclif/errors": "^1.0.3",
"@types/semver": "^5.5.0",
"cli-ux": "^3.3.27",
Expand All @@ -22,7 +22,7 @@
"tar-fs": "^1.16.0"
},
"devDependencies": {
"@oclif/dev-cli": "^1.4.4",
"@oclif/dev-cli": "^1.7.2",
"@oclif/plugin-help": "^1.2.3",
"@oclif/test": "^1.0.4",
"@oclif/tslint": "^1.1.0",
Expand All @@ -36,7 +36,8 @@
"chai": "^4.1.2",
"globby": "^8.0.1",
"mocha": "^5.0.5",
"ts-node": "^5.0.1",
"ts-node": "5",
"tslib": "^1.9.0",
"tslint": "^5.9.1",
"typescript": "^2.8.1"
},
Expand All @@ -53,11 +54,11 @@
],
"license": "MIT",
"oclif": {
"bin": "heroku",
"commands": "./lib/commands",
"bin": "oclif-example",
"s3": {
"host": "cli-assets.heroku.com"
},
"commands": "./lib/commands",
"hooks": {
"init": "./lib/hooks/init"
},
Expand All @@ -71,10 +72,10 @@
"clean": "rm -f .oclif.manifest.json",
"lint": "tsc -p test --noEmit && tslint -p test -t stylish",
"postpublish": "yarn run clean",
"posttest": "yarn run lint",
"posttest": "tsc -p test --noEmit && tslint -p test -t stylish",
"prepublishOnly": "yarn run build && oclif-dev manifest && oclif-dev readme",
"preversion": "yarn run clean",
"test": "echo NO TESTS: mocha --forbid-only \"test/**/*.test.ts\"",
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
"version": "oclif-dev readme && git add README.md"
}
}
1 change: 1 addition & 0 deletions test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"declaration": false,
"extends": "../tsconfig",
"compilerOptions": {
"sourceMap": true
Expand Down
2 changes: 0 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
"forceConsistentCasingInFileNames": true,
"importHelpers": true,
"module": "commonjs",
"noUnusedLocals": true,
"noUnusedParameters": true,
"outDir": "./lib",
"pretty": true,
"rootDirs": [
Expand Down
Loading

0 comments on commit 0b308d1

Please sign in to comment.