@tinacms/scripts 0.0.0-e2d2d7e-20260217062658 → 0.0.0-e97cc34-20260505010028

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.
@@ -4,4 +4,4 @@
4
4
 
5
5
  // __mocks__/styleMock.js
6
6
 
7
- module.exports = '';
7
+ export default '';
package/dist/index.js CHANGED
@@ -304,6 +304,7 @@ See --help for a list of available commands.`
304
304
  return;
305
305
  }
306
306
  external.forEach((ext) => globals[ext] = "NOOP");
307
+ const isExternal = (id) => external.some((dep) => id === dep || id.startsWith(`${dep}/`));
307
308
  if (target === "node") {
308
309
  if (["@tinacms/graphql", "@tinacms/datalayer"].includes(packageJSON.name)) {
309
310
  await esbuild({
@@ -429,7 +430,7 @@ See --help for a list of available commands.`
429
430
  output: {
430
431
  globals
431
432
  },
432
- external
433
+ external: isExternal
433
434
  }
434
435
  }
435
436
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tinacms/scripts",
3
3
  "type": "module",
4
- "version": "0.0.0-e2d2d7e-20260217062658",
4
+ "version": "0.0.0-e97cc34-20260505010028",
5
5
  "main": "dist/index.js",
6
6
  "files": [
7
7
  "dist",
@@ -14,7 +14,6 @@
14
14
  "tinacms-scripts": "./bin/tina-build"
15
15
  },
16
16
  "dependencies": {
17
- "@sucrase/jest-plugin": "^3.0.0",
18
17
  "chalk": "^5.4.1",
19
18
  "chokidar": "^3.6.0",
20
19
  "commander": "^7.2.0",
@@ -37,6 +36,6 @@
37
36
  "scripts": {
38
37
  "build:all": "bin/tina-build build:all",
39
38
  "watch": "node bin/tina-build watch",
40
- "build": "pnpm tsup src/jest-runner.ts src/css-transform.ts src/index.ts --format esm"
39
+ "build": "pnpm tsup src/jest-runner.ts src/index.ts --format esm"
41
40
  }
42
41
  }