2
0
mirror of https://github.com/iconify/iconify.git synced 2024-11-09 23:00:56 +00:00

Publish update for SVG framework

This commit is contained in:
Vjacheslav Trushkin 2022-03-19 13:52:10 +02:00
parent 933befe874
commit 34a3d91521
8 changed files with 6357 additions and 3374 deletions

View File

@ -69,7 +69,7 @@ if (
compile.iconify = true; compile.iconify = true;
} }
if (compile.iconify && !fileExists(librariesDir + '/core/lib/modules.js')) { if (compile.iconify && !fileExists(librariesDir + '/core/lib/modules.mjs')) {
compile.core = true; compile.core = true;
} }

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,7 @@
"private": true, "private": true,
"description": "Browser tests for @iconify/iconify package", "description": "Browser tests for @iconify/iconify package",
"author": "Vjacheslav Trushkin <cyberalien@gmail.com> (https://iconify.design)", "author": "Vjacheslav Trushkin <cyberalien@gmail.com> (https://iconify.design)",
"version": "2.1.2", "version": "2.2.0",
"license": "(Apache-2.0 OR GPL-2.0)", "license": "(Apache-2.0 OR GPL-2.0)",
"bugs": "https://github.com/iconify/iconify/issues", "bugs": "https://github.com/iconify/iconify/issues",
"homepage": "https://iconify.design/", "homepage": "https://iconify.design/",
@ -18,9 +18,7 @@
"build:dist": "rollup -c rollup.config.js" "build:dist": "rollup -c rollup.config.js"
}, },
"devDependencies": { "devDependencies": {
"@iconify/core": "^1.2.4", "@iconify/iconify": "^2.2.0",
"@iconify/iconify": "^2.1.2",
"@rollup/plugin-buble": "^0.21.3",
"@rollup/plugin-commonjs": "^21.0.1", "@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^10.0.0", "@rollup/plugin-node-resolve": "^10.0.0",
"@types/chai": "^4.3.0", "@types/chai": "^4.3.0",

View File

@ -1,7 +1,6 @@
import fs from 'fs'; import fs from 'fs';
import resolve from '@rollup/plugin-node-resolve'; import resolve from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs'; import commonjs from '@rollup/plugin-commonjs';
import buble from '@rollup/plugin-buble';
const match = '-test.ts'; const match = '-test.ts';
@ -40,9 +39,6 @@ const config = files.map((file) => {
commonjs({ commonjs({
ignore: ['cross-fetch'], ignore: ['cross-fetch'],
}), }),
buble({
objectAssign: 'Object.assign',
}),
], ],
}; };
}); });

View File

@ -1,4 +1,6 @@
.DS_Store .DS_Store
.eslintignore
.eslintrc.js
api-extractor*.json api-extractor*.json
tsconfig*.json tsconfig*.json
rollup.config.js rollup.config.js
@ -6,6 +8,7 @@ build.js
npm-debug.log npm-debug.log
yarn.lock yarn.lock
tsconfig.tsbuildinfo tsconfig.tsbuildinfo
jest.config.js
node_modules node_modules
src src
lib lib

View File

@ -21,13 +21,13 @@ Iconify SVG framework is designed to be as easy to use as possible.
Add this line to your page to load Iconify SVG framework (you can add it to `<head>` section of the page or before `</body>`): Add this line to your page to load Iconify SVG framework (you can add it to `<head>` section of the page or before `</body>`):
```html ```html
<script src="https://code.iconify.design/2/2.1.2/iconify.min.js"></script> <script src="https://code.iconify.design/2/2.2.0/iconify.min.js"></script>
``` ```
or or
```html ```html
<script src="https://cdn.jsdelivr.net/npm/@iconify/iconify@2.1.2/dist/iconify.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/@iconify/iconify@2.2.0/dist/iconify.min.js"></script>
``` ```
or, if you are building a project with something like WebPack or Rollup, you can include the script by installing `@iconify/iconify` as a dependency and importing it in your project: or, if you are building a project with something like WebPack or Rollup, you can include the script by installing `@iconify/iconify` as a dependency and importing it in your project:

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@
"name": "@iconify/iconify", "name": "@iconify/iconify",
"description": "Unified SVG framework with over 100,000 icons to choose from", "description": "Unified SVG framework with over 100,000 icons to choose from",
"author": "Vjacheslav Trushkin <cyberalien@gmail.com> (https://iconify.design)", "author": "Vjacheslav Trushkin <cyberalien@gmail.com> (https://iconify.design)",
"version": "2.1.2", "version": "2.2.0",
"license": "(Apache-2.0 OR GPL-2.0)", "license": "(Apache-2.0 OR GPL-2.0)",
"main": "./dist/iconify.min.js", "main": "./dist/iconify.min.js",
"types": "./dist/iconify.d.ts", "types": "./dist/iconify.d.ts",
@ -69,7 +69,7 @@
} }
}, },
"devDependencies": { "devDependencies": {
"@iconify/core": "^1.2.4", "@iconify/core": "^1.3.0",
"@microsoft/api-extractor": "^7.19.4", "@microsoft/api-extractor": "^7.19.4",
"@rollup/plugin-node-resolve": "^13.1.3", "@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-replace": "^3.0.1", "@rollup/plugin-replace": "^3.0.1",
@ -78,7 +78,7 @@
"@typescript-eslint/eslint-plugin": "^5.10.0", "@typescript-eslint/eslint-plugin": "^5.10.0",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"eslint": "^8.7.0", "eslint": "^8.7.0",
"jest": "^27.4.7", "jest": "^28.0.0-alpha.7",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"rollup": "^2.66.0", "rollup": "^2.66.0",
"rollup-plugin-terser": "^7.0.2", "rollup-plugin-terser": "^7.0.2",