@lazycatcloud/lzc-cli 1.1.1 → 1.1.4

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.
Files changed (67) hide show
  1. package/cmds/app.js +137 -0
  2. package/cmds/config.js +55 -0
  3. package/cmds/create.js +55 -0
  4. package/cmds/dev.js +122 -0
  5. package/cmds/init.js +125 -0
  6. package/cmds/log.js +103 -0
  7. package/cmds/publish.js +116 -0
  8. package/lib/api.js +34 -36
  9. package/lib/archiver.js +50 -31
  10. package/lib/box/check_qemu.js +27 -0
  11. package/lib/box/hportal.js +114 -0
  12. package/lib/box/index.js +152 -0
  13. package/lib/box/qemu_vm_mgr.js +625 -0
  14. package/lib/box/schemes/vm_box_system_debian.json +47 -0
  15. package/lib/builder.js +154 -35
  16. package/lib/dev.js +51 -32
  17. package/lib/env.js +276 -57
  18. package/lib/generator.js +31 -0
  19. package/lib/git/git-commit.sh +7 -0
  20. package/lib/git/git-reset.sh +15 -0
  21. package/lib/key.js +14 -11
  22. package/lib/sdk.js +7 -10
  23. package/lib/utils.js +149 -53
  24. package/package.json +18 -5
  25. package/scripts/cli.js +134 -70
  26. package/template/_lazycat/app-config +1 -0
  27. package/template/_lazycat/docker-compose.yml.in +3 -5
  28. package/template/golang/README.md +3 -4
  29. package/template/golang/assets/css/bootstrap-responsive.css +26 -23
  30. package/template/golang/assets/css/bootstrap-responsive.min.css +1065 -1
  31. package/template/golang/assets/css/bootstrap.css +733 -362
  32. package/template/golang/assets/css/bootstrap.min.css +5299 -1
  33. package/template/golang/assets/css/rego.css +17 -17
  34. package/template/golang/assets/js/bootstrap.js +1340 -1311
  35. package/template/golang/assets/js/bootstrap.min.js +1240 -5
  36. package/template/golang/assets/js/rego.js +80 -69
  37. package/template/golang/index.html +61 -59
  38. package/template/ionic_vue3/README.md +46 -0
  39. package/template/ionic_vue3/_eslintrc.cjs +24 -0
  40. package/template/ionic_vue3/_gitignore +29 -0
  41. package/template/ionic_vue3/_vscode/extensions.json +6 -0
  42. package/template/ionic_vue3/capacitor.config.ts +10 -0
  43. package/template/ionic_vue3/env.d.ts +1 -0
  44. package/template/ionic_vue3/index.html +13 -0
  45. package/template/ionic_vue3/ionic.config.json +7 -0
  46. package/template/ionic_vue3/package.json +52 -0
  47. package/template/ionic_vue3/postcss.config.js +6 -0
  48. package/template/ionic_vue3/public/favicon.ico +0 -0
  49. package/template/ionic_vue3/src/App.vue +11 -0
  50. package/template/ionic_vue3/src/assets/logo.svg +1 -0
  51. package/template/ionic_vue3/src/index.css +3 -0
  52. package/template/ionic_vue3/src/main.ts +35 -0
  53. package/template/ionic_vue3/src/router/index.ts +15 -0
  54. package/template/ionic_vue3/src/theme/variables.css +231 -0
  55. package/template/ionic_vue3/src/views/Home.vue +38 -0
  56. package/template/ionic_vue3/tailwind.config.js +7 -0
  57. package/template/ionic_vue3/tsconfig.json +16 -0
  58. package/template/ionic_vue3/tsconfig.vite-config.json +8 -0
  59. package/template/ionic_vue3/vite.config.ts +28 -0
  60. package/template/release/golang/build.sh +1 -2
  61. package/template/release/ionic_vue3/Dockerfile +10 -0
  62. package/template/release/ionic_vue3/build.sh +9 -0
  63. package/template/release/ionic_vue3/docker-compose.yml.in +8 -0
  64. package/template/release/vue/Dockerfile +3 -2
  65. package/template/release/vue/build.sh +4 -2
  66. package/template/vue/README.md +5 -0
  67. package/template/vue/babel.config.js +2 -4
