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

chore(components): update dependencies

This commit is contained in:
Vjacheslav Trushkin 2023-04-02 10:29:40 +03:00
parent 16936840c7
commit 48023c91fe
20 changed files with 4616 additions and 4947 deletions

View File

@ -24,44 +24,44 @@
}, },
"devDependencies": { "devDependencies": {
"@ember/optional-features": "^2.0.0", "@ember/optional-features": "^2.0.0",
"@ember/test-helpers": "^2.8.1", "@ember/test-helpers": "^2.9.3",
"@glimmer/component": "^1.1.2", "@glimmer/component": "^1.1.2",
"@glimmer/tracking": "^1.1.2", "@glimmer/tracking": "^1.1.2",
"@iconify-icons/mdi-light": "^1.2.2", "@iconify-icons/mdi-light": "^1.2.5",
"@iconify/ember": "workspace:*", "@iconify/ember": "workspace:*",
"babel-eslint": "^10.1.0", "babel-eslint": "^10.1.0",
"broccoli-asset-rev": "^3.0.0", "broccoli-asset-rev": "^3.0.0",
"ember-auto-import": "^2.4.2", "ember-auto-import": "^2.6.1",
"ember-cli": "~4.4.1", "ember-cli": "~4.11.0",
"ember-cli-app-version": "^5.0.0", "ember-cli-app-version": "^6.0.0",
"ember-cli-babel": "^7.26.11", "ember-cli-babel": "^7.26.11",
"ember-cli-dependency-checker": "^3.3.1", "ember-cli-dependency-checker": "^3.3.1",
"ember-cli-htmlbars": "^6.1.0", "ember-cli-htmlbars": "^6.2.0",
"ember-cli-inject-live-reload": "^2.1.0", "ember-cli-inject-live-reload": "^2.1.0",
"ember-cli-sri": "^2.1.1", "ember-cli-sri": "^2.1.1",
"ember-cli-terser": "^4.0.2", "ember-cli-terser": "^4.0.2",
"ember-data": "~4.7.1", "ember-data": "~4.11.3",
"ember-export-application-global": "^2.0.1", "ember-export-application-global": "^2.0.1",
"ember-fetch": "^8.1.2", "ember-fetch": "^8.1.2",
"ember-load-initializers": "^2.1.2", "ember-load-initializers": "^2.1.2",
"ember-page-title": "^7.0.0", "ember-page-title": "^7.0.0",
"ember-qunit": "^5.1.5", "ember-qunit": "^6.2.0",
"ember-resolver": "^8.0.3", "ember-resolver": "^10.0.0",
"ember-source": "~4.7.0", "ember-source": "~4.11.0",
"ember-template-lint": "^4.14.0", "ember-template-lint": "^5.7.2",
"ember-welcome-page": "^6.2.0", "ember-welcome-page": "^7.0.1",
"eslint": "^8.23.0", "eslint": "^8.37.0",
"eslint-config-prettier": "^8.5.0", "eslint-config-prettier": "^8.8.0",
"eslint-plugin-ember": "^11.0.6", "eslint-plugin-ember": "^11.4.9",
"eslint-plugin-node": "^11.1.0", "eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1", "eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-qunit": "^7.3.1", "eslint-plugin-qunit": "^7.3.4",
"loader.js": "^4.7.0", "loader.js": "^4.7.0",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"prettier": "^2.7.1", "prettier": "^2.8.7",
"qunit": "^2.19.1", "qunit": "^2.19.4",
"qunit-dom": "^2.0.0", "qunit-dom": "^2.0.0",
"webpack": "^5.74.0" "webpack": "^5.77.0"
}, },
"engines": { "engines": {
"node": "12.* || 14.* || >= 16" "node": "12.* || 14.* || >= 16"

View File

@ -9,11 +9,11 @@
}, },
"dependencies": { "dependencies": {
"@iconify/react": "workspace:*", "@iconify/react": "workspace:*",
"next": "^12.2.5", "next": "^13.2.4",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0" "react-dom": "^18.2.0"
}, },
"devDependencies": { "devDependencies": {
"@iconify-icons/mdi-light": "^1.2.2" "@iconify-icons/mdi-light": "^1.2.5"
} }
} }

