@vercel/static-build 2.0.17 → 2.1.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.
Files changed (2) hide show
  1. package/dist/index.js +6 -0
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -26730,6 +26730,9 @@ async function injectPlugins(detectedVersion, dir) {
26730
26730
  if (process.env.VERCEL_ANALYTICS_ID) {
26731
26731
  process.env.GATSBY_VERCEL_ANALYTICS_ID = process.env.VERCEL_ANALYTICS_ID;
26732
26732
  plugins.add("@vercel/gatsby-plugin-vercel-analytics");
26733
+ console.warn(
26734
+ "Vercel Speed Insights auto-injection is deprecated in favor of @vercel/speed-insights package. Learn more: https://vercel.link/upgrate-to-speed-insights-package"
26735
+ );
26733
26736
  }
26734
26737
  if (plugins.size === 0) {
26735
26738
  return false;
@@ -27027,6 +27030,9 @@ var import_path5 = require("path");
27027
27030
  var import_rc9 = __toESM(require_dist3());
27028
27031
  var ANALYTICS_PLUGIN_PACKAGE = "@nuxtjs/web-vitals";
27029
27032
  async function injectVercelAnalyticsPlugin(dir) {
27033
+ console.warn(
27034
+ "Vercel Speed Insights auto-injection is deprecated in favor of @vercel/speed-insights package. Learn more: https://vercel.link/upgrate-to-speed-insights-package"
27035
+ );
27030
27036
  const nuxtrcPath = (0, import_path5.join)(dir, ".nuxtrc");
27031
27037
  console.log(
27032
27038
  `Injecting Nuxt.js Speed Insights plugin "${ANALYTICS_PLUGIN_PACKAGE}" to \`${nuxtrcPath}\``
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/static-build",
3
- "version": "2.0.17",
3
+ "version": "2.1.0",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/build-step",
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "dependencies": {
16
16
  "@vercel/gatsby-plugin-vercel-analytics": "1.0.11",
17
- "@vercel/gatsby-plugin-vercel-builder": "2.0.15",
17
+ "@vercel/gatsby-plugin-vercel-builder": "2.0.16",
18
18
  "@vercel/static-config": "3.0.0",
19
19
  "ts-morph": "12.0.0"
20
20
  },
@@ -28,7 +28,7 @@
28
28
  "@types/node-fetch": "2.5.4",
29
29
  "@types/promise-timeout": "1.3.0",
30
30
  "@types/semver": "7.3.13",
31
- "@vercel/build-utils": "7.5.0",
31
+ "@vercel/build-utils": "7.5.1",
32
32
  "@vercel/error-utils": "2.0.2",
33
33
  "@vercel/frameworks": "2.0.6",
34
34
  "@vercel/fs-detectors": "5.1.6",