Skip to content

Commit

Permalink
feat: typescript 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Aug 17, 2018
1 parent 027a164 commit b558ab5
Show file tree
Hide file tree
Showing 10 changed files with 215 additions and 360 deletions.
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"bin": "./bin/run",
"bugs": "https://github.com/oclif/oclif/issues",
"dependencies": {
"@oclif/command": "^1.4.34",
"@oclif/command": "^1.4.36",
"@oclif/config": "^1.6.33",
"@oclif/errors": "^1.1.2",
"@oclif/plugin-help": "^2.0.5",
Expand All @@ -15,23 +15,23 @@
"debug": "^3.1.0",
"fixpack": "^2.3.1",
"lodash": "^4.17.10",
"nps-utils": "^1.6.0",
"nps-utils": "^1.7.0",
"sort-pjson": "^1.0.2",
"tslib": "^1.9.3",
"yeoman-environment": "^2.3.0",
"yeoman-generator": "^3.0.0",
"yeoman-environment": "^2.3.1",
"yeoman-generator": "^3.1.1",
"yosay": "^2.0.2"
},
"devDependencies": {
"@oclif/dev-cli": "^1.15.4",
"@oclif/tslint": "^1.1.2",
"@types/lodash": "^4.14.110",
"@oclif/tslint": "^2.0.0",
"@types/lodash": "^4.14.116",
"@types/read-pkg": "^3.0.0",
"@types/shelljs": "^0.8.0",
"@types/yeoman-generator": "^2.0.3",
"@types/yosay": "^0.0.29",
"chai": "^4.1.2",
"eslint": "^5.0.1",
"eslint": "^5.3.0",
"eslint-config-oclif": "^2.0.0",
"execa": "^0.10.0",
"fancy-test": "^1.2.0",
Expand All @@ -42,9 +42,9 @@
"nps": "^5.9.2",
"shelljs": "^0.8.2",
"tmp": "^0.0.33",
"ts-node": "^7.0.0",
"tslint": "^5.10.0",
"typescript": "^2.9.2"
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"typescript": "^3.0.1"
},
"engines": {
"node": ">=8.0.0"
Expand Down
2 changes: 1 addition & 1 deletion src/app_command.ts → src/app-command.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {flags} from '@oclif/command'

import Base from './command_base'
import Base from './command-base'

export default abstract class AppCommand extends Base {
static flags = {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/commands/base.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import AppCommand from '../app_command'
import AppCommand from '../app-command'

export default class extends AppCommand {
static hidden = true
Expand Down
2 changes: 1 addition & 1 deletion src/commands/command.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {flags} from '@oclif/command'

import Base from '../command_base'
import Base from '../command-base'

export interface Options {
name: string
Expand Down
2 changes: 1 addition & 1 deletion src/commands/hook.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {flags} from '@oclif/command'

import Base from '../command_base'
import Base from '../command-base'

export interface Options {
name: string
Expand Down
2 changes: 1 addition & 1 deletion src/commands/multi.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import AppCommand from '../app_command'
import AppCommand from '../app-command'

export default class extends AppCommand {
static description = 'generate a new multi-command CLI'
Expand Down
2 changes: 1 addition & 1 deletion src/commands/plugin.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import AppCommand from '../app_command'
import AppCommand from '../app-command'

export default class extends AppCommand {
static description = 'create a new CLI plugin'
Expand Down
2 changes: 1 addition & 1 deletion src/commands/single.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import AppCommand from '../app_command'
import AppCommand from '../app-command'

export default class extends AppCommand {
static description = 'generate a new single-command CLI'
Expand Down

0 comments on commit b558ab5

Please sign in to comment.