diff --git a/.changeset/purple-tools-change.md b/.changeset/purple-tools-change.md deleted file mode 100644 index 7b521207..00000000 --- a/.changeset/purple-tools-change.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"@axetroy/iconfont-componentized-cli": patch -"@axetroy/iconfont-componentized-gen-dom": patch -"@axetroy/iconfont-componentized-gen-react": patch -"@axetroy/iconfont-componentized-gen-svg": patch -"@axetroy/iconfont-componentized-gen-vue": patch -"@axetroy/iconfont-componentized-gen-web-component": patch -"@axetroy/iconfont-componentized-parser": patch -"@axetroy/iconfont-componentized-share": patch ---- - -update diff --git a/README.md b/README.md index 43844f47..421944df 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ IconFont Componentized is a series of tools for converting IconFont into compone 1. Install CLI ```bash -npm install @axetroy/iconfont-componentized-cli -D +npm install @iconfont-componentized/cli -D ``` 2. Add script to your `package.json` diff --git a/package.json b/package.json index 8ebb5f4b..a2d91863 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "@axetroy/iconfont-componentized", - "version": "1.0.4", + "name": "iconfont-componentized", + "version": "1.0.0", "main": "index.js", "repository": "git@github.com:axetroy/iconfont-componentized.git", "author": "Axetroy ", diff --git a/packages/iconfont-componentized-cli/.gitignore b/packages/cli/.gitignore similarity index 100% rename from packages/iconfont-componentized-cli/.gitignore rename to packages/cli/.gitignore diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md new file mode 100644 index 00000000..15f43b85 --- /dev/null +++ b/packages/cli/CHANGELOG.md @@ -0,0 +1,79 @@ +# @iconfont-componentized/cli + +## 1.0.10 + +### Patch Changes + +- 2f85a33: bump +- Updated dependencies [2f85a33] + - @iconfont-componentized/gen-react@1.0.10 + - @iconfont-componentized/gen-svg@1.0.10 + - @iconfont-componentized/gen-vue@1.0.10 + - @iconfont-componentized/gen-web-component@1.0.10 + - @iconfont-componentized/parser@1.0.10 + - @iconfont-componentized/share@1.0.10 + +## 1.0.9 + +### Patch Changes + +- b9db6f7: bump +- Updated dependencies [b9db6f7] + - @iconfont-componentized/gen-react@1.0.9 + - @iconfont-componentized/gen-svg@1.0.9 + - @iconfont-componentized/gen-vue@1.0.9 + - @iconfont-componentized/gen-web-component@1.0.9 + - @iconfont-componentized/parser@1.0.9 + - @iconfont-componentized/share@1.0.9 + +## 1.0.8 + +### Patch Changes + +- e0bcc82: update +- Updated dependencies [e0bcc82] + - @iconfont-componentized/gen-react@1.0.8 + - @iconfont-componentized/gen-svg@1.0.8 + - @iconfont-componentized/gen-vue@1.0.8 + - @iconfont-componentized/gen-web-component@1.0.8 + - @iconfont-componentized/parser@1.0.8 + - @iconfont-componentized/share@1.0.8 + +## 1.0.7 + +### Patch Changes + +- 0bc6ec2: bump +- Updated dependencies [0bc6ec2] + - @iconfont-componentized/gen-react@1.0.7 + - @iconfont-componentized/gen-svg@1.0.7 + - @iconfont-componentized/gen-vue@1.0.7 + - @iconfont-componentized/gen-web-component@1.0.7 + - @iconfont-componentized/parser@1.0.7 + - @iconfont-componentized/share@1.0.7 + +## 1.0.6 + +### Patch Changes + +- 82d173a: update version +- Updated dependencies [82d173a] + - @iconfont-componentized/gen-react@1.0.6 + - @iconfont-componentized/gen-svg@1.0.6 + - @iconfont-componentized/gen-vue@1.0.6 + - @iconfont-componentized/gen-web-component@1.0.6 + - @iconfont-componentized/parser@1.0.6 + - @iconfont-componentized/share@1.0.6 + +## 1.0.5 + +### Patch Changes + +- 55fcd0a: update +- Updated dependencies [55fcd0a] + - @iconfont-componentized/gen-react@1.0.5 + - @iconfont-componentized/gen-svg@1.0.5 + - @iconfont-componentized/gen-vue@1.0.5 + - @iconfont-componentized/gen-web-component@1.0.5 + - @iconfont-componentized/parser@1.0.5 + - @iconfont-componentized/share@1.0.5 diff --git a/packages/iconfont-componentized-cli/LICENSE b/packages/cli/LICENSE similarity index 100% rename from packages/iconfont-componentized-cli/LICENSE rename to packages/cli/LICENSE diff --git a/packages/iconfont-componentized-cli/__tests__/index.spec.js b/packages/cli/__tests__/index.spec.js similarity index 100% rename from packages/iconfont-componentized-cli/__tests__/index.spec.js rename to packages/cli/__tests__/index.spec.js diff --git a/packages/iconfont-componentized-cli/babel.config.js b/packages/cli/babel.config.js similarity index 100% rename from packages/iconfont-componentized-cli/babel.config.js rename to packages/cli/babel.config.js diff --git a/packages/iconfont-componentized-cli/jest.config.js b/packages/cli/jest.config.js similarity index 100% rename from packages/iconfont-componentized-cli/jest.config.js rename to packages/cli/jest.config.js diff --git a/packages/iconfont-componentized-cli/package.json b/packages/cli/package.json similarity index 50% rename from packages/iconfont-componentized-cli/package.json rename to packages/cli/package.json index 1fcdfe87..b9fec743 100644 --- a/packages/iconfont-componentized-cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { - "name": "@axetroy/iconfont-componentized-cli", - "version": "1.0.10", + "name": "@iconfont-componentized/cli", + "version": "0.1.0", "bin": { "iconfont-componentized": "./dist/index.js" }, @@ -21,12 +21,12 @@ "@types/yargs": "^17.0.24" }, "dependencies": { - "@axetroy/iconfont-componentized-gen-react": "workspace:*", - "@axetroy/iconfont-componentized-gen-svg": "workspace:*", - "@axetroy/iconfont-componentized-gen-vue": "workspace:*", - "@axetroy/iconfont-componentized-gen-web-component": "workspace:*", - "@axetroy/iconfont-componentized-parser": "workspace:*", - "@axetroy/iconfont-componentized-share": "workspace:*", + "@iconfont-componentized/gen-react": "workspace:*", + "@iconfont-componentized/gen-svg": "workspace:*", + "@iconfont-componentized/gen-vue": "workspace:*", + "@iconfont-componentized/gen-web-component": "workspace:*", + "@iconfont-componentized/parser": "workspace:*", + "@iconfont-componentized/share": "workspace:*", "yargs": "^17.7.2" } } diff --git a/packages/iconfont-componentized-cli/src/index.ts b/packages/cli/src/index.ts similarity index 82% rename from packages/iconfont-componentized-cli/src/index.ts rename to packages/cli/src/index.ts index d47ca12a..855ceef9 100644 --- a/packages/iconfont-componentized-cli/src/index.ts +++ b/packages/cli/src/index.ts @@ -1,12 +1,12 @@ import path from "path"; import yargs from "yargs/yargs"; import { hideBin } from "yargs/helpers"; -import { parseFromURL } from "@axetroy/iconfont-componentized-parser"; -import { ComponentGenerator } from "@axetroy/iconfont-componentized-share"; -import ReactComponentGenerator from "@axetroy/iconfont-componentized-gen-react"; -import SVGComponentGenerator from "@axetroy/iconfont-componentized-gen-svg"; -import VueComponentGenerator from "@axetroy/iconfont-componentized-gen-vue"; -import WebComponentComponentGenerator from "@axetroy/iconfont-componentized-gen-web-component"; +import { parseFromURL } from "@iconfont-componentized/parser"; +import { ComponentGenerator } from "@iconfont-componentized/share"; +import ReactComponentGenerator from "@iconfont-componentized/gen-react"; +import SVGComponentGenerator from "@iconfont-componentized/gen-svg"; +import VueComponentGenerator from "@iconfont-componentized/gen-Vue"; +import WebComponentComponentGenerator from "@iconfont-componentized/gen-web-component"; const argv = yargs(hideBin(process.argv)).argv; diff --git a/packages/iconfont-componentized-cli/tsconfig.json b/packages/cli/tsconfig.json similarity index 100% rename from packages/iconfont-componentized-cli/tsconfig.json rename to packages/cli/tsconfig.json diff --git a/packages/gen-dom/CHANGELOG.md b/packages/gen-dom/CHANGELOG.md new file mode 100644 index 00000000..9a9571b9 --- /dev/null +++ b/packages/gen-dom/CHANGELOG.md @@ -0,0 +1,55 @@ +# @iconfont-componentized/gen-svg + +## 1.0.10 + +### Patch Changes + +- 2f85a33: bump +- Updated dependencies [2f85a33] + - @iconfont-componentized/parser@1.0.10 + - @iconfont-componentized/share@1.0.10 + +## 1.0.9 + +### Patch Changes + +- b9db6f7: bump +- Updated dependencies [b9db6f7] + - @iconfont-componentized/parser@1.0.9 + - @iconfont-componentized/share@1.0.9 + +## 1.0.8 + +### Patch Changes + +- e0bcc82: update +- Updated dependencies [e0bcc82] + - @iconfont-componentized/parser@1.0.8 + - @iconfont-componentized/share@1.0.8 + +## 1.0.7 + +### Patch Changes + +- 0bc6ec2: bump +- Updated dependencies [0bc6ec2] + - @iconfont-componentized/parser@1.0.7 + - @iconfont-componentized/share@1.0.7 + +## 1.0.6 + +### Patch Changes + +- 82d173a: update version +- Updated dependencies [82d173a] + - @iconfont-componentized/parser@1.0.6 + - @iconfont-componentized/share@1.0.6 + +## 1.0.5 + +### Patch Changes + +- 55fcd0a: update +- Updated dependencies [55fcd0a] + - @iconfont-componentized/parser@1.0.5 + - @iconfont-componentized/share@1.0.5 diff --git a/packages/iconfont-componentized-gen-dom/LICENSE b/packages/gen-dom/LICENSE similarity index 100% rename from packages/iconfont-componentized-gen-dom/LICENSE rename to packages/gen-dom/LICENSE diff --git a/packages/iconfont-componentized-gen-dom/__tests__/index.spec.js b/packages/gen-dom/__tests__/index.spec.js similarity index 85% rename from packages/iconfont-componentized-gen-dom/__tests__/index.spec.js rename to packages/gen-dom/__tests__/index.spec.js index 62ba3007..04098008 100644 --- a/packages/iconfont-componentized-gen-dom/__tests__/index.spec.js +++ b/packages/gen-dom/__tests__/index.spec.js @@ -1,4 +1,4 @@ -import { parseFromURL } from "@axetroy/iconfont-componentized-parser"; +import { parseFromURL } from "@iconfont-componentized/parser"; import DOMComponentGenerator from "../src/index"; import path from "path"; diff --git a/packages/iconfont-componentized-gen-dom/__tests__/output.spec.1/IconFontAnonymousIconfont.d.ts b/packages/gen-dom/__tests__/output.spec.1/IconFontAnonymousIconfont.d.ts similarity index 100% rename from packages/iconfont-componentized-gen-dom/__tests__/output.spec.1/IconFontAnonymousIconfont.d.ts rename to packages/gen-dom/__tests__/output.spec.1/IconFontAnonymousIconfont.d.ts diff --git a/packages/iconfont-componentized-gen-dom/__tests__/output.spec.1/IconFontAnonymousIconfont.js b/packages/gen-dom/__tests__/output.spec.1/IconFontAnonymousIconfont.js similarity index 100% rename from packages/iconfont-componentized-gen-dom/__tests__/output.spec.1/IconFontAnonymousIconfont.js rename to packages/gen-dom/__tests__/output.spec.1/IconFontAnonymousIconfont.js diff --git a/packages/iconfont-componentized-gen-dom/__tests__/output.spec.1/IconFontBriefcase.d.ts b/packages/gen-dom/__tests__/output.spec.1/IconFontBriefcase.d.ts similarity index 100% rename from packages/iconfont-componentized-gen-dom/__tests__/output.spec.1/IconFontBriefcase.d.ts rename to packages/gen-dom/__tests__/output.spec.1/IconFontBriefcase.d.ts diff --git a/packages/iconfont-componentized-gen-dom/__tests__/output.spec.1/IconFontBriefcase.js b/packages/gen-dom/__tests__/output.spec.1/IconFontBriefcase.js similarity index 100% rename from packages/iconfont-componentized-gen-dom/__tests__/output.spec.1/IconFontBriefcase.js rename to packages/gen-dom/__tests__/output.spec.1/IconFontBriefcase.js diff --git a/packages/iconfont-componentized-gen-dom/__tests__/output.spec.1/IconFontCanjuYongcan.d.ts b/packages/gen-dom/__tests__/output.spec.1/IconFontCanjuYongcan.d.ts similarity index 100% rename from packages/iconfont-componentized-gen-dom/__tests__/output.spec.1/IconFontCanjuYongcan.d.ts rename to packages/gen-dom/__tests__/output.spec.1/IconFontCanjuYongcan.d.ts diff --git a/packages/iconfont-componentized-gen-dom/__tests__/output.spec.1/IconFontCanjuYongcan.js b/packages/gen-dom/__tests__/output.spec.1/IconFontCanjuYongcan.js similarity index 100% rename from packages/iconfont-componentized-gen-dom/__tests__/output.spec.1/IconFontCanjuYongcan.js rename to packages/gen-dom/__tests__/output.spec.1/IconFontCanjuYongcan.js diff --git a/packages/iconfont-componentized-gen-dom/__tests__/output.spec.1/IconFontJia.d.ts b/packages/gen-dom/__tests__/output.spec.1/IconFontJia.d.ts similarity index 100% rename from packages/iconfont-componentized-gen-dom/__tests__/output.spec.1/IconFontJia.d.ts rename to packages/gen-dom/__tests__/output.spec.1/IconFontJia.d.ts diff --git a/packages/iconfont-componentized-gen-dom/__tests__/output.spec.1/IconFontJia.js b/packages/gen-dom/__tests__/output.spec.1/IconFontJia.js similarity index 100% rename from packages/iconfont-componentized-gen-dom/__tests__/output.spec.1/IconFontJia.js rename to packages/gen-dom/__tests__/output.spec.1/IconFontJia.js diff --git a/packages/iconfont-componentized-gen-dom/__tests__/output.spec.1/IconFontJiesuan.d.ts b/packages/gen-dom/__tests__/output.spec.1/IconFontJiesuan.d.ts similarity index 100% rename from packages/iconfont-componentized-gen-dom/__tests__/output.spec.1/IconFontJiesuan.d.ts rename to packages/gen-dom/__tests__/output.spec.1/IconFontJiesuan.d.ts diff --git a/packages/iconfont-componentized-gen-dom/__tests__/output.spec.1/IconFontJiesuan.js b/packages/gen-dom/__tests__/output.spec.1/IconFontJiesuan.js similarity index 100% rename from packages/iconfont-componentized-gen-dom/__tests__/output.spec.1/IconFontJiesuan.js rename to packages/gen-dom/__tests__/output.spec.1/IconFontJiesuan.js diff --git a/packages/iconfont-componentized-gen-dom/__tests__/output.spec.1/index.d.ts b/packages/gen-dom/__tests__/output.spec.1/index.d.ts similarity index 100% rename from packages/iconfont-componentized-gen-dom/__tests__/output.spec.1/index.d.ts rename to packages/gen-dom/__tests__/output.spec.1/index.d.ts diff --git a/packages/iconfont-componentized-gen-dom/__tests__/output.spec.1/index.js b/packages/gen-dom/__tests__/output.spec.1/index.js similarity index 100% rename from packages/iconfont-componentized-gen-dom/__tests__/output.spec.1/index.js rename to packages/gen-dom/__tests__/output.spec.1/index.js diff --git a/packages/iconfont-componentized-gen-dom/babel.config.js b/packages/gen-dom/babel.config.js similarity index 100% rename from packages/iconfont-componentized-gen-dom/babel.config.js rename to packages/gen-dom/babel.config.js diff --git a/packages/iconfont-componentized-gen-dom/demo/index.html b/packages/gen-dom/demo/index.html similarity index 100% rename from packages/iconfont-componentized-gen-dom/demo/index.html rename to packages/gen-dom/demo/index.html diff --git a/packages/iconfont-componentized-gen-dom/demo/index.js b/packages/gen-dom/demo/index.js similarity index 100% rename from packages/iconfont-componentized-gen-dom/demo/index.js rename to packages/gen-dom/demo/index.js diff --git a/packages/iconfont-componentized-gen-dom/jest.config.js b/packages/gen-dom/jest.config.js similarity index 100% rename from packages/iconfont-componentized-gen-dom/jest.config.js rename to packages/gen-dom/jest.config.js diff --git a/packages/iconfont-componentized-gen-dom/package.json b/packages/gen-dom/package.json similarity index 68% rename from packages/iconfont-componentized-gen-dom/package.json rename to packages/gen-dom/package.json index 78fddfbd..622601da 100644 --- a/packages/iconfont-componentized-gen-dom/package.json +++ b/packages/gen-dom/package.json @@ -1,6 +1,6 @@ { - "name": "@axetroy/iconfont-componentized-gen-dom", - "version": "1.0.10", + "name": "@iconfont-componentized/gen-dom", + "version": "0.1.0", "main": "dist/index.js", "license": "ANTI-996", "files": [ @@ -20,8 +20,8 @@ "vite": "^4.4.8" }, "dependencies": { - "@axetroy/iconfont-componentized-parser": "workspace:*", - "@axetroy/iconfont-componentized-share": "workspace:*", + "@iconfont-componentized/parser": "workspace:*", + "@iconfont-componentized/share": "workspace:*", "camelcase": "^6.0.0" } } diff --git a/packages/iconfont-componentized-gen-dom/src/index.ts b/packages/gen-dom/src/index.ts similarity index 96% rename from packages/iconfont-componentized-gen-dom/src/index.ts rename to packages/gen-dom/src/index.ts index 5560693a..22cf9665 100644 --- a/packages/iconfont-componentized-gen-dom/src/index.ts +++ b/packages/gen-dom/src/index.ts @@ -1,5 +1,5 @@ -import { Icon } from "@axetroy/iconfont-componentized-parser"; -import { generateSvgDOM, ComponentGenerator, writeComponentsToDisk, Component } from "@axetroy/iconfont-componentized-share"; +import { Icon } from "@iconfont-componentized/parser"; +import { generateSvgDOM, ComponentGenerator, writeComponentsToDisk, Component } from "@iconfont-componentized/share"; import camelcase from "camelcase"; const header = `// generate by iconfont-componentized`; diff --git a/packages/iconfont-componentized-gen-dom/tsconfig.json b/packages/gen-dom/tsconfig.json similarity index 100% rename from packages/iconfont-componentized-gen-dom/tsconfig.json rename to packages/gen-dom/tsconfig.json diff --git a/packages/iconfont-componentized-gen-dom/vite.config.ts b/packages/gen-dom/vite.config.ts similarity index 100% rename from packages/iconfont-componentized-gen-dom/vite.config.ts rename to packages/gen-dom/vite.config.ts diff --git a/packages/gen-react/CHANGELOG.md b/packages/gen-react/CHANGELOG.md new file mode 100644 index 00000000..b77a0009 --- /dev/null +++ b/packages/gen-react/CHANGELOG.md @@ -0,0 +1,55 @@ +# @iconfont-componentized/gen-react + +## 1.0.10 + +### Patch Changes + +- 2f85a33: bump +- Updated dependencies [2f85a33] + - @iconfont-componentized/parser@1.0.10 + - @iconfont-componentized/share@1.0.10 + +## 1.0.9 + +### Patch Changes + +- b9db6f7: bump +- Updated dependencies [b9db6f7] + - @iconfont-componentized/parser@1.0.9 + - @iconfont-componentized/share@1.0.9 + +## 1.0.8 + +### Patch Changes + +- e0bcc82: update +- Updated dependencies [e0bcc82] + - @iconfont-componentized/parser@1.0.8 + - @iconfont-componentized/share@1.0.8 + +## 1.0.7 + +### Patch Changes + +- 0bc6ec2: bump +- Updated dependencies [0bc6ec2] + - @iconfont-componentized/parser@1.0.7 + - @iconfont-componentized/share@1.0.7 + +## 1.0.6 + +### Patch Changes + +- 82d173a: update version +- Updated dependencies [82d173a] + - @iconfont-componentized/parser@1.0.6 + - @iconfont-componentized/share@1.0.6 + +## 1.0.5 + +### Patch Changes + +- 55fcd0a: update +- Updated dependencies [55fcd0a] + - @iconfont-componentized/parser@1.0.5 + - @iconfont-componentized/share@1.0.5 diff --git a/packages/iconfont-componentized-gen-react/LICENSE b/packages/gen-react/LICENSE similarity index 100% rename from packages/iconfont-componentized-gen-react/LICENSE rename to packages/gen-react/LICENSE diff --git a/packages/iconfont-componentized-gen-react/__tests__/index.spec.js b/packages/gen-react/__tests__/index.spec.js similarity index 86% rename from packages/iconfont-componentized-gen-react/__tests__/index.spec.js rename to packages/gen-react/__tests__/index.spec.js index a3958cfd..deb357a1 100644 --- a/packages/iconfont-componentized-gen-react/__tests__/index.spec.js +++ b/packages/gen-react/__tests__/index.spec.js @@ -1,4 +1,4 @@ -import { parseFromURL } from "@axetroy/iconfont-componentized-parser"; +import { parseFromURL } from "@iconfont-componentized/parser"; import ReactComponentGenerator from "../src/index"; import path from "path"; diff --git a/packages/iconfont-componentized-gen-react/__tests__/output.spec.1/IconFontAnonymousIconfont.d.ts b/packages/gen-react/__tests__/output.spec.1/IconFontAnonymousIconfont.d.ts similarity index 100% rename from packages/iconfont-componentized-gen-react/__tests__/output.spec.1/IconFontAnonymousIconfont.d.ts rename to packages/gen-react/__tests__/output.spec.1/IconFontAnonymousIconfont.d.ts diff --git a/packages/iconfont-componentized-gen-react/__tests__/output.spec.1/IconFontAnonymousIconfont.jsx b/packages/gen-react/__tests__/output.spec.1/IconFontAnonymousIconfont.jsx similarity index 100% rename from packages/iconfont-componentized-gen-react/__tests__/output.spec.1/IconFontAnonymousIconfont.jsx rename to packages/gen-react/__tests__/output.spec.1/IconFontAnonymousIconfont.jsx diff --git a/packages/iconfont-componentized-gen-react/__tests__/output.spec.1/IconFontBriefcase.d.ts b/packages/gen-react/__tests__/output.spec.1/IconFontBriefcase.d.ts similarity index 100% rename from packages/iconfont-componentized-gen-react/__tests__/output.spec.1/IconFontBriefcase.d.ts rename to packages/gen-react/__tests__/output.spec.1/IconFontBriefcase.d.ts diff --git a/packages/iconfont-componentized-gen-react/__tests__/output.spec.1/IconFontBriefcase.jsx b/packages/gen-react/__tests__/output.spec.1/IconFontBriefcase.jsx similarity index 100% rename from packages/iconfont-componentized-gen-react/__tests__/output.spec.1/IconFontBriefcase.jsx rename to packages/gen-react/__tests__/output.spec.1/IconFontBriefcase.jsx diff --git a/packages/iconfont-componentized-gen-react/__tests__/output.spec.1/IconFontCanjuYongcan.d.ts b/packages/gen-react/__tests__/output.spec.1/IconFontCanjuYongcan.d.ts similarity index 100% rename from packages/iconfont-componentized-gen-react/__tests__/output.spec.1/IconFontCanjuYongcan.d.ts rename to packages/gen-react/__tests__/output.spec.1/IconFontCanjuYongcan.d.ts diff --git a/packages/iconfont-componentized-gen-react/__tests__/output.spec.1/IconFontCanjuYongcan.jsx b/packages/gen-react/__tests__/output.spec.1/IconFontCanjuYongcan.jsx similarity index 100% rename from packages/iconfont-componentized-gen-react/__tests__/output.spec.1/IconFontCanjuYongcan.jsx rename to packages/gen-react/__tests__/output.spec.1/IconFontCanjuYongcan.jsx diff --git a/packages/iconfont-componentized-gen-react/__tests__/output.spec.1/IconFontJia.d.ts b/packages/gen-react/__tests__/output.spec.1/IconFontJia.d.ts similarity index 100% rename from packages/iconfont-componentized-gen-react/__tests__/output.spec.1/IconFontJia.d.ts rename to packages/gen-react/__tests__/output.spec.1/IconFontJia.d.ts diff --git a/packages/iconfont-componentized-gen-react/__tests__/output.spec.1/IconFontJia.jsx b/packages/gen-react/__tests__/output.spec.1/IconFontJia.jsx similarity index 100% rename from packages/iconfont-componentized-gen-react/__tests__/output.spec.1/IconFontJia.jsx rename to packages/gen-react/__tests__/output.spec.1/IconFontJia.jsx diff --git a/packages/iconfont-componentized-gen-react/__tests__/output.spec.1/IconFontJiesuan.d.ts b/packages/gen-react/__tests__/output.spec.1/IconFontJiesuan.d.ts similarity index 100% rename from packages/iconfont-componentized-gen-react/__tests__/output.spec.1/IconFontJiesuan.d.ts rename to packages/gen-react/__tests__/output.spec.1/IconFontJiesuan.d.ts diff --git a/packages/iconfont-componentized-gen-react/__tests__/output.spec.1/IconFontJiesuan.jsx b/packages/gen-react/__tests__/output.spec.1/IconFontJiesuan.jsx similarity index 100% rename from packages/iconfont-componentized-gen-react/__tests__/output.spec.1/IconFontJiesuan.jsx rename to packages/gen-react/__tests__/output.spec.1/IconFontJiesuan.jsx diff --git a/packages/iconfont-componentized-gen-react/__tests__/output.spec.1/index.d.ts b/packages/gen-react/__tests__/output.spec.1/index.d.ts similarity index 100% rename from packages/iconfont-componentized-gen-react/__tests__/output.spec.1/index.d.ts rename to packages/gen-react/__tests__/output.spec.1/index.d.ts diff --git a/packages/iconfont-componentized-gen-react/__tests__/output.spec.1/index.jsx b/packages/gen-react/__tests__/output.spec.1/index.jsx similarity index 100% rename from packages/iconfont-componentized-gen-react/__tests__/output.spec.1/index.jsx rename to packages/gen-react/__tests__/output.spec.1/index.jsx diff --git a/packages/iconfont-componentized-gen-react/babel.config.js b/packages/gen-react/babel.config.js similarity index 100% rename from packages/iconfont-componentized-gen-react/babel.config.js rename to packages/gen-react/babel.config.js diff --git a/packages/iconfont-componentized-gen-react/demo/index.html b/packages/gen-react/demo/index.html similarity index 100% rename from packages/iconfont-componentized-gen-react/demo/index.html rename to packages/gen-react/demo/index.html diff --git a/packages/iconfont-componentized-gen-react/demo/index.jsx b/packages/gen-react/demo/index.jsx similarity index 100% rename from packages/iconfont-componentized-gen-react/demo/index.jsx rename to packages/gen-react/demo/index.jsx diff --git a/packages/iconfont-componentized-gen-react/jest.config.js b/packages/gen-react/jest.config.js similarity index 100% rename from packages/iconfont-componentized-gen-react/jest.config.js rename to packages/gen-react/jest.config.js diff --git a/packages/iconfont-componentized-gen-react/package.json b/packages/gen-react/package.json similarity index 75% rename from packages/iconfont-componentized-gen-react/package.json rename to packages/gen-react/package.json index 7d56c060..a6bcbda4 100644 --- a/packages/iconfont-componentized-gen-react/package.json +++ b/packages/gen-react/package.json @@ -1,6 +1,6 @@ { - "name": "@axetroy/iconfont-componentized-gen-react", - "version": "1.0.10", + "name": "@iconfont-componentized/gen-react", + "version": "0.1.0", "main": "dist/index.js", "license": "ANTI-996", "files": [ @@ -25,8 +25,8 @@ "vite": "^4.4.8" }, "dependencies": { - "@axetroy/iconfont-componentized-parser": "workspace:*", - "@axetroy/iconfont-componentized-share": "workspace:*", + "@iconfont-componentized/parser": "workspace:*", + "@iconfont-componentized/share": "workspace:*", "camelcase": "^6.0.0" } } diff --git a/packages/iconfont-componentized-gen-react/src/index.ts b/packages/gen-react/src/index.ts similarity index 96% rename from packages/iconfont-componentized-gen-react/src/index.ts rename to packages/gen-react/src/index.ts index 767dfd3a..0294de89 100644 --- a/packages/iconfont-componentized-gen-react/src/index.ts +++ b/packages/gen-react/src/index.ts @@ -1,5 +1,5 @@ -import { Icon } from "@axetroy/iconfont-componentized-parser"; -import { generateSvg, ComponentGenerator, Component, writeComponentsToDisk } from "@axetroy/iconfont-componentized-share"; +import { Icon } from "@iconfont-componentized/parser"; +import { generateSvg, ComponentGenerator, Component, writeComponentsToDisk } from "@iconfont-componentized/share"; import camelcase from "camelcase"; const header = `// generate by iconfont-componentized`; diff --git a/packages/iconfont-componentized-gen-react/tsconfig.json b/packages/gen-react/tsconfig.json similarity index 100% rename from packages/iconfont-componentized-gen-react/tsconfig.json rename to packages/gen-react/tsconfig.json diff --git a/packages/iconfont-componentized-gen-react/vite.config.ts b/packages/gen-react/vite.config.ts similarity index 100% rename from packages/iconfont-componentized-gen-react/vite.config.ts rename to packages/gen-react/vite.config.ts diff --git a/packages/gen-svg/CHANGELOG.md b/packages/gen-svg/CHANGELOG.md new file mode 100644 index 00000000..9a9571b9 --- /dev/null +++ b/packages/gen-svg/CHANGELOG.md @@ -0,0 +1,55 @@ +# @iconfont-componentized/gen-svg + +## 1.0.10 + +### Patch Changes + +- 2f85a33: bump +- Updated dependencies [2f85a33] + - @iconfont-componentized/parser@1.0.10 + - @iconfont-componentized/share@1.0.10 + +## 1.0.9 + +### Patch Changes + +- b9db6f7: bump +- Updated dependencies [b9db6f7] + - @iconfont-componentized/parser@1.0.9 + - @iconfont-componentized/share@1.0.9 + +## 1.0.8 + +### Patch Changes + +- e0bcc82: update +- Updated dependencies [e0bcc82] + - @iconfont-componentized/parser@1.0.8 + - @iconfont-componentized/share@1.0.8 + +## 1.0.7 + +### Patch Changes + +- 0bc6ec2: bump +- Updated dependencies [0bc6ec2] + - @iconfont-componentized/parser@1.0.7 + - @iconfont-componentized/share@1.0.7 + +## 1.0.6 + +### Patch Changes + +- 82d173a: update version +- Updated dependencies [82d173a] + - @iconfont-componentized/parser@1.0.6 + - @iconfont-componentized/share@1.0.6 + +## 1.0.5 + +### Patch Changes + +- 55fcd0a: update +- Updated dependencies [55fcd0a] + - @iconfont-componentized/parser@1.0.5 + - @iconfont-componentized/share@1.0.5 diff --git a/packages/iconfont-componentized-gen-svg/LICENSE b/packages/gen-svg/LICENSE similarity index 100% rename from packages/iconfont-componentized-gen-svg/LICENSE rename to packages/gen-svg/LICENSE diff --git a/packages/iconfont-componentized-gen-svg/__tests__/index.spec.js b/packages/gen-svg/__tests__/index.spec.js similarity index 85% rename from packages/iconfont-componentized-gen-svg/__tests__/index.spec.js rename to packages/gen-svg/__tests__/index.spec.js index 60fb40fd..29242360 100644 --- a/packages/iconfont-componentized-gen-svg/__tests__/index.spec.js +++ b/packages/gen-svg/__tests__/index.spec.js @@ -1,4 +1,4 @@ -import { parseFromURL } from "@axetroy/iconfont-componentized-parser"; +import { parseFromURL } from "@iconfont-componentized/parser"; import SVGComponentGenerator from "../src/index"; import path from "path"; diff --git a/packages/iconfont-componentized-gen-svg/__tests__/output.spec.1/IconFontAnonymousIconfont.d.ts b/packages/gen-svg/__tests__/output.spec.1/IconFontAnonymousIconfont.d.ts similarity index 100% rename from packages/iconfont-componentized-gen-svg/__tests__/output.spec.1/IconFontAnonymousIconfont.d.ts rename to packages/gen-svg/__tests__/output.spec.1/IconFontAnonymousIconfont.d.ts diff --git a/packages/iconfont-componentized-gen-svg/__tests__/output.spec.1/IconFontAnonymousIconfont.svg b/packages/gen-svg/__tests__/output.spec.1/IconFontAnonymousIconfont.svg similarity index 100% rename from packages/iconfont-componentized-gen-svg/__tests__/output.spec.1/IconFontAnonymousIconfont.svg rename to packages/gen-svg/__tests__/output.spec.1/IconFontAnonymousIconfont.svg diff --git a/packages/iconfont-componentized-gen-svg/__tests__/output.spec.1/IconFontBriefcase.d.ts b/packages/gen-svg/__tests__/output.spec.1/IconFontBriefcase.d.ts similarity index 100% rename from packages/iconfont-componentized-gen-svg/__tests__/output.spec.1/IconFontBriefcase.d.ts rename to packages/gen-svg/__tests__/output.spec.1/IconFontBriefcase.d.ts diff --git a/packages/iconfont-componentized-gen-svg/__tests__/output.spec.1/IconFontBriefcase.svg b/packages/gen-svg/__tests__/output.spec.1/IconFontBriefcase.svg similarity index 100% rename from packages/iconfont-componentized-gen-svg/__tests__/output.spec.1/IconFontBriefcase.svg rename to packages/gen-svg/__tests__/output.spec.1/IconFontBriefcase.svg diff --git a/packages/iconfont-componentized-gen-svg/__tests__/output.spec.1/IconFontCanjuYongcan.d.ts b/packages/gen-svg/__tests__/output.spec.1/IconFontCanjuYongcan.d.ts similarity index 100% rename from packages/iconfont-componentized-gen-svg/__tests__/output.spec.1/IconFontCanjuYongcan.d.ts rename to packages/gen-svg/__tests__/output.spec.1/IconFontCanjuYongcan.d.ts diff --git a/packages/iconfont-componentized-gen-svg/__tests__/output.spec.1/IconFontCanjuYongcan.svg b/packages/gen-svg/__tests__/output.spec.1/IconFontCanjuYongcan.svg similarity index 100% rename from packages/iconfont-componentized-gen-svg/__tests__/output.spec.1/IconFontCanjuYongcan.svg rename to packages/gen-svg/__tests__/output.spec.1/IconFontCanjuYongcan.svg diff --git a/packages/iconfont-componentized-gen-svg/__tests__/output.spec.1/IconFontJia.d.ts b/packages/gen-svg/__tests__/output.spec.1/IconFontJia.d.ts similarity index 100% rename from packages/iconfont-componentized-gen-svg/__tests__/output.spec.1/IconFontJia.d.ts rename to packages/gen-svg/__tests__/output.spec.1/IconFontJia.d.ts diff --git a/packages/iconfont-componentized-gen-svg/__tests__/output.spec.1/IconFontJia.svg b/packages/gen-svg/__tests__/output.spec.1/IconFontJia.svg similarity index 100% rename from packages/iconfont-componentized-gen-svg/__tests__/output.spec.1/IconFontJia.svg rename to packages/gen-svg/__tests__/output.spec.1/IconFontJia.svg diff --git a/packages/iconfont-componentized-gen-svg/__tests__/output.spec.1/IconFontJiesuan.d.ts b/packages/gen-svg/__tests__/output.spec.1/IconFontJiesuan.d.ts similarity index 100% rename from packages/iconfont-componentized-gen-svg/__tests__/output.spec.1/IconFontJiesuan.d.ts rename to packages/gen-svg/__tests__/output.spec.1/IconFontJiesuan.d.ts diff --git a/packages/iconfont-componentized-gen-svg/__tests__/output.spec.1/IconFontJiesuan.svg b/packages/gen-svg/__tests__/output.spec.1/IconFontJiesuan.svg similarity index 100% rename from packages/iconfont-componentized-gen-svg/__tests__/output.spec.1/IconFontJiesuan.svg rename to packages/gen-svg/__tests__/output.spec.1/IconFontJiesuan.svg diff --git a/packages/iconfont-componentized-gen-svg/babel.config.js b/packages/gen-svg/babel.config.js similarity index 100% rename from packages/iconfont-componentized-gen-svg/babel.config.js rename to packages/gen-svg/babel.config.js diff --git a/packages/iconfont-componentized-gen-svg/demo/index.html b/packages/gen-svg/demo/index.html similarity index 100% rename from packages/iconfont-componentized-gen-svg/demo/index.html rename to packages/gen-svg/demo/index.html diff --git a/packages/iconfont-componentized-gen-svg/jest.config.js b/packages/gen-svg/jest.config.js similarity index 100% rename from packages/iconfont-componentized-gen-svg/jest.config.js rename to packages/gen-svg/jest.config.js diff --git a/packages/iconfont-componentized-gen-svg/package.json b/packages/gen-svg/package.json similarity index 68% rename from packages/iconfont-componentized-gen-svg/package.json rename to packages/gen-svg/package.json index 330633f0..c86ab475 100644 --- a/packages/iconfont-componentized-gen-svg/package.json +++ b/packages/gen-svg/package.json @@ -1,6 +1,6 @@ { - "name": "@axetroy/iconfont-componentized-gen-svg", - "version": "1.0.10", + "name": "@iconfont-componentized/gen-svg", + "version": "0.1.0", "main": "dist/index.js", "license": "ANTI-996", "files": [ @@ -20,8 +20,8 @@ "vite": "^4.4.8" }, "dependencies": { - "@axetroy/iconfont-componentized-parser": "workspace:*", - "@axetroy/iconfont-componentized-share": "workspace:*", + "@iconfont-componentized/parser": "workspace:*", + "@iconfont-componentized/share": "workspace:*", "camelcase": "^6.0.0" } } diff --git a/packages/iconfont-componentized-gen-svg/src/index.ts b/packages/gen-svg/src/index.ts similarity index 91% rename from packages/iconfont-componentized-gen-svg/src/index.ts rename to packages/gen-svg/src/index.ts index ff4564c2..6f837d06 100644 --- a/packages/iconfont-componentized-gen-svg/src/index.ts +++ b/packages/gen-svg/src/index.ts @@ -1,5 +1,5 @@ -import { Icon } from "@axetroy/iconfont-componentized-parser"; -import { generateSvg, ComponentGenerator, writeComponentsToDisk, Component } from "@axetroy/iconfont-componentized-share"; +import { Icon } from "@iconfont-componentized/parser"; +import { generateSvg, ComponentGenerator, writeComponentsToDisk, Component } from "@iconfont-componentized/share"; import camelcase from "camelcase"; const header = `// generate by iconfont-componentized`; diff --git a/packages/iconfont-componentized-gen-svg/tsconfig.json b/packages/gen-svg/tsconfig.json similarity index 100% rename from packages/iconfont-componentized-gen-svg/tsconfig.json rename to packages/gen-svg/tsconfig.json diff --git a/packages/iconfont-componentized-gen-svg/vite.config.ts b/packages/gen-svg/vite.config.ts similarity index 100% rename from packages/iconfont-componentized-gen-svg/vite.config.ts rename to packages/gen-svg/vite.config.ts diff --git a/packages/gen-vue/CHANGELOG.md b/packages/gen-vue/CHANGELOG.md new file mode 100644 index 00000000..025d0bec --- /dev/null +++ b/packages/gen-vue/CHANGELOG.md @@ -0,0 +1,55 @@ +# @iconfont-componentized/gen-vue + +## 1.0.10 + +### Patch Changes + +- 2f85a33: bump +- Updated dependencies [2f85a33] + - @iconfont-componentized/parser@1.0.10 + - @iconfont-componentized/share@1.0.10 + +## 1.0.9 + +### Patch Changes + +- b9db6f7: bump +- Updated dependencies [b9db6f7] + - @iconfont-componentized/parser@1.0.9 + - @iconfont-componentized/share@1.0.9 + +## 1.0.8 + +### Patch Changes + +- e0bcc82: update +- Updated dependencies [e0bcc82] + - @iconfont-componentized/parser@1.0.8 + - @iconfont-componentized/share@1.0.8 + +## 1.0.7 + +### Patch Changes + +- 0bc6ec2: bump +- Updated dependencies [0bc6ec2] + - @iconfont-componentized/parser@1.0.7 + - @iconfont-componentized/share@1.0.7 + +## 1.0.6 + +### Patch Changes + +- 82d173a: update version +- Updated dependencies [82d173a] + - @iconfont-componentized/parser@1.0.6 + - @iconfont-componentized/share@1.0.6 + +## 1.0.5 + +### Patch Changes + +- 55fcd0a: update +- Updated dependencies [55fcd0a] + - @iconfont-componentized/parser@1.0.5 + - @iconfont-componentized/share@1.0.5 diff --git a/packages/iconfont-componentized-gen-vue/LICENSE b/packages/gen-vue/LICENSE similarity index 100% rename from packages/iconfont-componentized-gen-vue/LICENSE rename to packages/gen-vue/LICENSE diff --git a/packages/iconfont-componentized-gen-vue/__tests__/index.spec.js b/packages/gen-vue/__tests__/index.spec.js similarity index 85% rename from packages/iconfont-componentized-gen-vue/__tests__/index.spec.js rename to packages/gen-vue/__tests__/index.spec.js index 50867c91..3f435a36 100644 --- a/packages/iconfont-componentized-gen-vue/__tests__/index.spec.js +++ b/packages/gen-vue/__tests__/index.spec.js @@ -1,4 +1,4 @@ -import { parseFromURL } from "@axetroy/iconfont-componentized-parser"; +import { parseFromURL } from "@iconfont-componentized/parser"; import VueComponentGenerator from "../src/index"; import path from "path"; diff --git a/packages/iconfont-componentized-gen-vue/__tests__/output.spec.1/IconFontAnonymousIconfont.d.ts b/packages/gen-vue/__tests__/output.spec.1/IconFontAnonymousIconfont.d.ts similarity index 100% rename from packages/iconfont-componentized-gen-vue/__tests__/output.spec.1/IconFontAnonymousIconfont.d.ts rename to packages/gen-vue/__tests__/output.spec.1/IconFontAnonymousIconfont.d.ts diff --git a/packages/iconfont-componentized-gen-vue/__tests__/output.spec.1/IconFontAnonymousIconfont.js b/packages/gen-vue/__tests__/output.spec.1/IconFontAnonymousIconfont.js similarity index 100% rename from packages/iconfont-componentized-gen-vue/__tests__/output.spec.1/IconFontAnonymousIconfont.js rename to packages/gen-vue/__tests__/output.spec.1/IconFontAnonymousIconfont.js diff --git a/packages/iconfont-componentized-gen-vue/__tests__/output.spec.1/IconFontBriefcase.d.ts b/packages/gen-vue/__tests__/output.spec.1/IconFontBriefcase.d.ts similarity index 100% rename from packages/iconfont-componentized-gen-vue/__tests__/output.spec.1/IconFontBriefcase.d.ts rename to packages/gen-vue/__tests__/output.spec.1/IconFontBriefcase.d.ts diff --git a/packages/iconfont-componentized-gen-vue/__tests__/output.spec.1/IconFontBriefcase.js b/packages/gen-vue/__tests__/output.spec.1/IconFontBriefcase.js similarity index 100% rename from packages/iconfont-componentized-gen-vue/__tests__/output.spec.1/IconFontBriefcase.js rename to packages/gen-vue/__tests__/output.spec.1/IconFontBriefcase.js diff --git a/packages/iconfont-componentized-gen-vue/__tests__/output.spec.1/IconFontCanjuYongcan.d.ts b/packages/gen-vue/__tests__/output.spec.1/IconFontCanjuYongcan.d.ts similarity index 100% rename from packages/iconfont-componentized-gen-vue/__tests__/output.spec.1/IconFontCanjuYongcan.d.ts rename to packages/gen-vue/__tests__/output.spec.1/IconFontCanjuYongcan.d.ts diff --git a/packages/iconfont-componentized-gen-vue/__tests__/output.spec.1/IconFontCanjuYongcan.js b/packages/gen-vue/__tests__/output.spec.1/IconFontCanjuYongcan.js similarity index 100% rename from packages/iconfont-componentized-gen-vue/__tests__/output.spec.1/IconFontCanjuYongcan.js rename to packages/gen-vue/__tests__/output.spec.1/IconFontCanjuYongcan.js diff --git a/packages/iconfont-componentized-gen-vue/__tests__/output.spec.1/IconFontJia.d.ts b/packages/gen-vue/__tests__/output.spec.1/IconFontJia.d.ts similarity index 100% rename from packages/iconfont-componentized-gen-vue/__tests__/output.spec.1/IconFontJia.d.ts rename to packages/gen-vue/__tests__/output.spec.1/IconFontJia.d.ts diff --git a/packages/iconfont-componentized-gen-vue/__tests__/output.spec.1/IconFontJia.js b/packages/gen-vue/__tests__/output.spec.1/IconFontJia.js similarity index 100% rename from packages/iconfont-componentized-gen-vue/__tests__/output.spec.1/IconFontJia.js rename to packages/gen-vue/__tests__/output.spec.1/IconFontJia.js diff --git a/packages/iconfont-componentized-gen-vue/__tests__/output.spec.1/IconFontJiesuan.d.ts b/packages/gen-vue/__tests__/output.spec.1/IconFontJiesuan.d.ts similarity index 100% rename from packages/iconfont-componentized-gen-vue/__tests__/output.spec.1/IconFontJiesuan.d.ts rename to packages/gen-vue/__tests__/output.spec.1/IconFontJiesuan.d.ts diff --git a/packages/iconfont-componentized-gen-vue/__tests__/output.spec.1/IconFontJiesuan.js b/packages/gen-vue/__tests__/output.spec.1/IconFontJiesuan.js similarity index 100% rename from packages/iconfont-componentized-gen-vue/__tests__/output.spec.1/IconFontJiesuan.js rename to packages/gen-vue/__tests__/output.spec.1/IconFontJiesuan.js diff --git a/packages/iconfont-componentized-gen-vue/__tests__/output.spec.1/index.d.ts b/packages/gen-vue/__tests__/output.spec.1/index.d.ts similarity index 100% rename from packages/iconfont-componentized-gen-vue/__tests__/output.spec.1/index.d.ts rename to packages/gen-vue/__tests__/output.spec.1/index.d.ts diff --git a/packages/iconfont-componentized-gen-vue/__tests__/output.spec.1/index.js b/packages/gen-vue/__tests__/output.spec.1/index.js similarity index 100% rename from packages/iconfont-componentized-gen-vue/__tests__/output.spec.1/index.js rename to packages/gen-vue/__tests__/output.spec.1/index.js diff --git a/packages/iconfont-componentized-gen-vue/__tests__/output.spec.1/plugin.d.ts b/packages/gen-vue/__tests__/output.spec.1/plugin.d.ts similarity index 100% rename from packages/iconfont-componentized-gen-vue/__tests__/output.spec.1/plugin.d.ts rename to packages/gen-vue/__tests__/output.spec.1/plugin.d.ts diff --git a/packages/iconfont-componentized-gen-vue/__tests__/output.spec.1/plugin.js b/packages/gen-vue/__tests__/output.spec.1/plugin.js similarity index 100% rename from packages/iconfont-componentized-gen-vue/__tests__/output.spec.1/plugin.js rename to packages/gen-vue/__tests__/output.spec.1/plugin.js diff --git a/packages/iconfont-componentized-gen-vue/babel.config.js b/packages/gen-vue/babel.config.js similarity index 100% rename from packages/iconfont-componentized-gen-vue/babel.config.js rename to packages/gen-vue/babel.config.js diff --git a/packages/iconfont-componentized-gen-vue/demo/index.html b/packages/gen-vue/demo/index.html similarity index 100% rename from packages/iconfont-componentized-gen-vue/demo/index.html rename to packages/gen-vue/demo/index.html diff --git a/packages/iconfont-componentized-gen-vue/demo/index.js b/packages/gen-vue/demo/index.js similarity index 100% rename from packages/iconfont-componentized-gen-vue/demo/index.js rename to packages/gen-vue/demo/index.js diff --git a/packages/iconfont-componentized-gen-vue/demo/index.vue b/packages/gen-vue/demo/index.vue similarity index 100% rename from packages/iconfont-componentized-gen-vue/demo/index.vue rename to packages/gen-vue/demo/index.vue diff --git a/packages/iconfont-componentized-gen-vue/jest.config.js b/packages/gen-vue/jest.config.js similarity index 100% rename from packages/iconfont-componentized-gen-vue/jest.config.js rename to packages/gen-vue/jest.config.js diff --git a/packages/iconfont-componentized-gen-vue/package.json b/packages/gen-vue/package.json similarity index 71% rename from packages/iconfont-componentized-gen-vue/package.json rename to packages/gen-vue/package.json index b72afd63..21c737c0 100644 --- a/packages/iconfont-componentized-gen-vue/package.json +++ b/packages/gen-vue/package.json @@ -1,6 +1,6 @@ { - "name": "@axetroy/iconfont-componentized-gen-vue", - "version": "1.0.10", + "name": "@iconfont-componentized/gen-vue", + "version": "0.1.0", "main": "dist/index.js", "license": "ANTI-996", "files": [ @@ -22,8 +22,8 @@ "vue": "^2.7.x" }, "dependencies": { - "@axetroy/iconfont-componentized-parser": "workspace:*", - "@axetroy/iconfont-componentized-share": "workspace:*", + "@iconfont-componentized/parser": "workspace:*", + "@iconfont-componentized/share": "workspace:*", "camelcase": "^6.0.0" } } diff --git a/packages/iconfont-componentized-gen-vue/src/index.ts b/packages/gen-vue/src/index.ts similarity index 97% rename from packages/iconfont-componentized-gen-vue/src/index.ts rename to packages/gen-vue/src/index.ts index 4791bd7f..d13cb217 100644 --- a/packages/iconfont-componentized-gen-vue/src/index.ts +++ b/packages/gen-vue/src/index.ts @@ -1,5 +1,5 @@ -import { Icon } from "@axetroy/iconfont-componentized-parser"; -import { ComponentGenerator, Component, writeComponentsToDisk, generateVueVNode } from "@axetroy/iconfont-componentized-share"; +import { Icon } from "@iconfont-componentized/parser"; +import { ComponentGenerator, Component, writeComponentsToDisk, generateVueVNode } from "@iconfont-componentized/share"; import camelcase from "camelcase"; const header = `// generate by iconfont-componentized`; diff --git a/packages/iconfont-componentized-gen-vue/tsconfig.json b/packages/gen-vue/tsconfig.json similarity index 100% rename from packages/iconfont-componentized-gen-vue/tsconfig.json rename to packages/gen-vue/tsconfig.json diff --git a/packages/iconfont-componentized-gen-vue/vite.config.ts b/packages/gen-vue/vite.config.ts similarity index 100% rename from packages/iconfont-componentized-gen-vue/vite.config.ts rename to packages/gen-vue/vite.config.ts diff --git a/packages/gen-web-component/CHANGELOG.md b/packages/gen-web-component/CHANGELOG.md new file mode 100644 index 00000000..e688e9a4 --- /dev/null +++ b/packages/gen-web-component/CHANGELOG.md @@ -0,0 +1,55 @@ +# @iconfont-componentized/gen-web-component + +## 1.0.10 + +### Patch Changes + +- 2f85a33: bump +- Updated dependencies [2f85a33] + - @iconfont-componentized/parser@1.0.10 + - @iconfont-componentized/share@1.0.10 + +## 1.0.9 + +### Patch Changes + +- b9db6f7: bump +- Updated dependencies [b9db6f7] + - @iconfont-componentized/parser@1.0.9 + - @iconfont-componentized/share@1.0.9 + +## 1.0.8 + +### Patch Changes + +- e0bcc82: update +- Updated dependencies [e0bcc82] + - @iconfont-componentized/parser@1.0.8 + - @iconfont-componentized/share@1.0.8 + +## 1.0.7 + +### Patch Changes + +- 0bc6ec2: bump +- Updated dependencies [0bc6ec2] + - @iconfont-componentized/parser@1.0.7 + - @iconfont-componentized/share@1.0.7 + +## 1.0.6 + +### Patch Changes + +- 82d173a: update version +- Updated dependencies [82d173a] + - @iconfont-componentized/parser@1.0.6 + - @iconfont-componentized/share@1.0.6 + +## 1.0.5 + +### Patch Changes + +- 55fcd0a: update +- Updated dependencies [55fcd0a] + - @iconfont-componentized/parser@1.0.5 + - @iconfont-componentized/share@1.0.5 diff --git a/packages/iconfont-componentized-gen-web-component/LICENSE b/packages/gen-web-component/LICENSE similarity index 100% rename from packages/iconfont-componentized-gen-web-component/LICENSE rename to packages/gen-web-component/LICENSE diff --git a/packages/iconfont-componentized-gen-web-component/__tests__/index.spec.js b/packages/gen-web-component/__tests__/index.spec.js similarity index 86% rename from packages/iconfont-componentized-gen-web-component/__tests__/index.spec.js rename to packages/gen-web-component/__tests__/index.spec.js index 1f3d7c2c..770340d5 100644 --- a/packages/iconfont-componentized-gen-web-component/__tests__/index.spec.js +++ b/packages/gen-web-component/__tests__/index.spec.js @@ -1,4 +1,4 @@ -import { parseFromURL } from "@axetroy/iconfont-componentized-parser"; +import { parseFromURL } from "@iconfont-componentized/parser"; import WebComponentGenerator from "../src/index"; import path from "path"; diff --git a/packages/iconfont-componentized-gen-web-component/__tests__/output.spec.1/IconFontAnonymousIconfont.d.ts b/packages/gen-web-component/__tests__/output.spec.1/IconFontAnonymousIconfont.d.ts similarity index 100% rename from packages/iconfont-componentized-gen-web-component/__tests__/output.spec.1/IconFontAnonymousIconfont.d.ts rename to packages/gen-web-component/__tests__/output.spec.1/IconFontAnonymousIconfont.d.ts diff --git a/packages/iconfont-componentized-gen-web-component/__tests__/output.spec.1/IconFontAnonymousIconfont.js b/packages/gen-web-component/__tests__/output.spec.1/IconFontAnonymousIconfont.js similarity index 100% rename from packages/iconfont-componentized-gen-web-component/__tests__/output.spec.1/IconFontAnonymousIconfont.js rename to packages/gen-web-component/__tests__/output.spec.1/IconFontAnonymousIconfont.js diff --git a/packages/iconfont-componentized-gen-web-component/__tests__/output.spec.1/IconFontBriefcase.d.ts b/packages/gen-web-component/__tests__/output.spec.1/IconFontBriefcase.d.ts similarity index 100% rename from packages/iconfont-componentized-gen-web-component/__tests__/output.spec.1/IconFontBriefcase.d.ts rename to packages/gen-web-component/__tests__/output.spec.1/IconFontBriefcase.d.ts diff --git a/packages/iconfont-componentized-gen-web-component/__tests__/output.spec.1/IconFontBriefcase.js b/packages/gen-web-component/__tests__/output.spec.1/IconFontBriefcase.js similarity index 100% rename from packages/iconfont-componentized-gen-web-component/__tests__/output.spec.1/IconFontBriefcase.js rename to packages/gen-web-component/__tests__/output.spec.1/IconFontBriefcase.js diff --git a/packages/iconfont-componentized-gen-web-component/__tests__/output.spec.1/IconFontCanjuYongcan.d.ts b/packages/gen-web-component/__tests__/output.spec.1/IconFontCanjuYongcan.d.ts similarity index 100% rename from packages/iconfont-componentized-gen-web-component/__tests__/output.spec.1/IconFontCanjuYongcan.d.ts rename to packages/gen-web-component/__tests__/output.spec.1/IconFontCanjuYongcan.d.ts diff --git a/packages/iconfont-componentized-gen-web-component/__tests__/output.spec.1/IconFontCanjuYongcan.js b/packages/gen-web-component/__tests__/output.spec.1/IconFontCanjuYongcan.js similarity index 100% rename from packages/iconfont-componentized-gen-web-component/__tests__/output.spec.1/IconFontCanjuYongcan.js rename to packages/gen-web-component/__tests__/output.spec.1/IconFontCanjuYongcan.js diff --git a/packages/iconfont-componentized-gen-web-component/__tests__/output.spec.1/IconFontJia.d.ts b/packages/gen-web-component/__tests__/output.spec.1/IconFontJia.d.ts similarity index 100% rename from packages/iconfont-componentized-gen-web-component/__tests__/output.spec.1/IconFontJia.d.ts rename to packages/gen-web-component/__tests__/output.spec.1/IconFontJia.d.ts diff --git a/packages/iconfont-componentized-gen-web-component/__tests__/output.spec.1/IconFontJia.js b/packages/gen-web-component/__tests__/output.spec.1/IconFontJia.js similarity index 100% rename from packages/iconfont-componentized-gen-web-component/__tests__/output.spec.1/IconFontJia.js rename to packages/gen-web-component/__tests__/output.spec.1/IconFontJia.js diff --git a/packages/iconfont-componentized-gen-web-component/__tests__/output.spec.1/IconFontJiesuan.d.ts b/packages/gen-web-component/__tests__/output.spec.1/IconFontJiesuan.d.ts similarity index 100% rename from packages/iconfont-componentized-gen-web-component/__tests__/output.spec.1/IconFontJiesuan.d.ts rename to packages/gen-web-component/__tests__/output.spec.1/IconFontJiesuan.d.ts diff --git a/packages/iconfont-componentized-gen-web-component/__tests__/output.spec.1/IconFontJiesuan.js b/packages/gen-web-component/__tests__/output.spec.1/IconFontJiesuan.js similarity index 100% rename from packages/iconfont-componentized-gen-web-component/__tests__/output.spec.1/IconFontJiesuan.js rename to packages/gen-web-component/__tests__/output.spec.1/IconFontJiesuan.js diff --git a/packages/iconfont-componentized-gen-web-component/__tests__/output.spec.1/index.d.ts b/packages/gen-web-component/__tests__/output.spec.1/index.d.ts similarity index 100% rename from packages/iconfont-componentized-gen-web-component/__tests__/output.spec.1/index.d.ts rename to packages/gen-web-component/__tests__/output.spec.1/index.d.ts diff --git a/packages/iconfont-componentized-gen-web-component/__tests__/output.spec.1/index.js b/packages/gen-web-component/__tests__/output.spec.1/index.js similarity index 100% rename from packages/iconfont-componentized-gen-web-component/__tests__/output.spec.1/index.js rename to packages/gen-web-component/__tests__/output.spec.1/index.js diff --git a/packages/iconfont-componentized-gen-web-component/babel.config.js b/packages/gen-web-component/babel.config.js similarity index 100% rename from packages/iconfont-componentized-gen-web-component/babel.config.js rename to packages/gen-web-component/babel.config.js diff --git a/packages/iconfont-componentized-gen-web-component/jest.config.js b/packages/gen-web-component/jest.config.js similarity index 100% rename from packages/iconfont-componentized-gen-web-component/jest.config.js rename to packages/gen-web-component/jest.config.js diff --git a/packages/iconfont-componentized-gen-web-component/package.json b/packages/gen-web-component/package.json similarity index 64% rename from packages/iconfont-componentized-gen-web-component/package.json rename to packages/gen-web-component/package.json index 9fb0b4de..98a77bc8 100644 --- a/packages/iconfont-componentized-gen-web-component/package.json +++ b/packages/gen-web-component/package.json @@ -1,6 +1,6 @@ { - "name": "@axetroy/iconfont-componentized-gen-web-component", - "version": "1.0.10", + "name": "@iconfont-componentized/gen-web-component", + "version": "0.1.0", "main": "dist/index.js", "license": "ANTI-996", "files": [ @@ -16,8 +16,8 @@ "build": "tsc" }, "dependencies": { - "@axetroy/iconfont-componentized-parser": "workspace:*", - "@axetroy/iconfont-componentized-share": "workspace:*", + "@iconfont-componentized/parser": "workspace:*", + "@iconfont-componentized/share": "workspace:*", "camelcase": "^6.0.0", "decamelize": "^5.0.0" } diff --git a/packages/iconfont-componentized-gen-web-component/src/index.ts b/packages/gen-web-component/src/index.ts similarity index 95% rename from packages/iconfont-componentized-gen-web-component/src/index.ts rename to packages/gen-web-component/src/index.ts index 394e7bdd..1b09f8e4 100644 --- a/packages/iconfont-componentized-gen-web-component/src/index.ts +++ b/packages/gen-web-component/src/index.ts @@ -1,5 +1,5 @@ -import { Icon } from "@axetroy/iconfont-componentized-parser"; -import { generateSvg, ComponentGenerator, Component, writeComponentsToDisk } from "@axetroy/iconfont-componentized-share"; +import { Icon } from "@iconfont-componentized/parser"; +import { generateSvg, ComponentGenerator, Component, writeComponentsToDisk } from "@iconfont-componentized/share"; import camelcase from "camelcase"; import decamelize from "decamelize"; diff --git a/packages/iconfont-componentized-gen-web-component/tsconfig.json b/packages/gen-web-component/tsconfig.json similarity index 100% rename from packages/iconfont-componentized-gen-web-component/tsconfig.json rename to packages/gen-web-component/tsconfig.json diff --git a/packages/iconfont-componentized-cli/CHANGELOG.md b/packages/iconfont-componentized-cli/CHANGELOG.md deleted file mode 100644 index c948ef86..00000000 --- a/packages/iconfont-componentized-cli/CHANGELOG.md +++ /dev/null @@ -1,79 +0,0 @@ -# @axetroy/iconfont-componentized-cli - -## 1.0.10 - -### Patch Changes - -- 2f85a33: bump -- Updated dependencies [2f85a33] - - @axetroy/iconfont-componentized-gen-react@1.0.10 - - @axetroy/iconfont-componentized-gen-svg@1.0.10 - - @axetroy/iconfont-componentized-gen-vue@1.0.10 - - @axetroy/iconfont-componentized-gen-web-component@1.0.10 - - @axetroy/iconfont-componentized-parser@1.0.10 - - @axetroy/iconfont-componentized-share@1.0.10 - -## 1.0.9 - -### Patch Changes - -- b9db6f7: bump -- Updated dependencies [b9db6f7] - - @axetroy/iconfont-componentized-gen-react@1.0.9 - - @axetroy/iconfont-componentized-gen-svg@1.0.9 - - @axetroy/iconfont-componentized-gen-vue@1.0.9 - - @axetroy/iconfont-componentized-gen-web-component@1.0.9 - - @axetroy/iconfont-componentized-parser@1.0.9 - - @axetroy/iconfont-componentized-share@1.0.9 - -## 1.0.8 - -### Patch Changes - -- e0bcc82: update -- Updated dependencies [e0bcc82] - - @axetroy/iconfont-componentized-gen-react@1.0.8 - - @axetroy/iconfont-componentized-gen-svg@1.0.8 - - @axetroy/iconfont-componentized-gen-vue@1.0.8 - - @axetroy/iconfont-componentized-gen-web-component@1.0.8 - - @axetroy/iconfont-componentized-parser@1.0.8 - - @axetroy/iconfont-componentized-share@1.0.8 - -## 1.0.7 - -### Patch Changes - -- 0bc6ec2: bump -- Updated dependencies [0bc6ec2] - - @axetroy/iconfont-componentized-gen-react@1.0.7 - - @axetroy/iconfont-componentized-gen-svg@1.0.7 - - @axetroy/iconfont-componentized-gen-vue@1.0.7 - - @axetroy/iconfont-componentized-gen-web-component@1.0.7 - - @axetroy/iconfont-componentized-parser@1.0.7 - - @axetroy/iconfont-componentized-share@1.0.7 - -## 1.0.6 - -### Patch Changes - -- 82d173a: update version -- Updated dependencies [82d173a] - - @axetroy/iconfont-componentized-gen-react@1.0.6 - - @axetroy/iconfont-componentized-gen-svg@1.0.6 - - @axetroy/iconfont-componentized-gen-vue@1.0.6 - - @axetroy/iconfont-componentized-gen-web-component@1.0.6 - - @axetroy/iconfont-componentized-parser@1.0.6 - - @axetroy/iconfont-componentized-share@1.0.6 - -## 1.0.5 - -### Patch Changes - -- 55fcd0a: update -- Updated dependencies [55fcd0a] - - @axetroy/iconfont-componentized-gen-react@1.0.5 - - @axetroy/iconfont-componentized-gen-svg@1.0.5 - - @axetroy/iconfont-componentized-gen-vue@1.0.5 - - @axetroy/iconfont-componentized-gen-web-component@1.0.5 - - @axetroy/iconfont-componentized-parser@1.0.5 - - @axetroy/iconfont-componentized-share@1.0.5 diff --git a/packages/iconfont-componentized-gen-dom/CHANGELOG.md b/packages/iconfont-componentized-gen-dom/CHANGELOG.md deleted file mode 100644 index 445ae92b..00000000 --- a/packages/iconfont-componentized-gen-dom/CHANGELOG.md +++ /dev/null @@ -1,55 +0,0 @@ -# @axetroy/iconfont-componentized-gen-svg - -## 1.0.10 - -### Patch Changes - -- 2f85a33: bump -- Updated dependencies [2f85a33] - - @axetroy/iconfont-componentized-parser@1.0.10 - - @axetroy/iconfont-componentized-share@1.0.10 - -## 1.0.9 - -### Patch Changes - -- b9db6f7: bump -- Updated dependencies [b9db6f7] - - @axetroy/iconfont-componentized-parser@1.0.9 - - @axetroy/iconfont-componentized-share@1.0.9 - -## 1.0.8 - -### Patch Changes - -- e0bcc82: update -- Updated dependencies [e0bcc82] - - @axetroy/iconfont-componentized-parser@1.0.8 - - @axetroy/iconfont-componentized-share@1.0.8 - -## 1.0.7 - -### Patch Changes - -- 0bc6ec2: bump -- Updated dependencies [0bc6ec2] - - @axetroy/iconfont-componentized-parser@1.0.7 - - @axetroy/iconfont-componentized-share@1.0.7 - -## 1.0.6 - -### Patch Changes - -- 82d173a: update version -- Updated dependencies [82d173a] - - @axetroy/iconfont-componentized-parser@1.0.6 - - @axetroy/iconfont-componentized-share@1.0.6 - -## 1.0.5 - -### Patch Changes - -- 55fcd0a: update -- Updated dependencies [55fcd0a] - - @axetroy/iconfont-componentized-parser@1.0.5 - - @axetroy/iconfont-componentized-share@1.0.5 diff --git a/packages/iconfont-componentized-gen-react/CHANGELOG.md b/packages/iconfont-componentized-gen-react/CHANGELOG.md deleted file mode 100644 index faf2c997..00000000 --- a/packages/iconfont-componentized-gen-react/CHANGELOG.md +++ /dev/null @@ -1,55 +0,0 @@ -# @axetroy/iconfont-componentized-gen-react - -## 1.0.10 - -### Patch Changes - -- 2f85a33: bump -- Updated dependencies [2f85a33] - - @axetroy/iconfont-componentized-parser@1.0.10 - - @axetroy/iconfont-componentized-share@1.0.10 - -## 1.0.9 - -### Patch Changes - -- b9db6f7: bump -- Updated dependencies [b9db6f7] - - @axetroy/iconfont-componentized-parser@1.0.9 - - @axetroy/iconfont-componentized-share@1.0.9 - -## 1.0.8 - -### Patch Changes - -- e0bcc82: update -- Updated dependencies [e0bcc82] - - @axetroy/iconfont-componentized-parser@1.0.8 - - @axetroy/iconfont-componentized-share@1.0.8 - -## 1.0.7 - -### Patch Changes - -- 0bc6ec2: bump -- Updated dependencies [0bc6ec2] - - @axetroy/iconfont-componentized-parser@1.0.7 - - @axetroy/iconfont-componentized-share@1.0.7 - -## 1.0.6 - -### Patch Changes - -- 82d173a: update version -- Updated dependencies [82d173a] - - @axetroy/iconfont-componentized-parser@1.0.6 - - @axetroy/iconfont-componentized-share@1.0.6 - -## 1.0.5 - -### Patch Changes - -- 55fcd0a: update -- Updated dependencies [55fcd0a] - - @axetroy/iconfont-componentized-parser@1.0.5 - - @axetroy/iconfont-componentized-share@1.0.5 diff --git a/packages/iconfont-componentized-gen-svg/CHANGELOG.md b/packages/iconfont-componentized-gen-svg/CHANGELOG.md deleted file mode 100644 index 445ae92b..00000000 --- a/packages/iconfont-componentized-gen-svg/CHANGELOG.md +++ /dev/null @@ -1,55 +0,0 @@ -# @axetroy/iconfont-componentized-gen-svg - -## 1.0.10 - -### Patch Changes - -- 2f85a33: bump -- Updated dependencies [2f85a33] - - @axetroy/iconfont-componentized-parser@1.0.10 - - @axetroy/iconfont-componentized-share@1.0.10 - -## 1.0.9 - -### Patch Changes - -- b9db6f7: bump -- Updated dependencies [b9db6f7] - - @axetroy/iconfont-componentized-parser@1.0.9 - - @axetroy/iconfont-componentized-share@1.0.9 - -## 1.0.8 - -### Patch Changes - -- e0bcc82: update -- Updated dependencies [e0bcc82] - - @axetroy/iconfont-componentized-parser@1.0.8 - - @axetroy/iconfont-componentized-share@1.0.8 - -## 1.0.7 - -### Patch Changes - -- 0bc6ec2: bump -- Updated dependencies [0bc6ec2] - - @axetroy/iconfont-componentized-parser@1.0.7 - - @axetroy/iconfont-componentized-share@1.0.7 - -## 1.0.6 - -### Patch Changes - -- 82d173a: update version -- Updated dependencies [82d173a] - - @axetroy/iconfont-componentized-parser@1.0.6 - - @axetroy/iconfont-componentized-share@1.0.6 - -## 1.0.5 - -### Patch Changes - -- 55fcd0a: update -- Updated dependencies [55fcd0a] - - @axetroy/iconfont-componentized-parser@1.0.5 - - @axetroy/iconfont-componentized-share@1.0.5 diff --git a/packages/iconfont-componentized-gen-vue/CHANGELOG.md b/packages/iconfont-componentized-gen-vue/CHANGELOG.md deleted file mode 100644 index d894c029..00000000 --- a/packages/iconfont-componentized-gen-vue/CHANGELOG.md +++ /dev/null @@ -1,55 +0,0 @@ -# @axetroy/iconfont-componentized-gen-vue - -## 1.0.10 - -### Patch Changes - -- 2f85a33: bump -- Updated dependencies [2f85a33] - - @axetroy/iconfont-componentized-parser@1.0.10 - - @axetroy/iconfont-componentized-share@1.0.10 - -## 1.0.9 - -### Patch Changes - -- b9db6f7: bump -- Updated dependencies [b9db6f7] - - @axetroy/iconfont-componentized-parser@1.0.9 - - @axetroy/iconfont-componentized-share@1.0.9 - -## 1.0.8 - -### Patch Changes - -- e0bcc82: update -- Updated dependencies [e0bcc82] - - @axetroy/iconfont-componentized-parser@1.0.8 - - @axetroy/iconfont-componentized-share@1.0.8 - -## 1.0.7 - -### Patch Changes - -- 0bc6ec2: bump -- Updated dependencies [0bc6ec2] - - @axetroy/iconfont-componentized-parser@1.0.7 - - @axetroy/iconfont-componentized-share@1.0.7 - -## 1.0.6 - -### Patch Changes - -- 82d173a: update version -- Updated dependencies [82d173a] - - @axetroy/iconfont-componentized-parser@1.0.6 - - @axetroy/iconfont-componentized-share@1.0.6 - -## 1.0.5 - -### Patch Changes - -- 55fcd0a: update -- Updated dependencies [55fcd0a] - - @axetroy/iconfont-componentized-parser@1.0.5 - - @axetroy/iconfont-componentized-share@1.0.5 diff --git a/packages/iconfont-componentized-gen-web-component/CHANGELOG.md b/packages/iconfont-componentized-gen-web-component/CHANGELOG.md deleted file mode 100644 index a8ffe8a1..00000000 --- a/packages/iconfont-componentized-gen-web-component/CHANGELOG.md +++ /dev/null @@ -1,55 +0,0 @@ -# @axetroy/iconfont-componentized-gen-web-component - -## 1.0.10 - -### Patch Changes - -- 2f85a33: bump -- Updated dependencies [2f85a33] - - @axetroy/iconfont-componentized-parser@1.0.10 - - @axetroy/iconfont-componentized-share@1.0.10 - -## 1.0.9 - -### Patch Changes - -- b9db6f7: bump -- Updated dependencies [b9db6f7] - - @axetroy/iconfont-componentized-parser@1.0.9 - - @axetroy/iconfont-componentized-share@1.0.9 - -## 1.0.8 - -### Patch Changes - -- e0bcc82: update -- Updated dependencies [e0bcc82] - - @axetroy/iconfont-componentized-parser@1.0.8 - - @axetroy/iconfont-componentized-share@1.0.8 - -## 1.0.7 - -### Patch Changes - -- 0bc6ec2: bump -- Updated dependencies [0bc6ec2] - - @axetroy/iconfont-componentized-parser@1.0.7 - - @axetroy/iconfont-componentized-share@1.0.7 - -## 1.0.6 - -### Patch Changes - -- 82d173a: update version -- Updated dependencies [82d173a] - - @axetroy/iconfont-componentized-parser@1.0.6 - - @axetroy/iconfont-componentized-share@1.0.6 - -## 1.0.5 - -### Patch Changes - -- 55fcd0a: update -- Updated dependencies [55fcd0a] - - @axetroy/iconfont-componentized-parser@1.0.5 - - @axetroy/iconfont-componentized-share@1.0.5 diff --git a/packages/iconfont-componentized-parser/CHANGELOG.md b/packages/parser/CHANGELOG.md similarity index 88% rename from packages/iconfont-componentized-parser/CHANGELOG.md rename to packages/parser/CHANGELOG.md index e7bb11fc..d363a7a9 100644 --- a/packages/iconfont-componentized-parser/CHANGELOG.md +++ b/packages/parser/CHANGELOG.md @@ -1,4 +1,4 @@ -# @axetroy/iconfont-componentized-parser +# @iconfont-componentized/parser ## 1.0.10 diff --git a/packages/iconfont-componentized-parser/LICENSE b/packages/parser/LICENSE similarity index 100% rename from packages/iconfont-componentized-parser/LICENSE rename to packages/parser/LICENSE diff --git a/packages/iconfont-componentized-parser/__tests__/index.spec.1.json b/packages/parser/__tests__/index.spec.1.json similarity index 100% rename from packages/iconfont-componentized-parser/__tests__/index.spec.1.json rename to packages/parser/__tests__/index.spec.1.json diff --git a/packages/iconfont-componentized-parser/__tests__/index.spec.js b/packages/parser/__tests__/index.spec.js similarity index 100% rename from packages/iconfont-componentized-parser/__tests__/index.spec.js rename to packages/parser/__tests__/index.spec.js diff --git a/packages/iconfont-componentized-parser/babel.config.js b/packages/parser/babel.config.js similarity index 100% rename from packages/iconfont-componentized-parser/babel.config.js rename to packages/parser/babel.config.js diff --git a/packages/iconfont-componentized-parser/jest.config.js b/packages/parser/jest.config.js similarity index 100% rename from packages/iconfont-componentized-parser/jest.config.js rename to packages/parser/jest.config.js diff --git a/packages/iconfont-componentized-parser/package.json b/packages/parser/package.json similarity index 83% rename from packages/iconfont-componentized-parser/package.json rename to packages/parser/package.json index 48457be7..e8cbc8d9 100644 --- a/packages/iconfont-componentized-parser/package.json +++ b/packages/parser/package.json @@ -1,6 +1,6 @@ { - "name": "@axetroy/iconfont-componentized-parser", - "version": "1.0.10", + "name": "@iconfont-componentized/parser", + "version": "0.1.0", "main": "dist/index.js", "license": "ANTI-996", "files": [ diff --git a/packages/iconfont-componentized-parser/src/index.ts b/packages/parser/src/index.ts similarity index 100% rename from packages/iconfont-componentized-parser/src/index.ts rename to packages/parser/src/index.ts diff --git a/packages/iconfont-componentized-parser/tsconfig.json b/packages/parser/tsconfig.json similarity index 100% rename from packages/iconfont-componentized-parser/tsconfig.json rename to packages/parser/tsconfig.json diff --git a/packages/iconfont-componentized-share/CHANGELOG.md b/packages/share/CHANGELOG.md similarity index 58% rename from packages/iconfont-componentized-share/CHANGELOG.md rename to packages/share/CHANGELOG.md index c3c884a6..076ce6bf 100644 --- a/packages/iconfont-componentized-share/CHANGELOG.md +++ b/packages/share/CHANGELOG.md @@ -1,4 +1,4 @@ -# @axetroy/iconfont-componentized-share +# @iconfont-componentized/share ## 1.0.10 @@ -6,7 +6,7 @@ - 2f85a33: bump - Updated dependencies [2f85a33] - - @axetroy/iconfont-componentized-parser@1.0.10 + - @iconfont-componentized/parser@1.0.10 ## 1.0.9 @@ -14,7 +14,7 @@ - b9db6f7: bump - Updated dependencies [b9db6f7] - - @axetroy/iconfont-componentized-parser@1.0.9 + - @iconfont-componentized/parser@1.0.9 ## 1.0.8 @@ -22,7 +22,7 @@ - e0bcc82: update - Updated dependencies [e0bcc82] - - @axetroy/iconfont-componentized-parser@1.0.8 + - @iconfont-componentized/parser@1.0.8 ## 1.0.7 @@ -30,7 +30,7 @@ - 0bc6ec2: bump - Updated dependencies [0bc6ec2] - - @axetroy/iconfont-componentized-parser@1.0.7 + - @iconfont-componentized/parser@1.0.7 ## 1.0.6 @@ -38,7 +38,7 @@ - 82d173a: update version - Updated dependencies [82d173a] - - @axetroy/iconfont-componentized-parser@1.0.6 + - @iconfont-componentized/parser@1.0.6 ## 1.0.5 @@ -46,4 +46,4 @@ - 55fcd0a: update - Updated dependencies [55fcd0a] - - @axetroy/iconfont-componentized-parser@1.0.5 + - @iconfont-componentized/parser@1.0.5 diff --git a/packages/iconfont-componentized-share/LICENSE b/packages/share/LICENSE similarity index 100% rename from packages/iconfont-componentized-share/LICENSE rename to packages/share/LICENSE diff --git a/packages/iconfont-componentized-share/__tests__/index.spec.js b/packages/share/__tests__/index.spec.js similarity index 100% rename from packages/iconfont-componentized-share/__tests__/index.spec.js rename to packages/share/__tests__/index.spec.js diff --git a/packages/iconfont-componentized-share/babel.config.js b/packages/share/babel.config.js similarity index 100% rename from packages/iconfont-componentized-share/babel.config.js rename to packages/share/babel.config.js diff --git a/packages/iconfont-componentized-share/jest.config.js b/packages/share/jest.config.js similarity index 100% rename from packages/iconfont-componentized-share/jest.config.js rename to packages/share/jest.config.js diff --git a/packages/iconfont-componentized-share/package.json b/packages/share/package.json similarity index 76% rename from packages/iconfont-componentized-share/package.json rename to packages/share/package.json index d725f6df..b3ce8c5b 100644 --- a/packages/iconfont-componentized-share/package.json +++ b/packages/share/package.json @@ -1,6 +1,6 @@ { - "name": "@axetroy/iconfont-componentized-share", - "version": "1.0.10", + "name": "@iconfont-componentized/share", + "version": "0.1.0", "main": "dist/index.js", "license": "ANTI-996", "files": [ @@ -19,7 +19,7 @@ "@types/fs-extra": "^11.0.1" }, "dependencies": { - "@axetroy/iconfont-componentized-parser": "workspace:*", + "@iconfont-componentized/parser": "workspace:*", "camelcase": "^6.0.0", "fs-extra": "^11.1.1" } diff --git a/packages/iconfont-componentized-share/src/generator.ts b/packages/share/src/generator.ts similarity index 94% rename from packages/iconfont-componentized-share/src/generator.ts rename to packages/share/src/generator.ts index 4d8c2588..ecba2076 100644 --- a/packages/iconfont-componentized-share/src/generator.ts +++ b/packages/share/src/generator.ts @@ -1,4 +1,4 @@ -import { Icon } from "@axetroy/iconfont-componentized-parser"; +import { Icon } from "@iconfont-componentized/parser"; import fs from "fs-extra"; import path from "path"; diff --git a/packages/iconfont-componentized-share/src/index.ts b/packages/share/src/index.ts similarity index 98% rename from packages/iconfont-componentized-share/src/index.ts rename to packages/share/src/index.ts index 10046ecc..39aa65a6 100644 --- a/packages/iconfont-componentized-share/src/index.ts +++ b/packages/share/src/index.ts @@ -1,4 +1,4 @@ -import { SvgNode } from "@axetroy/iconfont-componentized-parser"; +import { SvgNode } from "@iconfont-componentized/parser"; export * from "./generator"; diff --git a/packages/iconfont-componentized-share/tsconfig.json b/packages/share/tsconfig.json similarity index 100% rename from packages/iconfont-componentized-share/tsconfig.json rename to packages/share/tsconfig.json diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7e5ee039..59c9b2aa 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -42,26 +42,26 @@ importers: specifier: ^5.1.6 version: 5.1.6 - packages/iconfont-componentized-cli: + packages/cli: dependencies: - '@axetroy/iconfont-componentized-gen-react': + '@iconfont-componentized/gen-react': specifier: workspace:* - version: link:../iconfont-componentized-gen-react - '@axetroy/iconfont-componentized-gen-svg': + version: link:../gen-react + '@iconfont-componentized/gen-svg': specifier: workspace:* - version: link:../iconfont-componentized-gen-svg - '@axetroy/iconfont-componentized-gen-vue': + version: link:../gen-svg + '@iconfont-componentized/gen-vue': specifier: workspace:* - version: link:../iconfont-componentized-gen-vue - '@axetroy/iconfont-componentized-gen-web-component': + version: link:../gen-vue + '@iconfont-componentized/gen-web-component': specifier: workspace:* - version: link:../iconfont-componentized-gen-web-component - '@axetroy/iconfont-componentized-parser': + version: link:../gen-web-component + '@iconfont-componentized/parser': specifier: workspace:* - version: link:../iconfont-componentized-parser - '@axetroy/iconfont-componentized-share': + version: link:../parser + '@iconfont-componentized/share': specifier: workspace:* - version: link:../iconfont-componentized-share + version: link:../share yargs: specifier: ^17.7.2 version: 17.7.2 @@ -70,14 +70,14 @@ importers: specifier: ^17.0.24 version: 17.0.24 - packages/iconfont-componentized-gen-dom: + packages/gen-dom: dependencies: - '@axetroy/iconfont-componentized-parser': + '@iconfont-componentized/parser': specifier: workspace:* - version: link:../iconfont-componentized-parser - '@axetroy/iconfont-componentized-share': + version: link:../parser + '@iconfont-componentized/share': specifier: workspace:* - version: link:../iconfont-componentized-share + version: link:../share camelcase: specifier: ^6.0.0 version: 6.0.0 @@ -86,14 +86,14 @@ importers: specifier: ^4.4.8 version: 4.4.8(@types/node@20.4.5) - packages/iconfont-componentized-gen-react: + packages/gen-react: dependencies: - '@axetroy/iconfont-componentized-parser': + '@iconfont-componentized/parser': specifier: workspace:* - version: link:../iconfont-componentized-parser - '@axetroy/iconfont-componentized-share': + version: link:../parser + '@iconfont-componentized/share': specifier: workspace:* - version: link:../iconfont-componentized-share + version: link:../share camelcase: specifier: ^6.0.0 version: 6.0.0 @@ -117,14 +117,14 @@ importers: specifier: ^4.4.8 version: 4.4.8(@types/node@20.4.5) - packages/iconfont-componentized-gen-svg: + packages/gen-svg: dependencies: - '@axetroy/iconfont-componentized-parser': + '@iconfont-componentized/parser': specifier: workspace:* - version: link:../iconfont-componentized-parser - '@axetroy/iconfont-componentized-share': + version: link:../parser + '@iconfont-componentized/share': specifier: workspace:* - version: link:../iconfont-componentized-share + version: link:../share camelcase: specifier: ^6.0.0 version: 6.0.0 @@ -133,14 +133,14 @@ importers: specifier: ^4.4.8 version: 4.4.8(@types/node@20.4.5) - packages/iconfont-componentized-gen-vue: + packages/gen-vue: dependencies: - '@axetroy/iconfont-componentized-parser': + '@iconfont-componentized/parser': specifier: workspace:* - version: link:../iconfont-componentized-parser - '@axetroy/iconfont-componentized-share': + version: link:../parser + '@iconfont-componentized/share': specifier: workspace:* - version: link:../iconfont-componentized-share + version: link:../share camelcase: specifier: ^6.0.0 version: 6.0.0 @@ -155,14 +155,14 @@ importers: specifier: ^2.7.x version: 2.7.0 - packages/iconfont-componentized-gen-web-component: + packages/gen-web-component: dependencies: - '@axetroy/iconfont-componentized-parser': + '@iconfont-componentized/parser': specifier: workspace:* - version: link:../iconfont-componentized-parser - '@axetroy/iconfont-componentized-share': + version: link:../parser + '@iconfont-componentized/share': specifier: workspace:* - version: link:../iconfont-componentized-share + version: link:../share camelcase: specifier: ^6.0.0 version: 6.0.0 @@ -170,7 +170,7 @@ importers: specifier: ^5.0.0 version: 5.0.0 - packages/iconfont-componentized-parser: + packages/parser: dependencies: axios: specifier: ^1.4.0 @@ -179,11 +179,11 @@ importers: specifier: ^5.3.1 version: 5.3.1 - packages/iconfont-componentized-share: + packages/share: dependencies: - '@axetroy/iconfont-componentized-parser': + '@iconfont-componentized/parser': specifier: workspace:* - version: link:../iconfont-componentized-parser + version: link:../parser camelcase: specifier: ^6.0.0 version: 6.0.0