@@ -1,68 +1,83 @@
1
1
  // jQuery form oninput wrapper
2
2
  // Thx to Mathias Bynens https://github.com/mathiasbynens/jquery-oninput
3
- jQuery.fn.input=function(a){var b=this;return a?b.bind({'input.input':function(c){b.unbind('keydown.input');a.call(this,c)},'keydown.input':function(c){a.call(this,c)}}):b.trigger('keydown.input')};
4
-
5
- $(document).ready(function() {
3
+ jQuery.fn.input = function (a) {
4
+ var b = this;
5
+ return a
6
+ ? b.bind({
7
+ "input.input": function (c) {
8
+ b.unbind("keydown.input");
9
+ a.call(this, c);
10
+ },
11
+ "keydown.input": function (c) {
12
+ a.call(this, c);
13
+ },
14
+ })
15
+ : b.trigger("keydown.input");
16
+ };
17
+
18
+ $(document).ready(function () {
6
19
  var testRegexTimeout;
7
20
 
8
- function testRegex () {
21
+ function testRegex() {
9
22
  $.ajax({
10
23
  type: "POST",
11
- url: "/test_regexp/",
24
+ url: "/test_regexp/",
12
25
  data: {
13
- regexp: $("#regexpInput").val()
14
- , testString: $("#testStringInput").val()
15
- , findAllSubmatch: $("#findAllSubmatchCheckbox").is(":checked")
16
- }
17
- }).done(function(msg) {
18
- var res = $.parseJSON(msg);
19
- var allMatches = res.matches;
20
- var groupsName = res.groupsName;
21
-
22
- // We clear previous results
23
- clearResults();
24
-
25
- if (allMatches && allMatches[0] != null)
26
- {
27
- var l = allMatches.length;
28
-
29
- // Match font color > green
30
- $("#match").css("color", "green")
31
-
32
- // Match groups
33
- if (l > 0)
34
- {
35
- var match = [];
36
- var matchGroupsTable = [];
37
- var index = 0;
38
-
39
- for (var i = 0; i < l; i++)
40
- {
41
- var matches = allMatches[i];
42
- var m = matches.length;
43
-
44
- match.push(matches[0]);
45
- for (var j = 1; j < m; j++)
46
- {
47
- matchGroupsTable.push('<tr><td>'+(index++)+'</td><td>'+((groupsName[j-1] != "") ? groupsName[j-1] : "-")+'</td><td>'+escapeHTML(matches[j])+'</td></tr>');
26
+ regexp: $("#regexpInput").val(),
27
+ testString: $("#testStringInput").val(),
28
+ findAllSubmatch: $("#findAllSubmatchCheckbox").is(":checked"),
29
+ },
30
+ })
31
+ .done(function (msg) {
32
+ var res = $.parseJSON(msg);
33
+ var allMatches = res.matches;
34
+ var groupsName = res.groupsName;
35
+
36
+ // We clear previous results
37
+ clearResults();
38
+
39
+ if (allMatches && allMatches[0] != null) {
40
+ var l = allMatches.length;
41
+
42
+ // Match font color > green
43
+ $("#match").css("color", "green");
44
+
45
+ // Match groups
46
+ if (l > 0) {
47
+ var match = [];
48
+ var matchGroupsTable = [];
49
+ var index = 0;
50
+
51
+ for (var i = 0; i < l; i++) {
52
+ var matches = allMatches[i];
53
+ var m = matches.length;
54
+
55
+ match.push(matches[0]);
56
+ for (var j = 1; j < m; j++) {
57
+ matchGroupsTable.push(
58
+ "<tr><td>" +
59
+ index++ +
60
+ "</td><td>" +
61
+ (groupsName[j - 1] != "" ? groupsName[j - 1] : "-") +
62
+ "</td><td>" +
63
+ escapeHTML(matches[j]) +
64
+ "</td></tr>"
65
+ );
66
+ }
48
67
  }
49
- }
50
68
 
51
- $("#match").html(escapeHTML(match.join(" ")))
52
- $('#matchGroupsTable > tbody:last').append(matchGroupsTable.join());
69
+ $("#match").html(escapeHTML(match.join(" ")));
70
+ $("#matchGroupsTable > tbody:last").append(matchGroupsTable.join());
71
+ }
72
+ } else {
73
+ $("#match").html("No match !");
74
+ $("#match").css("color", "red");
53
75
  }
54
-
55
- }
56
- else
57
- {
58
- $("#match").html("No match !")
59
- $("#match").css("color", "red")
60
- }
61
-
62
- }).error(function(error) {
63
- $("#match").html(error.responseText)
64
- $("#match").css("color", "red")
65
- });
76
+ })
77
+ .error(function (error) {
78
+ $("#match").html(error.responseText);
79
+ $("#match").css("color", "red");
80
+ });
66
81
  }
67
82
 
68
83
  function clear() {
@@ -80,42 +95,38 @@ $(document).ready(function() {
80
95
  // Empty match groups table
81
96
  $("#matchGroupsTable tbody > tr").remove();
82
97
 
83
- $("#match").html("")
98
+ $("#match").html("");
84
99
  }
85
100
 
86
101
  function escapeHTML(str) {
87
- var div = document.createElement('div');
102
+ var div = document.createElement("div");
88
103
  div.appendChild(document.createTextNode(str));
89
104
  return div.innerHTML;
90
- };
105
+ }
91
106
 
92
107
  //
93
108
  // Add Handlers
94
109
  //
95
- $("#regexpForm").submit(function() {
110
+ $("#regexpForm").submit(function () {
96
111
  testRegex();
97
112
 
98
113
  return false;
99
114
  });
100
115
 
101
- $("#regexpForm").input(function() {
116
+ $("#regexpForm").input(function () {
117
+ if (testRegexTimeout) clearTimeout(testRegexTimeout);
102
118
 
103
- if (testRegexTimeout)
104
- clearTimeout(testRegexTimeout)
105
-
106
- testRegexTimeout = setTimeout(testRegex, 750)
119
+ testRegexTimeout = setTimeout(testRegex, 750);
107
120
  });
108
121
 
109
- $("#findAllSubmatchCheckbox").click(function() {
122
+ $("#findAllSubmatchCheckbox").click(function () {
110
123
  testRegex();
111
- })
124
+ });
112
125
 
113
- $("#clearAllFieldsButton").click(function() {
126
+ $("#clearAllFieldsButton").click(function () {
114
127
  clear();
115
128
  });
116
129
 
117
-
118
130
  // Test sample regexp
119
131
  testRegex();
120
-
121
132
  });
@@ -2,14 +2,14 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8">
5
- <title>Rego - A Go regular expression tester</title>
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
- <meta name="description" content="Rego - A Go regular expression tester">
8
- <meta name="author" content="Steve Domin">
9
-
10
- <!-- CSS -->
11
- <link href="assets/css/bootstrap.min.css" rel="stylesheet">
12
- <style type="text/css">
5
+ <title>Rego - A Go regular expression tester</title>
6
+ <meta name="viewport" content=
7
+ "width=device-width, initial-scale=1.0">
8
+ <meta name="description" content=
9
+ "Rego - A Go regular expression tester">
10
+ <meta name="author" content="Steve Domin"><!-- CSS -->
11
+ <link href="assets/css/bootstrap.min.css" rel="stylesheet">
12
+ <style type="text/css">
13
13
 
14
14
  /* Sticky footer styles
15
15
  -------------------------------------------------- */
@@ -53,52 +53,52 @@
53
53
  margin-bottom: 20px;
54
54
  }
55
55
  </style>
56
- <link href="assets/css/bootstrap-responsive.min.css" rel="stylesheet">
57
- <!-- rego CSS -->
56
+ <link href="assets/css/bootstrap-responsive.min.css" rel=
57
+ "stylesheet"><!-- rego CSS -->
58
58
  <link href="assets/css/rego.css" rel="stylesheet" media="screen">
59
-
60
59
  <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
61
60
  <!--[if lt IE 9]>
62
61
  <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
63
62
  <![endif]-->
64
-
65
63
  <!-- Fav and touch icons -->
66
64
  <link rel="shortcut icon" href="../assets/ico/favicon.ico">
67
- <link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
68
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
69
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
70
- <link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">
65
+ <link rel="apple-touch-icon-precomposed" sizes="144x144" href=
66
+ "../assets/ico/apple-touch-icon-144-precomposed.png">
67
+ <link rel="apple-touch-icon-precomposed" sizes="114x114" href=
68
+ "../assets/ico/apple-touch-icon-114-precomposed.png">
69
+ <link rel="apple-touch-icon-precomposed" sizes="72x72" href=
70
+ "../assets/ico/apple-touch-icon-72-precomposed.png">
71
+ <link rel="apple-touch-icon-precomposed" href=
72
+ "../assets/ico/apple-touch-icon-57-precomposed.png">
71
73
  </head>
72
74
  <body>
73
75
  <!-- Part 1: Wrap all page content here -->
74
- <div id="wrap">
76
+ <div id="wrap">
75
77
  <!-- Begin page content -->
76
78
  <div class="container">
77
79
  <div class="page-header">
78
- <h1>Rego</h1>
79
- A <a href="http://golang.org" target="_blank"/>Go</a> regular expression tester
80
+ <h1>Rego</h1>A <a href="http://golang.org" target=
81
+ "_blank"></a>Go regular expression tester
80
82
  </div>
81
83
  <div class="row-fluid">
82
- <form id="regexpForm" action="/test_regexp" method="POST" class="span6">
83
- <label>Your regular expression :</label>
84
- <input id="regexpInput" type="text" placeholder="r([a-z]+)go" value="r([a-z]+)go" />
85
-
86
- <label>Test string :</label>
87
- <textarea id="testStringInput" rows="5" cols="20" placeholder="rego">rego</textarea>
88
-
89
- <label class="checkbox">
90
- <input id="findAllSubmatchCheckbox" type="checkbox"> Find all submatch
91
- </label>
92
-
93
- <button id="clearAllFieldsButton" class="btn btn-warning" type="button">Clear all fields</button>
84
+ <form id="regexpForm" action="/test_regexp" method="post"
85
+ class="span6" name="regexpForm">
86
+ <label>Your regular expression :</label> <input id=
87
+ "regexpInput" type="text" placeholder="r([a-z]+)go"
88
+ value="r([a-z]+)go"> <label>Test string :</label>
89
+ <textarea id="testStringInput" rows="5" cols="20"
90
+ placeholder="rego">rego</textarea> <label class=
91
+ "checkbox"><input id="findAllSubmatchCheckbox" type=
92
+ "checkbox"> Find all submatch</label> <button id=
93
+ "clearAllFieldsButton" class="btn btn-warning" type=
94
+ "button">Clear all fields</button>
94
95
  </form>
95
96
  <form class="span6">
96
97
  <label>Match :</label>
97
- <div id="match" class="well">
98
- </div>
99
-
100
- <label>Match groups :</label>
101
- <table id="matchGroupsTable" class="table table-bordered">
98
+ <div id="match" class="well"></div><label>Match groups
99
+ :</label>
100
+ <table id="matchGroupsTable" class=
101
+ "table table-bordered">
102
102
  <thead>
103
103
  <tr>
104
104
  <th>#</th>
@@ -106,14 +106,14 @@
106
106
  <th>Group Match</th>
107
107
  </tr>
108
108
  </thead>
109
- <tbody>
110
- </tbody>
109
+ <tbody></tbody>
111
110
  </table>
112
111
  </form>
113
112
  </div>
114
113
  <div class="row-fluid">
115
114
  <div id="quickref" class="well">
116
- <h3>Go RegExp Quick Reference (<a href="http://rubular.com/" target="_blank">&#0169; Rubular</a>)</h3>
115
+ <h3>Go RegExp Quick Reference (<a href=
116
+ "http://rubular.com/" target="_blank">© Rubular</a>)</h3>
117
117
  <div style="float:left">
118
118
  <table>
119
119
  <tbody>
@@ -131,7 +131,8 @@
131
131
  </tr>
132
132
  <tr>
133
133
  <td><code>[a-zA-Z]</code></td>
134
- <td>Any single character in the range a-z or A-Z</td>
134
+ <td>Any single character in the range a-z or
135
+ A-Z</td>
135
136
  </tr>
136
137
  <tr>
137
138
  <td><code>^</code></td>
@@ -152,7 +153,6 @@
152
153
  </tbody>
153
154
  </table>
154
155
  </div>
155
-
156
156
  <div style="float:left">
157
157
  <table>
158
158
  <tbody>
@@ -178,7 +178,8 @@
178
178
  </tr>
179
179
  <tr>
180
180
  <td><code>\w</code></td>
181
- <td>Any word character (letter, number, underscore)</td>
181
+ <td>Any word character (letter, number,
182
+ underscore)</td>
182
183
  </tr>
183
184
  <tr>
184
185
  <td><code>\W</code></td>
@@ -191,7 +192,6 @@
191
192
  </tbody>
192
193
  </table>
193
194
  </div>
194
-
195
195
  <table>
196
196
  <tbody>
197
197
  <tr>
@@ -228,12 +228,13 @@
228
228
  </tr>
229
229
  </tbody>
230
230
  </table>
231
-
232
231
  <div id="quickrefFooter">
233
- <p>
234
- Full syntax reference at <a href="http://code.google.com/p/re2/wiki/Syntax" target="_blank">http://code.google.com/p/re2/wiki/Syntax</a>. Go RegExp doc at <a href="http://golang.org/pkg/regexp/" target="_blank">http://golang.org/pkg/regexp/</a>.
235
- </p>
236
- <!--
232
+ <p>Full syntax reference at <a href=
233
+ "http://code.google.com/p/re2/wiki/Syntax" target=
234
+ "_blank">http://code.google.com/p/re2/wiki/Syntax</a>.
235
+ Go RegExp doc at <a href=
236
+ "http://golang.org/pkg/regexp/" target=
237
+ "_blank">http://golang.org/pkg/regexp/</a>.</p><!--
237
238
  <p>
238
239
  options:
239
240
  <code>i</code> case insensitive
@@ -246,22 +247,23 @@
246
247
  </div>
247
248
  </div>
248
249
  </div>
249
-
250
250
  <div id="push"></div>
251
- </div>
252
-
251
+ </div>
253
252
  <div id="footer">
254
253
  <div class="container">
255
- <p class="muted credit">Built by <a href="https://github.com/stevedomin" target="_blank">Steve Domin</a>. Inspired by <a href="http://rubular.com/" target="_blank">Rubular</a>. You can find the sources at <a href="https://github.com/stevedomin/rego" target="_blank">github.com/stevedomin/rego</a>.</p>
254
+ <p class="muted credit">Built by <a href=
255
+ "https://github.com/stevedomin" target="_blank">Steve
256
+ Domin</a>. Inspired by <a href="http://rubular.com/" target=
257
+ "_blank">Rubular</a>. You can find the sources at <a href=
258
+ "https://github.com/stevedomin/rego" target=
259
+ "_blank">github.com/stevedomin/rego</a>.</p>
256
260
  </div>
257
- </div>
258
-
259
-
260
- <!-- Le javascript
261
+ </div><!-- Le javascript
261
262
  ================================================== -->
262
- <!-- Placed at the end of the document so the pages load faster -->
263
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
264
- <script type="text/javascript" src="assets/js/rego.js"></script>
263
+ <!-- Placed at the end of the document so the pages load faster -->
264
+ <script src=
265
+ "//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
265
266
 
267
+ <script type="text/javascript" src="assets/js/rego.js"></script>
266
268
  </body>
267
269
  </html>
@@ -0,0 +1,46 @@
1
+ # .
2
+
3
+ This template should help get you started developing with Vue 3 in Vite.
4
+
5
+ ## Recommended IDE Setup
6
+
7
+ [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.vscode-typescript-vue-plugin).
8
+
9
+ ## Type Support for `.vue` Imports in TS
10
+
11
+ TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types.
12
+
13
+ If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:
14
+
15
+ 1. Disable the built-in TypeScript Extension
16
+ 1. Run `Extensions: Show Built-in Extensions` from VSCode's command palette
17
+ 2. Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
18
+ 2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.
19
+
20
+ ## Customize configuration
21
+
22
+ See [Vite Configuration Reference](https://vitejs.dev/config/).
23
+
24
+ ## Project Setup
25
+
26
+ ```sh
27
+ npm install
28
+ ```
29
+
30
+ ### Compile and Hot-Reload for Development
31
+
32
+ ```sh
33
+ npm run dev
34
+ ```
35
+
36
+ ### Type-Check, Compile and Minify for Production
37
+
38
+ ```sh
39
+ npm run build
40
+ ```
41
+
42
+ ### Lint with [ESLint](https://eslint.org/)
43
+
44
+ ```sh
45
+ npm run lint
46
+ ```
@@ -0,0 +1,24 @@
1
+ /* eslint-env node */
2
+ require("@rushstack/eslint-patch/modern-module-resolution")
3
+
4
+ module.exports = {
5
+ root: true,
6
+ extends: [
7
+ "plugin:vue/vue3-essential",
8
+ "eslint:recommended",
9
+ "@vue/eslint-config-typescript/recommended",
10
+ "@vue/eslint-config-prettier",
11
+ ],
12
+ env: {
13
+ "vue/setup-compiler-macros": true,
14
+ node: true,
15
+ },
16
+ overrides: [
17
+ {
18
+ files: ["src/**/*.vue"],
19
+ rules: {
20
+ "vue/multi-word-component-names": 0,
21
+ },
22
+ },
23
+ ],
24
+ }
@@ -0,0 +1,29 @@
1
+ # Logs
2
+ logs
3
+ *.log
4
+ npm-debug.log*
5
+ yarn-debug.log*
6
+ yarn-error.log*
7
+ pnpm-debug.log*
8
+ lerna-debug.log*
9
+
10
+ node_modules
11
+ .DS_Store
12
+ dist
13
+ dist-ssr
14
+ coverage
15
+ *.local
16
+
17
+ /cypress/videos/
18
+ /cypress/screenshots/
19
+ android
20
+
21
+ # Editor directories and files
22
+ .vscode/*
23
+ !.vscode/extensions.json
24
+ .idea
25
+ *.suo
26
+ *.ntvs*
27
+ *.njsproj
28
+ *.sln
29
+ *.sw?
@@ -0,0 +1,6 @@
1
+ {
2
+ "recommendations": [
3
+ "johnsoncodehk.volar",
4
+ "johnsoncodehk.vscode-typescript-vue-plugin"
5
+ ]
6
+ }
@@ -0,0 +1,10 @@
1
+ import { CapacitorConfig } from "@capacitor/cli"
2
+
3
+ const config: CapacitorConfig = {
4
+ appId: "test.app.template",
5
+ appName: "app-template",
6
+ webDir: "dist",
7
+ bundledWebRuntime: false,
8
+ }
9
+
10
+ export default config
@@ -0,0 +1 @@
1
+ /// <reference types="vite/client" />
@@ -0,0 +1,13 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <link rel="icon" href="/favicon.ico" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
+ <title>Vite App</title>
8
+ </head>
9
+ <body>
10
+ <div id="app"></div>
11
+ <script type="module" src="/src/main.ts"></script>
12
+ </body>
13
+ </html>
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "app-template",
3
+ "integrations": {
4
+ "capacitor": {}
5
+ },
6
+ "type": "vue"
7
+ }
@@ -0,0 +1,52 @@
1
+ {
2
+ "name": "app-template",
3
+ "version": "0.0.0",
4
+ "scripts": {
5
+ "dev": "vite --host",
6
+ "build": "vue-tsc --noEmit && vite build",
7
+ "preview": "vite preview --port 8080",
8
+ "typecheck": "vue-tsc --noEmit",
9
+ "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
10
+ "build_android":"npm run build && ionic capacitor build --no-build --no-open android",
11
+ "build_ios":"npm run build && ionic capacitor build --no-build --no-open ios"
12
+ },
13
+ "dependencies": {
14
+ "@capacitor/android": "3.5.0",
15
+ "@capacitor/app": "1.1.1",
16
+ "@capacitor/core": "3.5.0",
17
+ "@capacitor/haptics": "1.1.4",
18
+ "@capacitor/keyboard": "1.2.2",
19
+ "@capacitor/status-bar": "1.0.8",
20
+ "@ionic/vue": "^6.1.3",
21
+ "@ionic/vue-router": "^6.1.3",
22
+ "pinia": "^2.0.13",
23
+ "ts-node": "^10.7.0",
24
+ "vue": "^3.2.33",
25
+ "vue-router": "^4.0.14"
26
+ },
27
+ "prettier": {
28
+ "bracketSameLine": true,
29
+ "vueIndentScriptAndStyle": true,
30
+ "htmlWhitespaceSensitivity": "ignore",
31
+ "semi": false
32
+ },
33
+ "devDependencies": {
34
+ "@capacitor/cli": "3.5.0",
35
+ "@rushstack/eslint-patch": "^1.1.0",
36
+ "@types/node": "^16.11.27",
37
+ "@vitejs/plugin-vue": "^2.3.1",
38
+ "@vitejs/plugin-vue-jsx": "^1.3.10",
39
+ "@vue/eslint-config-prettier": "^7.0.0",
40
+ "@vue/eslint-config-typescript": "^10.0.0",
41
+ "@vue/tsconfig": "^0.1.3",
42
+ "autoprefixer": "^10.4.5",
43
+ "eslint": "^8.5.0",
44
+ "eslint-plugin-vue": "^8.2.0",
45
+ "postcss": "^8.4.12",
46
+ "prettier": "^2.5.1",
47
+ "tailwindcss": "^3.0.24",
48
+ "typescript": "~4.6.3",
49
+ "vite": "^2.9.5",
50
+ "vue-tsc": "^0.34.7"
51
+ }
52
+ }
@@ -0,0 +1,6 @@
1
+ module.exports = {
2
+ plugins: {
3
+ tailwindcss: {},
4
+ autoprefixer: {},
5
+ },
6
+ }
@@ -0,0 +1,11 @@
1
+ <script setup lang="ts">
2
+ import { IonApp, IonRouterOutlet } from "@ionic/vue"
3
+ </script>
4
+
5
+ <template>
6
+ <ion-app>
7
+ <ion-router-outlet />
8
+ </ion-app>
9
+ </template>
10
+
11
+ <style></style>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 261.76 226.69" xmlns:v="https://vecta.io/nano"><path d="M161.096.001l-30.225 52.351L100.647.001H-.005l130.877 226.688L261.749.001z" fill="#41b883"/><path d="M161.096.001l-30.225 52.351L100.647.001H52.346l78.526 136.01L209.398.001z" fill="#34495e"/></svg>
@@ -0,0 +1,3 @@
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;