jitsu-cli 2.14.0-beta.4 → 2.14.0-canary.20251117.acfc586

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.
@@ -0,0 +1,4 @@
1
+ module.exports = {
2
+ presets: ["@babel/preset-env", "@babel/preset-typescript"],
3
+ plugins: [],
4
+ };
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "jitsu-cli",
3
- "version": "2.14.0-beta.4",
3
+ "version": "2.14.0-canary.20251117.acfc586",
4
4
  "description": "",
5
+ "type": "module",
5
6
  "author": "Jitsu Dev Team <dev@jitsu.com>",
6
7
  "publishConfig": {
7
8
  "access": "public"
@@ -30,9 +31,8 @@
30
31
  "typescript": "catalog:"
31
32
  },
32
33
  "devDependencies": {
33
- "@swc-node/register": "catalog:",
34
- "swc-loader": "catalog:",
35
- "@swc/core": "catalog:",
34
+ "@babel/preset-env": "^7.23.2",
35
+ "@babel/preset-typescript": "^7.23.2",
36
36
  "@jitsu/common-config": "workspace:*",
37
37
  "@jitsu/functions-lib": "workspace:*",
38
38
  "@jitsu/protocols": "workspace:*",
@@ -50,6 +50,7 @@
50
50
  "@vitest/ui": "catalog:",
51
51
  "@types/webpack": "^5.28.5",
52
52
  "@webpack-cli/generators": "^3.0.7",
53
+ "babel-loader": "^9.1.3",
53
54
  "chalk": "^5.3.0",
54
55
  "commander": "^11.0.0",
55
56
  "cross-fetch": "^4.0.0",
@@ -111,6 +111,7 @@ function checkTypescript(projectDir) {
111
111
  console.info(`No ${b("tsconfig.json")} file found in ${b(projectDir)}. Assuming JavaScript project`);
112
112
  return;
113
113
  }
114
+ console.log(`Checking TypeScript files in ${b(projectDir)}`);
114
115
  let compilerOptions = {};
115
116
  let filenames = [];
116
117
  const tsconfig = ts.readConfigFile(tsconfigPath, ts.sys.readFile);
@@ -119,7 +120,6 @@ function checkTypescript(projectDir) {
119
120
  typeRoots: [path.resolve(projectDir, "node_modules", "@types")],
120
121
  checkJs: true,
121
122
  allowJs: true,
122
- skipLibCheck: true,
123
123
  noEmit: true,
124
124
  esModuleInterop: typeof compilerOptions.esModuleInterop !== "undefined" ? compilerOptions.esModuleInterop : true,
125
125
  moduleResolution: typeof compilerOptions.moduleResolution !== "undefined" ? compilerOptions.moduleResolution : "node",
package/dist/140.js CHANGED
@@ -3,14 +3,14 @@ exports.id = 140;
3
3
  exports.ids = [140];
4
4
  exports.modules = {
5
5
 
6
- /***/ 77140:
6
+ /***/ 7140:
7
7
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
8
8
 
9
9
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
10
10
  /* harmony export */ toFormData: () => (/* binding */ toFormData)
11
11
  /* harmony export */ });
12
- /* harmony import */ var fetch_blob_from_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(49605);
13
- /* harmony import */ var formdata_polyfill_esm_min_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(14055);
12
+ /* harmony import */ var fetch_blob_from_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9605);
13
+ /* harmony import */ var formdata_polyfill_esm_min_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4055);
14
14
 
15
15
 
16
16