View File

@ -12,14 +12,14 @@
"react-dom": "^18.2.0" "react-dom": "^18.2.0"
}, },
"devDependencies": { "devDependencies": {
"@iconify-icons/mdi-light": "^1.2.2", "@iconify-icons/mdi-light": "^1.2.5",
"@iconify-icons/uil": "^1.2.2", "@iconify-icons/uil": "^1.2.3",
"@iconify/core": "workspace:*", "@iconify/core": "workspace:*",
"@iconify/react": "workspace:*", "@iconify/react": "workspace:*",
"@types/react": "^17.0.49", "@types/react": "^17.0.55",
"@types/react-dom": "^18.0.6", "@types/react-dom": "^18.0.11",
"@vitejs/plugin-react": "^2.1.0", "@vitejs/plugin-react": "^3.1.0",
"typescript": "^4.8.2", "typescript": "^5.0.3",
"vite": "^3.1.0" "vite": "^4.2.1"
} }
} }

View File

@ -18,22 +18,22 @@
"sirv": "^2.0.2" "sirv": "^2.0.2"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.19.0", "@babel/core": "^7.21.4",
"@babel/plugin-syntax-dynamic-import": "^7.8.3", "@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.18.10", "@babel/plugin-transform-runtime": "^7.21.4",
"@babel/preset-env": "^7.19.0", "@babel/preset-env": "^7.21.4",
"@babel/runtime": "^7.19.0", "@babel/runtime": "^7.21.0",
"@iconify-icons/openmoji": "^1.2.11", "@iconify-icons/openmoji": "^1.2.20",
"@iconify/svelte": "workspace:*", "@iconify/svelte": "workspace:*",
"@rollup/plugin-babel": "^5.3.1", "@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^22.0.2", "@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-node-resolve": "^14.0.0", "@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-replace": "^4.0.0", "@rollup/plugin-replace": "^5.0.2",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"rollup": "^2.79.0", "rollup": "^3.20.2",
"rollup-plugin-svelte": "^7.1.0", "rollup-plugin-svelte": "^7.1.4",
"rollup-plugin-terser": "^7.0.2", "rollup-plugin-terser": "^7.0.2",
"sapper": "^0.29.3", "sapper": "^0.29.3",
"svelte": "^3.50.0" "svelte": "^3.58.0"
} }
} }

View File

@ -10,15 +10,15 @@
"check": "svelte-check --tsconfig ./tsconfig.json" "check": "svelte-check --tsconfig ./tsconfig.json"
}, },
"devDependencies": { "devDependencies": {
"@iconify-icons/mdi-light": "^1.2.2", "@iconify-icons/mdi-light": "^1.2.5",
"@iconify/svelte": "workspace:*", "@iconify/svelte": "workspace:*",
"@sveltejs/vite-plugin-svelte": "^1.0.5", "@sveltejs/vite-plugin-svelte": "^2.0.4",
"@tsconfig/svelte": "^3.0.0", "@tsconfig/svelte": "^4.0.1",
"svelte": "^3.50.0", "svelte": "^3.58.0",
"svelte-check": "^2.9.0", "svelte-check": "^3.1.4",
"svelte-preprocess": "^4.10.7", "svelte-preprocess": "^5.0.3",
"tslib": "^2.4.0", "tslib": "^2.5.0",
"typescript": "^4.8.2", "typescript": "^5.0.3",
"vite": "^3.1.0" "vite": "^4.2.1"
} }
} }

View File

@ -1,4 +1,5 @@
/node_modules/ /node_modules/
/public/build/ /public/build/
/dist/
.DS_Store .DS_Store

View File

