@netlify/build-info 6.6.1 → 6.7.1
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/lib/browser/file-system.d.ts +4 -3
- package/lib/browser/file-system.js +5 -2
- package/lib/browser/file-system.js.map +1 -1
- package/lib/build-systems/bazel.d.ts +1 -2
- package/lib/build-systems/bazel.js +5 -2
- package/lib/build-systems/bazel.js.map +1 -1
- package/lib/build-systems/buck.d.ts +1 -2
- package/lib/build-systems/buck.js +5 -2
- package/lib/build-systems/buck.js.map +1 -1
- package/lib/build-systems/build-system.d.ts +22 -4
- package/lib/build-systems/build-system.js +16 -5
- package/lib/build-systems/build-system.js.map +1 -1
- package/lib/build-systems/gradle.d.ts +1 -2
- package/lib/build-systems/gradle.js +5 -2
- package/lib/build-systems/gradle.js.map +1 -1
- package/lib/build-systems/index.d.ts +10 -1
- package/lib/build-systems/index.js.map +1 -1
- package/lib/build-systems/moon.d.ts +1 -2
- package/lib/build-systems/moon.js +5 -5
- package/lib/build-systems/moon.js.map +1 -1
- package/lib/build-systems/nix.d.ts +1 -2
- package/lib/build-systems/nix.js +5 -2
- package/lib/build-systems/nix.js.map +1 -1
- package/lib/build-systems/nrwl.d.ts +5 -1
- package/lib/build-systems/nrwl.js +61 -0
- package/lib/build-systems/nrwl.js.map +1 -1
- package/lib/build-systems/pants.d.ts +1 -2
- package/lib/build-systems/pants.js +5 -2
- package/lib/build-systems/pants.js.map +1 -1
- package/lib/file-system.d.ts +9 -17
- package/lib/file-system.js +38 -64
- package/lib/file-system.js.map +1 -1
- package/lib/frameworks/angular.d.ts +24 -0
- package/lib/frameworks/angular.js +23 -0
- package/lib/frameworks/angular.js.map +1 -0
- package/lib/frameworks/assemble.d.ts +16 -0
- package/lib/frameworks/assemble.js +17 -0
- package/lib/frameworks/assemble.js.map +1 -0
- package/lib/frameworks/astro.d.ts +25 -0
- package/lib/frameworks/astro.js +24 -0
- package/lib/frameworks/astro.js.map +1 -0
- package/lib/frameworks/blitz.d.ts +23 -0
- package/lib/frameworks/blitz.js +22 -0
- package/lib/frameworks/blitz.js.map +1 -0
- package/lib/frameworks/brunch.d.ts +24 -0
- package/lib/frameworks/brunch.js +23 -0
- package/lib/frameworks/brunch.js.map +1 -0
- package/lib/frameworks/cecil.d.ts +23 -0
- package/lib/frameworks/cecil.js +22 -0
- package/lib/frameworks/cecil.js.map +1 -0
- package/lib/frameworks/docpad.d.ts +18 -0
- package/lib/frameworks/docpad.js +17 -0
- package/lib/frameworks/docpad.js.map +1 -0
- package/lib/frameworks/docusaurus.d.ts +30 -0
- package/lib/frameworks/docusaurus.js +45 -0
- package/lib/frameworks/docusaurus.js.map +1 -0
- package/lib/frameworks/eleventy.d.ts +24 -0
- package/lib/frameworks/eleventy.js +23 -0
- package/lib/frameworks/eleventy.js.map +1 -0
- package/lib/frameworks/ember.d.ts +24 -0
- package/lib/frameworks/ember.js +23 -0
- package/lib/frameworks/ember.js.map +1 -0
- package/lib/frameworks/expo.d.ts +24 -0
- package/lib/frameworks/expo.js +23 -0
- package/lib/frameworks/expo.js.map +1 -0
- package/lib/frameworks/framework.d.ts +187 -0
- package/lib/frameworks/framework.js +225 -0
- package/lib/frameworks/framework.js.map +1 -0
- package/lib/frameworks/gatsby.d.ts +32 -0
- package/lib/frameworks/gatsby.js +45 -0
- package/lib/frameworks/gatsby.js.map +1 -0
- package/lib/frameworks/gridsome.d.ts +24 -0
- package/lib/frameworks/gridsome.js +23 -0
- package/lib/frameworks/gridsome.js.map +1 -0
- package/lib/frameworks/grunt.d.ts +16 -0
- package/lib/frameworks/grunt.js +17 -0
- package/lib/frameworks/grunt.js.map +1 -0
- package/lib/frameworks/gulp.d.ts +16 -0
- package/lib/frameworks/gulp.js +17 -0
- package/lib/frameworks/gulp.js.map +1 -0
- package/lib/frameworks/harp.d.ts +23 -0
- package/lib/frameworks/harp.js +22 -0
- package/lib/frameworks/harp.js.map +1 -0
- package/lib/frameworks/hexo.d.ts +24 -0
- package/lib/frameworks/hexo.js +23 -0
- package/lib/frameworks/hexo.js.map +1 -0
- package/lib/frameworks/hugo.d.ts +23 -0
- package/lib/frameworks/hugo.js +22 -0
- package/lib/frameworks/hugo.js.map +1 -0
- package/lib/frameworks/hydrogen.d.ts +23 -0
- package/lib/frameworks/hydrogen.js +22 -0
- package/lib/frameworks/hydrogen.js.map +1 -0
- package/lib/frameworks/index.d.ts +49 -0
- package/lib/frameworks/index.js +97 -0
- package/lib/frameworks/index.js.map +1 -0
- package/lib/frameworks/jekyll.d.ts +23 -0
- package/lib/frameworks/jekyll.js +22 -0
- package/lib/frameworks/jekyll.js.map +1 -0
- package/lib/frameworks/metalsmith.d.ts +16 -0
- package/lib/frameworks/metalsmith.js +17 -0
- package/lib/frameworks/metalsmith.js.map +1 -0
- package/lib/frameworks/middleman.d.ts +23 -0
- package/lib/frameworks/middleman.js +22 -0
- package/lib/frameworks/middleman.js.map +1 -0
- package/lib/frameworks/next.d.ts +48 -0
- package/lib/frameworks/next.js +64 -0
- package/lib/frameworks/next.js.map +1 -0
- package/lib/frameworks/nuxt.d.ts +25 -0
- package/lib/frameworks/nuxt.js +41 -0
- package/lib/frameworks/nuxt.js.map +1 -0
- package/lib/frameworks/parcel.d.ts +23 -0
- package/lib/frameworks/parcel.js +22 -0
- package/lib/frameworks/parcel.js.map +1 -0
- package/lib/frameworks/phenomic.d.ts +23 -0
- package/lib/frameworks/phenomic.js +22 -0
- package/lib/frameworks/phenomic.js.map +1 -0
- package/lib/frameworks/quasar.d.ts +25 -0
- package/lib/frameworks/quasar.js +37 -0
- package/lib/frameworks/quasar.js.map +1 -0
- package/lib/frameworks/qwik.d.ts +19 -0
- package/lib/frameworks/qwik.js +18 -0
- package/lib/frameworks/qwik.js.map +1 -0
- package/lib/frameworks/react-static.d.ts +24 -0
- package/lib/frameworks/react-static.js +23 -0
- package/lib/frameworks/react-static.js.map +1 -0
- package/lib/frameworks/react.d.ts +28 -0
- package/lib/frameworks/react.js +24 -0
- package/lib/frameworks/react.js.map +1 -0
- package/lib/frameworks/redwoodjs.d.ts +25 -0
- package/lib/frameworks/redwoodjs.js +27 -0
- package/lib/frameworks/redwoodjs.js.map +1 -0
- package/lib/frameworks/remix.d.ts +20 -0
- package/lib/frameworks/remix.js +21 -0
- package/lib/frameworks/remix.js.map +1 -0
- package/lib/frameworks/roots.d.ts +23 -0
- package/lib/frameworks/roots.js +22 -0
- package/lib/frameworks/roots.js.map +1 -0
- package/lib/frameworks/sapper.d.ts +24 -0
- package/lib/frameworks/sapper.js +23 -0
- package/lib/frameworks/sapper.js.map +1 -0
- package/lib/frameworks/solid-start.d.ts +23 -0
- package/lib/frameworks/solid-start.js +22 -0
- package/lib/frameworks/solid-start.js.map +1 -0
- package/lib/frameworks/solid.d.ts +24 -0
- package/lib/frameworks/solid.js +23 -0
- package/lib/frameworks/solid.js.map +1 -0
- package/lib/frameworks/stencil.d.ts +28 -0
- package/lib/frameworks/stencil.js +27 -0
- package/lib/frameworks/stencil.js.map +1 -0
- package/lib/frameworks/svelte-kit.d.ts +24 -0
- package/lib/frameworks/svelte-kit.js +23 -0
- package/lib/frameworks/svelte-kit.js.map +1 -0
- package/lib/frameworks/svelte.d.ts +25 -0
- package/lib/frameworks/svelte.js +24 -0
- package/lib/frameworks/svelte.js.map +1 -0
- package/lib/frameworks/vite.d.ts +24 -0
- package/lib/frameworks/vite.js +23 -0
- package/lib/frameworks/vite.js.map +1 -0
- package/lib/frameworks/vue.d.ts +23 -0
- package/lib/frameworks/vue.js +22 -0
- package/lib/frameworks/vue.js.map +1 -0
- package/lib/frameworks/vuepress.d.ts +23 -0
- package/lib/frameworks/vuepress.js +22 -0
- package/lib/frameworks/vuepress.js.map +1 -0
- package/lib/frameworks/wintersmith.d.ts +24 -0
- package/lib/frameworks/wintersmith.js +23 -0
- package/lib/frameworks/wintersmith.js.map +1 -0
- package/lib/frameworks/wmr.d.ts +23 -0
- package/lib/frameworks/wmr.js +22 -0
- package/lib/frameworks/wmr.js.map +1 -0
- package/lib/frameworks/zola.d.ts +18 -0
- package/lib/frameworks/zola.js +17 -0
- package/lib/frameworks/zola.js.map +1 -0
- package/lib/get-dev-commands.d.ts +2 -0
- package/lib/get-dev-commands.js +29 -0
- package/lib/get-dev-commands.js.map +1 -0
- package/lib/get-framework.d.ts +4 -0
- package/lib/get-framework.js +16 -0
- package/lib/get-framework.js.map +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/node/bin.js +4 -1
- package/lib/node/bin.js.map +1 -1
- package/lib/node/file-system.d.ts +2 -1
- package/lib/node/file-system.js +3 -5
- package/lib/node/file-system.js.map +1 -1
- package/lib/node/get-build-info.d.ts +3 -3
- package/lib/node/get-build-info.js +16 -18
- package/lib/node/get-build-info.js.map +1 -1
- package/lib/node/index.d.ts +2 -0
- package/lib/node/index.js +3 -0
- package/lib/node/index.js.map +1 -0
- package/lib/package-managers/detect-package-manager.d.ts +6 -2
- package/lib/package-managers/detect-package-manager.js +9 -2
- package/lib/package-managers/detect-package-manager.js.map +1 -1
- package/lib/project.d.ts +27 -6
- package/lib/project.js +161 -10
- package/lib/project.js.map +1 -1
- package/lib/settings/get-toml-settings.d.ts +15 -0
- package/lib/settings/get-toml-settings.js +34 -0
- package/lib/settings/get-toml-settings.js.map +1 -0
- package/lib/workspaces/detect-workspace.d.ts +1 -1
- package/lib/workspaces/detect-workspace.js +14 -5
- package/lib/workspaces/detect-workspace.js.map +1 -1
- package/lib/workspaces/get-workspace-packages.d.ts +17 -0
- package/lib/workspaces/get-workspace-packages.js +19 -5
- package/lib/workspaces/get-workspace-packages.js.map +1 -1
- package/package.json +19 -11
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { gte } from 'semver';
|
|
2
|
+
import { BaseFramework, Category } from './framework.js';
|
|
3
|
+
export class Next extends BaseFramework {
|
|
4
|
+
id = 'next';
|
|
5
|
+
name = 'Next.js';
|
|
6
|
+
category = Category.SSG;
|
|
7
|
+
npmDependencies = ['next'];
|
|
8
|
+
excludedNpmDependencies = ['@nrwl/next'];
|
|
9
|
+
configFiles = ['next.config.js', 'next.config.mjs'];
|
|
10
|
+
dev = {
|
|
11
|
+
command: 'next',
|
|
12
|
+
port: 3000,
|
|
13
|
+
pollingStrategies: [{ name: 'TCP' }],
|
|
14
|
+
};
|
|
15
|
+
build = {
|
|
16
|
+
command: 'next build',
|
|
17
|
+
directory: '.next',
|
|
18
|
+
};
|
|
19
|
+
logo = {
|
|
20
|
+
default: '/logos/nextjs/light.svg',
|
|
21
|
+
light: '/logos/nextjs/light.svg',
|
|
22
|
+
dark: '/logos/nextjs/dark.svg',
|
|
23
|
+
};
|
|
24
|
+
async detect() {
|
|
25
|
+
await super.detect();
|
|
26
|
+
if (this.detected) {
|
|
27
|
+
const nodeVersion = await this.project.getCurrentNodeVersion();
|
|
28
|
+
if (nodeVersion && gte(nodeVersion, '10.13.0')) {
|
|
29
|
+
this.plugins.push('@netlify/plugin-nextjs');
|
|
30
|
+
}
|
|
31
|
+
return this;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* @deprecated to keep the same behavior as previously and do not break anything.
|
|
37
|
+
* Remove once the build system detection is fully combined with the framework detection.
|
|
38
|
+
*/
|
|
39
|
+
export class NextNx extends BaseFramework {
|
|
40
|
+
id = 'next-nx';
|
|
41
|
+
name = 'Next.js with Nx';
|
|
42
|
+
category = Category.SSG;
|
|
43
|
+
npmDependencies = ['@nrwl/next'];
|
|
44
|
+
dev = {
|
|
45
|
+
command: 'nx serve',
|
|
46
|
+
port: 4200,
|
|
47
|
+
pollingStrategies: [{ name: 'TCP' }, { name: 'HTTP' }],
|
|
48
|
+
};
|
|
49
|
+
build = {
|
|
50
|
+
command: 'nx build',
|
|
51
|
+
directory: 'dist/apps/<app name>/.next',
|
|
52
|
+
};
|
|
53
|
+
async detect() {
|
|
54
|
+
await super.detect();
|
|
55
|
+
if (this.detected) {
|
|
56
|
+
const nodeVersion = await this.project.getCurrentNodeVersion();
|
|
57
|
+
if (nodeVersion && gte(nodeVersion, '10.13.0')) {
|
|
58
|
+
this.plugins.push('@netlify/plugin-nextjs');
|
|
59
|
+
}
|
|
60
|
+
return this;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=next.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"next.js","sourceRoot":"","sources":["../../src/frameworks/next.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAA;AAE5B,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAgC,MAAM,gBAAgB,CAAA;AAEtF,MAAM,OAAO,IAAK,SAAQ,aAAa;IAC5B,EAAE,GAAG,MAAM,CAAA;IACpB,IAAI,GAAG,SAAS,CAAA;IAChB,QAAQ,GAAG,QAAQ,CAAC,GAAG,CAAA;IACvB,eAAe,GAAG,CAAC,MAAM,CAAC,CAAA;IAC1B,uBAAuB,GAAG,CAAC,YAAY,CAAC,CAAA;IACxC,WAAW,GAAG,CAAC,gBAAgB,EAAE,iBAAiB,CAAC,CAAA;IAEnD,GAAG,GAAG;QACJ,OAAO,EAAE,MAAM;QACf,IAAI,EAAE,IAAI;QACV,iBAAiB,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;KACrC,CAAA;IAED,KAAK,GAAG;QACN,OAAO,EAAE,YAAY;QACrB,SAAS,EAAE,OAAO;KACnB,CAAA;IAED,IAAI,GAAG;QACL,OAAO,EAAE,yBAAyB;QAClC,KAAK,EAAE,yBAAyB;QAChC,IAAI,EAAE,wBAAwB;KAC/B,CAAA;IAED,KAAK,CAAC,MAAM;QACV,MAAM,KAAK,CAAC,MAAM,EAAE,CAAA;QAEpB,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,qBAAqB,EAAE,CAAA;YAC9D,IAAI,WAAW,IAAI,GAAG,CAAC,WAAW,EAAE,SAAS,CAAC,EAAE;gBAC9C,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAA;aAC5C;YACD,OAAO,IAAyB,CAAA;SACjC;IACH,CAAC;CACF;AAED;;;GAGG;AACH,MAAM,OAAO,MAAO,SAAQ,aAAa;IAC9B,EAAE,GAAG,SAAS,CAAA;IACvB,IAAI,GAAG,iBAAiB,CAAA;IACxB,QAAQ,GAAG,QAAQ,CAAC,GAAG,CAAA;IACvB,eAAe,GAAG,CAAC,YAAY,CAAC,CAAA;IAEhC,GAAG,GAAG;QACJ,OAAO,EAAE,UAAU;QACnB,IAAI,EAAE,IAAI;QACV,iBAAiB,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;KACvD,CAAA;IAED,KAAK,GAAG;QACN,OAAO,EAAE,UAAU;QACnB,SAAS,EAAE,4BAA4B;KACxC,CAAA;IAED,KAAK,CAAC,MAAM;QACV,MAAM,KAAK,CAAC,MAAM,EAAE,CAAA;QAEpB,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,qBAAqB,EAAE,CAAA;YAC9D,IAAI,WAAW,IAAI,GAAG,CAAC,WAAW,EAAE,SAAS,CAAC,EAAE;gBAC9C,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAA;aAC5C;YACD,OAAO,IAAyB,CAAA;SACjC;IACH,CAAC;CACF"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { BaseFramework, Category, DetectedFramework, Detection, Framework } from './framework.js';
|
|
2
|
+
export declare class Nuxt extends BaseFramework implements Framework {
|
|
3
|
+
readonly id = "nuxt";
|
|
4
|
+
name: string;
|
|
5
|
+
npmDependencies: string[];
|
|
6
|
+
category: Category;
|
|
7
|
+
dev: {
|
|
8
|
+
command: string;
|
|
9
|
+
port: number;
|
|
10
|
+
pollingStrategies: {
|
|
11
|
+
name: string;
|
|
12
|
+
}[];
|
|
13
|
+
};
|
|
14
|
+
build: {
|
|
15
|
+
command: string;
|
|
16
|
+
directory: string;
|
|
17
|
+
};
|
|
18
|
+
logo: {
|
|
19
|
+
default: string;
|
|
20
|
+
light: string;
|
|
21
|
+
dark: string;
|
|
22
|
+
};
|
|
23
|
+
detect(): Promise<DetectedFramework | undefined>;
|
|
24
|
+
isV3(detected: Detection): boolean;
|
|
25
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { BaseFramework, Category } from './framework.js';
|
|
2
|
+
export class Nuxt extends BaseFramework {
|
|
3
|
+
id = 'nuxt';
|
|
4
|
+
name = 'Nuxt';
|
|
5
|
+
npmDependencies = ['nuxt', 'nuxt-edge', 'nuxt3'];
|
|
6
|
+
category = Category.SSG;
|
|
7
|
+
dev = {
|
|
8
|
+
command: 'nuxt',
|
|
9
|
+
port: 3000,
|
|
10
|
+
pollingStrategies: [{ name: 'TCP' }, { name: 'HTTP' }],
|
|
11
|
+
};
|
|
12
|
+
build = {
|
|
13
|
+
command: 'nuxt generate',
|
|
14
|
+
directory: 'dist',
|
|
15
|
+
};
|
|
16
|
+
logo = {
|
|
17
|
+
default: '/logos/nuxt/default.svg',
|
|
18
|
+
light: '/logos/nuxt/light.svg',
|
|
19
|
+
dark: '/logos/nuxt/dark.svg',
|
|
20
|
+
};
|
|
21
|
+
async detect() {
|
|
22
|
+
await super.detect();
|
|
23
|
+
if (this.detected) {
|
|
24
|
+
if (this.isV3(this.detected)) {
|
|
25
|
+
this.name = 'Nuxt 3';
|
|
26
|
+
const cmd = this.project.packageManager?.runCommand || 'npm run';
|
|
27
|
+
this.build.command = `${cmd} build`;
|
|
28
|
+
this.dev.command = `${cmd} dev`;
|
|
29
|
+
this.env = {
|
|
30
|
+
AWS_LAMBDA_JS_RUNTIME: 'nodejs14.x',
|
|
31
|
+
NODE_VERSION: '14',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
isV3(detected) {
|
|
38
|
+
return detected.package?.name === 'nuxt3' || detected.package?.version?.major === 3;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=nuxt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nuxt.js","sourceRoot":"","sources":["../../src/frameworks/nuxt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,QAAQ,EAA2C,MAAM,gBAAgB,CAAA;AAEjG,MAAM,OAAO,IAAK,SAAQ,aAAa;IAC5B,EAAE,GAAG,MAAM,CAAA;IACpB,IAAI,GAAG,MAAM,CAAA;IACb,eAAe,GAAG,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,CAAC,CAAA;IAChD,QAAQ,GAAG,QAAQ,CAAC,GAAG,CAAA;IAEvB,GAAG,GAAG;QACJ,OAAO,EAAE,MAAM;QACf,IAAI,EAAE,IAAI;QACV,iBAAiB,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;KACvD,CAAA;IAED,KAAK,GAAG;QACN,OAAO,EAAE,eAAe;QACxB,SAAS,EAAE,MAAM;KAClB,CAAA;IAED,IAAI,GAAG;QACL,OAAO,EAAE,yBAAyB;QAClC,KAAK,EAAE,uBAAuB;QAC9B,IAAI,EAAE,sBAAsB;KAC7B,CAAA;IAED,KAAK,CAAC,MAAM;QACV,MAAM,KAAK,CAAC,MAAM,EAAE,CAAA;QAEpB,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;gBAC5B,IAAI,CAAC,IAAI,GAAG,QAAQ,CAAA;gBAEpB,MAAM,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,UAAU,IAAI,SAAS,CAAA;gBAChE,IAAI,CAAC,KAAK,CAAC,OAAO,GAAG,GAAG,GAAG,QAAQ,CAAA;gBACnC,IAAI,CAAC,GAAG,CAAC,OAAO,GAAG,GAAG,GAAG,MAAM,CAAA;gBAE/B,IAAI,CAAC,GAAG,GAAG;oBACT,qBAAqB,EAAE,YAAY;oBACnC,YAAY,EAAE,IAAI;iBACnB,CAAA;aACF;YACD,OAAO,IAAyB,CAAA;SACjC;IACH,CAAC;IAED,IAAI,CAAC,QAAmB;QACtB,OAAO,QAAQ,CAAC,OAAO,EAAE,IAAI,KAAK,OAAO,IAAI,QAAQ,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,KAAK,CAAC,CAAA;IACrF,CAAC;CACF"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BaseFramework, Category, Framework } from './framework.js';
|
|
2
|
+
export declare class Parcel extends BaseFramework implements Framework {
|
|
3
|
+
readonly id = "parcel";
|
|
4
|
+
name: string;
|
|
5
|
+
npmDependencies: string[];
|
|
6
|
+
category: Category;
|
|
7
|
+
dev: {
|
|
8
|
+
command: string;
|
|
9
|
+
port: number;
|
|
10
|
+
pollingStrategies: {
|
|
11
|
+
name: string;
|
|
12
|
+
}[];
|
|
13
|
+
};
|
|
14
|
+
build: {
|
|
15
|
+
command: string;
|
|
16
|
+
directory: string;
|
|
17
|
+
};
|
|
18
|
+
logo: {
|
|
19
|
+
default: string;
|
|
20
|
+
light: string;
|
|
21
|
+
dark: string;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BaseFramework, Category } from './framework.js';
|
|
2
|
+
export class Parcel extends BaseFramework {
|
|
3
|
+
id = 'parcel';
|
|
4
|
+
name = 'Parcel';
|
|
5
|
+
npmDependencies = ['parcel-bundler', 'parcel'];
|
|
6
|
+
category = Category.BuildTool;
|
|
7
|
+
dev = {
|
|
8
|
+
command: 'parcel',
|
|
9
|
+
port: 1234,
|
|
10
|
+
pollingStrategies: [{ name: 'TCP' }, { name: 'HTTP' }],
|
|
11
|
+
};
|
|
12
|
+
build = {
|
|
13
|
+
command: 'parcel build',
|
|
14
|
+
directory: 'dist',
|
|
15
|
+
};
|
|
16
|
+
logo = {
|
|
17
|
+
default: '/logos/parcel/default.svg',
|
|
18
|
+
light: '/logos/parcel/default.svg',
|
|
19
|
+
dark: '/logos/parcel/default.svg',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=parcel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parcel.js","sourceRoot":"","sources":["../../src/frameworks/parcel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAa,MAAM,gBAAgB,CAAA;AAEnE,MAAM,OAAO,MAAO,SAAQ,aAAa;IAC9B,EAAE,GAAG,QAAQ,CAAA;IACtB,IAAI,GAAG,QAAQ,CAAA;IACf,eAAe,GAAG,CAAC,gBAAgB,EAAE,QAAQ,CAAC,CAAA;IAC9C,QAAQ,GAAG,QAAQ,CAAC,SAAS,CAAA;IAE7B,GAAG,GAAG;QACJ,OAAO,EAAE,QAAQ;QACjB,IAAI,EAAE,IAAI;QACV,iBAAiB,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;KACvD,CAAA;IAED,KAAK,GAAG;QACN,OAAO,EAAE,cAAc;QACvB,SAAS,EAAE,MAAM;KAClB,CAAA;IAED,IAAI,GAAG;QACL,OAAO,EAAE,2BAA2B;QACpC,KAAK,EAAE,2BAA2B;QAClC,IAAI,EAAE,2BAA2B;KAClC,CAAA;CACF"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BaseFramework, Category, Framework } from './framework.js';
|
|
2
|
+
export declare class Phenomic extends BaseFramework implements Framework {
|
|
3
|
+
readonly id = "phenomic";
|
|
4
|
+
name: string;
|
|
5
|
+
npmDependencies: string[];
|
|
6
|
+
category: Category;
|
|
7
|
+
dev: {
|
|
8
|
+
command: string;
|
|
9
|
+
port: number;
|
|
10
|
+
pollingStrategies: {
|
|
11
|
+
name: string;
|
|
12
|
+
}[];
|
|
13
|
+
};
|
|
14
|
+
build: {
|
|
15
|
+
command: string;
|
|
16
|
+
directory: string;
|
|
17
|
+
};
|
|
18
|
+
logo: {
|
|
19
|
+
default: string;
|
|
20
|
+
light: string;
|
|
21
|
+
dark: string;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BaseFramework, Category } from './framework.js';
|
|
2
|
+
export class Phenomic extends BaseFramework {
|
|
3
|
+
id = 'phenomic';
|
|
4
|
+
name = 'Phenomic';
|
|
5
|
+
npmDependencies = ['@phenomic/core'];
|
|
6
|
+
category = Category.SSG;
|
|
7
|
+
dev = {
|
|
8
|
+
command: 'phenomic start',
|
|
9
|
+
port: 3333,
|
|
10
|
+
pollingStrategies: [{ name: 'TCP' }, { name: 'HTTP' }],
|
|
11
|
+
};
|
|
12
|
+
build = {
|
|
13
|
+
command: 'phenomic build',
|
|
14
|
+
directory: 'public',
|
|
15
|
+
};
|
|
16
|
+
logo = {
|
|
17
|
+
default: '/logos/phenomic/default.svg',
|
|
18
|
+
light: '/logos/phenomic/default.svg',
|
|
19
|
+
dark: '/logos/phenomic/default.svg',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=phenomic.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"phenomic.js","sourceRoot":"","sources":["../../src/frameworks/phenomic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAa,MAAM,gBAAgB,CAAA;AAEnE,MAAM,OAAO,QAAS,SAAQ,aAAa;IAChC,EAAE,GAAG,UAAU,CAAA;IACxB,IAAI,GAAG,UAAU,CAAA;IACjB,eAAe,GAAG,CAAC,gBAAgB,CAAC,CAAA;IACpC,QAAQ,GAAG,QAAQ,CAAC,GAAG,CAAA;IAEvB,GAAG,GAAG;QACJ,OAAO,EAAE,gBAAgB;QACzB,IAAI,EAAE,IAAI;QACV,iBAAiB,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;KACvD,CAAA;IAED,KAAK,GAAG;QACN,OAAO,EAAE,gBAAgB;QACzB,SAAS,EAAE,QAAQ;KACpB,CAAA;IAED,IAAI,GAAG;QACL,OAAO,EAAE,6BAA6B;QACtC,KAAK,EAAE,6BAA6B;QACpC,IAAI,EAAE,6BAA6B;KACpC,CAAA;CACF"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { BaseFramework, Category, DetectedFramework, Detection, Framework } from './framework.js';
|
|
2
|
+
export declare class Quasar extends BaseFramework implements Framework {
|
|
3
|
+
readonly id = "quasar";
|
|
4
|
+
name: string;
|
|
5
|
+
npmDependencies: string[];
|
|
6
|
+
category: Category;
|
|
7
|
+
dev: {
|
|
8
|
+
command: string;
|
|
9
|
+
port: number;
|
|
10
|
+
pollingStrategies: {
|
|
11
|
+
name: string;
|
|
12
|
+
}[];
|
|
13
|
+
};
|
|
14
|
+
build: {
|
|
15
|
+
command: string;
|
|
16
|
+
directory: string;
|
|
17
|
+
};
|
|
18
|
+
logo: {
|
|
19
|
+
default: string;
|
|
20
|
+
light: string;
|
|
21
|
+
dark: string;
|
|
22
|
+
};
|
|
23
|
+
detect(): Promise<DetectedFramework | undefined>;
|
|
24
|
+
isV017(detected: Detection): boolean;
|
|
25
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { BaseFramework, Category } from './framework.js';
|
|
2
|
+
export class Quasar extends BaseFramework {
|
|
3
|
+
id = 'quasar';
|
|
4
|
+
name = 'Quasar';
|
|
5
|
+
npmDependencies = ['@quasar/app', 'quasar-cli'];
|
|
6
|
+
category = Category.FrontendFramework;
|
|
7
|
+
dev = {
|
|
8
|
+
command: 'quasar dev -p 8081',
|
|
9
|
+
port: 8081,
|
|
10
|
+
pollingStrategies: [{ name: 'TCP' }, { name: 'HTTP' }],
|
|
11
|
+
};
|
|
12
|
+
build = {
|
|
13
|
+
command: 'quasar build',
|
|
14
|
+
directory: 'dist/spa',
|
|
15
|
+
};
|
|
16
|
+
logo = {
|
|
17
|
+
default: '/logos/quasar/default.svg',
|
|
18
|
+
light: '/logos/quasar/default.svg',
|
|
19
|
+
dark: '/logos/quasar/default.svg',
|
|
20
|
+
};
|
|
21
|
+
async detect() {
|
|
22
|
+
await super.detect();
|
|
23
|
+
if (this.detected) {
|
|
24
|
+
if (this.isV017(this.detected)) {
|
|
25
|
+
this.name = 'Quasar v0.17';
|
|
26
|
+
this.build.directory = '.quasar';
|
|
27
|
+
this.dev.command = 'quasar dev -p 8080';
|
|
28
|
+
this.dev.port = 8080;
|
|
29
|
+
}
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
isV017(detected) {
|
|
34
|
+
return detected.package?.name === 'quasar-cli';
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=quasar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quasar.js","sourceRoot":"","sources":["../../src/frameworks/quasar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,QAAQ,EAA2C,MAAM,gBAAgB,CAAA;AAEjG,MAAM,OAAO,MAAO,SAAQ,aAAa;IAC9B,EAAE,GAAG,QAAQ,CAAA;IACtB,IAAI,GAAG,QAAQ,CAAA;IACf,eAAe,GAAG,CAAC,aAAa,EAAE,YAAY,CAAC,CAAA;IAC/C,QAAQ,GAAG,QAAQ,CAAC,iBAAiB,CAAA;IAErC,GAAG,GAAG;QACJ,OAAO,EAAE,oBAAoB;QAC7B,IAAI,EAAE,IAAI;QACV,iBAAiB,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;KACvD,CAAA;IAED,KAAK,GAAG;QACN,OAAO,EAAE,cAAc;QACvB,SAAS,EAAE,UAAU;KACtB,CAAA;IAED,IAAI,GAAG;QACL,OAAO,EAAE,2BAA2B;QACpC,KAAK,EAAE,2BAA2B;QAClC,IAAI,EAAE,2BAA2B;KAClC,CAAA;IAED,KAAK,CAAC,MAAM;QACV,MAAM,KAAK,CAAC,MAAM,EAAE,CAAA;QAEpB,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;gBAC9B,IAAI,CAAC,IAAI,GAAG,cAAc,CAAA;gBAC1B,IAAI,CAAC,KAAK,CAAC,SAAS,GAAG,SAAS,CAAA;gBAChC,IAAI,CAAC,GAAG,CAAC,OAAO,GAAG,oBAAoB,CAAA;gBACvC,IAAI,CAAC,GAAG,CAAC,IAAI,GAAG,IAAI,CAAA;aACrB;YACD,OAAO,IAAyB,CAAA;SACjC;IACH,CAAC;IAED,MAAM,CAAC,QAAmB;QACxB,OAAO,QAAQ,CAAC,OAAO,EAAE,IAAI,KAAK,YAAY,CAAA;IAChD,CAAC;CACF"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BaseFramework, Category, Framework } from './framework.js';
|
|
2
|
+
export declare class Qwik extends BaseFramework implements Framework {
|
|
3
|
+
readonly id = "qwik";
|
|
4
|
+
name: string;
|
|
5
|
+
npmDependencies: string[];
|
|
6
|
+
category: Category;
|
|
7
|
+
dev: {
|
|
8
|
+
command: string;
|
|
9
|
+
port: number;
|
|
10
|
+
pollingStrategies: {
|
|
11
|
+
name: string;
|
|
12
|
+
}[];
|
|
13
|
+
};
|
|
14
|
+
logo: {
|
|
15
|
+
default: string;
|
|
16
|
+
light: string;
|
|
17
|
+
dark: string;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BaseFramework, Category } from './framework.js';
|
|
2
|
+
export class Qwik extends BaseFramework {
|
|
3
|
+
id = 'qwik';
|
|
4
|
+
name = 'Qwik';
|
|
5
|
+
npmDependencies = ['@builder.io/qwik'];
|
|
6
|
+
category = Category.SSG;
|
|
7
|
+
dev = {
|
|
8
|
+
command: 'vite',
|
|
9
|
+
port: 5173,
|
|
10
|
+
pollingStrategies: [{ name: 'TCP' }],
|
|
11
|
+
};
|
|
12
|
+
logo = {
|
|
13
|
+
default: '/logos/qwik/default.svg',
|
|
14
|
+
light: '/logos/qwik/default.svg',
|
|
15
|
+
dark: '/logos/qwik/default.svg',
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=qwik.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qwik.js","sourceRoot":"","sources":["../../src/frameworks/qwik.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAa,MAAM,gBAAgB,CAAA;AAEnE,MAAM,OAAO,IAAK,SAAQ,aAAa;IAC5B,EAAE,GAAG,MAAM,CAAA;IACpB,IAAI,GAAG,MAAM,CAAA;IACb,eAAe,GAAG,CAAC,kBAAkB,CAAC,CAAA;IACtC,QAAQ,GAAG,QAAQ,CAAC,GAAG,CAAA;IAEvB,GAAG,GAAG;QACJ,OAAO,EAAE,MAAM;QACf,IAAI,EAAE,IAAI;QACV,iBAAiB,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;KACrC,CAAA;IAED,IAAI,GAAG;QACL,OAAO,EAAE,yBAAyB;QAClC,KAAK,EAAE,yBAAyB;QAChC,IAAI,EAAE,yBAAyB;KAChC,CAAA;CACF"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { BaseFramework, Category, Framework } from './framework.js';
|
|
2
|
+
export declare class ReactStatic extends BaseFramework implements Framework {
|
|
3
|
+
readonly id = "react-static";
|
|
4
|
+
name: string;
|
|
5
|
+
npmDependencies: string[];
|
|
6
|
+
configFiles: string[];
|
|
7
|
+
category: Category;
|
|
8
|
+
dev: {
|
|
9
|
+
command: string;
|
|
10
|
+
port: number;
|
|
11
|
+
pollingStrategies: {
|
|
12
|
+
name: string;
|
|
13
|
+
}[];
|
|
14
|
+
};
|
|
15
|
+
build: {
|
|
16
|
+
command: string;
|
|
17
|
+
directory: string;
|
|
18
|
+
};
|
|
19
|
+
logo: {
|
|
20
|
+
default: string;
|
|
21
|
+
light: string;
|
|
22
|
+
dark: string;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BaseFramework, Category } from './framework.js';
|
|
2
|
+
export class ReactStatic extends BaseFramework {
|
|
3
|
+
id = 'react-static';
|
|
4
|
+
name = 'React Static';
|
|
5
|
+
npmDependencies = ['react-static'];
|
|
6
|
+
configFiles = ['static.config.js'];
|
|
7
|
+
category = Category.SSG;
|
|
8
|
+
dev = {
|
|
9
|
+
command: 'react-static start',
|
|
10
|
+
port: 3000,
|
|
11
|
+
pollingStrategies: [{ name: 'TCP' }, { name: 'HTTP' }],
|
|
12
|
+
};
|
|
13
|
+
build = {
|
|
14
|
+
command: 'react-static build',
|
|
15
|
+
directory: 'dist',
|
|
16
|
+
};
|
|
17
|
+
logo = {
|
|
18
|
+
default: '/logos/react-static/default.png',
|
|
19
|
+
light: '/logos/react-static/default.png',
|
|
20
|
+
dark: '/logos/react-static/default.png',
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=react-static.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-static.js","sourceRoot":"","sources":["../../src/frameworks/react-static.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAa,MAAM,gBAAgB,CAAA;AAEnE,MAAM,OAAO,WAAY,SAAQ,aAAa;IACnC,EAAE,GAAG,cAAc,CAAA;IAC5B,IAAI,GAAG,cAAc,CAAA;IACrB,eAAe,GAAG,CAAC,cAAc,CAAC,CAAA;IAClC,WAAW,GAAG,CAAC,kBAAkB,CAAC,CAAA;IAClC,QAAQ,GAAG,QAAQ,CAAC,GAAG,CAAA;IAEvB,GAAG,GAAG;QACJ,OAAO,EAAE,oBAAoB;QAC7B,IAAI,EAAE,IAAI;QACV,iBAAiB,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;KACvD,CAAA;IAED,KAAK,GAAG;QACN,OAAO,EAAE,oBAAoB;QAC7B,SAAS,EAAE,MAAM;KAClB,CAAA;IAED,IAAI,GAAG;QACL,OAAO,EAAE,iCAAiC;QAC1C,KAAK,EAAE,iCAAiC;QACxC,IAAI,EAAE,iCAAiC;KACxC,CAAA;CACF"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { BaseFramework, Category, Framework } from './framework.js';
|
|
2
|
+
export declare class CreateReactApp extends BaseFramework implements Framework {
|
|
3
|
+
readonly id = "create-react-app";
|
|
4
|
+
name: string;
|
|
5
|
+
npmDependencies: string[];
|
|
6
|
+
category: Category;
|
|
7
|
+
staticAssetsDirectory: string;
|
|
8
|
+
dev: {
|
|
9
|
+
command: string;
|
|
10
|
+
port: number;
|
|
11
|
+
pollingStrategies: {
|
|
12
|
+
name: string;
|
|
13
|
+
}[];
|
|
14
|
+
};
|
|
15
|
+
build: {
|
|
16
|
+
command: string;
|
|
17
|
+
directory: string;
|
|
18
|
+
};
|
|
19
|
+
logo: {
|
|
20
|
+
default: string;
|
|
21
|
+
light: string;
|
|
22
|
+
dark: string;
|
|
23
|
+
};
|
|
24
|
+
env: {
|
|
25
|
+
BROWSER: string;
|
|
26
|
+
PORT: string;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { BaseFramework, Category } from './framework.js';
|
|
2
|
+
export class CreateReactApp extends BaseFramework {
|
|
3
|
+
id = 'create-react-app';
|
|
4
|
+
name = 'Create React App';
|
|
5
|
+
npmDependencies = ['react-scripts'];
|
|
6
|
+
category = Category.FrontendFramework;
|
|
7
|
+
staticAssetsDirectory = 'public';
|
|
8
|
+
dev = {
|
|
9
|
+
command: 'react-scripts start',
|
|
10
|
+
port: 3000,
|
|
11
|
+
pollingStrategies: [{ name: 'TCP' }, { name: 'HTTP' }],
|
|
12
|
+
};
|
|
13
|
+
build = {
|
|
14
|
+
command: 'react-scripts build',
|
|
15
|
+
directory: 'build',
|
|
16
|
+
};
|
|
17
|
+
logo = {
|
|
18
|
+
default: '/logos/create-react-app/default.svg',
|
|
19
|
+
light: '/logos/create-react-app/default.svg',
|
|
20
|
+
dark: '/logos/create-react-app/default.svg',
|
|
21
|
+
};
|
|
22
|
+
env = { BROWSER: 'none', PORT: '3000' };
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=react.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react.js","sourceRoot":"","sources":["../../src/frameworks/react.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAa,MAAM,gBAAgB,CAAA;AAEnE,MAAM,OAAO,cAAe,SAAQ,aAAa;IACtC,EAAE,GAAG,kBAAkB,CAAA;IAChC,IAAI,GAAG,kBAAkB,CAAA;IACzB,eAAe,GAAG,CAAC,eAAe,CAAC,CAAA;IACnC,QAAQ,GAAG,QAAQ,CAAC,iBAAiB,CAAA;IACrC,qBAAqB,GAAG,QAAQ,CAAA;IAEhC,GAAG,GAAG;QACJ,OAAO,EAAE,qBAAqB;QAC9B,IAAI,EAAE,IAAI;QACV,iBAAiB,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;KACvD,CAAA;IAED,KAAK,GAAG;QACN,OAAO,EAAE,qBAAqB;QAC9B,SAAS,EAAE,OAAO;KACnB,CAAA;IAED,IAAI,GAAG;QACL,OAAO,EAAE,qCAAqC;QAC9C,KAAK,EAAE,qCAAqC;QAC5C,IAAI,EAAE,qCAAqC;KAC5C,CAAA;IAED,GAAG,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,CAAA;CACxC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { BaseFramework, Category, Framework } from './framework.js';
|
|
2
|
+
export declare class RedwoodJS extends BaseFramework implements Framework {
|
|
3
|
+
readonly id = "redwoodjs";
|
|
4
|
+
name: string;
|
|
5
|
+
npmDependencies: string[];
|
|
6
|
+
configFiles: string[];
|
|
7
|
+
category: Category;
|
|
8
|
+
staticAssetsDirectory: string;
|
|
9
|
+
dev: {
|
|
10
|
+
command: string;
|
|
11
|
+
port: number;
|
|
12
|
+
pollingStrategies: {
|
|
13
|
+
name: string;
|
|
14
|
+
}[];
|
|
15
|
+
};
|
|
16
|
+
build: {
|
|
17
|
+
command: string;
|
|
18
|
+
directory: string;
|
|
19
|
+
};
|
|
20
|
+
logo: {
|
|
21
|
+
default: string;
|
|
22
|
+
light: string;
|
|
23
|
+
dark: string;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { BaseFramework, Category } from './framework.js';
|
|
2
|
+
export class RedwoodJS extends BaseFramework {
|
|
3
|
+
id = 'redwoodjs';
|
|
4
|
+
name = 'RedwoodJS';
|
|
5
|
+
npmDependencies = ['@redwoodjs/core'];
|
|
6
|
+
configFiles = ['redwood.toml'];
|
|
7
|
+
category = Category.SSG;
|
|
8
|
+
staticAssetsDirectory = 'public';
|
|
9
|
+
dev = {
|
|
10
|
+
// redwood only works with yarn
|
|
11
|
+
// https://redwoodjs.com/docs/tutorial/chapter1/prerequisites#nodejs-and-yarn-versions
|
|
12
|
+
command: 'yarn rw dev',
|
|
13
|
+
port: 8910,
|
|
14
|
+
pollingStrategies: [{ name: 'TCP' }],
|
|
15
|
+
};
|
|
16
|
+
build = {
|
|
17
|
+
// explicitly not invoked with yarn: https://github.com/netlify/framework-info/commit/b3cd21d1e60d91facd397068f35b850b80d1ef13
|
|
18
|
+
command: 'rw deploy netlify',
|
|
19
|
+
directory: 'web/dist',
|
|
20
|
+
};
|
|
21
|
+
logo = {
|
|
22
|
+
default: '/logos/redwoodjs/default.svg',
|
|
23
|
+
light: '/logos/redwoodjs/default.svg',
|
|
24
|
+
dark: '/logos/redwoodjs/default.svg',
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=redwoodjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"redwoodjs.js","sourceRoot":"","sources":["../../src/frameworks/redwoodjs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAa,MAAM,gBAAgB,CAAA;AAEnE,MAAM,OAAO,SAAU,SAAQ,aAAa;IACjC,EAAE,GAAG,WAAW,CAAA;IACzB,IAAI,GAAG,WAAW,CAAA;IAClB,eAAe,GAAG,CAAC,iBAAiB,CAAC,CAAA;IACrC,WAAW,GAAG,CAAC,cAAc,CAAC,CAAA;IAC9B,QAAQ,GAAG,QAAQ,CAAC,GAAG,CAAA;IACvB,qBAAqB,GAAG,QAAQ,CAAA;IAEhC,GAAG,GAAG;QACJ,+BAA+B;QAC/B,sFAAsF;QACtF,OAAO,EAAE,aAAa;QACtB,IAAI,EAAE,IAAI;QACV,iBAAiB,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;KACrC,CAAA;IAED,KAAK,GAAG;QACN,8HAA8H;QAC9H,OAAO,EAAE,mBAAmB;QAC5B,SAAS,EAAE,UAAU;KACtB,CAAA;IAED,IAAI,GAAG;QACL,OAAO,EAAE,8BAA8B;QACvC,KAAK,EAAE,8BAA8B;QACrC,IAAI,EAAE,8BAA8B;KACrC,CAAA;CACF"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BaseFramework, Category, Framework } from './framework.js';
|
|
2
|
+
export declare class Remix extends BaseFramework implements Framework {
|
|
3
|
+
readonly id = "remix";
|
|
4
|
+
name: string;
|
|
5
|
+
npmDependencies: string[];
|
|
6
|
+
configFiles: string[];
|
|
7
|
+
category: Category;
|
|
8
|
+
dev: {
|
|
9
|
+
command: string;
|
|
10
|
+
};
|
|
11
|
+
build: {
|
|
12
|
+
command: string;
|
|
13
|
+
directory: string;
|
|
14
|
+
};
|
|
15
|
+
logo: {
|
|
16
|
+
default: string;
|
|
17
|
+
light: string;
|
|
18
|
+
dark: string;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { BaseFramework, Category } from './framework.js';
|
|
2
|
+
export class Remix extends BaseFramework {
|
|
3
|
+
id = 'remix';
|
|
4
|
+
name = 'Remix';
|
|
5
|
+
npmDependencies = ['remix', '@remix-run/netlify', '@remix-run/netlify-edge'];
|
|
6
|
+
configFiles = ['remix.config.js'];
|
|
7
|
+
category = Category.SSG;
|
|
8
|
+
dev = {
|
|
9
|
+
command: 'remix watch',
|
|
10
|
+
};
|
|
11
|
+
build = {
|
|
12
|
+
command: 'remix build',
|
|
13
|
+
directory: 'public',
|
|
14
|
+
};
|
|
15
|
+
logo = {
|
|
16
|
+
default: '/logos/remix/default.svg',
|
|
17
|
+
light: '/logos/remix/light.svg',
|
|
18
|
+
dark: '/logos/remix/dark.svg',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=remix.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remix.js","sourceRoot":"","sources":["../../src/frameworks/remix.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAa,MAAM,gBAAgB,CAAA;AAEnE,MAAM,OAAO,KAAM,SAAQ,aAAa;IAC7B,EAAE,GAAG,OAAO,CAAA;IACrB,IAAI,GAAG,OAAO,CAAA;IACd,eAAe,GAAG,CAAC,OAAO,EAAE,oBAAoB,EAAE,yBAAyB,CAAC,CAAA;IAC5E,WAAW,GAAG,CAAC,iBAAiB,CAAC,CAAA;IACjC,QAAQ,GAAG,QAAQ,CAAC,GAAG,CAAA;IAEvB,GAAG,GAAG;QACJ,OAAO,EAAE,aAAa;KACvB,CAAA;IAED,KAAK,GAAG;QACN,OAAO,EAAE,aAAa;QACtB,SAAS,EAAE,QAAQ;KACpB,CAAA;IAED,IAAI,GAAG;QACL,OAAO,EAAE,0BAA0B;QACnC,KAAK,EAAE,wBAAwB;QAC/B,IAAI,EAAE,uBAAuB;KAC9B,CAAA;CACF"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BaseFramework, Category, Framework } from './framework.js';
|
|
2
|
+
export declare class Roots extends BaseFramework implements Framework {
|
|
3
|
+
readonly id = "roots";
|
|
4
|
+
name: string;
|
|
5
|
+
npmDependencies: string[];
|
|
6
|
+
category: Category;
|
|
7
|
+
dev: {
|
|
8
|
+
command: string;
|
|
9
|
+
port: number;
|
|
10
|
+
pollingStrategies: {
|
|
11
|
+
name: string;
|
|
12
|
+
}[];
|
|
13
|
+
};
|
|
14
|
+
build: {
|
|
15
|
+
command: string;
|
|
16
|
+
directory: string;
|
|
17
|
+
};
|
|
18
|
+
logo: {
|
|
19
|
+
default: string;
|
|
20
|
+
light: string;
|
|
21
|
+
dark: string;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BaseFramework, Category } from './framework.js';
|
|
2
|
+
export class Roots extends BaseFramework {
|
|
3
|
+
id = 'roots';
|
|
4
|
+
name = 'Roots';
|
|
5
|
+
npmDependencies = ['roots'];
|
|
6
|
+
category = Category.SSG;
|
|
7
|
+
dev = {
|
|
8
|
+
command: 'roots watch',
|
|
9
|
+
port: 1111,
|
|
10
|
+
pollingStrategies: [{ name: 'TCP' }, { name: 'HTTP' }],
|
|
11
|
+
};
|
|
12
|
+
build = {
|
|
13
|
+
command: 'roots compile',
|
|
14
|
+
directory: 'public',
|
|
15
|
+
};
|
|
16
|
+
logo = {
|
|
17
|
+
default: '/logos/roots/default.svg',
|
|
18
|
+
light: '/logos/roots/default.svg',
|
|
19
|
+
dark: '/logos/roots/default.svg',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=roots.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"roots.js","sourceRoot":"","sources":["../../src/frameworks/roots.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAa,MAAM,gBAAgB,CAAA;AAEnE,MAAM,OAAO,KAAM,SAAQ,aAAa;IAC7B,EAAE,GAAG,OAAO,CAAA;IACrB,IAAI,GAAG,OAAO,CAAA;IACd,eAAe,GAAG,CAAC,OAAO,CAAC,CAAA;IAC3B,QAAQ,GAAG,QAAQ,CAAC,GAAG,CAAA;IAEvB,GAAG,GAAG;QACJ,OAAO,EAAE,aAAa;QACtB,IAAI,EAAE,IAAI;QACV,iBAAiB,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;KACvD,CAAA;IAED,KAAK,GAAG;QACN,OAAO,EAAE,eAAe;QACxB,SAAS,EAAE,QAAQ;KACpB,CAAA;IAED,IAAI,GAAG;QACL,OAAO,EAAE,0BAA0B;QACnC,KAAK,EAAE,0BAA0B;QACjC,IAAI,EAAE,0BAA0B;KACjC,CAAA;CACF"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { BaseFramework, Category, Framework } from './framework.js';
|
|
2
|
+
export declare class Sapper extends BaseFramework implements Framework {
|
|
3
|
+
readonly id = "sapper";
|
|
4
|
+
name: string;
|
|
5
|
+
npmDependencies: string[];
|
|
6
|
+
category: Category;
|
|
7
|
+
staticAssetsDirectory: string;
|
|
8
|
+
dev: {
|
|
9
|
+
command: string;
|
|
10
|
+
port: number;
|
|
11
|
+
pollingStrategies: {
|
|
12
|
+
name: string;
|
|
13
|
+
}[];
|
|
14
|
+
};
|
|
15
|
+
build: {
|
|
16
|
+
command: string;
|
|
17
|
+
directory: string;
|
|
18
|
+
};
|
|
19
|
+
logo: {
|
|
20
|
+
default: string;
|
|
21
|
+
light: string;
|
|
22
|
+
dark: string;
|
|
23
|
+
};
|
|
24
|
+
}
|