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

Publish new versions of Vue components

This commit is contained in:
Vjacheslav Trushkin 2021-09-27 22:59:19 +03:00
parent 21c317612a
commit 1c295669fc
8 changed files with 372 additions and 1149 deletions

File diff suppressed because it is too large Load Diff

View File

@ -7,15 +7,14 @@
"build": "vite build" "build": "vite build"
}, },
"dependencies": { "dependencies": {
"vue": "^3.0.2" "vue": "^3.2.19"
}, },
"devDependencies": { "devDependencies": {
"@iconify-icons/bx": "^1.0.2", "@iconify-icons/bx": "^1.0.2",
"@iconify-icons/dashicons": "^1.0.0", "@iconify-icons/dashicons": "^1.0.0",
"@iconify/types": "^1.0.5", "@iconify/types": "^1.0.9",
"@iconify/vue": "^3.1.0-beta.1", "@iconify/vue": "^3.1.0-beta.4",
"@vue/compiler-sfc": "^3.0.2", "typescript": "^4.4.3",
"typescript": "^4.1.2",
"vite": "^1.0.0-rc.9" "vite": "^1.0.0-rc.9"
} }
} }

View File

@ -1,12 +1,12 @@
{ {
"name": "@iconify/vue", "name": "@iconify/vue",
"version": "3.1.0-beta.2", "version": "3.1.0-beta.3",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@iconify/vue", "name": "@iconify/vue",
"version": "3.1.0-beta.2", "version": "3.1.0-beta.3",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"cross-fetch": "^3.1.4" "cross-fetch": "^3.1.4"

View File

@ -2,7 +2,7 @@
"name": "@iconify/vue", "name": "@iconify/vue",
"description": "Iconify icon component for Vue 3.", "description": "Iconify icon component for Vue 3.",
"author": "Vjacheslav Trushkin", "author": "Vjacheslav Trushkin",
"version": "3.1.0-beta.2", "version": "3.1.0-beta.4",
"license": "MIT", "license": "MIT",
"bugs": "https://github.com/iconify/iconify/issues", "bugs": "https://github.com/iconify/iconify/issues",
"homepage": "https://iconify.design/", "homepage": "https://iconify.design/",
@ -51,7 +51,7 @@
"vue": "3" "vue": "3"
}, },
"peerDependencies": { "peerDependencies": {
"vue": "^3.0.0" "vue": "3.x"
}, },
"dependencies": { "dependencies": {
"cross-fetch": "^3.1.4" "cross-fetch": "^3.1.4"

View File

@ -15,7 +15,7 @@
"devDependencies": { "devDependencies": {
"@iconify-icons/bx": "^1.1.0", "@iconify-icons/bx": "^1.1.0",
"@iconify-icons/dashicons": "^1.1.0", "@iconify-icons/dashicons": "^1.1.0",
"@iconify/vue2": "^1.1.0-beta.1", "@iconify/vue2": "^1.1.0-beta.3",
"@typescript-eslint/eslint-plugin": "^4.22.1", "@typescript-eslint/eslint-plugin": "^4.22.1",
"@typescript-eslint/parser": "^4.22.1", "@typescript-eslint/parser": "^4.22.1",
"@vue/cli-plugin-babel": "^4.5.12", "@vue/cli-plugin-babel": "^4.5.12",
@ -31,7 +31,7 @@
"eslint-plugin-prettier": "^3.4.0", "eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-vue": "^7.9.0", "eslint-plugin-vue": "^7.9.0",
"prettier": "^2.2.1", "prettier": "^2.2.1",
"typescript": "^4.2.4", "typescript": "^4.4.3",
"vue-template-compiler": "^2.6.12" "vue-template-compiler": "^2.6.12"
} }
}, },
@ -1727,9 +1727,9 @@
"dev": true "dev": true
}, },
"node_modules/@iconify/vue2": { "node_modules/@iconify/vue2": {
"version": "1.1.0-beta.1", "version": "1.1.0-beta.3",
"resolved": "https://registry.npmjs.org/@iconify/vue2/-/vue2-1.1.0-beta.1.tgz", "resolved": "https://registry.npmjs.org/@iconify/vue2/-/vue2-1.1.0-beta.3.tgz",
"integrity": "sha512-I0s5townvdydNKJ5k0VB7grHzsunfM6k6zAOct7e67GdVfLOiPmSSD0mjVM1ilPAczZsdAyvPexgLZIUhSB2iA==", "integrity": "sha512-dQXcO+YTP0uunn76FIyKT/YR0eBgrRXoiZqkgLxknj6Ry0cBZCg+kL8vkUnIjakwyVKsZlEdk1lymURnPInFEw==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"cross-fetch": "^3.1.4" "cross-fetch": "^3.1.4"
@ -14947,9 +14947,9 @@
"dev": true "dev": true
}, },
"node_modules/typescript": { "node_modules/typescript": {
"version": "4.4.2", "version": "4.4.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.2.tgz", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.3.tgz",
"integrity": "sha512-gzP+t5W4hdy4c+68bfcv0t400HVJMMd2+H9B7gae1nQlBzCqvrXX+6GL/b3GAgyTH966pzrZ70/fRjwAtZksSQ==", "integrity": "sha512-4xfscpisVgqqDfPaJo5vkd+Qd/ItkoagnHpufr+i2QCHBsNYp+G7UAoyFl8aPtx879u38wPV65rZ8qbGZijalA==",
"dev": true, "dev": true,
"bin": { "bin": {
"tsc": "bin/tsc", "tsc": "bin/tsc",
@ -18169,9 +18169,9 @@
"dev": true "dev": true
}, },
"@iconify/vue2": { "@iconify/vue2": {
"version": "1.1.0-beta.1", "version": "1.1.0-beta.3",
"resolved": "https://registry.npmjs.org/@iconify/vue2/-/vue2-1.1.0-beta.1.tgz", "resolved": "https://registry.npmjs.org/@iconify/vue2/-/vue2-1.1.0-beta.3.tgz",
"integrity": "sha512-I0s5townvdydNKJ5k0VB7grHzsunfM6k6zAOct7e67GdVfLOiPmSSD0mjVM1ilPAczZsdAyvPexgLZIUhSB2iA==", "integrity": "sha512-dQXcO+YTP0uunn76FIyKT/YR0eBgrRXoiZqkgLxknj6Ry0cBZCg+kL8vkUnIjakwyVKsZlEdk1lymURnPInFEw==",
"dev": true, "dev": true,
"requires": { "requires": {
"cross-fetch": "^3.1.4" "cross-fetch": "^3.1.4"
@ -28774,9 +28774,9 @@
"dev": true "dev": true
}, },
"typescript": { "typescript": {
"version": "4.4.2", "version": "4.4.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.2.tgz", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.3.tgz",
"integrity": "sha512-gzP+t5W4hdy4c+68bfcv0t400HVJMMd2+H9B7gae1nQlBzCqvrXX+6GL/b3GAgyTH966pzrZ70/fRjwAtZksSQ==", "integrity": "sha512-4xfscpisVgqqDfPaJo5vkd+Qd/ItkoagnHpufr+i2QCHBsNYp+G7UAoyFl8aPtx879u38wPV65rZ8qbGZijalA==",
"dev": true "dev": true
}, },
"uglify-js": { "uglify-js": {

View File

@ -15,7 +15,7 @@
"devDependencies": { "devDependencies": {
"@iconify-icons/bx": "^1.1.0", "@iconify-icons/bx": "^1.1.0",
"@iconify-icons/dashicons": "^1.1.0", "@iconify-icons/dashicons": "^1.1.0",
"@iconify/vue2": "^1.1.0-beta.1", "@iconify/vue2": "^1.1.0-beta.3",
"@typescript-eslint/eslint-plugin": "^4.22.1", "@typescript-eslint/eslint-plugin": "^4.22.1",
"@typescript-eslint/parser": "^4.22.1", "@typescript-eslint/parser": "^4.22.1",
"@vue/cli-plugin-babel": "^4.5.12", "@vue/cli-plugin-babel": "^4.5.12",
@ -31,7 +31,7 @@
"eslint-plugin-prettier": "^3.4.0", "eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-vue": "^7.9.0", "eslint-plugin-vue": "^7.9.0",
"prettier": "^2.2.1", "prettier": "^2.2.1",
"typescript": "^4.2.4", "typescript": "^4.4.3",
"vue-template-compiler": "^2.6.12" "vue-template-compiler": "^2.6.12"
} }
} }

View File

@ -1,3 +1,4 @@
/* eslint-disable */
const fs = require('fs'); const fs = require('fs');
const path = require('path'); const path = require('path');
const child_process = require('child_process'); const child_process = require('child_process');
@ -14,7 +15,7 @@ const compile = {
dist: true, dist: true,
api: true, api: true,
}; };
process.argv.slice(2).forEach((cmd) => { process.argv.slice(2).forEach(cmd => {
if (cmd.slice(0, 2) !== '--') { if (cmd.slice(0, 2) !== '--') {
return; return;
} }
@ -38,7 +39,7 @@ process.argv.slice(2).forEach((cmd) => {
case 'only': case 'only':
// disable other modules // disable other modules
Object.keys(compile).forEach((key2) => { Object.keys(compile).forEach(key2 => {
compile[key2] = key2 === key; compile[key2] = key2 === key;
}); });
break; break;
@ -47,7 +48,7 @@ process.argv.slice(2).forEach((cmd) => {
}); });
// Check if required modules in same monorepo are available // Check if required modules in same monorepo are available
const fileExists = (file) => { const fileExists = file => {
try { try {
fs.statSync(file); fs.statSync(file);
} catch (e) { } catch (e) {
@ -64,7 +65,7 @@ if (compile.api && !fileExists(packagesDir + '/vue/lib/IconifyIcon.d.ts')) {
compile.lib = true; compile.lib = true;
} }
if (compile.lib && !fileExists(packagesDir + '/core/lib/modules.js')) { if (compile.lib && !fileExists(packagesDir + '/core/lib/cache.js')) {
compile.core = true; compile.core = true;
} }
@ -78,7 +79,7 @@ if (compile.core) {
} }
// Compile other packages // Compile other packages
Object.keys(compile).forEach((key) => { Object.keys(compile).forEach(key => {
if (key !== 'core' && compile[key]) { if (key !== 'core' && compile[key]) {
commands.push({ commands.push({
cmd: 'npm', cmd: 'npm',

View File

@ -2,7 +2,7 @@
"name": "@iconify/vue2", "name": "@iconify/vue2",
"description": "Iconify icon component for Vue 2.", "description": "Iconify icon component for Vue 2.",
"author": "Vjacheslav Trushkin", "author": "Vjacheslav Trushkin",
"version": "1.1.0-beta.2", "version": "1.1.0-beta.3",
"license": "MIT", "license": "MIT",
"bugs": "https://github.com/iconify/iconify/issues", "bugs": "https://github.com/iconify/iconify/issues",
"homepage": "https://iconify.design/", "homepage": "https://iconify.design/",