Skip to content
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.

Commit

Permalink
fix: bump yeoman deps and clean old code
Browse files Browse the repository at this point in the history
  • Loading branch information
cristiand391 committed Apr 28, 2022
1 parent 9f65ae4 commit d162729
Show file tree
Hide file tree
Showing 38 changed files with 1,576 additions and 1,932 deletions.
2 changes: 0 additions & 2 deletions package-scripts.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint-disable unicorn/filename-case */

const script = (script, description) => description ? {script, description} : {script}
const _ = require('lodash')
const sh = require('shelljs')
Expand Down
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"@oclif/command": "^1.8.0",
"@oclif/config": "^1.17.0",
"@oclif/errors": "^1.3.4",
"@oclif/fixpack": "^2.3.0",
"@oclif/plugin-help": "^3.2.2",
"@oclif/plugin-not-found": "^1.2.2",
"@oclif/plugin-warn-if-update-available": "^1.5.4",
Expand All @@ -18,12 +17,11 @@
"eslint-config-xo": "^0.36.0",
"eslint-config-xo-space": "^0.27.0",
"lodash": "^4.17.21",
"mkdirp": "^1.0.4",
"rimraf": "^3.0.2",
"sort-pjson": "^1.0.3",
"tslib": "^2.2.0",
"yeoman-environment": "^2.4.0",
"yeoman-generator": "^4.0.1",
"yeoman-environment": "^3.9.1",
"yeoman-generator": "^5.6.1",
"yosay": "^2.0.2"
},
"devDependencies": {
Expand All @@ -36,7 +34,7 @@
"@types/lodash": "^4.14.170",
"@types/read-pkg": "^5.1.0",
"@types/shelljs": "^0.8.3",
"@types/yeoman-generator": "^3.1.3",
"@types/yeoman-generator": "^5.2.10",
"@types/yosay": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^4.26.1",
"@typescript-eslint/parser": "^4.26.1",
Expand Down
2 changes: 0 additions & 2 deletions scripts/release-example.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint-disable no-console */

module.exports = (_, options) => {
const sh = require('shelljs')
const execa = require('execa')
Expand Down
7 changes: 1 addition & 6 deletions src/command-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ export default abstract class CommandBase extends Command {
`sfdx:${type}`,
)

await new Promise((resolve, reject) => {
env.run(`sfdx:${type}`, generatorOptions, (err: Error, results: any) => {
if (err) reject(err)
else resolve(results)
})
})
await env.run(`sfdx:${type}`, generatorOptions)
}
}
32 changes: 0 additions & 32 deletions src/commands/command.ts

This file was deleted.

35 changes: 0 additions & 35 deletions src/commands/hook.ts

This file was deleted.

7 changes: 0 additions & 7 deletions src/commands/multi.ts

This file was deleted.

7 changes: 0 additions & 7 deletions src/commands/single.ts

This file was deleted.

Loading

0 comments on commit d162729

Please sign in to comment.