@netlify/build-info 7.10.1 → 7.11.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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseFramework, Category, Framework } from './framework.js';
|
|
1
|
+
import { BaseFramework, Category, DetectedFramework, Framework } from './framework.js';
|
|
2
2
|
export declare class Angular extends BaseFramework implements Framework {
|
|
3
3
|
readonly id = "angular";
|
|
4
4
|
name: string;
|
|
@@ -21,4 +21,5 @@ export declare class Angular extends BaseFramework implements Framework {
|
|
|
21
21
|
light: string;
|
|
22
22
|
dark: string;
|
|
23
23
|
};
|
|
24
|
+
detect(): Promise<DetectedFramework | undefined>;
|
|
24
25
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { gte } from 'semver';
|
|
1
2
|
import { BaseFramework, Category } from './framework.js';
|
|
2
3
|
export class Angular extends BaseFramework {
|
|
3
4
|
id = 'angular';
|
|
@@ -19,5 +20,14 @@ export class Angular extends BaseFramework {
|
|
|
19
20
|
light: '/logos/angular/default.svg',
|
|
20
21
|
dark: '/logos/angular/default.svg',
|
|
21
22
|
};
|
|
23
|
+
async detect() {
|
|
24
|
+
await super.detect();
|
|
25
|
+
if (this.detected) {
|
|
26
|
+
if (this.version && gte(this.version, '17.0.0-rc')) {
|
|
27
|
+
this.plugins.push('@netlify/angular-runtime');
|
|
28
|
+
}
|
|
29
|
+
return this;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
22
32
|
}
|
|
23
33
|
//# sourceMappingURL=angular.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"angular.js","sourceRoot":"","sources":["../../src/frameworks/angular.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"angular.js","sourceRoot":"","sources":["../../src/frameworks/angular.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAA;AAE5B,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAgC,MAAM,gBAAgB,CAAA;AAEtF,MAAM,OAAO,OAAQ,SAAQ,aAAa;IAC/B,EAAE,GAAG,SAAS,CAAA;IACvB,IAAI,GAAG,SAAS,CAAA;IAChB,WAAW,GAAG,CAAC,cAAc,CAAC,CAAA;IAC9B,eAAe,GAAG,CAAC,cAAc,CAAC,CAAA;IAClC,QAAQ,GAAG,QAAQ,CAAC,iBAAiB,CAAA;IAErC,GAAG,GAAG;QACJ,IAAI,EAAE,IAAI;QACV,OAAO,EAAE,UAAU;QACnB,iBAAiB,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;KACvD,CAAA;IAED,KAAK,GAAG;QACN,OAAO,EAAE,iBAAiB;QAC1B,SAAS,EAAE,OAAO;KACnB,CAAA;IAED,IAAI,GAAG;QACL,OAAO,EAAE,4BAA4B;QACrC,KAAK,EAAE,4BAA4B;QACnC,IAAI,EAAE,4BAA4B;KACnC,CAAA;IAED,KAAK,CAAC,MAAM;QACV,MAAM,KAAK,CAAC,MAAM,EAAE,CAAA;QAEpB,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,IAAI,IAAI,CAAC,OAAO,IAAI,GAAG,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,EAAE;gBAClD,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAA;aAC9C;YACD,OAAO,IAAyB,CAAA;SACjC;IACH,CAAC;CACF"}
|
package/lib/runtime/php.js
CHANGED
package/lib/runtime/php.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"php.js","sourceRoot":"","sources":["../../src/runtime/php.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAE1C,MAAM,OAAO,GAAI,SAAQ,WAAW;IAClC,EAAE,GAAG,KAAK,CAAA;IACV,IAAI,GAAG,KAAK,CAAA;IACZ,WAAW,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"php.js","sourceRoot":"","sources":["../../src/runtime/php.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAE1C,MAAM,OAAO,GAAI,SAAQ,WAAW;IAClC,EAAE,GAAG,KAAK,CAAA;IACV,IAAI,GAAG,KAAK,CAAA;IACZ,WAAW,GAAG,CAAC,eAAe,CAAC,CAAA;CAChC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netlify/build-info",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.11.0",
|
|
4
4
|
"description": "Build info utility",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"engines": {
|
|
74
74
|
"node": "^14.16.0 || >=16.0.0"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "3087056a021a5c6dcf61505efaf322c18c454640"
|
|
77
77
|
}
|