@citruslime/create-boilerplate 2.0.3 → 2.0.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.
- package/main.js +1 -3
- package/package.json +1 -1
- package/template/src/app.vue +6 -4
package/main.js
CHANGED
|
@@ -6,7 +6,7 @@ import { fileURLToPath, URL } from 'node:url';
|
|
|
6
6
|
|
|
7
7
|
import { green, lightBlue, red } from 'kolorist';
|
|
8
8
|
import parseArgs from 'minimist';
|
|
9
|
-
import prompts from 'prompts';
|
|
9
|
+
import { default as prompts } from 'prompts';
|
|
10
10
|
|
|
11
11
|
const argv = parseArgs(process.argv.slice(2));
|
|
12
12
|
const cwd = process.cwd();
|
|
@@ -24,7 +24,6 @@ const placeholdersToReplace = {
|
|
|
24
24
|
};
|
|
25
25
|
|
|
26
26
|
const filesToRename = {
|
|
27
|
-
/* eslint-disable @typescript-eslint/naming-convention */
|
|
28
27
|
_gitattributes: '.gitattributes',
|
|
29
28
|
_gitignore: '.gitignore',
|
|
30
29
|
_editorconfig: '.editorconfig',
|
|
@@ -33,7 +32,6 @@ const filesToRename = {
|
|
|
33
32
|
'_stylelint.config.js': 'stylelint.config.js',
|
|
34
33
|
'template.code-workspace': 'citrus-lime.code-workspace',
|
|
35
34
|
_npmrc: '.npmrc'
|
|
36
|
-
/* eslint-enable @typescript-eslint/naming-convention */
|
|
37
35
|
};
|
|
38
36
|
|
|
39
37
|
const dependenciesToInstall = [
|
package/package.json
CHANGED
package/template/src/app.vue
CHANGED
|
@@ -3,11 +3,13 @@ const route = useRoute();
|
|
|
3
3
|
</script>
|
|
4
4
|
|
|
5
5
|
<style lang="postcss">
|
|
6
|
-
|
|
6
|
+
/* stylelint-disable-next-line import-notation */
|
|
7
|
+
@import 'tailwindcss';
|
|
8
|
+
@import url('../../../ui/src/main.css');
|
|
9
|
+
@import url('highlight.js/styles/base16/material-palenight.css');
|
|
7
10
|
|
|
8
|
-
|
|
9
|
-
@tailwind
|
|
10
|
-
@tailwind utilities;
|
|
11
|
+
/* stylelint-disable-next-line at-rule-no-unknown */
|
|
12
|
+
@reference '../../../theme/tailwind-theme.css';
|
|
11
13
|
|
|
12
14
|
body {
|
|
13
15
|
@apply bg-off-white min-h-full w-full xl:min-h-screen;
|