create-rue 0.0.4 → 0.0.6

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/bundle.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- /*! create-rue v0.0.4 | MIT */
2
+ /*! create-rue v0.0.6 | MIT */
3
3
  import { createRequire } from "node:module";
4
4
  import * as fs from "node:fs";
5
5
  import "node:fs";
@@ -2458,7 +2458,7 @@ function getPackageManagerOptions(preferred) {
2458
2458
  //#endregion
2459
2459
  //#region package.json
2460
2460
  var name = "create-rue";
2461
- var version = "0.0.4";
2461
+ var version = "0.0.6";
2462
2462
  //#endregion
2463
2463
  //#region index.ts
2464
2464
  const language = await getLanguage(fileURLToPath(new URL("./locales", import.meta.url)));
@@ -0,0 +1,89 @@
1
+ {
2
+ "projectName": {
3
+ "message": "Project name (target directory):",
4
+ "invalidMessage": "Should not be empty"
5
+ },
6
+ "shouldOverwrite": {
7
+ "dirForPrompts": {
8
+ "current": "Current directory",
9
+ "target": "Target directory"
10
+ },
11
+ "message": "is not empty. Remove existing files and continue"
12
+ },
13
+ "packageName": {
14
+ "message": "Package name:",
15
+ "invalidMessage": "Invalid package.json name"
16
+ },
17
+ "featureSelection": {
18
+ "message": "Select features to include in your project:",
19
+ "hint": "(↑/↓ to navigate, space to select, a to toggle all, enter to confirm)"
20
+ },
21
+ "needsTypeScript": {
22
+ "message": "Use TypeScript?"
23
+ },
24
+ "needsJsx": {
25
+ "message": "JSX Support"
26
+ },
27
+ "needsRouter": {
28
+ "message": "Router (SPA development)"
29
+ },
30
+ "needsPinia": {
31
+ "message": "Pinia (state management)"
32
+ },
33
+ "needsVitest": {
34
+ "message": "Vitest (unit testing)"
35
+ },
36
+ "needsE2eTesting": {
37
+ "message": "End-to-End Testing"
38
+ },
39
+ "needsEslint": {
40
+ "message": "Linter (error prevention)"
41
+ },
42
+ "needsPrettier": {
43
+ "message": "Prettier (code formatting)"
44
+ },
45
+ "e2eSelection": {
46
+ "message": "Select an End-to-End testing framework:",
47
+ "hint": "(↑/↓ to navigate, enter to confirm)",
48
+ "selectOptions": {
49
+ "playwright": { "title": "Playwright", "desc": "https://playwright.dev/" },
50
+ "cypress": {
51
+ "title": "Cypress",
52
+ "desc": "https://www.cypress.io/",
53
+ "hintOnComponentTesting": "also supports unit testing with Cypress Component Testing - https://www.cypress.io/"
54
+ }
55
+ }
56
+ },
57
+ "needsExperimental": {
58
+ "message": "Enable experimental features"
59
+ },
60
+ "needsExperimentalFeatures": {
61
+ "message": "Select experimental features to include in your project:",
62
+ "hint": "(↑/↓ to navigate, space to select, a to toggle all, enter to confirm)"
63
+ },
64
+ "needsRueBeta": {
65
+ "message": "Rue 3.6 (beta)"
66
+ },
67
+ "needsOxfmt": {
68
+ "message": "Replace Prettier with Oxfmt"
69
+ },
70
+ "needsBareboneTemplates": {
71
+ "message": "Skip all example code and start with a blank Rue project?"
72
+ },
73
+ "packageManagerSelection": {
74
+ "message": "Which package manager will you use?",
75
+ "hint": "(Rue 3.6 beta requires version overrides that differ per package manager)"
76
+ },
77
+ "errors": {
78
+ "operationCancelled": "Operation cancelled"
79
+ },
80
+ "defaultToggleOptions": {
81
+ "active": "Yes",
82
+ "inactive": "No"
83
+ },
84
+ "infos": {
85
+ "scaffolding": "Scaffolding project in",
86
+ "done": "Done. Now run:",
87
+ "optionalGitCommand": "Optional: Initialize Git in your project directory with:"
88
+ }
89
+ }
@@ -0,0 +1,89 @@
1
+ {
2
+ "projectName": {
3
+ "message": "Nom du projet\u00a0:",
4
+ "invalidMessage": "Ne doit pas être vide"
5
+ },
6
+ "shouldOverwrite": {
7
+ "dirForPrompts": {
8
+ "current": "Répertoire courant",
9
+ "target": "Répertoire cible"
10
+ },
11
+ "message": "n'est pas vide. Supprimer les fichiers existants et continuer\u00a0?"
12
+ },
13
+ "packageName": {
14
+ "message": "Nom du package\u00a0:",
15
+ "invalidMessage": "Le nom du package.json est invalide"
16
+ },
17
+ "featureSelection": {
18
+ "message": "Sélectionnez les fonctionnalités à inclure dans votre projet\u00a0:",
19
+ "hint": "(↑/↓ pour naviguer, espace pour sélectionner, a pour tout sélectionner, entrée pour confirmer)"
20
+ },
21
+ "needsTypeScript": {
22
+ "message": "Utiliser TypeScript\u00a0?"
23
+ },
24
+ "needsJsx": {
25
+ "message": "Support de JSX"
26
+ },
27
+ "needsRouter": {
28
+ "message": "Router (développement SPA)"
29
+ },
30
+ "needsPinia": {
31
+ "message": "Pinia (gestion de l'état)"
32
+ },
33
+ "needsVitest": {
34
+ "message": "Vitest (tests unitaires)"
35
+ },
36
+ "needsE2eTesting": {
37
+ "message": "Tests de bout en bout"
38
+ },
39
+ "needsEslint": {
40
+ "message": "Linter (prévention des erreurs)"
41
+ },
42
+ "needsPrettier": {
43
+ "message": "Prettier (formatage du code)"
44
+ },
45
+ "e2eSelection": {
46
+ "message": "Sélectionnez un framework de test de bout en bout\u00a0:",
47
+ "hint": "(↑/↓ pour naviguer, entrée pour confirmer)",
48
+ "selectOptions": {
49
+ "playwright": { "title": "Playwright", "desc": "https://playwright.dev/" },
50
+ "cypress": {
51
+ "title": "Cypress",
52
+ "desc": "https://www.cypress.io/",
53
+ "hintOnComponentTesting": "prend également en charge les tests unitaires avec Cypress Component Testing - https://www.cypress.io/"
54
+ }
55
+ }
56
+ },
57
+ "needsExperimental": {
58
+ "message": "Activer les fonctionnalités expérimentales"
59
+ },
60
+ "needsExperimentalFeatures": {
61
+ "message": "Sélectionnez les fonctionnalités expérimentales à inclure\u00a0:",
62
+ "hint": "(↑/↓ pour naviguer, espace pour sélectionner, a pour tout sélectionner, entrée pour confirmer)"
63
+ },
64
+ "needsRueBeta": {
65
+ "message": "Rue 3.6 (beta)"
66
+ },
67
+ "needsOxfmt": {
68
+ "message": "Remplacer Prettier par Oxfmt"
69
+ },
70
+ "needsBareboneTemplates": {
71
+ "message": "Ignorer tout le code d'exemple et commencer avec un projet Rue vierge\u00a0?"
72
+ },
73
+ "packageManagerSelection": {
74
+ "message": "Quel gestionnaire de paquets allez-vous utiliser\u00a0?",
75
+ "hint": "(Rue 3.6 beta nécessite des surcharges de version spécifiques au gestionnaire de paquets)"
76
+ },
77
+ "errors": {
78
+ "operationCancelled": "Operation annulée"
79
+ },
80
+ "defaultToggleOptions": {
81
+ "active": "Oui",
82
+ "inactive": "Non"
83
+ },
84
+ "infos": {
85
+ "scaffolding": "Génération du projet dans",
86
+ "done": "Terminé. Exécutez maintenant\u00a0:",
87
+ "optionalGitCommand": "Optionnel\u00a0: Initialisez Git dans votre répertoire de projet avec\u00a0:"
88
+ }
89
+ }
@@ -0,0 +1,89 @@
1
+ {
2
+ "projectName": {
3
+ "message": "Proje adı:",
4
+ "invalidMessage": "Boş bırakılamaz"
5
+ },
6
+ "shouldOverwrite": {
7
+ "dirForPrompts": {
8
+ "current": "Geçerli dizin",
9
+ "target": "Hedef dizin"
10
+ },
11
+ "message": "boş değil. Varolan dosyalar silinip devam edilsin mi?"
12
+ },
13
+ "packageName": {
14
+ "message": "Paket adı:",
15
+ "invalidMessage": "Geçersiz package.json adı"
16
+ },
17
+ "featureSelection": {
18
+ "message": "Projenize eklenecek özellikleri seçin:",
19
+ "hint": "(↑/↓ gezinmek için, boşluk seçmek için, a tümünü seçmek için, enter onaylamak için)"
20
+ },
21
+ "needsTypeScript": {
22
+ "message": "TypeScript kullanılsın mı?"
23
+ },
24
+ "needsJsx": {
25
+ "message": "JSX Desteği"
26
+ },
27
+ "needsRouter": {
28
+ "message": "Router (SPA geliştirme)"
29
+ },
30
+ "needsPinia": {
31
+ "message": "Pinia (durum yönetimi)"
32
+ },
33
+ "needsVitest": {
34
+ "message": "Vitest (birim testi)"
35
+ },
36
+ "needsE2eTesting": {
37
+ "message": "Uçtan Uca Test"
38
+ },
39
+ "needsEslint": {
40
+ "message": "Linter (hata önleme)"
41
+ },
42
+ "needsPrettier": {
43
+ "message": "Prettier (kod formatlama)"
44
+ },
45
+ "e2eSelection": {
46
+ "message": "Bir Uçtan Uca test çerçevesi seçin:",
47
+ "hint": "(↑/↓ gezinmek için, enter onaylamak için)",
48
+ "selectOptions": {
49
+ "playwright": { "title": "Playwright", "desc": "https://playwright.dev/" },
50
+ "cypress": {
51
+ "title": "Cypress",
52
+ "desc": "https://www.cypress.io/",
53
+ "hintOnComponentTesting": "ayrıca Cypress Bileşen Testi ile birim testini de destekler - https://www.cypress.io/"
54
+ }
55
+ }
56
+ },
57
+ "needsExperimental": {
58
+ "message": "Deneysel özellikleri etkinleştir"
59
+ },
60
+ "needsExperimentalFeatures": {
61
+ "message": "Dahil edilecek deneysel özellikleri seçin:",
62
+ "hint": "(↑/↓ gezinmek için, boşluk seçmek için, a tümünü seçmek için, enter onaylamak için)"
63
+ },
64
+ "needsRueBeta": {
65
+ "message": "Rue 3.6 (beta)"
66
+ },
67
+ "needsOxfmt": {
68
+ "message": "Prettier'ı Oxfmt ile değiştir"
69
+ },
70
+ "needsBareboneTemplates": {
71
+ "message": "Tüm örnek kodları atlayıp boş bir Rue projesi ile başlansın mı?"
72
+ },
73
+ "packageManagerSelection": {
74
+ "message": "Hangi paket yöneticisini kullanacaksınız?",
75
+ "hint": "(Rue 3.6 beta, paket yöneticisine özgü sürüm geçersiz kılmaları gerektirir)"
76
+ },
77
+ "errors": {
78
+ "operationCancelled": "İşlem iptal edildi"
79
+ },
80
+ "defaultToggleOptions": {
81
+ "active": "Evet",
82
+ "inactive": "Hayır"
83
+ },
84
+ "infos": {
85
+ "scaffolding": "İskele projesi",
86
+ "done": "Tamamlandı. Şimdi bunu çalıştır:",
87
+ "optionalGitCommand": "İsteğe bağlı: Proje dizininizde Git'i şununla başlatın:"
88
+ }
89
+ }
@@ -0,0 +1,89 @@
1
+ {
2
+ "projectName": {
3
+ "message": "请输入项目名称:",
4
+ "invalidMessage": "不能为空"
5
+ },
6
+ "shouldOverwrite": {
7
+ "dirForPrompts": {
8
+ "current": "当前目录",
9
+ "target": "目标文件夹"
10
+ },
11
+ "message": "非空,是否覆盖?"
12
+ },
13
+ "packageName": {
14
+ "message": "请输入包名称:",
15
+ "invalidMessage": "无效的 package.json 名称"
16
+ },
17
+ "featureSelection": {
18
+ "message": "请选择要包含的功能:",
19
+ "hint": "(↑/↓ 切换,空格选择,a 全选,回车确认)"
20
+ },
21
+ "needsTypeScript": {
22
+ "message": "是否使用 TypeScript 语法?"
23
+ },
24
+ "needsJsx": {
25
+ "message": "JSX 支持"
26
+ },
27
+ "needsRouter": {
28
+ "message": "Router(单页面应用开发)"
29
+ },
30
+ "needsPinia": {
31
+ "message": "Pinia(状态管理)"
32
+ },
33
+ "needsVitest": {
34
+ "message": "Vitest(单元测试)"
35
+ },
36
+ "needsE2eTesting": {
37
+ "message": "端到端测试"
38
+ },
39
+ "needsEslint": {
40
+ "message": "Linter(错误预防)"
41
+ },
42
+ "needsPrettier": {
43
+ "message": "Prettier(代码格式化)"
44
+ },
45
+ "e2eSelection": {
46
+ "message": "选择一个端到端测试框架:",
47
+ "hint": "(↑/↓ 切换,回车确认)",
48
+ "selectOptions": {
49
+ "playwright": { "title": "Playwright", "desc": "https://playwright.dev/" },
50
+ "cypress": {
51
+ "title": "Cypress",
52
+ "desc": "https://www.cypress.io/",
53
+ "hintOnComponentTesting": "同时支持基于 Cypress Component Testing 的单元测试 - https://www.cypress.io/"
54
+ }
55
+ }
56
+ },
57
+ "needsExperimental": {
58
+ "message": "启用试验特性"
59
+ },
60
+ "needsExperimentalFeatures": {
61
+ "message": "选择要包含的试验特性:",
62
+ "hint": "(↑/↓ 切换,空格选择,a 全选,回车确认)"
63
+ },
64
+ "needsRueBeta": {
65
+ "message": "Rue 3.6(测试版)"
66
+ },
67
+ "needsOxfmt": {
68
+ "message": "使用 Oxfmt 替代 Prettier"
69
+ },
70
+ "needsBareboneTemplates": {
71
+ "message": "跳过所有示例代码,创建一个空白的 Rue 项目?"
72
+ },
73
+ "packageManagerSelection": {
74
+ "message": "项目将使用哪个包管理器?",
75
+ "hint": "(需要根据包管理器生成对应的 Rue 3.6 测试版配置)"
76
+ },
77
+ "errors": {
78
+ "operationCancelled": "操作取消"
79
+ },
80
+ "defaultToggleOptions": {
81
+ "active": "是",
82
+ "inactive": "否"
83
+ },
84
+ "infos": {
85
+ "scaffolding": "正在初始化项目",
86
+ "done": "项目初始化完成,可执行以下命令:",
87
+ "optionalGitCommand": "可选:使用以下命令在项目目录中初始化 Git:"
88
+ }
89
+ }
@@ -0,0 +1,89 @@
1
+ {
2
+ "projectName": {
3
+ "message": "請輸入專案名稱:",
4
+ "invalidMessage": "不能為空"
5
+ },
6
+ "shouldOverwrite": {
7
+ "dirForPrompts": {
8
+ "current": "當前資料夾",
9
+ "target": "目標資料夾"
10
+ },
11
+ "message": "非空,是否覆蓋?"
12
+ },
13
+ "packageName": {
14
+ "message": "請輸入套件名稱:",
15
+ "invalidMessage": "無效的 package.json 名稱"
16
+ },
17
+ "featureSelection": {
18
+ "message": "請選擇要包含的功能:",
19
+ "hint": "(↑/↓ 切換,空格選擇,a 全選,enter 確認)"
20
+ },
21
+ "needsTypeScript": {
22
+ "message": "是否使用 TypeScript?"
23
+ },
24
+ "needsJsx": {
25
+ "message": "JSX 支援"
26
+ },
27
+ "needsRouter": {
28
+ "message": "Router(單頁應用程式開發)"
29
+ },
30
+ "needsPinia": {
31
+ "message": "Pinia(狀態管理)"
32
+ },
33
+ "needsVitest": {
34
+ "message": "Vitest(單元測試)"
35
+ },
36
+ "needsE2eTesting": {
37
+ "message": "端對端測試"
38
+ },
39
+ "needsEslint": {
40
+ "message": "Linter(錯誤預防)"
41
+ },
42
+ "needsPrettier": {
43
+ "message": "Prettier(程式碼格式化)"
44
+ },
45
+ "e2eSelection": {
46
+ "message": "選擇一個端對端測試框架:",
47
+ "hint": "(↑/↓ 切換,enter 確認)",
48
+ "selectOptions": {
49
+ "playwright": { "title": "Playwright", "desc": "https://playwright.dev/" },
50
+ "cypress": {
51
+ "title": "Cypress",
52
+ "desc": "https://www.cypress.io/",
53
+ "hintOnComponentTesting": "同時支援基於 Cypress Component Testing 的單元測試 - https://www.cypress.io/"
54
+ }
55
+ }
56
+ },
57
+ "needsExperimental": {
58
+ "message": "启用試驗性功能"
59
+ },
60
+ "needsExperimentalFeatures": {
61
+ "message": "請選擇要包含的試驗特性:",
62
+ "hint": "(↑/↓ 切換,空格選擇,a 全選,enter 確認)"
63
+ },
64
+ "needsRueBeta": {
65
+ "message": "Rue 3.6(測試版)"
66
+ },
67
+ "needsOxfmt": {
68
+ "message": "使用 Oxfmt 替代 Prettier"
69
+ },
70
+ "needsBareboneTemplates": {
71
+ "message": "跳過所有範例程式碼,建立一個空白的 Rue 專案?"
72
+ },
73
+ "packageManagerSelection": {
74
+ "message": "專案將使用哪個套件管理器?",
75
+ "hint": "(需要根據套件管理器生成對應的 Rue 3.6 測試版配置)"
76
+ },
77
+ "errors": {
78
+ "operationCancelled": "操作取消"
79
+ },
80
+ "defaultToggleOptions": {
81
+ "active": "是",
82
+ "inactive": "否"
83
+ },
84
+ "infos": {
85
+ "scaffolding": "正在建置專案",
86
+ "done": "專案建置完成,可執行以下命令:",
87
+ "optionalGitCommand": "可選:使用以下命令在專案目錄中初始化 Git:"
88
+ }
89
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-rue",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "description": "🛠️ The recommended way to start a Vite-powered Rue project",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/hunzhiwange/create-rue#readme",
@@ -18,12 +18,14 @@
18
18
  },
19
19
  "files": [
20
20
  "bundle.js",
21
+ "locales",
21
22
  "template",
22
23
  "!template/**/node_modules/.bin/*"
23
24
  ],
24
25
  "type": "module",
25
26
  "publishConfig": {
26
- "access": "public"
27
+ "access": "public",
28
+ "provenance": false
27
29
  },
28
30
  "scripts": {
29
31
  "prepare": "vp config",