@vercel/build-utils 14.1.1 → 14.2.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @vercel/build-utils
2
2
 
3
+ ## 14.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - e340c58: Add schedules/v1beta to TriggerEvent types
8
+
3
9
  ## 14.1.1
4
10
 
5
11
  ### Patch Changes
package/build.mjs CHANGED
@@ -1,13 +1,5 @@
1
+ import { rm } from 'node:fs/promises';
1
2
  import { tsc, esbuild } from '../../utils/build.mjs';
2
3
 
3
- await Promise.all([
4
- tsc(),
5
- esbuild().then(() =>
6
- esbuild({
7
- bundle: true,
8
- // Keep @vercel/python-analysis external because its WASM module uses
9
- // require.resolve.
10
- external: ['@vercel/python-analysis'],
11
- })
12
- ),
13
- ]);
4
+ await rm(new URL('./dist', import.meta.url), { recursive: true, force: true });
5
+ await Promise.all([tsc(), esbuild().then(() => esbuild({ bundle: true }))]);
package/dist/index.d.ts CHANGED
@@ -45,7 +45,6 @@ export { defaultCachePathGlob } from './default-cache-path-glob';
45
45
  export { generateNodeBuilderFunctions } from './generate-node-builder-functions';
46
46
  export { getRegExpFromMatchers, resolveMiddlewareMatcher, } from './middleware-matcher';
47
47
  export { BACKEND_FRAMEWORKS, BACKEND_BUILDERS, UNIFIED_BACKEND_BUILDER, BackendFramework, isBackendFramework, isNodeBackendFramework, isBackendBuilder, isExperimentalBackendsEnabled, isExperimentalBackendsWithoutIntrospectionEnabled, shouldUseExperimentalBackends, PYTHON_FRAMEWORKS, PythonFramework, isPythonFramework, } from './framework-helpers';
48
- export * from './python';
49
48
  export * from './node-entrypoint';
50
49
  export * from './service-path-utils';
51
50
  export { getEncryptedEnv, type EncryptedEnvFile, } from './process-serverless/get-encrypted-env-file';