@ -2,22 +2,21 @@
"name": "@iconify-demo/svelte", "name": "@iconify-demo/svelte",
"private": true, "private": true,
"version": "1.0.0", "version": "1.0.0",
"module": "dist/index.mjs",
"main": "dist/index.js",
"scripts": { "scripts": {
"build": "rollup -c", "build": "rollup -c",
"dev": "rollup -c -w", "dev": "rollup -c -w",
"start": "sirv public --single --port 3000" "start": "sirv public --single --port 3000"
}, },
"devDependencies": { "devDependencies": {
"@iconify-icons/mdi-light": "^1.2.2", "@iconify-icons/mdi-light": "^1.2.5",
"@iconify-icons/uil": "^1.2.2", "@iconify-icons/uil": "^1.2.3",
"@iconify/svelte": "workspace:*", "@iconify/svelte": "workspace:*",
"@rollup/plugin-commonjs": "^22.0.2", "@rollup/plugin-node-resolve": "^9.0.0",
"@rollup/plugin-node-resolve": "^14.0.0", "rollup": "^2.79.1",
"rollup": "^2.79.0", "rollup-plugin-svelte": "^7.1.4",
"rollup-plugin-livereload": "^2.0.5", "svelte": "^3.58.0"
"rollup-plugin-svelte": "^7.1.0",
"rollup-plugin-terser": "^7.0.2",
"svelte": "^3.50.0"
}, },
"dependencies": { "dependencies": {
"sirv-cli": "^2.0.2" "sirv-cli": "^2.0.2"

View File

@ -1,75 +1,17 @@
import svelte from 'rollup-plugin-svelte'; import svelte from 'rollup-plugin-svelte';
import resolve from '@rollup/plugin-node-resolve'; import resolve from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs'; import pkg from './package.json';
import livereload from 'rollup-plugin-livereload';
import { terser } from 'rollup-plugin-terser';
const production = !process.env.ROLLUP_WATCH; const name = pkg.name
.replace(/^(@\S+\/)?(svelte-)?(\S+)/, '$3')
.replace(/^\w/, (m) => m.toUpperCase())
.replace(/-\w/g, (m) => m[1].toUpperCase());
export default { export default {
input: 'src/main.js', input: 'src/main.js',
output: { output: [
sourcemap: true, { file: pkg.module, format: 'es' },
format: 'iife', { file: pkg.main, format: 'umd', name },
name: 'app',
file: 'public/build/bundle.js',
},
plugins: [
svelte({
// enable run-time checks when not in production
dev: !production,
// we'll extract any component CSS out into
// a separate file - better for performance
css: (css) => {
css.write('public/build/bundle.css');
},
}),
// If you have external dependencies installed from
// npm, you'll most likely need these plugins. In
// some cases you'll need additional configuration -
// consult the documentation for details:
// https://github.com/rollup/plugins/tree/master/packages/commonjs
resolve({
browser: true,
dedupe: ['svelte'],
}),
commonjs(),
// In dev mode, call `npm run start` once
// the bundle has been generated
!production && serve(),
// Watch the `public` directory and refresh the
// browser on changes when not in production
!production && livereload('public'),
// If we're building for production (npm run build
// instead of npm run dev), minify
production && terser(),
], ],
watch: { plugins: [svelte(), resolve()],
clearScreen: false,
},
}; };
function serve() {
let started = false;
return {
writeBundle() {
if (!started) {
started = true;
require('child_process').spawn(
'npm',
['run', 'start', '--', '--dev'],
{
stdio: ['ignore', 'inherit', 'inherit'],
shell: true,
}
);
}
},
};
}

View File

@ -14,12 +14,12 @@
"@sveltejs/adapter-auto": "next", "@sveltejs/adapter-auto": "next",
"@sveltejs/kit": "next", "@sveltejs/kit": "next",
"@types/cookie": "^0.5.1", "@types/cookie": "^0.5.1",
"svelte": "^3.55.1", "svelte": "^3.58.0",
"svelte-check": "^3.0.3", "svelte-check": "^3.1.4",
"svelte-preprocess": "^5.0.1", "svelte-preprocess": "^5.0.3",
"tslib": "^2.5.0", "tslib": "^2.5.0",
"typescript": "^4.9.4", "typescript": "^5.0.3",
"vite": "^4.0.4" "vite": "^4.2.1"
}, },
"type": "module", "type": "module",
"dependencies": { "dependencies": {

View File

@ -7,15 +7,15 @@
"build": "vite build" "build": "vite build"
}, },
"dependencies": { "dependencies": {
"vue": "^3.2.38" "vue": "^3.2.47"
}, },
"devDependencies": { "devDependencies": {
"@iconify-icons/bx": "^1.2.4", "@iconify-icons/bx": "^1.2.6",
"@iconify-icons/dashicons": "^1.2.3", "@iconify-icons/dashicons": "^1.2.4",
"@iconify/types": "workspace:*", "@iconify/types": "workspace:*",
"@iconify/vue": "workspace:*", "@iconify/vue": "workspace:*",
"@vitejs/plugin-vue": "^3.1.0", "@vitejs/plugin-vue": "^4.1.0",
"typescript": "^4.8.2", "typescript": "^5.0.3",
"vite": "^3.1.0" "vite": "^4.2.1"
} }
} }

