mirror of
https://github.com/iconify/iconify.git
synced 2025-01-06 07:20:40 +00:00
Publish update for SVG framework
This commit is contained in:
parent
933befe874
commit
34a3d91521
@ -69,7 +69,7 @@ if (
|
||||
compile.iconify = true;
|
||||
}
|
||||
|
||||
if (compile.iconify && !fileExists(librariesDir + '/core/lib/modules.js')) {
|
||||
if (compile.iconify && !fileExists(librariesDir + '/core/lib/modules.mjs')) {
|
||||
compile.core = true;
|
||||
}
|
||||
|
||||
|
989
demo/browser-tests/package-lock.json
generated
989
demo/browser-tests/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -3,7 +3,7 @@
|
||||
"private": true,
|
||||
"description": "Browser tests for @iconify/iconify package",
|
||||
"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)",
|
||||
"bugs": "https://github.com/iconify/iconify/issues",
|
||||
"homepage": "https://iconify.design/",
|
||||
@ -18,9 +18,7 @@
|
||||
"build:dist": "rollup -c rollup.config.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@iconify/core": "^1.2.4",
|
||||
"@iconify/iconify": "^2.1.2",
|
||||
"@rollup/plugin-buble": "^0.21.3",
|
||||
"@iconify/iconify": "^2.2.0",
|
||||
"@rollup/plugin-commonjs": "^21.0.1",
|
||||
"@rollup/plugin-node-resolve": "^10.0.0",
|
||||
"@types/chai": "^4.3.0",
|
||||
|
@ -1,7 +1,6 @@
|
||||
import fs from 'fs';
|
||||
import resolve from '@rollup/plugin-node-resolve';
|
||||
import commonjs from '@rollup/plugin-commonjs';
|
||||
import buble from '@rollup/plugin-buble';
|
||||
|
||||
const match = '-test.ts';
|
||||
|
||||
@ -40,9 +39,6 @@ const config = files.map((file) => {
|
||||
commonjs({
|
||||
ignore: ['cross-fetch'],
|
||||
}),
|
||||
buble({
|
||||
objectAssign: 'Object.assign',
|
||||
}),
|
||||
],
|
||||
};
|
||||
});
|
||||
|
@ -1,4 +1,6 @@
|
||||
.DS_Store
|
||||
.eslintignore
|
||||
.eslintrc.js
|
||||
api-extractor*.json
|
||||
tsconfig*.json
|
||||
rollup.config.js
|
||||
@ -6,6 +8,7 @@ build.js
|
||||
npm-debug.log
|
||||
yarn.lock
|
||||
tsconfig.tsbuildinfo
|
||||
jest.config.js
|
||||
node_modules
|
||||
src
|
||||
lib
|
||||
|
@ -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>`):
|
||||
|
||||
```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
|
||||
|
||||
```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:
|
||||
|
8717
packages/iconify/package-lock.json
generated
8717
packages/iconify/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -2,7 +2,7 @@
|
||||
"name": "@iconify/iconify",
|
||||
"description": "Unified SVG framework with over 100,000 icons to choose from",
|
||||
"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)",
|
||||
"main": "./dist/iconify.min.js",
|
||||
"types": "./dist/iconify.d.ts",
|
||||
@ -69,7 +69,7 @@
|
||||
}
|
||||
},
|
||||
"devDependencies": {
|
||||
"@iconify/core": "^1.2.4",
|
||||
"@iconify/core": "^1.3.0",
|
||||
"@microsoft/api-extractor": "^7.19.4",
|
||||
"@rollup/plugin-node-resolve": "^13.1.3",
|
||||
"@rollup/plugin-replace": "^3.0.1",
|
||||
@ -78,7 +78,7 @@
|
||||
"@typescript-eslint/eslint-plugin": "^5.10.0",
|
||||
"cross-env": "^7.0.3",
|
||||
"eslint": "^8.7.0",
|
||||
"jest": "^27.4.7",
|
||||
"jest": "^28.0.0-alpha.7",
|
||||
"rimraf": "^3.0.2",
|
||||
"rollup": "^2.66.0",
|
||||
"rollup-plugin-terser": "^7.0.2",
|
||||
|
Loading…
Reference in New Issue
Block a user