sv 0.6.4 → 0.6.5

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/bin.js CHANGED
@@ -24,7 +24,7 @@ import 'stream';
24
24
  import 'readline';
25
25
 
26
26
  var name = "sv";
27
- var version = "0.6.4";
27
+ var version = "0.6.5";
28
28
  var type = "module";
29
29
  var description = "A CLI for creating and updating SvelteKit projects";
30
30
  var license = "MIT";
@@ -4934,6 +4934,7 @@ const options$4 = defineAddonOptions({
4934
4934
  });
4935
4935
  var drizzle = defineAddon({
4936
4936
  id: "drizzle",
4937
+ shortDescription: "database orm",
4937
4938
  homepage: "https://orm.drizzle.team",
4938
4939
  options: options$4,
4939
4940
  setup: ({ kit, unsupported }) => {
@@ -5259,12 +5260,12 @@ function addToDemoPage(content, path) {
5259
5260
 
5260
5261
  var eslint = defineAddon({
5261
5262
  id: "eslint",
5263
+ shortDescription: "linter",
5262
5264
  homepage: "https://eslint.org",
5263
5265
  options: {},
5264
5266
  run: ({ sv, typescript, dependencyVersion }) => {
5265
5267
  const prettierInstalled = Boolean(dependencyVersion("prettier"));
5266
5268
  sv.devDependency("eslint", "^9.7.0");
5267
- sv.devDependency("@types/eslint", "^9.6.0");
5268
5269
  sv.devDependency("globals", "^15.0.0");
5269
5270
  sv.devDependency("eslint-plugin-svelte", "^2.36.0");
5270
5271
  if (typescript) sv.devDependency("typescript-eslint", "^8.0.0");
@@ -6721,6 +6722,7 @@ const options$3 = defineAddonOptions({
6721
6722
  });
6722
6723
  var lucia = defineAddon({
6723
6724
  id: "lucia",
6725
+ shortDescription: "auth guide",
6724
6726
  homepage: "https://lucia-auth.com",
6725
6727
  options: options$3,
6726
6728
  setup: ({ kit, dependencyVersion, unsupported, dependsOn }) => {
@@ -7283,6 +7285,7 @@ function getCallExpression(ast) {
7283
7285
 
7284
7286
  var mdsvex = defineAddon({
7285
7287
  id: "mdsvex",
7288
+ shortDescription: "svelte + markdown",
7286
7289
  homepage: "https://mdsvex.pngwn.io",
7287
7290
  options: {},
7288
7291
  run: ({ sv }) => {
@@ -7377,6 +7380,7 @@ const options$2 = defineAddonOptions({
7377
7380
  });
7378
7381
  var paraglide = defineAddon({
7379
7382
  id: "paraglide",
7383
+ shortDescription: "i18n",
7380
7384
  homepage: "https://inlang.com",
7381
7385
  options: options$2,
7382
7386
  setup: ({ kit, unsupported }) => {
@@ -7571,6 +7575,7 @@ function parseLanguageTagInput(input) {
7571
7575
 
7572
7576
  var playwright = defineAddon({
7573
7577
  id: "playwright",
7578
+ shortDescription: "browser testing",
7574
7579
  homepage: "https://playwright.dev",
7575
7580
  options: {},
7576
7581
  run: ({ sv, typescript }) => {
@@ -7629,6 +7634,7 @@ var playwright = defineAddon({
7629
7634
 
7630
7635
  var prettier = defineAddon({
7631
7636
  id: "prettier",
7637
+ shortDescription: "formatter",
7632
7638
  homepage: "https://prettier.io",
7633
7639
  options: {},
7634
7640
  run: ({ sv, dependencyVersion }) => {
@@ -7700,6 +7706,7 @@ function hasEslint(version) {
7700
7706
 
7701
7707
  var storybook = defineAddon({
7702
7708
  id: "storybook",
7709
+ shortDescription: "frontend workshop",
7703
7710
  homepage: "https://storybook.js.org",
7704
7711
  options: {},
7705
7712
  run: async ({ sv }) => {
@@ -7740,12 +7747,6 @@ const plugins = [
7740
7747
  package: "@tailwindcss/container-queries",
7741
7748
  version: "^0.1.1",
7742
7749
  identifier: "containerQueries"
7743
- },
7744
- {
7745
- id: "aspect-ratio",
7746
- package: "@tailwindcss/aspect-ratio",
7747
- version: "^0.4.2",
7748
- identifier: "aspectRatio"
7749
7750
  }
7750
7751
  ];
7751
7752
  const options$1 = defineAddonOptions({
@@ -7759,6 +7760,7 @@ const options$1 = defineAddonOptions({
7759
7760
  var tailwindcss = defineAddon({
7760
7761
  id: "tailwindcss",
7761
7762
  alias: "tailwind",
7763
+ shortDescription: "css framework",
7762
7764
  homepage: "https://tailwindcss.com",
7763
7765
  options: options$1,
7764
7766
  run: ({ sv, options: options2, typescript, kit, dependencyVersion }) => {
@@ -7864,6 +7866,7 @@ var tailwindcss = defineAddon({
7864
7866
 
7865
7867
  var vitest = defineAddon({
7866
7868
  id: "vitest",
7869
+ shortDescription: "unit testing",
7867
7870
  homepage: "https://vitest.dev",
7868
7871
  options: {},
7869
7872
  run: ({ sv, typescript }) => {
@@ -11519,7 +11522,11 @@ Available options: ${communityAddonIds.join(", ")}`
11519
11522
  let workspace = createWorkspace({ cwd: options.cwd });
11520
11523
  const addonSetupResults = setupAddons(officialAddons, workspace);
11521
11524
  if (selectedAddons.length === 0) {
11522
- const addonOptions = officialAddons.filter(({ id }) => addonSetupResults[id].unsupported.length === 0).map(({ id, homepage }) => ({ label: id, value: id, hint: homepage }));
11525
+ const addonOptions = officialAddons.filter(({ id }) => addonSetupResults[id].unsupported.length === 0).map(({ id, homepage, shortDescription }) => ({
11526
+ label: id,
11527
+ value: id,
11528
+ hint: `${shortDescription} - ${homepage}`
11529
+ }));
11523
11530
  const selected = await multiselect({
11524
11531
  message: `What would you like to add to your project? ${pc.dim("(use arrow keys / space bar)")}`,
11525
11532
  options: addonOptions,