Skip to content

Commit

Permalink
Merge pull request #13 from richardeschloss/development
Browse files Browse the repository at this point in the history
Added plugin to package (hotfix)
  • Loading branch information
richardeschloss authored Nov 7, 2019
2 parents 9f504a1 + 1da51c2 commit 656dd09
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 56 deletions.
9 changes: 8 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,12 @@ module.exports = {
// add your custom rules here
rules: {
'nuxt/no-cjs-in-config': 'off'
}
},
overrides: [
{
files: ['modules/*.plugin.js'],
plugins: ['ignore-erb-mogix'],
processor: 'ignore-erb-mogix/.erb'
}
]
}
1 change: 1 addition & 0 deletions modules/stories.plugin.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
function nuxtStories() {
// eslint-disable-next-line
const pluginOptions = <%= JSON.stringify(options) %>

return Object.freeze({
Expand Down
89 changes: 39 additions & 50 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nuxt-stories",
"version": "0.0.9",
"version": "0.0.10",
"description": "Nuxt stories module -- Painless storybooking for Nuxt",
"author": "Richard Schloss",
"main": "modules/stories.module.js",
Expand Down Expand Up @@ -36,6 +36,7 @@
"files": [
".stories",
"modules/stories.module.js",
"modules/stories.plugin.js",
"postinstall.js"
],
"dependencies": {
Expand All @@ -44,6 +45,7 @@
"gently-copy": "^3.2.0"
},
"devDependencies": {
"@nuxt/utils": "^2.10.2",
"@nuxtjs/eslint-config": "^1.0.1",
"@nuxtjs/eslint-module": "^1.0.0",
"@vue/test-utils": "^1.0.0-beta.27",
Expand All @@ -55,17 +57,17 @@
"cross-env": "^5.2.0",
"eslint": "^6.1.0",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-ignore-erb-mogix": "^0.2.2",
"eslint-plugin-nuxt": ">=0.4.2",
"eslint-plugin-prettier": "^3.0.1",
"express": "^4.16.4",
"glob": "^7.1.5",
"nodemon": "^1.18.9",
"nuxt": "^2.0.0",
"pify": "^4.0.1",
"prettier": "^1.16.4",
"require-extension-hooks": "^0.3.3",
"require-extension-hooks-babel": "^1.0.0",
"require-extension-hooks-vue": "^2.0.0",
"glob": "^7.1.5",
"pify": "^4.0.1",
"@nuxt/utils": "^2.10.2"
"require-extension-hooks-vue": "^2.0.0"
}
}

0 comments on commit 656dd09

Please sign in to comment.