@stencil/cli 5.0.0-alpha.13 → 5.0.0-alpha.15
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.mjs +8 -5
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -750,21 +750,24 @@ const KNOWN_INTEGRATIONS = [
|
|
|
750
750
|
displayName: "React",
|
|
751
751
|
description: "React component wrappers",
|
|
752
752
|
group: "Framework integrations",
|
|
753
|
-
requiresStencilConfig: true
|
|
753
|
+
requiresStencilConfig: true,
|
|
754
|
+
needsWorkspace: true
|
|
754
755
|
},
|
|
755
756
|
{
|
|
756
757
|
package: "@stencil/angular-output-target",
|
|
757
758
|
displayName: "Angular",
|
|
758
759
|
description: "Angular component wrappers",
|
|
759
760
|
group: "Framework integrations",
|
|
760
|
-
requiresStencilConfig: true
|
|
761
|
+
requiresStencilConfig: true,
|
|
762
|
+
needsWorkspace: true
|
|
761
763
|
},
|
|
762
764
|
{
|
|
763
765
|
package: "@stencil/vue-output-target",
|
|
764
766
|
displayName: "Vue",
|
|
765
767
|
description: "Vue component wrappers",
|
|
766
768
|
group: "Framework integrations",
|
|
767
|
-
requiresStencilConfig: true
|
|
769
|
+
requiresStencilConfig: true,
|
|
770
|
+
needsWorkspace: true
|
|
768
771
|
}
|
|
769
772
|
];
|
|
770
773
|
async function promptOutputs() {
|
|
@@ -896,7 +899,7 @@ async function promptIntegrations() {
|
|
|
896
899
|
return KNOWN_INTEGRATIONS.filter((i) => picks.includes(i.package));
|
|
897
900
|
}
|
|
898
901
|
function hasFrameworkTargets(integrations) {
|
|
899
|
-
return integrations.some((i) => i.
|
|
902
|
+
return integrations.some((i) => i.needsWorkspace);
|
|
900
903
|
}
|
|
901
904
|
function needsStencilConfig(integrations) {
|
|
902
905
|
return integrations.some((i) => i.requiresStencilConfig);
|
|
@@ -1029,7 +1032,7 @@ async function isExistingStencilProject(dir) {
|
|
|
1029
1032
|
}
|
|
1030
1033
|
//#endregion
|
|
1031
1034
|
//#region src/wizard/splash.ts
|
|
1032
|
-
const CLI_VERSION = "5.0.0-alpha.
|
|
1035
|
+
const CLI_VERSION = "5.0.0-alpha.15";
|
|
1033
1036
|
const isTTY = process.stdout.isTTY;
|
|
1034
1037
|
const noColor = !isTTY || "NO_COLOR" in process.env;
|
|
1035
1038
|
const RESET = noColor ? "" : "\x1B[0m";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stencil/cli",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.15",
|
|
4
4
|
"description": "CLI for Stencil - Web component compiler",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"components",
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
"nypm": "^0.3.12",
|
|
42
42
|
"std-env": "^3.8.0",
|
|
43
43
|
"typescript": ">4.0.0 <7.0.0",
|
|
44
|
-
"@stencil/dev-server": "5.0.0-alpha.
|
|
45
|
-
"@stencil/templates": "5.0.0-alpha.
|
|
44
|
+
"@stencil/dev-server": "5.0.0-alpha.15",
|
|
45
|
+
"@stencil/templates": "5.0.0-alpha.15"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"tsdown": ">=0.21.0 <1.0.0",
|
|
49
49
|
"vitest": "^4.1.7",
|
|
50
|
-
"@stencil/core": "5.0.0-alpha.
|
|
50
|
+
"@stencil/core": "5.0.0-alpha.15"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"@stencil/core": "^5.0.0-0"
|