Skip to content

Commit

Permalink
feat: make nuxt a peer dependency
Browse files Browse the repository at this point in the history
BREAKING CHANGE: make nuxt a peer dependency
  • Loading branch information
test123456789012345 committed Jun 18, 2020
1 parent 53370ee commit a6290d9
Show file tree
Hide file tree
Showing 5 changed files with 179 additions and 116 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,23 @@
"dependencies": {
"@babel/core": "^7.10.2",
"@babel/register": "^7.10.1",
"@nuxt/cli": "^2.12.2",
"nuxt": "^2.12.2"
"@nuxt/cli": "^2.11.0"
},
"devDependencies": {
"@dword-design/base": "^6.15.5",
"@dword-design/functions": "^1.1.2",
"@dword-design/puppeteer": "^1.0.2",
"execa": "^4.0.2",
"fs-extra": "^9.0.1",
"nuxt": "^2.12.2",
"output-files": "^1.1.16",
"port-ready": "^0.1.0",
"tree-kill-promise": "^1.0.1",
"with-local-tmp-dir": "^2.2.10"
},
"peerDependencies": {
"nuxt": "^2.11.0"
},
"publishConfig": {
"access": "public"
},
Expand Down
1 change: 0 additions & 1 deletion src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ const run = async () => {
process.exit(1)
}
}

run()
8 changes: 4 additions & 4 deletions src/cli.spec.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import withLocalTmpDir from 'with-local-tmp-dir'
import outputFiles from 'output-files'
import { endent } from '@dword-design/functions'
import puppeteer from '@dword-design/puppeteer'
import execa from 'execa'
import kill from 'tree-kill-promise'
import { outputFile } from 'fs-extra'
import outputFiles from 'output-files'
import portReady from 'port-ready'
import puppeteer from '@dword-design/puppeteer'
import kill from 'tree-kill-promise'
import withLocalTmpDir from 'with-local-tmp-dir'

export default {
valid: () =>
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as cli from '@nuxt/cli'
import babelRegister from '@babel/register'
import * as cli from '@nuxt/cli'

export default args =>
cli.run(args, {
Expand Down
Loading

0 comments on commit a6290d9

Please sign in to comment.