fep-migrator 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +35 -0
- package/dist/index.mjs +136 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +59 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2019-PRESENT Anthony Fu<https://github.com/antfu>
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# fep-migrator
|
|
2
|
+
|
|
3
|
+
@falconix fep 迁移工具
|
|
4
|
+
|
|
5
|
+
## 安装
|
|
6
|
+
|
|
7
|
+
```shell
|
|
8
|
+
pnpm i fep-migrator -g
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## 使用
|
|
12
|
+
|
|
13
|
+
```shell
|
|
14
|
+
fep-migrator <...dir>
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
`dir` 为需要迁移的 fep 项目目录,支持多个目录同时迁移,例如:
|
|
18
|
+
|
|
19
|
+
```shell
|
|
20
|
+
fep-migrator src1 src2
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
可以使用glob语法排除掉文件夹,例如:
|
|
24
|
+
|
|
25
|
+
```shell
|
|
26
|
+
fep-migrator src "!**/public"
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
`fep-migrator` 会迁移两个包的内容:
|
|
30
|
+
|
|
31
|
+
- element-plus => @falconix/fep
|
|
32
|
+
|
|
33
|
+
- @element-plus/icons-vue => @falconix/icons-vue
|
|
34
|
+
|
|
35
|
+
使用前请备份好文件,确保文件已经提交到git仓库
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import process from "node:process";
|
|
3
|
+
import { cac } from "cac";
|
|
4
|
+
import path from "node:path";
|
|
5
|
+
import fs from "fs-extra";
|
|
6
|
+
import { globbySync } from "globby";
|
|
7
|
+
import MagicString from "magic-string";
|
|
8
|
+
import { parseSync } from "oxc-parser";
|
|
9
|
+
import { parse } from "@vue/compiler-sfc";
|
|
10
|
+
|
|
11
|
+
//#region src/sfc.ts
|
|
12
|
+
const parseVueSfcFile = (filename) => {
|
|
13
|
+
const code = fs.readFileSync(filename, { encoding: "utf-8" });
|
|
14
|
+
const { descriptor } = parse(code, {
|
|
15
|
+
filename,
|
|
16
|
+
sourceMap: false
|
|
17
|
+
});
|
|
18
|
+
return [code, descriptor];
|
|
19
|
+
};
|
|
20
|
+
const modifySfcCodeByDescriptor = (code, descriptor) => {
|
|
21
|
+
const ms = new MagicString(code);
|
|
22
|
+
const { template, script, scriptSetup, styles, customBlocks } = descriptor;
|
|
23
|
+
const blocks = [
|
|
24
|
+
template,
|
|
25
|
+
script,
|
|
26
|
+
scriptSetup,
|
|
27
|
+
...styles,
|
|
28
|
+
...customBlocks
|
|
29
|
+
].filter((block) => block != null).sort((a, b) => {
|
|
30
|
+
return a.loc.start.offset - b.loc.start.offset;
|
|
31
|
+
});
|
|
32
|
+
blocks.reverse();
|
|
33
|
+
for (const block of blocks) ms.overwrite(block.loc.start.offset, block.loc.end.offset, block.content);
|
|
34
|
+
const hasChanged = ms.hasChanged();
|
|
35
|
+
return [hasChanged, hasChanged ? ms.toString() : code];
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
//#endregion
|
|
39
|
+
//#region src/replace-fep.ts
|
|
40
|
+
const resolveFep = (code, filename) => {
|
|
41
|
+
const ms = new MagicString(code);
|
|
42
|
+
const { program } = parseSync(filename, code, { lang: "tsx" });
|
|
43
|
+
const imports = program.body.filter((i) => i.type === "ImportDeclaration").reverse();
|
|
44
|
+
for (const importItem of imports) {
|
|
45
|
+
const { raw, start, end } = importItem.source;
|
|
46
|
+
const text = raw ?? "";
|
|
47
|
+
const epRegex = /^(['"])element-plus/;
|
|
48
|
+
const iconRegex = /^(['"])@element-plus\/icons-vue/;
|
|
49
|
+
if (epRegex.test(text)) {
|
|
50
|
+
const newPath = text.replace(epRegex, (_all, p1) => {
|
|
51
|
+
return `${p1}@falconix/fep`;
|
|
52
|
+
});
|
|
53
|
+
ms.overwrite(start, end, newPath);
|
|
54
|
+
} else if (iconRegex.test(text)) {
|
|
55
|
+
const newPath = text.replace(iconRegex, (_all, p1) => {
|
|
56
|
+
return `${p1}@falconix/icons-vue`;
|
|
57
|
+
});
|
|
58
|
+
ms.overwrite(start, end, newPath);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
const hasChanged = ms.hasChanged();
|
|
62
|
+
return [hasChanged, hasChanged ? ms.toString() : code];
|
|
63
|
+
};
|
|
64
|
+
async function replacer(dirs) {
|
|
65
|
+
const fileList = globbySync(dirs, {
|
|
66
|
+
absolute: true,
|
|
67
|
+
onlyFiles: true,
|
|
68
|
+
gitignore: true,
|
|
69
|
+
expandDirectories: { extensions: [
|
|
70
|
+
"js",
|
|
71
|
+
"jsx",
|
|
72
|
+
"ts",
|
|
73
|
+
"tsx",
|
|
74
|
+
"vue"
|
|
75
|
+
] },
|
|
76
|
+
ignore: [
|
|
77
|
+
"**/node_modules",
|
|
78
|
+
"**/*.d.ts",
|
|
79
|
+
"**/public"
|
|
80
|
+
]
|
|
81
|
+
});
|
|
82
|
+
const statistic = {
|
|
83
|
+
success: 0,
|
|
84
|
+
fail: 0,
|
|
85
|
+
total: fileList.length
|
|
86
|
+
};
|
|
87
|
+
for (const file of fileList) try {
|
|
88
|
+
if (file.endsWith(".vue")) {
|
|
89
|
+
const [code, descriptor] = parseVueSfcFile(file);
|
|
90
|
+
let changed = false;
|
|
91
|
+
if (descriptor.script) {
|
|
92
|
+
const [hasChanged, newScript] = resolveFep(descriptor.script.content, file);
|
|
93
|
+
if (hasChanged) {
|
|
94
|
+
changed = true;
|
|
95
|
+
descriptor.script.content = newScript;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
if (descriptor.scriptSetup) {
|
|
99
|
+
const [hasChanged, newScriptSetup] = resolveFep(descriptor.scriptSetup.content, file);
|
|
100
|
+
if (hasChanged) {
|
|
101
|
+
changed = true;
|
|
102
|
+
descriptor.scriptSetup.content = newScriptSetup;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
if (changed) {
|
|
106
|
+
const [_changed, resolved] = modifySfcCodeByDescriptor(code, descriptor);
|
|
107
|
+
fs.writeFileSync(file, resolved);
|
|
108
|
+
}
|
|
109
|
+
} else {
|
|
110
|
+
const [hasChanged, resolved] = resolveFep(fs.readFileSync(file, { encoding: "utf-8" }), file);
|
|
111
|
+
if (hasChanged) fs.writeFileSync(file, resolved);
|
|
112
|
+
}
|
|
113
|
+
statistic.success++;
|
|
114
|
+
} catch (e) {
|
|
115
|
+
statistic.fail++;
|
|
116
|
+
console.error(`❌ 处理错误: [${path.relative(process.cwd(), file)}], error:${e}`);
|
|
117
|
+
throw e;
|
|
118
|
+
}
|
|
119
|
+
return statistic;
|
|
120
|
+
}
|
|
121
|
+
var replace_fep_default = replacer;
|
|
122
|
+
|
|
123
|
+
//#endregion
|
|
124
|
+
//#region src/index.ts
|
|
125
|
+
const cli = cac("fep-migrator");
|
|
126
|
+
cli.version(process.env.npm_package_version ?? "-").command("<...dir>", "处理路径").action(async (dirs) => {
|
|
127
|
+
console.log("# 开始处理.");
|
|
128
|
+
const statistic = await replace_fep_default(dirs);
|
|
129
|
+
console.log(`# 所有文件迁移完成。共处理 ${statistic.total} 个文件,成功 ${statistic.success} 个,失败 ${statistic.fail} 个`);
|
|
130
|
+
});
|
|
131
|
+
cli.help();
|
|
132
|
+
cli.parse();
|
|
133
|
+
|
|
134
|
+
//#endregion
|
|
135
|
+
export { };
|
|
136
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["replaceFep"],"sources":["../src/sfc.ts","../src/replace-fep.ts","../src/index.ts"],"sourcesContent":["import type { SFCDescriptor } from '@vue/compiler-sfc'\nimport { parse } from '@vue/compiler-sfc'\nimport fs from 'fs-extra'\nimport MagicString from 'magic-string'\n\nexport const parseVueSfcFile = (filename: string): [string, SFCDescriptor] => {\n const code = fs.readFileSync(filename, { encoding: 'utf-8' })\n const { descriptor } = parse(code, {\n filename,\n sourceMap: false,\n })\n\n return [code, descriptor]\n}\n\nexport const modifySfcCodeByDescriptor = (code: string, descriptor: SFCDescriptor): [boolean, string] => {\n const ms = new MagicString(code)\n const {\n template,\n script,\n scriptSetup,\n styles,\n customBlocks,\n } = descriptor\n\n const blocks = [template, script, scriptSetup, ...styles, ...customBlocks]\n .filter(block => block != null)\n .sort((a, b) => {\n return a.loc.start.offset - b.loc.start.offset\n })\n blocks.reverse()\n\n for (const block of blocks) {\n ms.overwrite(block.loc.start.offset, block.loc.end.offset, block.content)\n }\n\n const hasChanged = ms.hasChanged()\n return [hasChanged, hasChanged ? ms.toString() : code]\n}\n","import path from 'node:path'\nimport process from 'node:process'\nimport fs from 'fs-extra'\nimport { globbySync } from 'globby'\nimport MagicString from 'magic-string'\nimport { parseSync } from 'oxc-parser'\nimport { modifySfcCodeByDescriptor, parseVueSfcFile } from './sfc'\n\nconst resolveFep = (code: string, filename: string): [boolean, string] => {\n const ms = new MagicString(code)\n const { program } = parseSync(filename, code, { lang: 'tsx' })\n const imports = program.body.filter(i => i.type === 'ImportDeclaration').reverse()\n for (const importItem of imports) {\n const { raw, start, end } = importItem.source\n const text = raw ?? ''\n const epRegex = /^(['\"])element-plus/\n const iconRegex = /^(['\"])@element-plus\\/icons-vue/\n if (epRegex.test(text)) {\n const newPath = text.replace(epRegex, (_all, p1) => {\n return `${p1}@falconix/fep`\n })\n ms.overwrite(start, end, newPath)\n } else if (iconRegex.test(text)) {\n const newPath = text.replace(iconRegex, (_all, p1) => {\n return `${p1}@falconix/icons-vue`\n })\n ms.overwrite(start, end, newPath)\n }\n }\n const hasChanged = ms.hasChanged()\n return [hasChanged, hasChanged ? ms.toString() : code]\n}\n\nasync function replacer(dirs: string[]) {\n const fileList = globbySync(dirs, {\n absolute: true,\n onlyFiles: true,\n gitignore: true,\n expandDirectories: {\n extensions: ['js', 'jsx', 'ts', 'tsx', 'vue'],\n },\n ignore: ['**/node_modules', '**/*.d.ts', '**/public'],\n })\n const statistic = {\n success: 0,\n fail: 0,\n total: fileList.length,\n }\n for (const file of fileList) {\n try {\n if (file.endsWith('.vue')) {\n const [code, descriptor] = parseVueSfcFile(file)\n let changed = false\n if (descriptor.script) {\n const [hasChanged, newScript] = resolveFep(descriptor.script.content, file)\n if (hasChanged) {\n changed = true\n descriptor.script.content = newScript\n }\n }\n if (descriptor.scriptSetup) {\n const [hasChanged, newScriptSetup] = resolveFep(descriptor.scriptSetup.content, file)\n if (hasChanged) {\n changed = true\n descriptor.scriptSetup.content = newScriptSetup\n }\n }\n if (changed) {\n const [_changed, resolved] = modifySfcCodeByDescriptor(code, descriptor)\n fs.writeFileSync(file, resolved)\n }\n } else {\n const content = fs.readFileSync(file, { encoding: 'utf-8' })\n const [hasChanged, resolved] = resolveFep(content, file)\n if (hasChanged) {\n fs.writeFileSync(file, resolved)\n }\n }\n statistic.success++\n } catch (e) {\n statistic.fail++\n console.error(`❌ 处理错误: [${path.relative(process.cwd(), file)}], error:${e}`)\n throw e\n }\n }\n return statistic\n}\n\nexport default replacer\n","#!/usr/bin/env node\n\nimport process from 'node:process'\nimport { cac } from 'cac'\nimport replaceFep from './replace-fep'\n\nconst cli = cac('fep-migrator')\ncli\n .version(process.env.npm_package_version ?? '-')\n .command('<...dir>', '处理路径')\n .action(async (dirs) => {\n console.log('# 开始处理.')\n const statistic = await replaceFep(dirs)\n console.log(`# 所有文件迁移完成。共处理 ${statistic.total} 个文件,成功 ${statistic.success} 个,失败 ${statistic.fail} 个`)\n })\ncli.help()\ncli.parse()\n"],"mappings":";;;;;;;;;;;AAKA,MAAa,mBAAmB,aAA8C;CAC5E,MAAM,OAAO,GAAG,aAAa,UAAU,EAAE,UAAU,SAAS,CAAC;CAC7D,MAAM,EAAE,eAAe,MAAM,MAAM;EACjC;EACA,WAAW;EACZ,CAAC;AAEF,QAAO,CAAC,MAAM,WAAW;;AAG3B,MAAa,6BAA6B,MAAc,eAAiD;CACvG,MAAM,KAAK,IAAI,YAAY,KAAK;CAChC,MAAM,EACJ,UACA,QACA,aACA,QACA,iBACE;CAEJ,MAAM,SAAS;EAAC;EAAU;EAAQ;EAAa,GAAG;EAAQ,GAAG;EAAa,CACvE,QAAO,UAAS,SAAS,KAAK,CAC9B,MAAM,GAAG,MAAM;AACd,SAAO,EAAE,IAAI,MAAM,SAAS,EAAE,IAAI,MAAM;GACxC;AACJ,QAAO,SAAS;AAEhB,M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
"packageManager": "pnpm@10.23.0",
|
|
6
|
+
"description": "@falconix/fep migration helper",
|
|
7
|
+
"author": "tjyuanpeng <tjyuanpeng@gmail.com>",
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"homepage": "https://github.com/tjyuanpeng/fep-migrator",
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/tjyuanpeng/fep-migrator.git"
|
|
13
|
+
},
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/tjyuanpeng/fep-migrator/issues"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"falconix",
|
|
19
|
+
"fep",
|
|
20
|
+
"migration",
|
|
21
|
+
"element-plus",
|
|
22
|
+
"ast",
|
|
23
|
+
"oxc-parser",
|
|
24
|
+
"tsdown"
|
|
25
|
+
],
|
|
26
|
+
"bin": {
|
|
27
|
+
"fep-migrator": "./dist/index.mjs"
|
|
28
|
+
},
|
|
29
|
+
"files": [
|
|
30
|
+
"dist"
|
|
31
|
+
],
|
|
32
|
+
"publishConfig": {
|
|
33
|
+
"registry": "https://registry.npmjs.org/"
|
|
34
|
+
},
|
|
35
|
+
"scripts": {
|
|
36
|
+
"start": "node dist/index.mjs",
|
|
37
|
+
"watch": "tsdown --watch --sourcemap",
|
|
38
|
+
"build": "tsdown --sourcemap",
|
|
39
|
+
"lint": "eslint .",
|
|
40
|
+
"typecheck": "tsc --noEmit"
|
|
41
|
+
},
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"@vue/compiler-sfc": "^3.5.26",
|
|
44
|
+
"cac": "^6.7.14",
|
|
45
|
+
"fs-extra": "^11.3.3",
|
|
46
|
+
"globby": "^16.1.0",
|
|
47
|
+
"magic-string": "^0.30.21",
|
|
48
|
+
"oxc-parser": "^0.108.0"
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"@antfu/eslint-config": "^6.7.3",
|
|
52
|
+
"@types/fs-extra": "^11.0.4",
|
|
53
|
+
"@types/node": "^25.0.6",
|
|
54
|
+
"eslint": "^9.39.2",
|
|
55
|
+
"eslint-plugin-format": "^1.2.0",
|
|
56
|
+
"tsdown": "0.20.0-beta.1",
|
|
57
|
+
"typescript": "^5.9.3"
|
|
58
|
+
}
|
|
59
|
+
}
|