View File

@ -8,16 +8,16 @@
"preview": "vite preview" "preview": "vite preview"
}, },
"dependencies": { "dependencies": {
"vue": "2.7.10", "vue": "2.7.14",
"vue-class-component": "^7.2.6", "vue-class-component": "^7.2.6",
"vue-property-decorator": "^9.1.2", "vue-property-decorator": "^9.1.2",
"vue-template-compiler": "2.7.10" "vue-template-compiler": "2.7.14"
}, },
"devDependencies": { "devDependencies": {
"@iconify-icons/bx": "^1.2.4", "@iconify-icons/bx": "^1.2.6",
"@iconify-icons/dashicons": "^1.2.3", "@iconify-icons/dashicons": "^1.2.4",
"@iconify/vue2": "workspace:*", "@iconify/vue2": "workspace:*",
"vite": "^2.9.15", "vite": "^2.9.15",
"vite-plugin-vue2": "^2.0.2" "vite-plugin-vue2": "^2.0.3"
} }
} }

View File

@ -25,18 +25,18 @@
"devDependencies": { "devDependencies": {
"@iconify/core": "workspace:^", "@iconify/core": "workspace:^",
"@iconify/utils": "workspace:^", "@iconify/utils": "workspace:^",
"@microsoft/api-extractor": "^7.30.0", "@microsoft/api-extractor": "^7.34.4",
"@rollup/plugin-node-resolve": "^14.0.0", "@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-typescript": "^8.5.0", "@rollup/plugin-typescript": "^11.0.0",
"rollup": "^2.79.0", "rollup": "^3.20.2",
"typescript": "^4.8.2" "typescript": "^5.0.3"
}, },
"dependencies": { "dependencies": {
"@glimmer/component": "^1.1.2", "@glimmer/component": "^1.1.2",
"@glimmer/tracking": "^1.1.2", "@glimmer/tracking": "^1.1.2",
"@iconify/types": "workspace:^", "@iconify/types": "workspace:^",
"ember-cli-babel": "^7.26.11", "ember-cli-babel": "^7.26.11",
"ember-cli-htmlbars": "^6.1.0" "ember-cli-htmlbars": "^6.2.0"
}, },
"ember": { "ember": {
"edition": "octane" "edition": "octane"

View File

@ -48,20 +48,20 @@
"@iconify/types": "workspace:^" "@iconify/types": "workspace:^"
}, },
"devDependencies": { "devDependencies": {
"@babel/preset-env": "^7.20.2", "@babel/preset-env": "^7.21.4",
"@babel/preset-react": "^7.18.6", "@babel/preset-react": "^7.18.6",
"@iconify/core": "workspace:^", "@iconify/core": "workspace:^",
"@iconify/utils": "workspace:^", "@iconify/utils": "workspace:^",
"@microsoft/api-extractor": "^7.33.7", "@microsoft/api-extractor": "^7.34.4",
"@rollup/plugin-node-resolve": "^15.0.1", "@rollup/plugin-node-resolve": "^15.0.1",
"@types/react": "^18.0.26", "@types/react": "^18.0.31",
"babel-jest": "^29.3.1", "babel-jest": "^29.5.0",
"jest": "^29.3.1", "jest": "^29.5.0",
"react": "^18.2.0", "react": "^18.2.0",
"react-test-renderer": "^18.2.0", "react-test-renderer": "^18.2.0",
"rimraf": "^3.0.2", "rimraf": "^4.4.1",
"rollup": "^3.8.1", "rollup": "^3.20.2",
"typescript": "^4.9.4" "typescript": "^5.0.3"
}, },
"peerDependencies": { "peerDependencies": {
"react": ">=16" "react": ">=16"

View File

@ -1,3 +1,5 @@
'use client';
import React from 'react'; import React from 'react';
import type { IconifyJSON, IconifyIcon } from '@iconify/types'; import type { IconifyJSON, IconifyIcon } from '@iconify/types';

View File

@ -1,3 +1,5 @@
'use client';
import React from 'react'; import React from 'react';
import type { IconifyIcon, IconifyJSON } from '@iconify/types'; import type { IconifyIcon, IconifyJSON } from '@iconify/types';
import type { IconifyIconSize } from '@iconify/utils/lib/customisations/defaults'; import type { IconifyIconSize } from '@iconify/utils/lib/customisations/defaults';

View File

@ -31,21 +31,21 @@
"devDependencies": { "devDependencies": {
"@iconify/core": "workspace:^", "@iconify/core": "workspace:^",
"@iconify/utils": "workspace:^", "@iconify/utils": "workspace:^",
"@microsoft/api-extractor": "^7.33.7", "@microsoft/api-extractor": "^7.34.4",
"@rollup/plugin-node-resolve": "^15.0.1", "@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-typescript": "^10.0.1", "@rollup/plugin-typescript": "^11.0.0",
"@sveltejs/vite-plugin-svelte": "^2.0.2", "@sveltejs/vite-plugin-svelte": "^2.0.4",
"@testing-library/jest-dom": "^5.16.5", "@testing-library/jest-dom": "^5.16.5",
"@testing-library/svelte": "^3.2.2", "@testing-library/svelte": "^3.2.2",
"@tsconfig/svelte": "^3.0.0", "@tsconfig/svelte": "^4.0.1",
"@types/jest": "^29.2.4", "@types/jest": "^29.5.0",
"@types/node": "^18.11.17", "@types/node": "^18.15.11",
"rimraf": "^3.0.2", "rimraf": "^4.4.1",
"rollup": "^3.8.1", "rollup": "^3.20.2",
"rollup-plugin-svelte": "^7.1.0", "rollup-plugin-svelte": "^7.1.4",
"svelte": "3.55.0", "svelte": "3.58.0",
"svelte-preprocess": "^5.0.0", "svelte-preprocess": "^5.0.3",
"vitest": "^0.26.2" "vitest": "^0.29.8"
}, },
"peerDependencies": { "peerDependencies": {
"svelte": ">=3" "svelte": ">=3"

View File

@ -74,21 +74,21 @@
"devDependencies": { "devDependencies": {
"@iconify/core": "workspace:^", "@iconify/core": "workspace:^",
"@iconify/utils": "workspace:^", "@iconify/utils": "workspace:^",
"@microsoft/api-extractor": "^7.33.7", "@microsoft/api-extractor": "^7.34.4",
"@rollup/plugin-node-resolve": "^15.0.1", "@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-replace": "^5.0.2", "@rollup/plugin-replace": "^5.0.2",
"@types/jest": "^29.2.4", "@types/jest": "^29.5.0",
"@types/jsdom": "^20.0.1", "@types/jsdom": "^21.1.1",
"@types/node": "^18.11.17", "@types/node": "^18.15.11",
"@typescript-eslint/eslint-plugin": "^5.47.0", "@typescript-eslint/eslint-plugin": "^5.57.0",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"eslint": "^8.30.0", "eslint": "^8.37.0",
"jest": "^29.3.1", "jest": "^29.5.0",
"jsdom": "^20.0.3", "jsdom": "^21.1.1",
"rimraf": "^3.0.2", "rimraf": "^4.4.1",
"rollup": "^3.8.1", "rollup": "^3.20.2",
"rollup-plugin-terser": "^7.0.2", "rollup-plugin-terser": "^7.0.2",
"ts-jest": "^29.0.3", "ts-jest": "^29.0.5",
"typescript": "^4.9.4" "typescript": "^5.0.3"
} }
} }

View File

@ -45,19 +45,19 @@
"@iconify/types": "workspace:^" "@iconify/types": "workspace:^"
}, },
"devDependencies": { "devDependencies": {
"@babel/preset-env": "^7.20.2", "@babel/preset-env": "^7.21.4",
"@iconify/core": "workspace:^", "@iconify/core": "workspace:^",
"@iconify/utils": "workspace:^", "@iconify/utils": "workspace:^",
"@microsoft/api-extractor": "^7.33.7", "@microsoft/api-extractor": "^7.34.4",
"@rollup/plugin-node-resolve": "^15.0.1", "@rollup/plugin-node-resolve": "^15.0.1",
"@types/jest": "^29.2.4", "@types/jest": "^29.5.0",
"@vitejs/plugin-vue": "^4.0.0", "@vitejs/plugin-vue": "^4.1.0",
"@vue/test-utils": "^2.2.6", "@vue/test-utils": "^2.3.2",
"jsdom": "^20.0.3", "jsdom": "^21.1.1",
"rollup": "^3.8.1", "rollup": "^3.20.2",
"typescript": "^4.9.4", "typescript": "^5.0.3",
"vitest": "^0.26.2", "vitest": "^0.29.8",
"vue": "^3.2.45" "vue": "^3.2.47"
}, },
"peerDependencies": { "peerDependencies": {
"vue": ">=3" "vue": ">=3"

View File

@ -45,19 +45,19 @@
"@iconify/types": "workspace:^" "@iconify/types": "workspace:^"
}, },
"devDependencies": { "devDependencies": {
"@babel/preset-env": "^7.20.2", "@babel/preset-env": "^7.21.4",
"@iconify/core": "workspace:^", "@iconify/core": "workspace:^",
"@iconify/utils": "workspace:^", "@iconify/utils": "workspace:^",
"@microsoft/api-extractor": "^7.33.7", "@microsoft/api-extractor": "^7.34.4",
"@rollup/plugin-node-resolve": "^13.3.0", "@rollup/plugin-node-resolve": "^13.3.0",
"@types/jest": "^29.2.4", "@types/jest": "^29.5.0",
"@vue/test-utils": "^1.3.0", "@vue/test-utils": "^1.3.4",
"@vue/vue2-jest": "^29.0.0", "@vue/vue2-jest": "^29.2.3",
"babel-jest": "^29.3.1", "babel-jest": "^29.5.0",
"jest": "^29.3.1", "jest": "^29.5.0",
"jest-environment-jsdom": "^29.3.1", "jest-environment-jsdom": "^29.5.0",
"rollup": "^2.79.1", "rollup": "^2.79.1",
"typescript": "^4.9.4", "typescript": "^5.0.3",
"vue": "^2.7.14", "vue": "^2.7.14",
"vue-template-compiler": "^2.7.14" "vue-template-compiler": "^2.7.14"
}, },

File diff suppressed because it is too large Load Diff