@vercel/fs-detectors 3.4.1 → 3.4.2

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.
@@ -12,5 +12,5 @@ import type { Framework } from '@vercel/frameworks';
12
12
  * detectFramwork({ fs, frameworkList }) // returns the 'slug' field if detected, otherwise null
13
13
  *
14
14
  */
15
- export declare const monorepoManagers: Array<Omit<Framework, 'description' | 'logo' | 'settings' | 'getOutputDirName'>>;
15
+ export declare const monorepoManagers: Array<Omit<Framework, 'description' | 'getOutputDirName'>>;
16
16
  export default monorepoManagers;
@@ -18,6 +18,7 @@ exports.monorepoManagers = [
18
18
  {
19
19
  name: 'Turborepo',
20
20
  slug: 'turbo',
21
+ logo: 'https://api-frameworks.vercel.sh/monorepo-logos/turborepo.svg',
21
22
  detectors: {
22
23
  some: [
23
24
  {
@@ -29,10 +30,26 @@ exports.monorepoManagers = [
29
30
  },
30
31
  ],
31
32
  },
33
+ settings: {
34
+ buildCommand: {
35
+ placeholder: 'Turborepo default',
36
+ value: null,
37
+ },
38
+ outputDirectory: {
39
+ value: null,
40
+ },
41
+ installCommand: {
42
+ value: null,
43
+ },
44
+ devCommand: {
45
+ value: null,
46
+ },
47
+ },
32
48
  },
33
49
  {
34
50
  name: 'Nx',
35
51
  slug: 'nx',
52
+ logo: 'https://api-frameworks.vercel.sh/monorepo-logos/nx.svg',
36
53
  detectors: {
37
54
  every: [
38
55
  {
@@ -40,10 +57,26 @@ exports.monorepoManagers = [
40
57
  },
41
58
  ],
42
59
  },
60
+ settings: {
61
+ buildCommand: {
62
+ placeholder: 'Nx default',
63
+ value: null,
64
+ },
65
+ outputDirectory: {
66
+ placeholder: 'Nx default',
67
+ },
68
+ installCommand: {
69
+ value: null,
70
+ },
71
+ devCommand: {
72
+ value: null,
73
+ },
74
+ },
43
75
  },
44
76
  {
45
77
  name: 'Rush',
46
78
  slug: 'rush',
79
+ logo: 'https://api-frameworks.vercel.sh/monorepo-logos/rush.svg',
47
80
  detectors: {
48
81
  every: [
49
82
  {
@@ -51,6 +84,21 @@ exports.monorepoManagers = [
51
84
  },
52
85
  ],
53
86
  },
87
+ settings: {
88
+ buildCommand: {
89
+ placeholder: 'Rush default',
90
+ value: null,
91
+ },
92
+ outputDirectory: {
93
+ placeholder: 'Rush default',
94
+ },
95
+ installCommand: {
96
+ placeholder: 'Rush default',
97
+ },
98
+ devCommand: {
99
+ value: null,
100
+ },
101
+ },
54
102
  },
55
103
  ];
56
104
  exports.default = exports.monorepoManagers;
@@ -1 +1 @@
1
- {"version":3,"file":"monorepo-managers.js","sourceRoot":"","sources":["../../src/monorepos/monorepo-managers.ts"],"names":[],"mappings":";;;AAEA;;;;;;;;;;;;GAYG;AACU,QAAA,gBAAgB,GAEzB;IACF;QACE,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,OAAO;QACb,SAAS,EAAE;YACT,IAAI,EAAE;gBACJ;oBACE,IAAI,EAAE,YAAY;iBACnB;gBACD;oBACE,IAAI,EAAE,cAAc;oBACpB,YAAY,EAAE,4BAA4B;iBAC3C;aACF;SACF;KACF;IACD;QACE,IAAI,EAAE,IAAI;QACV,IAAI,EAAE,IAAI;QACV,SAAS,EAAE;YACT,KAAK,EAAE;gBACL;oBACE,IAAI,EAAE,SAAS;iBAChB;aACF;SACF;KACF;IACD;QACE,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,MAAM;QACZ,SAAS,EAAE;YACT,KAAK,EAAE;gBACL;oBACE,IAAI,EAAE,WAAW;iBAClB;aACF;SACF;KACF;CACF,CAAC;AAEF,kBAAe,wBAAgB,CAAC"}
1
+ {"version":3,"file":"monorepo-managers.js","sourceRoot":"","sources":["../../src/monorepos/monorepo-managers.ts"],"names":[],"mappings":";;;AAEA;;;;;;;;;;;;GAYG;AACU,QAAA,gBAAgB,GAEzB;IACF;QACE,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,+DAA+D;QACrE,SAAS,EAAE;YACT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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/fs-detectors",
3
- "version": "3.4.1",
3
+ "version": "3.4.2",
4
4
  "description": "Vercel filesystem detectors",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -37,5 +37,5 @@
37
37
  "@vercel/build-utils": "4.2.0",
38
38
  "typescript": "4.3.4"
39
39
  },
40
- "gitHead": "8814fc15159c78432375d7bb6a99c2e42125de5d"
40
+ "gitHead": "cfb7946f4be33ac10c049983cec575a9b336cea1"
41
41
  }