2
0
mirror of https://github.com/iconify/iconify.git synced 2025-01-07 15:44:05 +00:00

Use types as dependency in all components instead of bundling it

This commit is contained in:
Vjacheslav Trushkin 2022-04-30 21:36:25 +03:00
parent 830fa80d83
commit 9077105e60
19 changed files with 46 additions and 32 deletions

View File

@ -2,10 +2,10 @@
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "lib/iconify-icon.d.ts", "mainEntryPointFilePath": "lib/iconify-icon.d.ts",
"bundledPackages": [ "bundledPackages": [
"@iconify/types",
"@iconify/core", "@iconify/core",
"@iconify/utils", "@iconify/utils",
"@cyberalien/redundancy" "@cyberalien/redundancy",
"@iconify/api-redundancy"
], ],
"compiler": {}, "compiler": {},
"apiReport": { "apiReport": {

View File

@ -11,6 +11,7 @@
"dependencies": { "dependencies": {
"@glimmer/component": "^1.0.4", "@glimmer/component": "^1.0.4",
"@glimmer/tracking": "^1.0.4", "@glimmer/tracking": "^1.0.4",
"@iconify/types": "^1.1.0",
"ember-cli-babel": "^7.26.11", "ember-cli-babel": "^7.26.11",
"ember-cli-htmlbars": "^6.0.1" "ember-cli-htmlbars": "^6.0.1"
}, },
@ -1900,8 +1901,7 @@
"node_modules/@iconify/types": { "node_modules/@iconify/types": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.1.0.tgz", "resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.1.0.tgz",
"integrity": "sha512-Jh0llaK2LRXQoYsorIH8maClebsnzTcve+7U3rQUSnC11X4jtPnFuyatqFLvMxZ8MLG8dB4zfHsbPfuvxluONw==", "integrity": "sha512-Jh0llaK2LRXQoYsorIH8maClebsnzTcve+7U3rQUSnC11X4jtPnFuyatqFLvMxZ8MLG8dB4zfHsbPfuvxluONw=="
"dev": true
}, },
"node_modules/@iconify/utils": { "node_modules/@iconify/utils": {
"version": "1.0.32", "version": "1.0.32",
@ -6685,8 +6685,7 @@
"@iconify/types": { "@iconify/types": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.1.0.tgz", "resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.1.0.tgz",
"integrity": "sha512-Jh0llaK2LRXQoYsorIH8maClebsnzTcve+7U3rQUSnC11X4jtPnFuyatqFLvMxZ8MLG8dB4zfHsbPfuvxluONw==", "integrity": "sha512-Jh0llaK2LRXQoYsorIH8maClebsnzTcve+7U3rQUSnC11X4jtPnFuyatqFLvMxZ8MLG8dB4zfHsbPfuvxluONw=="
"dev": true
}, },
"@iconify/utils": { "@iconify/utils": {
"version": "1.0.32", "version": "1.0.32",

View File

@ -33,6 +33,7 @@
"dependencies": { "dependencies": {
"@glimmer/component": "^1.0.4", "@glimmer/component": "^1.0.4",
"@glimmer/tracking": "^1.0.4", "@glimmer/tracking": "^1.0.4",
"@iconify/types": "^1.1.0",
"ember-cli-babel": "^7.26.11", "ember-cli-babel": "^7.26.11",
"ember-cli-htmlbars": "^6.0.1" "ember-cli-htmlbars": "^6.0.1"
}, },

View File

@ -2,7 +2,6 @@
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "lib/iconify.d.ts", "mainEntryPointFilePath": "lib/iconify.d.ts",
"bundledPackages": [ "bundledPackages": [
"@iconify/types",
"@iconify/core", "@iconify/core",
"@iconify/utils", "@iconify/utils",
"@cyberalien/redundancy", "@cyberalien/redundancy",

View File

@ -2,7 +2,6 @@
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "lib/iconify.without-api.d.ts", "mainEntryPointFilePath": "lib/iconify.without-api.d.ts",
"bundledPackages": [ "bundledPackages": [
"@iconify/types",
"@iconify/core", "@iconify/core",
"@iconify/utils", "@iconify/utils",
"@cyberalien/redundancy", "@cyberalien/redundancy",

View File

@ -8,6 +8,9 @@
"name": "@iconify/iconify", "name": "@iconify/iconify",
"version": "2.2.1", "version": "2.2.1",
"license": "(Apache-2.0 OR GPL-2.0)", "license": "(Apache-2.0 OR GPL-2.0)",
"dependencies": {
"@iconify/types": "^1.1.0"
},
"devDependencies": { "devDependencies": {
"@iconify/core": "^1.3.2", "@iconify/core": "^1.3.2",
"@microsoft/api-extractor": "^7.19.5", "@microsoft/api-extractor": "^7.19.5",
@ -712,8 +715,7 @@
"node_modules/@iconify/types": { "node_modules/@iconify/types": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.1.0.tgz", "resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.1.0.tgz",
"integrity": "sha512-Jh0llaK2LRXQoYsorIH8maClebsnzTcve+7U3rQUSnC11X4jtPnFuyatqFLvMxZ8MLG8dB4zfHsbPfuvxluONw==", "integrity": "sha512-Jh0llaK2LRXQoYsorIH8maClebsnzTcve+7U3rQUSnC11X4jtPnFuyatqFLvMxZ8MLG8dB4zfHsbPfuvxluONw=="
"dev": true
}, },
"node_modules/@iconify/utils": { "node_modules/@iconify/utils": {
"version": "1.0.32", "version": "1.0.32",
@ -11085,8 +11087,7 @@
"@iconify/types": { "@iconify/types": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.1.0.tgz", "resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.1.0.tgz",
"integrity": "sha512-Jh0llaK2LRXQoYsorIH8maClebsnzTcve+7U3rQUSnC11X4jtPnFuyatqFLvMxZ8MLG8dB4zfHsbPfuvxluONw==", "integrity": "sha512-Jh0llaK2LRXQoYsorIH8maClebsnzTcve+7U3rQUSnC11X4jtPnFuyatqFLvMxZ8MLG8dB4zfHsbPfuvxluONw=="
"dev": true
}, },
"@iconify/utils": { "@iconify/utils": {
"version": "1.0.32", "version": "1.0.32",

View File

@ -68,6 +68,9 @@
"default": "./dist/iconify.without-api.min.js" "default": "./dist/iconify.without-api.min.js"
} }
}, },
"dependencies": {
"@iconify/types": "^1.1.0"
},
"devDependencies": { "devDependencies": {
"@iconify/core": "^1.3.2", "@iconify/core": "^1.3.2",
"@microsoft/api-extractor": "^7.19.5", "@microsoft/api-extractor": "^7.19.5",

View File

@ -2,7 +2,6 @@
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "lib/iconify.d.ts", "mainEntryPointFilePath": "lib/iconify.d.ts",
"bundledPackages": [ "bundledPackages": [
"@iconify/types",
"@iconify/core", "@iconify/core",
"@iconify/utils", "@iconify/utils",
"@cyberalien/redundancy", "@cyberalien/redundancy",

View File

@ -8,6 +8,9 @@
"name": "@iconify/react", "name": "@iconify/react",
"version": "3.2.1", "version": "3.2.1",
"license": "MIT", "license": "MIT",
"dependencies": {
"@iconify/types": "^1.1.0"
},
"devDependencies": { "devDependencies": {
"@babel/preset-env": "^7.16.11", "@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7", "@babel/preset-react": "^7.16.7",
@ -1831,8 +1834,7 @@
"node_modules/@iconify/types": { "node_modules/@iconify/types": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.1.0.tgz", "resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.1.0.tgz",
"integrity": "sha512-Jh0llaK2LRXQoYsorIH8maClebsnzTcve+7U3rQUSnC11X4jtPnFuyatqFLvMxZ8MLG8dB4zfHsbPfuvxluONw==", "integrity": "sha512-Jh0llaK2LRXQoYsorIH8maClebsnzTcve+7U3rQUSnC11X4jtPnFuyatqFLvMxZ8MLG8dB4zfHsbPfuvxluONw=="
"dev": true
}, },
"node_modules/@iconify/utils": { "node_modules/@iconify/utils": {
"version": "1.0.32", "version": "1.0.32",
@ -10431,8 +10433,7 @@
"@iconify/types": { "@iconify/types": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.1.0.tgz", "resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.1.0.tgz",
"integrity": "sha512-Jh0llaK2LRXQoYsorIH8maClebsnzTcve+7U3rQUSnC11X4jtPnFuyatqFLvMxZ8MLG8dB4zfHsbPfuvxluONw==", "integrity": "sha512-Jh0llaK2LRXQoYsorIH8maClebsnzTcve+7U3rQUSnC11X4jtPnFuyatqFLvMxZ8MLG8dB4zfHsbPfuvxluONw=="
"dev": true
}, },
"@iconify/utils": { "@iconify/utils": {
"version": "1.0.32", "version": "1.0.32",

View File

@ -44,6 +44,9 @@
"default": "./dist/offline.js" "default": "./dist/offline.js"
} }
}, },
"dependencies": {
"@iconify/types": "^1.1.0"
},
"devDependencies": { "devDependencies": {
"@babel/preset-env": "^7.16.11", "@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7", "@babel/preset-react": "^7.16.7",

View File

@ -1,7 +1,6 @@
{ {
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"bundledPackages": [ "bundledPackages": [
"@iconify/types",
"@iconify/core", "@iconify/core",
"@iconify/utils", "@iconify/utils",
"@cyberalien/redundancy", "@cyberalien/redundancy",

View File

@ -8,6 +8,9 @@
"name": "@iconify/svelte", "name": "@iconify/svelte",
"version": "2.2.1", "version": "2.2.1",
"license": "MIT", "license": "MIT",
"dependencies": {
"@iconify/types": "^1.1.0"
},
"devDependencies": { "devDependencies": {
"@iconify/core": "^1.3.2", "@iconify/core": "^1.3.2",
"@microsoft/api-extractor": "^7.19.5", "@microsoft/api-extractor": "^7.19.5",
@ -763,8 +766,7 @@
"node_modules/@iconify/types": { "node_modules/@iconify/types": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.1.0.tgz", "resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.1.0.tgz",
"integrity": "sha512-Jh0llaK2LRXQoYsorIH8maClebsnzTcve+7U3rQUSnC11X4jtPnFuyatqFLvMxZ8MLG8dB4zfHsbPfuvxluONw==", "integrity": "sha512-Jh0llaK2LRXQoYsorIH8maClebsnzTcve+7U3rQUSnC11X4jtPnFuyatqFLvMxZ8MLG8dB4zfHsbPfuvxluONw=="
"dev": true
}, },
"node_modules/@iconify/utils": { "node_modules/@iconify/utils": {
"version": "1.0.32", "version": "1.0.32",
@ -8378,8 +8380,7 @@
"@iconify/types": { "@iconify/types": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.1.0.tgz", "resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.1.0.tgz",
"integrity": "sha512-Jh0llaK2LRXQoYsorIH8maClebsnzTcve+7U3rQUSnC11X4jtPnFuyatqFLvMxZ8MLG8dB4zfHsbPfuvxluONw==", "integrity": "sha512-Jh0llaK2LRXQoYsorIH8maClebsnzTcve+7U3rQUSnC11X4jtPnFuyatqFLvMxZ8MLG8dB4zfHsbPfuvxluONw=="
"dev": true
}, },
"@iconify/utils": { "@iconify/utils": {
"version": "1.0.32", "version": "1.0.32",

View File

@ -25,6 +25,9 @@
"build:api": "node build --only-api", "build:api": "node build --only-api",
"test": "jest --runInBand" "test": "jest --runInBand"
}, },
"dependencies": {
"@iconify/types": "^1.1.0"
},
"devDependencies": { "devDependencies": {
"@iconify/core": "^1.3.2", "@iconify/core": "^1.3.2",
"@microsoft/api-extractor": "^7.19.5", "@microsoft/api-extractor": "^7.19.5",

View File

@ -2,7 +2,6 @@
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "lib/iconify.d.ts", "mainEntryPointFilePath": "lib/iconify.d.ts",
"bundledPackages": [ "bundledPackages": [
"@iconify/types",
"@iconify/core", "@iconify/core",
"@iconify/utils", "@iconify/utils",
"@cyberalien/redundancy", "@cyberalien/redundancy",

View File

@ -8,6 +8,9 @@
"name": "@iconify/vue", "name": "@iconify/vue",
"version": "3.2.1", "version": "3.2.1",
"license": "MIT", "license": "MIT",
"dependencies": {
"@iconify/types": "^1.1.0"
},
"devDependencies": { "devDependencies": {
"@babel/preset-env": "^7.16.11", "@babel/preset-env": "^7.16.11",
"@iconify/core": "^1.3.2", "@iconify/core": "^1.3.2",
@ -1713,8 +1716,7 @@
"node_modules/@iconify/types": { "node_modules/@iconify/types": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.1.0.tgz", "resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.1.0.tgz",
"integrity": "sha512-Jh0llaK2LRXQoYsorIH8maClebsnzTcve+7U3rQUSnC11X4jtPnFuyatqFLvMxZ8MLG8dB4zfHsbPfuvxluONw==", "integrity": "sha512-Jh0llaK2LRXQoYsorIH8maClebsnzTcve+7U3rQUSnC11X4jtPnFuyatqFLvMxZ8MLG8dB4zfHsbPfuvxluONw=="
"dev": true
}, },
"node_modules/@iconify/utils": { "node_modules/@iconify/utils": {
"version": "1.0.32", "version": "1.0.32",
@ -6375,8 +6377,7 @@
"@iconify/types": { "@iconify/types": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.1.0.tgz", "resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.1.0.tgz",
"integrity": "sha512-Jh0llaK2LRXQoYsorIH8maClebsnzTcve+7U3rQUSnC11X4jtPnFuyatqFLvMxZ8MLG8dB4zfHsbPfuvxluONw==", "integrity": "sha512-Jh0llaK2LRXQoYsorIH8maClebsnzTcve+7U3rQUSnC11X4jtPnFuyatqFLvMxZ8MLG8dB4zfHsbPfuvxluONw=="
"dev": true
}, },
"@iconify/utils": { "@iconify/utils": {
"version": "1.0.32", "version": "1.0.32",

View File

@ -41,6 +41,9 @@
"default": "./dist/offline.js" "default": "./dist/offline.js"
} }
}, },
"dependencies": {
"@iconify/types": "^1.1.0"
},
"devDependencies": { "devDependencies": {
"@babel/preset-env": "^7.16.11", "@babel/preset-env": "^7.16.11",
"@iconify/core": "^1.3.2", "@iconify/core": "^1.3.2",

View File

@ -2,7 +2,6 @@
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "lib/iconify.d.ts", "mainEntryPointFilePath": "lib/iconify.d.ts",
"bundledPackages": [ "bundledPackages": [
"@iconify/types",
"@iconify/core", "@iconify/core",
"@iconify/utils", "@iconify/utils",
"@cyberalien/redundancy", "@cyberalien/redundancy",

View File

@ -8,6 +8,9 @@
"name": "@iconify/vue2", "name": "@iconify/vue2",
"version": "1.2.1", "version": "1.2.1",
"license": "MIT", "license": "MIT",
"dependencies": {
"@iconify/types": "^1.1.0"
},
"devDependencies": { "devDependencies": {
"@babel/preset-env": "^7.16.11", "@babel/preset-env": "^7.16.11",
"@iconify/core": "^1.3.2", "@iconify/core": "^1.3.2",
@ -1733,8 +1736,7 @@
"node_modules/@iconify/types": { "node_modules/@iconify/types": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.1.0.tgz", "resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.1.0.tgz",
"integrity": "sha512-Jh0llaK2LRXQoYsorIH8maClebsnzTcve+7U3rQUSnC11X4jtPnFuyatqFLvMxZ8MLG8dB4zfHsbPfuvxluONw==", "integrity": "sha512-Jh0llaK2LRXQoYsorIH8maClebsnzTcve+7U3rQUSnC11X4jtPnFuyatqFLvMxZ8MLG8dB4zfHsbPfuvxluONw=="
"dev": true
}, },
"node_modules/@iconify/utils": { "node_modules/@iconify/utils": {
"version": "1.0.32", "version": "1.0.32",
@ -9249,8 +9251,7 @@
"@iconify/types": { "@iconify/types": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.1.0.tgz", "resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.1.0.tgz",
"integrity": "sha512-Jh0llaK2LRXQoYsorIH8maClebsnzTcve+7U3rQUSnC11X4jtPnFuyatqFLvMxZ8MLG8dB4zfHsbPfuvxluONw==", "integrity": "sha512-Jh0llaK2LRXQoYsorIH8maClebsnzTcve+7U3rQUSnC11X4jtPnFuyatqFLvMxZ8MLG8dB4zfHsbPfuvxluONw=="
"dev": true
}, },
"@iconify/utils": { "@iconify/utils": {
"version": "1.0.32", "version": "1.0.32",

View File

@ -41,6 +41,9 @@
"default": "./dist/offline.js" "default": "./dist/offline.js"
} }
}, },
"dependencies": {
"@iconify/types": "^1.1.0"
},
"devDependencies": { "devDependencies": {
"@babel/preset-env": "^7.16.11", "@babel/preset-env": "^7.16.11",
"@iconify/core": "^1.3.2", "@iconify/core": "^1.3.2",