@vercel/static-build 1.3.23 → 1.3.25

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/dist/index.js CHANGED
@@ -241820,7 +241820,7 @@ const build = async ({ files, entrypoint, workPath, config, meta = {}, }) => {
241820
241820
  await NuxtUtils.injectVercelAnalyticsPlugin(frameworkDirectory);
241821
241821
  break;
241822
241822
  default:
241823
- build_utils_1.debug(`No analytics plugin injected for framework ${framework.slug}`);
241823
+ build_utils_1.debug(`No Web Vitals plugin injected for framework ${framework.slug}`);
241824
241824
  break;
241825
241825
  }
241826
241826
  }
@@ -242922,10 +242922,10 @@ const _shared_1 = __webpack_require__(54);
242922
242922
  // https://github.com/nuxt-modules/web-vitals
242923
242923
  const ANALYTICS_PLUGIN_PACKAGE = '@nuxtjs/web-vitals';
242924
242924
  async function injectVercelAnalyticsPlugin(dir) {
242925
- // First update the `.nuxtrc` file to inject the analytics plugin.
242925
+ // First update the `.nuxtrc` file to inject the Speed Insights (formerly Analytics) plugin.
242926
242926
  // See: https://gist.github.com/pi0/23b5253ac19b4ed5a70add3b971545c9
242927
242927
  const nuxtrcPath = path_1.join(dir, '.nuxtrc');
242928
- console.log(`Injecting Nuxt.js analytics plugin "${ANALYTICS_PLUGIN_PACKAGE}" to \`${nuxtrcPath}\``);
242928
+ console.log(`Injecting Nuxt.js Speed Insights plugin "${ANALYTICS_PLUGIN_PACKAGE}" to \`${nuxtrcPath}\``);
242929
242929
  rc9_1.update({
242930
242930
  'modules[]': ANALYTICS_PLUGIN_PACKAGE,
242931
242931
  }, {
@@ -7,10 +7,10 @@ const _shared_1 = require("./_shared");
7
7
  // https://github.com/nuxt-modules/web-vitals
8
8
  const ANALYTICS_PLUGIN_PACKAGE = '@nuxtjs/web-vitals';
9
9
  async function injectVercelAnalyticsPlugin(dir) {
10
- // First update the `.nuxtrc` file to inject the analytics plugin.
10
+ // First update the `.nuxtrc` file to inject the Speed Insights (formerly Analytics) plugin.
11
11
  // See: https://gist.github.com/pi0/23b5253ac19b4ed5a70add3b971545c9
12
12
  const nuxtrcPath = path_1.join(dir, '.nuxtrc');
13
- console.log(`Injecting Nuxt.js analytics plugin "${ANALYTICS_PLUGIN_PACKAGE}" to \`${nuxtrcPath}\``);
13
+ console.log(`Injecting Nuxt.js Speed Insights plugin "${ANALYTICS_PLUGIN_PACKAGE}" to \`${nuxtrcPath}\``);
14
14
  rc9_1.update({
15
15
  'modules[]': ANALYTICS_PLUGIN_PACKAGE,
16
16
  }, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/static-build",
3
- "version": "1.3.23",
3
+ "version": "1.3.25",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/build-step",
@@ -18,19 +18,9 @@
18
18
  "test-unit": "pnpm test test/build.test.ts test/gatsby.test.ts test/prepare-cache.test.ts",
19
19
  "test-e2e": "pnpm test test/integration-*.test.js"
20
20
  },
21
- "jest": {
22
- "preset": "ts-jest/presets/default",
23
- "testEnvironment": "node",
24
- "globals": {
25
- "ts-jest": {
26
- "diagnostics": true,
27
- "isolatedModules": true
28
- }
29
- }
30
- },
31
21
  "dependencies": {
32
- "@vercel/gatsby-plugin-vercel-analytics": "1.0.9",
33
- "@vercel/gatsby-plugin-vercel-builder": "1.2.8"
22
+ "@vercel/gatsby-plugin-vercel-analytics": "1.0.10",
23
+ "@vercel/gatsby-plugin-vercel-builder": "1.2.10"
34
24
  },
35
25
  "devDependencies": {
36
26
  "@types/aws-lambda": "8.10.64",
@@ -44,10 +34,10 @@
44
34
  "@types/semver": "7.3.13",
45
35
  "@vercel/build-utils": "6.7.1",
46
36
  "@vercel/frameworks": "1.3.4",
47
- "@vercel/fs-detectors": "3.8.10",
37
+ "@vercel/fs-detectors": "3.8.11",
48
38
  "@vercel/ncc": "0.24.0",
49
39
  "@vercel/routing-utils": "2.2.0",
50
- "@vercel/static-config": "2.0.15",
40
+ "@vercel/static-config": "2.0.16",
51
41
  "execa": "3.2.0",
52
42
  "fs-extra": "10.0.0",
53
43
  "get-port": "5.0.0",
@@ -60,5 +50,5 @@
60
50
  "ts-morph": "12.0.0",
61
51
  "typescript": "4.3.4"
62
52
  },
63
- "gitHead": "14ece4111aed844a92e0024c5933f41b8ae717a0"
53
+ "gitHead": "7082da84511740ea0304b5f93b0073bbb3f3a9ed"
64
54
  }