2
0
mirror of https://github.com/iconify/iconify.git synced 2024-12-12 21:57:50 +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"
},
"dependencies": {
"vue": "^3.0.2"
"vue": "^3.2.19"
},
"devDependencies": {
"@iconify-icons/bx": "^1.0.2",
"@iconify-icons/dashicons": "^1.0.0",
"@iconify/types": "^1.0.5",
"@iconify/vue": "^3.1.0-beta.1",
"@vue/compiler-sfc": "^3.0.2",
"typescript": "^4.1.2",
"@iconify/types": "^1.0.9",
"@iconify/vue": "^3.1.0-beta.4",
"typescript": "^4.4.3",
"vite": "^1.0.0-rc.9"
}
}

View File

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

View File

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

View File

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

View File

@ -15,7 +15,7 @@
"devDependencies": {
"@iconify-icons/bx": "^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/parser": "^4.22.1",
"@vue/cli-plugin-babel": "^4.5.12",
@ -31,7 +31,7 @@
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-vue": "^7.9.0",
"prettier": "^2.2.1",
"typescript": "^4.2.4",
"typescript": "^4.4.3",
"vue-template-compiler": "^2.6.12"
}
}

View File

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

View File

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