portal-vue
Advanced tools
Comparing version 1.5.1 to 2.0.0-beta.0
const { resolve } = require('path') | ||
module.exports = function nuxtPortalVue(moduleOptions) { | ||
module.exports = function nuxtPortalVue(options) { | ||
this.addPlugin({ | ||
src: resolve(__dirname, 'plugin.js'), | ||
fileName: 'portal-vue.js', | ||
moduleOptions | ||
options, | ||
}) | ||
@@ -9,0 +9,0 @@ } |
170
package.json
{ | ||
"name": "portal-vue", | ||
"version": "1.5.1", | ||
"description": "A Vue component to render elements outside of a component's template, elsewhere in the DOM", | ||
"main": "dist/portal-vue.js", | ||
"version": "2.0.0-beta.0", | ||
"private": false, | ||
"scripts": { | ||
"docs:dev": "vuepress dev docs", | ||
"docs:build": "vuepress build docs", | ||
"serve": "vue-cli-service serve example/main.ts", | ||
"serve:prod": "vue-cli-service serve --mode production example/main.ts", | ||
"build": "vue-cli-service build --target lib --name portal-vue --dest dist-webpack src/index.ts", | ||
"roll": "ROLL=1 node ./scripts/build && yarn minify", | ||
"minify": "minify dist/portal-vue.umd.js --out-file dist/portal-vue.umd.min.js", | ||
"lint": "vue-cli-service lint", | ||
"test:unit": "vue-cli-service test:unit", | ||
"test:e2e": "vue-cli-service test:e2e" | ||
}, | ||
"main": "dist/portal-vue.common.js", | ||
"module": "dist/portal-vue.esm.js", | ||
"jsdelivr": "dist/portal-vue.umd.min.js", | ||
"unpkg": "dist/portal-vue.umd.min.js", | ||
"files": [ | ||
"dist/portal-vue.js", | ||
"dist/portal-vue.min.js", | ||
"dist/portal-vue.js.map", | ||
"src", | ||
"nuxt" | ||
"dist", | ||
"nuxt", | ||
"types" | ||
], | ||
"author": "Thorsten <t.luenborg@googlemail.com>", | ||
"license": "MIT", | ||
"repository": "git@github.com:LinusBorg/portal-vue.git", | ||
"scripts": { | ||
"lint": "eslint src/", | ||
"lint:test": "eslint test/", | ||
"build": "npm run lint && cross-env NODE_ENV=production rollup -c build/rollup.conf.prod.js && uglifyjs dist/portal-vue.js -c -m > dist/portal-vue.min.js", | ||
"dev": "cross-env NODE_ENV=development webpack-dev-server --watch --config build/webpack.conf.js --inline --hot", | ||
"prod": "NODE_ENV=production webpack-dev-server --watch --config build/webpack.conf.js --inline --hot", | ||
"docs:dev": "docute ./docs --watch", | ||
"docs:deploy": "gh-pages -d docs", | ||
"test": "jest --config test/unit/jest.conf.js --coverage", | ||
"test:watch": "jest --config test/unit/jest.conf.js --watch" | ||
"sideeffects": false, | ||
"types": "./types/index.d.ts", | ||
"dependencies": { | ||
"vue": "^2.5.17", | ||
"vue-router": "^3.0.1" | ||
}, | ||
"eslintConfig": { | ||
"parserOptions": { | ||
"parser": "babel-eslint" | ||
}, | ||
"env": { | ||
"browser": true | ||
}, | ||
"extends": [ | ||
"plugin:vue/essential" | ||
"devDependencies": { | ||
"@babel/runtime-corejs2": "^7.1.5", | ||
"@types/jest": "^23.1.4", | ||
"@vue/cli-plugin-babel": "^3.1.0", | ||
"@vue/cli-plugin-e2e-cypress": "^3.1.0", | ||
"@vue/cli-plugin-eslint": "^3.1.0", | ||
"@vue/cli-plugin-typescript": "^3.1.0", | ||
"@vue/cli-plugin-unit-jest": "^3.1.0", | ||
"@vue/cli-service": "^3.1.0", | ||
"@vue/eslint-config-prettier": "^4.0.0", | ||
"@vue/eslint-config-typescript": "^3.1.0", | ||
"@vue/test-utils": "^1.0.0-beta.26", | ||
"babel-core": "7.0.0-bridge.0", | ||
"babel-eslint": "^10.0.1", | ||
"babel-minify": "^0.5.0", | ||
"clone-deep": "^4.0.1", | ||
"eslint": "^5.8.0", | ||
"eslint-plugin-vue": "^5.0.0-0", | ||
"lint-staged": "^7.2.0", | ||
"merge": "^1.2.1", | ||
"nanoid": "^2.0.0", | ||
"node-sass": "^4.9.2", | ||
"prettier-eslint": "^8.8.2", | ||
"rollup": "^0.67.3", | ||
"rollup-plugin-analyzer": "^2.1.0", | ||
"rollup-plugin-babel": "^4.0.3", | ||
"rollup-plugin-commonjs": "^9.2.0", | ||
"rollup-plugin-import-alias": "^1.0.5", | ||
"rollup-plugin-node-resolve": "^3.4.0", | ||
"rollup-plugin-replace": "^2.1.0", | ||
"rollup-plugin-typescript2": "^0.18.0", | ||
"sass-loader": "^7.0.3", | ||
"ts-jest": "^23.0.0", | ||
"typescript": "^3.0.0", | ||
"vue-class-component": "^6.2.0", | ||
"vue-no-ssr": "^1.1.1", | ||
"vue-property-decorator": "^7.0.0", | ||
"vue-resize": "^0.4.4", | ||
"vue-template-compiler": "^2.5.11", | ||
"vuepress": "^0.14.8" | ||
}, | ||
"resolutions": { | ||
"babel-core": "7.0.0-bridge.0", | ||
"@babel/core": "^7.1.0" | ||
}, | ||
"gitHooks": { | ||
"pre-commit": "lint-staged" | ||
}, | ||
"lint-staged": { | ||
"*.js": [ | ||
"vue-cli-service lint", | ||
"git add" | ||
], | ||
"plugins": [ | ||
"vue" | ||
"*.vue": [ | ||
"vue-cli-service lint", | ||
"git add" | ||
], | ||
"rules": { | ||
"vue/jsx-uses-vars": 2, | ||
"comma-dangle": [ | ||
"error", | ||
"always-multiline" | ||
] | ||
} | ||
}, | ||
"devDependencies": { | ||
"@vue/test-utils": "1.0.0-beta.17", | ||
"babel": "^6.5.2", | ||
"babel-core": "^6.26.3", | ||
"babel-eslint": "^8.2.6", | ||
"babel-helper-vue-jsx-merge-props": "^2.0.3", | ||
"babel-jest": "^23.4.0", | ||
"babel-loader": "^7.1.5", | ||
"babel-plugin-dynamic-import-node": "^1.2.0", | ||
"babel-plugin-external-helpers": "^6.22.0", | ||
"babel-plugin-syntax-jsx": "^6.18.0", | ||
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2", | ||
"babel-plugin-transform-vue-jsx": "^3.4.3", | ||
"babel-preset-es2015": "^6.24.1", | ||
"babel-preset-stage-3": "^6.24.1", | ||
"cross-env": "^5.1.2", | ||
"css-loader": "^0.28.7", | ||
"docute": "^3.4.9", | ||
"docute-cli": "^0.6.0", | ||
"eslint": "^4.15.0", | ||
"eslint-friendly-formatter": "^3.0.0", | ||
"eslint-plugin-vue": "^4.2.0", | ||
"friendly-errors-webpack-plugin": "^1.6.1", | ||
"gh-pages": "^1.1.0", | ||
"jest": "^23.4.1", | ||
"jest-serializer-vue": "^0.3.0", | ||
"node-sass": "^4.9.3", | ||
"rollup": "^0.54.1", | ||
"rollup-plugin-babel": "^3.0.3", | ||
"rollup-plugin-buble": "^0.18.0", | ||
"rollup-plugin-commonjs": "^8.2.6", | ||
"rollup-plugin-node-resolve": "^3.0.2", | ||
"sass-loader": "^6.0.5", | ||
"style-loader": "^0.18.2", | ||
"testdouble-chai": "^0.5.0", | ||
"vue": "^2.5.16", | ||
"vue-jest": "^2.6.0", | ||
"vue-loader": "^14.2.3", | ||
"vue-router": "^3.0.1", | ||
"vue-template-compiler": "^2.5.16", | ||
"webpack": "^3.10.0", | ||
"webpack-dev-server": "^2.11.0", | ||
"webpack-merge": "^4.1.1" | ||
}, | ||
"dependencies": {} | ||
".tsx?": [ | ||
"vue-cli-service lint", | ||
"git add" | ||
] | ||
} | ||
} |
@@ -5,2 +5,4 @@ # PortalVue | ||
## This is the README of the 2.0.0-beta `next`-branch | ||
<p style="tex-align: center"> | ||
@@ -12,3 +14,3 @@ <img src="http://linusborg.github.io/portal-vue/assets/logo.png" alt="PortalVue Logo"> | ||
For more detailed documentation and additional Information, please visit <a href="http://linusborg.github.io/portal-vue">the docs</a> | ||
For more detailed documentation and additional Information, please visit <a href="https://portal-vue-next-preview.netlify.com/">the docs for this beta</a> | ||
@@ -15,0 +17,0 @@ ## Installation |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
190564
39
32
2516
55
2
1
2
3
1
+ Addedvue@^2.5.17
+ Addedvue-router@^3.0.1
+ Added@babel/helper-string-parser@7.25.9(transitive)
+ Added@babel/helper-validator-identifier@7.25.9(transitive)
+ Added@babel/parser@7.26.9(transitive)
+ Added@babel/types@7.26.9(transitive)
+ Added@vue/compiler-sfc@2.7.16(transitive)
+ Addedcsstype@3.1.3(transitive)
+ Addednanoid@3.3.8(transitive)
+ Addedpicocolors@1.1.1(transitive)
+ Addedpostcss@8.5.3(transitive)
+ Addedprettier@2.8.8(transitive)
+ Addedsource-map@0.6.1(transitive)
+ Addedsource-map-js@1.2.1(transitive)
+ Addedvue@2.7.16(transitive)
+ Addedvue-router@3.6.5(transitive)