@giteeteam/apps-cli 0.4.1 → 0.4.3
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/dist/index.js +2 -2
- package/package.json +4 -3
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ var execa__default = /*#__PURE__*/_interopDefaultLegacy(execa);
|
|
|
36
36
|
var child_process__default = /*#__PURE__*/_interopDefaultLegacy(child_process);
|
|
37
37
|
var chokidar__default = /*#__PURE__*/_interopDefaultLegacy(chokidar);
|
|
38
38
|
|
|
39
|
-
var version = "0.4.
|
|
39
|
+
var version = "0.4.3";
|
|
40
40
|
|
|
41
41
|
const packageApp = async ({ outputDir, manifest, copyFiles }) => {
|
|
42
42
|
const { resources } = manifest;
|
|
@@ -107,7 +107,7 @@ function esbuild(options) {
|
|
|
107
107
|
resolveId(source, importer, opts) {
|
|
108
108
|
// console.log('resolveId:');
|
|
109
109
|
// console.dir({ source, importer, opts }, { depth: null });
|
|
110
|
-
if (!importer || ['.ts', '.tsx', '.js', '.jsx'].some(ext => source.endsWith(ext))) {
|
|
110
|
+
if (!importer || ['.ts', '.tsx', '.js', '.jsx', '.mjs'].some(ext => source.endsWith(ext))) {
|
|
111
111
|
return source;
|
|
112
112
|
}
|
|
113
113
|
const dirPath = path.dirname(importer);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@giteeteam/apps-cli",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "Giteeteam Apps cli",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@giteeteam/apps-manifest": "^0.3.0",
|
|
42
42
|
"@rollup/plugin-commonjs": "^22.0.0",
|
|
43
|
-
"@rollup/plugin-node-resolve": "
|
|
43
|
+
"@rollup/plugin-node-resolve": "13.3.0",
|
|
44
44
|
"archiver": "^5.3.1",
|
|
45
45
|
"chalk": "^4.1.2",
|
|
46
46
|
"chokidar": "^3.5.3",
|
|
@@ -56,7 +56,8 @@
|
|
|
56
56
|
"yaml": "^2.1.1"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
|
|
59
|
+
"typescript": "^4.8.3",
|
|
60
|
+
"@rollup/plugin-json": "^6.0.0",
|
|
60
61
|
"@types/archiver": "^5.3.1",
|
|
61
62
|
"@types/fs-extra": "^9.0.13",
|
|
62
63
|
"@types/inquirer": "^8.2.1",
|