@nuxtjs/svg-sprite
Advanced tools
Comparing version 0.5.2 to 1.0.0-beta.1
@@ -5,2 +5,9 @@ # Changelog | ||
## [1.0.0-beta.1](https://github.com/nuxt-community/svg-sprite-module/compare/v0.5.2...v1.0.0-beta.1) (2021-03-16) | ||
### Features | ||
* typescript refactor ([#235](https://github.com/nuxt-community/svg-sprite-module/issues/235)) ([854c2a5](https://github.com/nuxt-community/svg-sprite-module/commit/854c2a54832b72f5d35218d11be856dd4a412ea1)) | ||
### [0.5.2](https://github.com/nuxt-community/svg-sprite-module/compare/v0.5.1...v0.5.2) (2020-12-02) | ||
@@ -7,0 +14,0 @@ |
{ | ||
"name": "@nuxtjs/svg-sprite", | ||
"version": "0.5.2", | ||
"version": "1.0.0-beta.1", | ||
"description": "Optimized and Easy way to use svg files in Nuxt.js", | ||
"main": "lib/module.js", | ||
"repository": "nuxt-community/svg-sprite-module", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/nuxt-community/svg-sprite-module.git" | ||
"sideEffects": false, | ||
"main": "dist/module.js", | ||
"types": "dist/types.d.ts", | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
"build": "siroc build && mkdist --src src/runtime --dist dist/runtime", | ||
"dev": "yarn nuxt playground", | ||
"lint": "eslint --ext .ts --ext .vue .", | ||
"prepublishOnly": "yarn build", | ||
"release": "yarn test && standard-version && git push --follow-tags && npm publish", | ||
"test": "yarn lint && yarn jest" | ||
}, | ||
"homepage": "https://github.com/nuxt-community/svg-sprite-module#readme", | ||
"bugs": { | ||
"url": "https://github.com/nuxt-community/svg-sprite-module/issues" | ||
"dependencies": { | ||
"chalk": "^4.1.0", | ||
"chokidar": "^3.5.1", | ||
"consola": "^2.15.3", | ||
"fs-extra": "^9.1.0", | ||
"hookable": "^4.4.1", | ||
"svgo": "^1.3.2" | ||
}, | ||
"scripts": { | ||
"dev": "nuxt dev demo", | ||
"lint": "eslint --ext .js,.vue .", | ||
"test": "nuxt-edge build demo --no-lock && jest", | ||
"release": "standard-version $* && git push --follow-tags && npm publish" | ||
}, | ||
"files": [ | ||
"lib", | ||
"stories" | ||
], | ||
"devDependencies": { | ||
"@babel/preset-env": "^7.12.7", | ||
"@nuxtjs/eslint-config": "^5.0.0", | ||
"@babel/preset-env": "^7.13.10", | ||
"@babel/preset-typescript": "latest", | ||
"@nuxt/test-utils": "^0.2.0", | ||
"@nuxt/types": "latest", | ||
"@nuxt/typescript-build": "latest", | ||
"@nuxt/typescript-runtime": "latest", | ||
"@nuxtjs/eslint-config-typescript": "^6.0.0", | ||
"@types/jest": "latest", | ||
"@vue/test-utils": "latest", | ||
"babel-eslint": "^10.1.0", | ||
"babel-jest": "^26.6.3", | ||
"codecov": "^3.8.1", | ||
"cross-env": "^7.0.3", | ||
"eslint": "^7.14.0", | ||
"eslint-config-standard": "^16.0.2", | ||
"eslint-plugin-import": "^2.22.1", | ||
"eslint-plugin-jest": "^24.1.3", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-promise": "^4.2.1", | ||
"eslint-plugin-standard": "^4.1.0", | ||
"eslint-plugin-vue": "^7.1.0", | ||
"jest": "^25.5.4", | ||
"jest-puppeteer": "^4.4.0", | ||
"nuxt-edge": "^3.0.0-26556502.75dd90f2", | ||
"puppeteer": "^5.5.0", | ||
"standard-version": "^9.0.0" | ||
"eslint": "^7.22.0", | ||
"jest": "latest", | ||
"mkdist": "latest", | ||
"nuxt-edge": "^2.16.0-26930917.f08f4efc", | ||
"playwright": "^1.9.2", | ||
"siroc": "latest", | ||
"standard-version": "latest", | ||
"ts-loader": "latest", | ||
"typescript": "latest" | ||
}, | ||
"dependencies": { | ||
"chalk": "^4.1.0", | ||
"chokidar": "^3.4.3", | ||
"consola": "^2.15.0", | ||
"fs-extra": "^9.0.1", | ||
"svgo": "^1.3.2", | ||
"vue-functional-data-merge": "^3.1.0" | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
} |
@@ -26,7 +26,7 @@ # SVG Sprite Module | ||
Add `@nuxtjs/svg-sprite` to modules section of `nuxt.config.js`: | ||
Add `@nuxtjs/svg-sprite` to buildModules section of `nuxt.config.js`: | ||
```js | ||
{ | ||
modules: [ | ||
buildModules: [ | ||
'@nuxtjs/svg-sprite', | ||
@@ -75,3 +75,3 @@ ], | ||
export default { | ||
modules: ['@nuxtjs/svg-sprite'], | ||
buildModules: ['@nuxtjs/svg-sprite'], | ||
svgSprite: { | ||
@@ -93,4 +93,4 @@ input: '~/assets/svg/' | ||
### Storybook | ||
If you are fan of storybook this might be interesting for you, This module provides a story to list and search available icons of your project. You can see stories under `stories` directory. | ||
If you are using [`@nuxtjs/storybook`](https://storybook.nuxtjs.org) you can see the SvgSprites stories under `Modules` section in your storybook. By default Svg Sprites story will shows in your storybook, you disable/hide the story using [Storybook's `modules` option](https://storybook.nuxtjs.org/options#modules) | ||
This module provides a story to list and search available icons of your project. You can see stories under `stories` directory. | ||
If you are using [`@nuxtjs/storybook`](https://storybook.nuxtjs.org) you can see the SvgSprites stories under `Modules` section in your storybook. Sprites will show in your Storybook, unless you disable/hide the story using [Storybook's `modules` option](https://storybook.nuxtjs.org/options#modules) | ||
@@ -97,0 +97,0 @@ ## Development |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
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 website
QualityPackage does not have a website.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
723844
23852
2
2
6
1
+ Addedhookable@^4.4.1
+ Addedhookable@4.4.1(transitive)
- Removedvue-functional-data-merge@^3.1.0
- Removedvue-functional-data-merge@3.1.0(transitive)
Updatedchokidar@^3.5.1
Updatedconsola@^2.15.3
Updatedfs-extra@^9.1.0