@trigger.dev/core 0.0.0-prerelease-20240823132052 → 0.0.0-prerelease-20240825150620

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.
@@ -1,7 +1,7 @@
1
1
  import { BuildManifest, BuildTarget } from "../schemas/build.js";
2
2
  import type { Plugin } from "esbuild";
3
3
  import { ResolvedConfig } from "./resolvedConfig.js";
4
- export declare function createExtensionForPlugin(plugin: Plugin, options?: RegisterPluginOptions): BuildExtension;
4
+ export declare function esbuildPlugin(plugin: Plugin, options?: RegisterPluginOptions): BuildExtension;
5
5
  export interface BuildExtension {
6
6
  name: string;
7
7
  externalsForTarget?: (target: BuildTarget) => string[] | undefined;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.createExtensionForPlugin = createExtensionForPlugin;
4
- function createExtensionForPlugin(plugin, options = {}) {
3
+ exports.esbuildPlugin = esbuildPlugin;
4
+ function esbuildPlugin(plugin, options = {}) {
5
5
  return {
6
6
  name: plugin.name,
7
7
  onBuildStart(context) {
@@ -1 +1 @@
1
- {"version":3,"file":"extensions.js","sourceRoot":"","sources":["../../../../src/v3/build/extensions.ts"],"names":[],"mappings":";;AAIA,4DAUC;AAVD,SAAgB,wBAAwB,CACtC,MAAc,EACd,UAAiC,EAAE;IAEnC,OAAO;QACL,IAAI,EAAE,MAAM,CAAC,IAAI;QACjB,YAAY,CAAC,OAAO;YAClB,OAAO,CAAC,cAAc,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAC1C,CAAC;KACF,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"extensions.js","sourceRoot":"","sources":["../../../../src/v3/build/extensions.ts"],"names":[],"mappings":";;AAIA,sCAOC;AAPD,SAAgB,aAAa,CAAC,MAAc,EAAE,UAAiC,EAAE;IAC/E,OAAO;QACL,IAAI,EAAE,MAAM,CAAC,IAAI;QACjB,YAAY,CAAC,OAAO;YAClB,OAAO,CAAC,cAAc,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAC1C,CAAC;KACF,CAAC;AACJ,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { BuildManifest, BuildTarget } from "../schemas/build.js";
2
2
  import type { Plugin } from "esbuild";
3
3
  import { ResolvedConfig } from "./resolvedConfig.js";
4
- export declare function createExtensionForPlugin(plugin: Plugin, options?: RegisterPluginOptions): BuildExtension;
4
+ export declare function esbuildPlugin(plugin: Plugin, options?: RegisterPluginOptions): BuildExtension;
5
5
  export interface BuildExtension {
6
6
  name: string;
7
7
  externalsForTarget?: (target: BuildTarget) => string[] | undefined;
@@ -1,4 +1,4 @@
1
- export function createExtensionForPlugin(plugin, options = {}) {
1
+ export function esbuildPlugin(plugin, options = {}) {
2
2
  return {
3
3
  name: plugin.name,
4
4
  onBuildStart(context) {
@@ -1 +1 @@
1
- {"version":3,"file":"extensions.js","sourceRoot":"","sources":["../../../../src/v3/build/extensions.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,wBAAwB,CACtC,MAAc,EACd,UAAiC,EAAE;IAEnC,OAAO;QACL,IAAI,EAAE,MAAM,CAAC,IAAI;QACjB,YAAY,CAAC,OAAO;YAClB,OAAO,CAAC,cAAc,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAC1C,CAAC;KACF,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"extensions.js","sourceRoot":"","sources":["../../../../src/v3/build/extensions.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,aAAa,CAAC,MAAc,EAAE,UAAiC,EAAE;IAC/E,OAAO;QACL,IAAI,EAAE,MAAM,CAAC,IAAI;QACjB,YAAY,CAAC,OAAO;YAClB,OAAO,CAAC,cAAc,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAC1C,CAAC;KACF,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trigger.dev/core",
3
- "version": "0.0.0-prerelease-20240823132052",
3
+ "version": "0.0.0-prerelease-20240825150620",
4
4
  "description": "Core code used across the Trigger.dev SDK and platform",
5
5
  "license": "MIT",
6
6
  "publishConfig": {