@vercel/static-build 1.0.39 → 1.0.41

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 +70 -12
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -209248,20 +209248,19 @@ const { readdir, readFile, unlink } = fs_1.promises;
209248
209248
  */
209249
209249
  exports.frameworks = [
209250
209250
  {
209251
- name: 'Blitz.js',
209251
+ name: 'Blitz.js (Legacy)',
209252
209252
  slug: 'blitzjs',
209253
209253
  demo: 'https://blitz-template.vercel.app',
209254
209254
  logo: 'https://api-frameworks.vercel.sh/framework-logos/blitz.svg',
209255
209255
  tagline: 'Blitz.js: The Fullstack React Framework',
209256
- description: 'A brand new Blitz.js app - the result of running `npx blitz new`.',
209256
+ description: 'A brand new Blitz.js app - the result of running `npx blitz@0.45.4 new`.',
209257
209257
  website: 'https://blitzjs.com',
209258
209258
  envPrefix: 'NEXT_PUBLIC_',
209259
209259
  useRuntime: { src: 'package.json', use: '@vercel/next' },
209260
209260
  detectors: {
209261
209261
  every: [
209262
209262
  {
209263
- path: 'package.json',
209264
- matchContent: '"(dev)?(d|D)ependencies":\\s*{[^}]*"blitz":\\s*".+?"[^}]*}',
209263
+ path: 'blitz.config.(js|ts)',
209265
209264
  },
209266
209265
  ],
209267
209266
  },
@@ -209485,17 +209484,10 @@ exports.frameworks = [
209485
209484
  getOutputDirName: async () => 'dist',
209486
209485
  defaultRoutes: [
209487
209486
  {
209488
- src: '^/dist/(.*)$',
209487
+ src: '^/assets/(.*)$',
209489
209488
  headers: { 'cache-control': 'public, max-age=31536000, immutable' },
209490
209489
  continue: true,
209491
209490
  },
209492
- {
209493
- handle: 'filesystem',
209494
- },
209495
- {
209496
- src: '/(.*)',
209497
- dest: '/index.html',
209498
- },
209499
209491
  ],
209500
209492
  },
209501
209493
  {
@@ -210880,6 +210872,72 @@ exports.frameworks = [
210880
210872
  dependency: 'vite',
210881
210873
  getOutputDirName: async () => 'dist',
210882
210874
  },
210875
+ {
210876
+ name: 'VitePress',
210877
+ slug: 'vitepress',
210878
+ demo: 'https://vitepress-starter-template.vercel.app/',
210879
+ logo: 'https://api-frameworks.vercel.sh/framework-logos/vite.svg',
210880
+ tagline: "VitePress is VuePress' little brother, built on top of Vite.",
210881
+ description: 'VuePress on top of Vite',
210882
+ website: 'https://vitepress.vuejs.org/',
210883
+ detectors: {
210884
+ every: [
210885
+ {
210886
+ path: 'package.json',
210887
+ matchContent: '"(dev)?(d|D)ependencies":\\s*{[^}]*vitepress:\\s*".+?"[^}]*}',
210888
+ },
210889
+ ],
210890
+ },
210891
+ settings: {
210892
+ installCommand: {
210893
+ placeholder: '`yarn install`, `pnpm install`, or `npm install`',
210894
+ },
210895
+ buildCommand: {
210896
+ placeholder: '`npm run build` or `vitepress build docs`',
210897
+ value: 'vitepress build docs',
210898
+ },
210899
+ devCommand: {
210900
+ value: 'vitepress dev docs --port $PORT',
210901
+ },
210902
+ outputDirectory: {
210903
+ value: 'docs/.vitepress/dist',
210904
+ },
210905
+ },
210906
+ getOutputDirName: async () => '.vitepress/dist',
210907
+ },
210908
+ {
210909
+ name: 'VuePress',
210910
+ slug: 'vuepress',
210911
+ demo: 'https://vuepress-starter-template.vercel.app',
210912
+ logo: 'https://api-frameworks.vercel.sh/framework-logos/vuepress.png',
210913
+ tagline: 'Vue-powered Static Site Generator',
210914
+ description: 'Vue-powered Static Site Generator',
210915
+ website: 'https://vuepress.vuejs.org/',
210916
+ detectors: {
210917
+ every: [
210918
+ {
210919
+ path: 'package.json',
210920
+ matchContent: '"(dev)?(d|D)ependencies":\\s*{[^}]*vuepress:\\s*".+?"[^}]*}',
210921
+ },
210922
+ ],
210923
+ },
210924
+ settings: {
210925
+ installCommand: {
210926
+ placeholder: '`yarn install`, `pnpm install`, or `npm install`',
210927
+ },
210928
+ buildCommand: {
210929
+ placeholder: '`npm run build` or `vuepress build src`',
210930
+ value: 'vuepress build src',
210931
+ },
210932
+ devCommand: {
210933
+ value: 'vuepress dev src --port $PORT',
210934
+ },
210935
+ outputDirectory: {
210936
+ value: 'src/.vuepress/dist',
210937
+ },
210938
+ },
210939
+ getOutputDirName: async () => 'src/.vuepress/dist',
210940
+ },
210883
210941
  {
210884
210942
  name: 'Parcel',
210885
210943
  slug: 'parcel',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/static-build",
3
- "version": "1.0.39",
3
+ "version": "1.0.41",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/build-step",
@@ -36,8 +36,8 @@
36
36
  "@types/ms": "0.7.31",
37
37
  "@types/node-fetch": "2.5.4",
38
38
  "@types/promise-timeout": "1.3.0",
39
- "@vercel/build-utils": "5.5.9",
40
- "@vercel/frameworks": "1.1.12",
39
+ "@vercel/build-utils": "5.6.0",
40
+ "@vercel/frameworks": "1.1.14",
41
41
  "@vercel/ncc": "0.24.0",
42
42
  "@vercel/routing-utils": "2.1.3",
43
43
  "@vercel/static-config": "2.0.6",
@@ -50,5 +50,5 @@
50
50
  "tree-kill": "1.2.2",
51
51
  "typescript": "4.3.4"
52
52
  },
53
- "gitHead": "7003531d5db7895fc3b2fa940c2d83b6e75bbd9e"
53
+ "gitHead": "a036b033986a99061a9678efec033b9a7cbdfd4e"
54
54
  }