@giteeteam/apps-cli 0.4.2 → 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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +3 -2
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.2";
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.2",
3
+ "version": "0.4.3",
4
4
  "description": "Giteeteam Apps cli",
5
5
  "keywords": [
6
6
  "typescript",
@@ -56,7 +56,8 @@
56
56
  "yaml": "^2.1.1"
57
57
  },
58
58
  "devDependencies": {
59
- "@rollup/plugin-json": "^6.0.0",
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",