@transferwise/icons
Advanced tools
Comparing version 2.0.0-beta.1 to 2.0.0-beta.2
@@ -0,1 +1,18 @@ | ||
# v2.0.0-beta.2 | ||
## Add angularJS support | ||
The library now distributes an AngularJS module for all the icons. | ||
To use it in your angularJs app, just import the module | ||
```js | ||
import { TwIconsModule } from "@transferwise/icons/lib/angular"; | ||
angular.module("app", [TwIconsModule]); | ||
``` | ||
and in your angularJs template use the icons | ||
```html | ||
<tw-activity-icon size="16" filled="true"></tw-activity-icon> | ||
<tw-alert-circle-icon size="24"></tw-alert-circle-icon> | ||
``` | ||
# v2.0.0-beta.1 | ||
@@ -2,0 +19,0 @@ ## ICONS v2 |
{ | ||
"name": "@transferwise/icons", | ||
"version": "2.0.0-beta.1", | ||
"version": "2.0.0-beta.2", | ||
"description": "TransferWise SVG icons", | ||
@@ -13,4 +13,4 @@ "main": "lib/index.js", | ||
"build": "run-s build:*", | ||
"build:clean": "rimraf lib build && mkdir lib && mkdir -p build/components", | ||
"build:react-components": "yarn run build-react-components", | ||
"build:clean": "rimraf lib build && mkdir lib && mkdir -p build/components && mkdir -p build/angular/components", | ||
"build:icon-components": "yarn run build-icon-components", | ||
"build:format": "yarn prettier --write", | ||
@@ -24,5 +24,5 @@ "build:rollup": "rollup -c", | ||
"lint-fix": "yarn run lint --fix", | ||
"prettier": "prettier './build/**/*.{ts,tsx}'", | ||
"prettier": "prettier './build/**/*.{ts,tsx,js}'", | ||
"release-to-github": "release-to-github-with-changelog", | ||
"build-react-components": "ts-node --project ./tsconfig.scripts.json ./scripts/build-react-components.ts" | ||
"build-icon-components": "ts-node --project ./tsconfig.scripts.json ./scripts/build-icon-components.ts" | ||
}, | ||
@@ -41,3 +41,4 @@ "repository": { | ||
"peerDependencies": { | ||
"react": "*" | ||
"react": "*", | ||
"angular": "*" | ||
}, | ||
@@ -44,0 +45,0 @@ "devDependencies": { |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
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
437713
234
2848
0
2
4
58