From d6381c41995e213ee9ad38ebf6efb2dddefce324 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Thu, 3 Aug 2023 17:23:56 -0400 Subject: [PATCH 01/25] adding new ./tests/generators/jetstream/generate-tsconfig-json.test.ts --- .../jetstream/generate-tsconfig-json.test.ts | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tests/generators/jetstream/generate-tsconfig-json.test.ts diff --git a/tests/generators/jetstream/generate-tsconfig-json.test.ts b/tests/generators/jetstream/generate-tsconfig-json.test.ts new file mode 100644 index 00000000..7828f5ab --- /dev/null +++ b/tests/generators/jetstream/generate-tsconfig-json.test.ts @@ -0,0 +1,20 @@ +// ./tests/generators/jetstream/generate-tsconfig-json.test.ts + +import { describe, expect, test } from '@jest/globals' +import generateTsconfigJson from '../../../src/generators/jetstream/generate-tsconfig-json' + +describe('./src/generators/jetstream/vscode/generate-tsconfig-json module', () => { + + test('module can be imported and a value can be accessed successfully', () => { + + expect(generateTsconfigJson).toBeTruthy() + + }) + + test('module default value is a valid string', () => { + + expect(typeof generateTsconfigJson() === 'string').toBe(true) + + }) + +}) From 259cf995f9d81cc18301102145ea7b6aaabd1139 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Thu, 3 Aug 2023 17:24:06 -0400 Subject: [PATCH 02/25] adding new ./tests/generators/jetstream/resources/js/generate-vite-tsx-d-ts.test.ts --- .../js/generate-vite-tsx-d-ts.test.ts | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tests/generators/jetstream/resources/js/generate-vite-tsx-d-ts.test.ts diff --git a/tests/generators/jetstream/resources/js/generate-vite-tsx-d-ts.test.ts b/tests/generators/jetstream/resources/js/generate-vite-tsx-d-ts.test.ts new file mode 100644 index 00000000..dbe850aa --- /dev/null +++ b/tests/generators/jetstream/resources/js/generate-vite-tsx-d-ts.test.ts @@ -0,0 +1,21 @@ +// ./tests/generators/jetstream/resources/js/generate-vite-tsx-d-ts.test.ts + +import { describe, expect, test } from '@jest/globals' + +import generateViteTsxDTs from '../../../../../src/generators/jetstream/resources/js/generate-vite-tsx-d-ts' + +describe('./src/generators/jetstream/resources/js/generate-vite-tsx-d-ts module', () => { + + test('module can be imported successfully', () => { + + expect(generateViteTsxDTs).toBeTruthy() + + }) + + test('module default value is a valid string', () => { + + expect(typeof generateViteTsxDTs() === 'string').toBe(true) + + }) + +}) From c3f3cc04701946cac25263cec203d42717f2bd48 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Thu, 3 Aug 2023 17:24:15 -0400 Subject: [PATCH 03/25] adding new ./tests/generators/jetstream/resources/js/generate-vite-window-d-ts.test.ts --- .../js/generate-vite-window-d-ts.test.ts | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tests/generators/jetstream/resources/js/generate-vite-window-d-ts.test.ts diff --git a/tests/generators/jetstream/resources/js/generate-vite-window-d-ts.test.ts b/tests/generators/jetstream/resources/js/generate-vite-window-d-ts.test.ts new file mode 100644 index 00000000..7ce54b7c --- /dev/null +++ b/tests/generators/jetstream/resources/js/generate-vite-window-d-ts.test.ts @@ -0,0 +1,21 @@ +// ./tests/generators/jetstream/resources/js/generate-vite-window-d-ts.test.ts + +import { describe, expect, test } from '@jest/globals' + +import generateViteWindowDTs from '../../../../../src/generators/jetstream/resources/js/generate-vite-window-d-ts' + +describe('./src/generators/jetstream/resources/js/generate-vite-window-d-ts module', () => { + + test('module can be imported successfully', () => { + + expect(generateViteWindowDTs).toBeTruthy() + + }) + + test('module default value is a valid string', () => { + + expect(typeof generateViteWindowDTs() === 'string').toBe(true) + + }) + +}) From 625d50bdccfb93bc288103f8f13c64e0c39e59c2 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Thu, 3 Aug 2023 17:24:25 -0400 Subject: [PATCH 04/25] adding new ./src/generators/jetstream/generate-tsconfig-json.ts --- src/generators/jetstream/generate-tsconfig-json.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/generators/jetstream/generate-tsconfig-json.ts diff --git a/src/generators/jetstream/generate-tsconfig-json.ts b/src/generators/jetstream/generate-tsconfig-json.ts new file mode 100644 index 00000000..48abca89 --- /dev/null +++ b/src/generators/jetstream/generate-tsconfig-json.ts @@ -0,0 +1,9 @@ +// ./src/generators/jetstream/generate-tsconfig-json.ts + +import viltDsTypescriptConfig from '../../data/typescript/vilt-ds-typescript-config.js' + +export default function (): string { + + return JSON.stringify(viltDsTypescriptConfig, null, 4) + +} From 32ea67bf187ff9db5ab5aa8870482a5f92827817 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Thu, 3 Aug 2023 17:24:39 -0400 Subject: [PATCH 05/25] adding new ./src/generators/jetstream/resources/js/generate-vite-tsx-d-ts.ts --- .../resources/js/generate-vite-tsx-d-ts.ts | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/generators/jetstream/resources/js/generate-vite-tsx-d-ts.ts diff --git a/src/generators/jetstream/resources/js/generate-vite-tsx-d-ts.ts b/src/generators/jetstream/resources/js/generate-vite-tsx-d-ts.ts new file mode 100644 index 00000000..45884349 --- /dev/null +++ b/src/generators/jetstream/resources/js/generate-vite-tsx-d-ts.ts @@ -0,0 +1,23 @@ +// ./src/generators/jetstream/resources/js/generate-vite-tsx-d-ts.ts + +export default function (): string { + +return `// ./resources/js/vite-tsx.d.ts + +import type { VNode } from 'vue' +import Vue from 'vue' + +declare global { + namespace JSX { + // tslint:disable no-empty-interface + interface Element extends VNode {} + // tslint:disable no-empty-interface + interface ElementClass extends Vue {} + interface IntrinsicElements { + [elem: string]: any + } + } +} +`; + +} From 3624525fdfeac6920d696b4ab48d9ebfb9714063 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Thu, 3 Aug 2023 17:24:48 -0400 Subject: [PATCH 06/25] adding new ./src/generators/jetstream/generate-vite-window-d-ts.ts --- .../resources/js/generate-vite-window-d-ts.ts | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/generators/jetstream/resources/js/generate-vite-window-d-ts.ts diff --git a/src/generators/jetstream/resources/js/generate-vite-window-d-ts.ts b/src/generators/jetstream/resources/js/generate-vite-window-d-ts.ts new file mode 100644 index 00000000..4b17e9b7 --- /dev/null +++ b/src/generators/jetstream/resources/js/generate-vite-window-d-ts.ts @@ -0,0 +1,24 @@ +// ./src/generators/jetstream/generate-vite-window-d-ts.ts + +export default function (): string { + +return `// ./resources/js/vite-window.d.ts + +import type { AxiosInstance } from 'axios' +import type { Config, InputParams, Router } from 'ziggy-js' + +declare global { + + interface Window { + _: Lodash, + axios: AxiosInstance + "Ziggy": Config + } + + declare function route(): Router; + declare function route(name: string, params?: InputParams, absolute?: boolean, customZiggy?: Config): string; + +} +`; + +} From b54a3116f53a8910ce1bad1f62620218a8a0386d Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Thu, 3 Aug 2023 17:25:28 -0400 Subject: [PATCH 07/25] updating installTsconfigJson.ts to use generate-tsconfig-json.js --- src/installers/jetstream/installTsconfigJson.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/installers/jetstream/installTsconfigJson.ts b/src/installers/jetstream/installTsconfigJson.ts index 68fede1a..94a7665d 100644 --- a/src/installers/jetstream/installTsconfigJson.ts +++ b/src/installers/jetstream/installTsconfigJson.ts @@ -2,10 +2,10 @@ import installWhenNoFile from '../../helpers/install-when-no-file.js' -import viltDsTypescriptConfig from '../../data/typescript/vilt-ds-typescript-config.js' +import generateTsconfigJson from '../../generators/jetstream/generate-tsconfig-json.js' export default function (): void { - installWhenNoFile( '/', 'tsconfig.json', JSON.stringify(viltDsTypescriptConfig, null, 4) ) + installWhenNoFile( '/', 'tsconfig.json', generateTsconfigJson() ) } From 3ceb72461248bced4c9966cd075775377adf7227 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Thu, 3 Aug 2023 17:25:49 -0400 Subject: [PATCH 08/25] updating installViteTsxDts.ts to use generate-vite-tsx-d-ts.js --- src/installers/jetstream/installViteTsxDts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/installers/jetstream/installViteTsxDts.ts b/src/installers/jetstream/installViteTsxDts.ts index 28c5430e..1a5a6b43 100644 --- a/src/installers/jetstream/installViteTsxDts.ts +++ b/src/installers/jetstream/installViteTsxDts.ts @@ -2,7 +2,7 @@ import installWhenNoFile from '../../helpers/install-when-no-file.js' -import generateViteTsxDts from '../../generators/jetstream/generateViteTsxDts.js' +import generateViteTsxDts from '../../generators/jetstream/resources/js/generate-vite-tsx-d-ts.js' export default function (): void { From fd0a3779c43d1ed83e1f53b23b1e1b07cc61db3c Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Thu, 3 Aug 2023 17:26:10 -0400 Subject: [PATCH 09/25] updating installViteWindowDts.ts to use generate-vite-window-d-ts.js --- src/installers/jetstream/installViteWindowDts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/installers/jetstream/installViteWindowDts.ts b/src/installers/jetstream/installViteWindowDts.ts index 94126b12..65c89575 100644 --- a/src/installers/jetstream/installViteWindowDts.ts +++ b/src/installers/jetstream/installViteWindowDts.ts @@ -2,7 +2,7 @@ import installWhenNoFile from '../../helpers/install-when-no-file.js' -import generateViteWindowDts from '../../generators/jetstream/generateViteWindowDts.js' +import generateViteWindowDts from '../../generators/jetstream/resources/js/generate-vite-window-d-ts.js' export default function (): void { From 6073ef607449533b23d254e5f7b40b9456136ce4 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Thu, 3 Aug 2023 17:26:25 -0400 Subject: [PATCH 10/25] removing ./src/generators/jetstream/generateViteTsxDts.ts --- .../jetstream/generateViteTsxDts.ts | 23 ------------------- 1 file changed, 23 deletions(-) delete mode 100644 src/generators/jetstream/generateViteTsxDts.ts diff --git a/src/generators/jetstream/generateViteTsxDts.ts b/src/generators/jetstream/generateViteTsxDts.ts deleted file mode 100644 index 6ce756ae..00000000 --- a/src/generators/jetstream/generateViteTsxDts.ts +++ /dev/null @@ -1,23 +0,0 @@ -// ./src/generators/jetstream/generateViteTsxDts.ts - -export default function (): string { - -return `// ./resources/js/vite-tsx.d.ts - -import type { VNode } from 'vue' -import Vue from 'vue' - -declare global { - namespace JSX { - // tslint:disable no-empty-interface - interface Element extends VNode {} - // tslint:disable no-empty-interface - interface ElementClass extends Vue {} - interface IntrinsicElements { - [elem: string]: any - } - } -} -`; - -} From 261381307eefc4607848dee8003a33b43e03efed Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Thu, 3 Aug 2023 17:26:35 -0400 Subject: [PATCH 11/25] removing ./src/generators/jetstream/generateViteWindowDts.ts --- .../jetstream/generateViteWindowDts.ts | 24 ------------------- 1 file changed, 24 deletions(-) delete mode 100644 src/generators/jetstream/generateViteWindowDts.ts diff --git a/src/generators/jetstream/generateViteWindowDts.ts b/src/generators/jetstream/generateViteWindowDts.ts deleted file mode 100644 index 68f9fbbc..00000000 --- a/src/generators/jetstream/generateViteWindowDts.ts +++ /dev/null @@ -1,24 +0,0 @@ -// ./src/generators/jetstream/generateViteWindowDts.ts - -export default function (): string { - -return `// ./resources/js/vite-window.d.ts - -import type { AxiosInstance } from 'axios' -import type { Config, InputParams, Router } from 'ziggy-js' - -declare global { - - interface Window { - _: Lodash, - axios: AxiosInstance - "Ziggy": Config - } - - declare function route(): Router; - declare function route(name: string, params?: InputParams, absolute?: boolean, customZiggy?: Config): string; - -} -`; - -} From f92d0cba3360799c8da06670a6914118589bebd9 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Thu, 3 Aug 2023 18:24:10 -0400 Subject: [PATCH 12/25] adding new ./tests/generators/jetstream/generate-gitignore.test.ts --- .../jetstream/generate-gitignore.test.ts | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tests/generators/jetstream/generate-gitignore.test.ts diff --git a/tests/generators/jetstream/generate-gitignore.test.ts b/tests/generators/jetstream/generate-gitignore.test.ts new file mode 100644 index 00000000..7ee15f44 --- /dev/null +++ b/tests/generators/jetstream/generate-gitignore.test.ts @@ -0,0 +1,20 @@ +// ./tests/generators/jetstream/generate-gitignore.test.ts + +import { describe, expect, test } from '@jest/globals' +import generateGitignore from '../../../src/generators/jetstream/generate-gitignore' + +describe('./src/generators/jetstream/vscode/generate-gitignore.test module', () => { + + test('module can be imported and a value can be accessed successfully', () => { + + expect(generateGitignore).toBeTruthy() + + }) + + test('module default value is a valid string', () => { + + expect(typeof generateGitignore('# some gitignore text to insert') === 'string').toBe(true) + + }) + +}) From 1e9fa73e93941d07f2029d5c14d328a79a57c316 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Thu, 3 Aug 2023 18:24:21 -0400 Subject: [PATCH 13/25] adding new ./tests/generators/jetstream/generate-tailwind-config-ts.test.ts --- .../generate-tailwind-config-ts.test.ts | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tests/generators/jetstream/generate-tailwind-config-ts.test.ts diff --git a/tests/generators/jetstream/generate-tailwind-config-ts.test.ts b/tests/generators/jetstream/generate-tailwind-config-ts.test.ts new file mode 100644 index 00000000..f7cec52c --- /dev/null +++ b/tests/generators/jetstream/generate-tailwind-config-ts.test.ts @@ -0,0 +1,20 @@ +// ./tests/generators/jetstream/generate-tailwind-config-ts.test.ts + +import { describe, expect, test } from '@jest/globals' +import generateTailwindConfigTs from '../../../src/generators/jetstream/generate-tailwind-config-ts' + +describe('./src/generators/jetstream/vscode/generate-tailwind-config-ts.test module', () => { + + test('module can be imported and a value can be accessed successfully', () => { + + expect(generateTailwindConfigTs).toBeTruthy() + + }) + + test('module default value is a valid string', () => { + + expect(typeof generateTailwindConfigTs() === 'string').toBe(true) + + }) + +}) From 4419f7193265a52955b087e7acb543c875fcd26c Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Thu, 3 Aug 2023 18:24:38 -0400 Subject: [PATCH 14/25] adding new ./tests/generators/jetstream/generate-vite-config-ts.test.ts --- .../jetstream/generate-vite-config-ts.test.ts | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tests/generators/jetstream/generate-vite-config-ts.test.ts diff --git a/tests/generators/jetstream/generate-vite-config-ts.test.ts b/tests/generators/jetstream/generate-vite-config-ts.test.ts new file mode 100644 index 00000000..2b37cdb0 --- /dev/null +++ b/tests/generators/jetstream/generate-vite-config-ts.test.ts @@ -0,0 +1,20 @@ +// ./tests/generators/jetstream/generate-vite-config-ts.test.ts + +import { describe, expect, test } from '@jest/globals' +import generateViteConfigTs from '../../../src/generators/jetstream/generate-vite-config-ts' + +describe('./src/generators/jetstream/vscode/generate-vite-config-ts.test module', () => { + + test('module can be imported and a value can be accessed successfully', () => { + + expect(generateViteConfigTs).toBeTruthy() + + }) + + test('module default value is a valid string', () => { + + expect(typeof generateViteConfigTs() === 'string').toBe(true) + + }) + +}) From ab68b39616d16c97a0b1ebdf062d609f4ab9997d Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Thu, 3 Aug 2023 18:24:51 -0400 Subject: [PATCH 15/25] adding new ./src/generators/jetstream/generate-gitignore.ts --- .../jetstream/generate-gitignore.ts | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/generators/jetstream/generate-gitignore.ts diff --git a/src/generators/jetstream/generate-gitignore.ts b/src/generators/jetstream/generate-gitignore.ts new file mode 100644 index 00000000..4fb38b6b --- /dev/null +++ b/src/generators/jetstream/generate-gitignore.ts @@ -0,0 +1,20 @@ +// ./src/generators/jetstream/generate-gitignore.ts + +import viltDsDeveloperGitignore from '../../data/gitignore/vilt-ds-developer-gitignore.js' +import viltDsMacGitignore from '../../data/gitignore/vilt-ds-mac-gitignore.js' +import viltDsWindowsGitignore from '../../data/gitignore/vilt-ds-windows-gitignore.js' + +export default function (installedGitignoreText:string): string { + +return `# ./.gitignore + +${installedGitignoreText} + +${viltDsDeveloperGitignore} + +${viltDsMacGitignore} + +${viltDsWindowsGitignore} +`; + +} From 544b9e5db960b5b9aec0ff8854827b625c6cbf6f Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Thu, 3 Aug 2023 18:25:00 -0400 Subject: [PATCH 16/25] adding new ./src/generators/jetstream/generate-tailwind-config-ts.ts --- .../jetstream/generate-tailwind-config-ts.ts | 104 ++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 src/generators/jetstream/generate-tailwind-config-ts.ts diff --git a/src/generators/jetstream/generate-tailwind-config-ts.ts b/src/generators/jetstream/generate-tailwind-config-ts.ts new file mode 100644 index 00000000..e802a290 --- /dev/null +++ b/src/generators/jetstream/generate-tailwind-config-ts.ts @@ -0,0 +1,104 @@ +// ./src/generators/jetstream/generate-tailwind-config-ts.ts + +export default function (): string { + +return `// ./tailwind.config.ts + +import type { Config } from 'tailwindcss' + +import defaultTheme from 'tailwindcss/defaultTheme' +import aspectRatio from '@tailwindcss/aspect-ratio' +import forms from '@tailwindcss/forms' +import typography from '@tailwindcss/typography' +import headlessUiTailwindCss from '@headlessui/tailwindcss' +import tailwindScrollbar from 'tailwind-scrollbar' + +import vvExtendAnimation from './node_modules/@obewds/vueventus/dist/data/extend.animation.json' +import vvExtendKeyframes from './node_modules/@obewds/vueventus/dist/data/extend.keyframes.json' +import vvExtendMaxWidth from './node_modules/@obewds/vueventus/dist/data/extend.maxWidth.json' +import vvExtendRotate from './node_modules/@obewds/vueventus/dist/data/extend.rotate.json' +import vvExtendScale from './node_modules/@obewds/vueventus/dist/data/extend.scale.json' +import vvExtendTransitionDuration from './node_modules/@obewds/vueventus/dist/data/extend.transitionDuration.json' +import vvExtendWidth from './node_modules/@obewds/vueventus/dist/data/extend.width.json' +// import vvDefaultAppColors from './node_modules/@obewds/vueventus/dist/data/app.color.data.json' +import vvAppColors from './resources/js/app.colors.json' +// import vvThemeFontSize from './node_modules/@obewds/vueventus/dist/data/theme.fontSize.json' +import vvThemeListStyleType from './node_modules/@obewds/vueventus/dist/data/theme.listStyleType.json' +import vvThemeOpacity from './node_modules/@obewds/vueventus/dist/data/theme.opacity.json' +import vvThemeScreens from './node_modules/@obewds/vueventus/dist/data/theme.screens.json' + +export default >{ + + darkMode: 'class', + + content: [ + './vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php', + './vendor/laravel/jetstream/**/*.blade.php', + './storage/framework/views/*.php', + './resources/views/**/*.blade.php', + './resources/js/**/*.vue', + // Include VueVentus default TWCSS classes (for prototyping): + "./node_modules/@obewds/vueventus/**/*.{vue,js,ts,jsx,tsx,json}", + './resources/js/**/*.ts', + ], + + theme: { + extend: { + fontFamily: { + sans: ['Figtree', ...defaultTheme.fontFamily.sans], + heading: ['Nunito', ...defaultTheme.fontFamily.sans], + body: ['Nunito', ...defaultTheme.fontFamily.sans], + }, + animation: vvExtendAnimation, + keyframes: vvExtendKeyframes, + maxWidth: vvExtendMaxWidth, + rotate: vvExtendRotate, + scale: vvExtendScale, + transitionDuration: vvExtendTransitionDuration, + width: vvExtendWidth, + }, + // colors: vvDefaultAppColors + colors: vvAppColors, + fontSize: { + "5xs": ["0.35rem", { "lineHeight": "0.5rem" }], + "4xs": ["0.45rem", { "lineHeight": "0.9rem" }], + "3xs": ["0.55rem", { "lineHeight": "1rem" }], + "2xs": ["0.65rem", { "lineHeight": "1rem" }], + "xxs": ["0.65rem", { "lineHeight": "1rem" }], + "xs": ["0.75rem", { "lineHeight": "1.125rem" }], + "sm": ["0.875rem", { "lineHeight": "1.25rem" }], + "tiny": ["0.875rem", { "lineHeight": "1.375rem" }], + "base": ["1rem", { "lineHeight": "1.5rem" }], + "md": ["1rem", { "lineHeight": "1.5rem" }], + "lg": ["1.125rem", { "lineHeight": "1.75rem" }], + "xl": ["1.25rem", { "lineHeight": "1.75rem" }], + "xxl": ["1.5rem", { "lineHeight": "2rem" }], + "2xl": ["1.5rem", { "lineHeight": "2rem" }], + "3xl": ["1.875rem", { "lineHeight": "2.25rem" }], + "4xl": ["2.25rem", { "lineHeight": "2.5rem" }], + "5xl": ["2.5rem", { "lineHeight": "2.875rem" }], + "6xl": ["2.875rem", { "lineHeight": "3.25rem" }], + "7xl": ["3.25rem", { "lineHeight": "3.5rem" }], + "8xl": ["3.5rem", { "lineHeight": "3.875rem" }], + "9xl": ["3.875rem", { "lineHeight": "4.25rem" }], + "10xl": ["4.25rem", { "lineHeight": "4.5rem" }], + "11xl": ["4.5rem", { "lineHeight": "4.875rem" }], + "12xl": ["4.875rem", { "lineHeight": "5.25rem" }] + }, + listStyleType: vvThemeListStyleType, + opacity: vvThemeOpacity, + screens: vvThemeScreens, + }, + + variants: { + extend: { + opacity: ['disabled'] + }, + scrollbar: ['dark'] + }, + + plugins: [aspectRatio, forms, typography, headlessUiTailwindCss, tailwindScrollbar], +} +`; + +} From 151ee0de1465c472403fb2447e4b84c55b7e2888 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Thu, 3 Aug 2023 18:25:08 -0400 Subject: [PATCH 17/25] adding new ./src/generators/jetstream/generate-vite-config-ts.ts --- .../jetstream/generate-vite-config-ts.ts | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 src/generators/jetstream/generate-vite-config-ts.ts diff --git a/src/generators/jetstream/generate-vite-config-ts.ts b/src/generators/jetstream/generate-vite-config-ts.ts new file mode 100644 index 00000000..464f93bc --- /dev/null +++ b/src/generators/jetstream/generate-vite-config-ts.ts @@ -0,0 +1,37 @@ +// ./src/generators/jetstream/generate-vite-config-ts.ts + +export default function (): string { + +return `// ./vite.config.ts + +import { defineConfig } from 'vite' +import laravel from 'laravel-vite-plugin' +import vue from '@vitejs/plugin-vue' + +export default defineConfig({ + plugins: [ + laravel({ + input: 'resources/js/app.ts', + ssr: 'resources/js/ssr.js', + refresh: true, + }), + vue({ + template: { + transformAssetUrls: { + base: null, + includeAbsolute: false, + }, + }, + }), + ], + // note this isn't really needed if not doing advanced work with ziggy routes + resolve: { + alias: { + // ziggy: 'vendor/tightenco/ziggy/dist', + ziggy: 'vendor/tightenco/ziggy/dist/vue.es.js', // if using the Vue plugin + }, + }, +}) +`; + +} From 35a8171423faa5247f4eef11d9ecd1b33d2c633e Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Thu, 3 Aug 2023 18:25:45 -0400 Subject: [PATCH 18/25] switching imported helpers over to new kebob case files --- src/installers/jetstream/installTailwindConfigTs.ts | 2 +- src/installers/jetstream/installViteConfigTs.ts | 2 +- src/updaters/jetstream/updateGitignore.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/installers/jetstream/installTailwindConfigTs.ts b/src/installers/jetstream/installTailwindConfigTs.ts index 022b18ed..929e7cd4 100644 --- a/src/installers/jetstream/installTailwindConfigTs.ts +++ b/src/installers/jetstream/installTailwindConfigTs.ts @@ -2,7 +2,7 @@ import installWhenNoFile from '../../helpers/install-when-no-file.js' -import generateTailwindConfigTs from '../../generators/jetstream/generateTailwindConfigTs.js' +import generateTailwindConfigTs from '../../generators/jetstream/generate-tailwind-config-ts.js' export default function (): void { diff --git a/src/installers/jetstream/installViteConfigTs.ts b/src/installers/jetstream/installViteConfigTs.ts index 4e025fe7..3c02052b 100644 --- a/src/installers/jetstream/installViteConfigTs.ts +++ b/src/installers/jetstream/installViteConfigTs.ts @@ -2,7 +2,7 @@ import installWhenNoFile from '../../helpers/install-when-no-file.js' -import generateViteConfigTs from '../../generators/jetstream/generateViteConfigTs.js' +import generateViteConfigTs from '../../generators/jetstream/generate-vite-config-ts.js' export default function (): void { diff --git a/src/updaters/jetstream/updateGitignore.ts b/src/updaters/jetstream/updateGitignore.ts index f0f9eaee..d98839c6 100644 --- a/src/updaters/jetstream/updateGitignore.ts +++ b/src/updaters/jetstream/updateGitignore.ts @@ -2,7 +2,7 @@ import fs from 'fs-extra' -import generateGitignore from '../../generators/jetstream/generateGitignore.js' +import generateGitignore from '../../generators/jetstream/generate-gitignore.js' import cliSuccessMessage from '../../helpers/cli-success-message.js' import cliWarningMessage from '../../helpers/cli-warning-message.js' From 0472d6219d4028332ae4be9dbd1c9d8e23a2c894 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Thu, 3 Aug 2023 18:26:01 -0400 Subject: [PATCH 19/25] improving test coverage for ./tests/helpers/run.test.ts --- tests/helpers/run.test.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/helpers/run.test.ts b/tests/helpers/run.test.ts index d6c120b5..1fc27e1c 100644 --- a/tests/helpers/run.test.ts +++ b/tests/helpers/run.test.ts @@ -11,4 +11,12 @@ describe('./src/helpers/run module', () => { }) + test('module can run a command line command successfully', () => { + + let command = run("node -v") + + expect(command).toBe(undefined) + + }) + }) From 923946fae4970820363ef94d046c931da3ffaac6 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Thu, 3 Aug 2023 18:26:22 -0400 Subject: [PATCH 20/25] improving test coverage for ./tests/helpers/update-when-file-exists.test.ts --- tests/helpers/update-when-file-exists.test.ts | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/tests/helpers/update-when-file-exists.test.ts b/tests/helpers/update-when-file-exists.test.ts index 465660da..c5a4fa57 100644 --- a/tests/helpers/update-when-file-exists.test.ts +++ b/tests/helpers/update-when-file-exists.test.ts @@ -1,6 +1,9 @@ // ./tests/helpers/update-when-file-exists.test.ts import { describe, expect, test } from '@jest/globals' +import fs from 'fs-extra' +import installWhenNoFile from '../../src/helpers/install-when-no-file' +import projectFileDoesExist from '../../src/helpers/project-file-does-exist.js' import updateWhenFileExists from '../../src/helpers/update-when-file-exists' describe('./src/helpers/update-when-file-exists module', () => { @@ -11,4 +14,26 @@ describe('./src/helpers/update-when-file-exists module', () => { }) + test('module does not update a non-existing file', async () => { + + updateWhenFileExists('', '/TESTING-2.txt', 'Testing the content.') + + expect(projectFileDoesExist('/TESTING-2.txt')).toBe(false) + + }) + + test('module can update an existing file successfully', async () => { + + expect(projectFileDoesExist('/TESTING-2.txt')).toBe(false) + + installWhenNoFile('', '/TESTING-2.txt', 'Testing the content.') + + updateWhenFileExists('', '/TESTING-2.txt', 'Changed text.') + + expect(projectFileDoesExist('/TESTING-2.txt')).toBe(true) + + fs.removeSync('./TESTING-2.txt') + + }) + }) From bea97a220000f625559f301729809a46c0a8cc37 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Thu, 3 Aug 2023 18:26:31 -0400 Subject: [PATCH 21/25] removing ./src/generators/jetstream/generateGitignore.ts --- src/generators/jetstream/generateGitignore.ts | 20 ------------------- 1 file changed, 20 deletions(-) delete mode 100644 src/generators/jetstream/generateGitignore.ts diff --git a/src/generators/jetstream/generateGitignore.ts b/src/generators/jetstream/generateGitignore.ts deleted file mode 100644 index 0dd586c3..00000000 --- a/src/generators/jetstream/generateGitignore.ts +++ /dev/null @@ -1,20 +0,0 @@ -// ./src/generators/jetstream/generateGitignore.ts - -import viltDsDeveloperGitignore from '../../data/gitignore/vilt-ds-developer-gitignore.js' -import viltDsMacGitignore from '../../data/gitignore/vilt-ds-mac-gitignore.js' -import viltDsWindowsGitignore from '../../data/gitignore/vilt-ds-windows-gitignore.js' - -export default function (installedGitignoreText:string): string { - -return `# ./.gitignore - -${installedGitignoreText} - -${viltDsDeveloperGitignore} - -${viltDsMacGitignore} - -${viltDsWindowsGitignore} -`; - -} From 12065403507f0775113ceab030b7ab4bf8b62190 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Thu, 3 Aug 2023 18:26:38 -0400 Subject: [PATCH 22/25] removing ./src/generators/jetstream/generateTailwindConfigTs.ts --- .../jetstream/generateTailwindConfigTs.ts | 104 ------------------ 1 file changed, 104 deletions(-) delete mode 100644 src/generators/jetstream/generateTailwindConfigTs.ts diff --git a/src/generators/jetstream/generateTailwindConfigTs.ts b/src/generators/jetstream/generateTailwindConfigTs.ts deleted file mode 100644 index b0caca0d..00000000 --- a/src/generators/jetstream/generateTailwindConfigTs.ts +++ /dev/null @@ -1,104 +0,0 @@ -// ./src/generators/jetstream/generateTailwindConfigTs.ts - -export default function (): string { - -return `// ./tailwind.config.ts - -import type { Config } from 'tailwindcss' - -import defaultTheme from 'tailwindcss/defaultTheme' -import aspectRatio from '@tailwindcss/aspect-ratio' -import forms from '@tailwindcss/forms' -import typography from '@tailwindcss/typography' -import headlessUiTailwindCss from '@headlessui/tailwindcss' -import tailwindScrollbar from 'tailwind-scrollbar' - -import vvExtendAnimation from './node_modules/@obewds/vueventus/dist/data/extend.animation.json' -import vvExtendKeyframes from './node_modules/@obewds/vueventus/dist/data/extend.keyframes.json' -import vvExtendMaxWidth from './node_modules/@obewds/vueventus/dist/data/extend.maxWidth.json' -import vvExtendRotate from './node_modules/@obewds/vueventus/dist/data/extend.rotate.json' -import vvExtendScale from './node_modules/@obewds/vueventus/dist/data/extend.scale.json' -import vvExtendTransitionDuration from './node_modules/@obewds/vueventus/dist/data/extend.transitionDuration.json' -import vvExtendWidth from './node_modules/@obewds/vueventus/dist/data/extend.width.json' -// import vvDefaultAppColors from './node_modules/@obewds/vueventus/dist/data/app.color.data.json' -import vvAppColors from './resources/js/app.colors.json' -// import vvThemeFontSize from './node_modules/@obewds/vueventus/dist/data/theme.fontSize.json' -import vvThemeListStyleType from './node_modules/@obewds/vueventus/dist/data/theme.listStyleType.json' -import vvThemeOpacity from './node_modules/@obewds/vueventus/dist/data/theme.opacity.json' -import vvThemeScreens from './node_modules/@obewds/vueventus/dist/data/theme.screens.json' - -export default >{ - - darkMode: 'class', - - content: [ - './vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php', - './vendor/laravel/jetstream/**/*.blade.php', - './storage/framework/views/*.php', - './resources/views/**/*.blade.php', - './resources/js/**/*.vue', - // Include VueVentus default TWCSS classes (for prototyping): - "./node_modules/@obewds/vueventus/**/*.{vue,js,ts,jsx,tsx,json}", - './resources/js/**/*.ts', - ], - - theme: { - extend: { - fontFamily: { - sans: ['Figtree', ...defaultTheme.fontFamily.sans], - heading: ['Nunito', ...defaultTheme.fontFamily.sans], - body: ['Nunito', ...defaultTheme.fontFamily.sans], - }, - animation: vvExtendAnimation, - keyframes: vvExtendKeyframes, - maxWidth: vvExtendMaxWidth, - rotate: vvExtendRotate, - scale: vvExtendScale, - transitionDuration: vvExtendTransitionDuration, - width: vvExtendWidth, - }, - // colors: vvDefaultAppColors - colors: vvAppColors, - fontSize: { - "5xs": ["0.35rem", { "lineHeight": "0.5rem" }], - "4xs": ["0.45rem", { "lineHeight": "0.9rem" }], - "3xs": ["0.55rem", { "lineHeight": "1rem" }], - "2xs": ["0.65rem", { "lineHeight": "1rem" }], - "xxs": ["0.65rem", { "lineHeight": "1rem" }], - "xs": ["0.75rem", { "lineHeight": "1.125rem" }], - "sm": ["0.875rem", { "lineHeight": "1.25rem" }], - "tiny": ["0.875rem", { "lineHeight": "1.375rem" }], - "base": ["1rem", { "lineHeight": "1.5rem" }], - "md": ["1rem", { "lineHeight": "1.5rem" }], - "lg": ["1.125rem", { "lineHeight": "1.75rem" }], - "xl": ["1.25rem", { "lineHeight": "1.75rem" }], - "xxl": ["1.5rem", { "lineHeight": "2rem" }], - "2xl": ["1.5rem", { "lineHeight": "2rem" }], - "3xl": ["1.875rem", { "lineHeight": "2.25rem" }], - "4xl": ["2.25rem", { "lineHeight": "2.5rem" }], - "5xl": ["2.5rem", { "lineHeight": "2.875rem" }], - "6xl": ["2.875rem", { "lineHeight": "3.25rem" }], - "7xl": ["3.25rem", { "lineHeight": "3.5rem" }], - "8xl": ["3.5rem", { "lineHeight": "3.875rem" }], - "9xl": ["3.875rem", { "lineHeight": "4.25rem" }], - "10xl": ["4.25rem", { "lineHeight": "4.5rem" }], - "11xl": ["4.5rem", { "lineHeight": "4.875rem" }], - "12xl": ["4.875rem", { "lineHeight": "5.25rem" }] - }, - listStyleType: vvThemeListStyleType, - opacity: vvThemeOpacity, - screens: vvThemeScreens, - }, - - variants: { - extend: { - opacity: ['disabled'] - }, - scrollbar: ['dark'] - }, - - plugins: [aspectRatio, forms, typography, headlessUiTailwindCss, tailwindScrollbar], -} -`; - -} From faa88c19b95c510007b467d13810b87a1a3295b8 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Thu, 3 Aug 2023 18:26:46 -0400 Subject: [PATCH 23/25] removing ./src/generators/jetstream/generateViteConfigTs.ts --- .../jetstream/generateViteConfigTs.ts | 37 ------------------- 1 file changed, 37 deletions(-) delete mode 100644 src/generators/jetstream/generateViteConfigTs.ts diff --git a/src/generators/jetstream/generateViteConfigTs.ts b/src/generators/jetstream/generateViteConfigTs.ts deleted file mode 100644 index e1942d76..00000000 --- a/src/generators/jetstream/generateViteConfigTs.ts +++ /dev/null @@ -1,37 +0,0 @@ -// ./src/generators/jetstream/generateViteConfigTs.ts - -export default function (): string { - -return `// ./vite.config.ts - -import { defineConfig } from 'vite' -import laravel from 'laravel-vite-plugin' -import vue from '@vitejs/plugin-vue' - -export default defineConfig({ - plugins: [ - laravel({ - input: 'resources/js/app.ts', - ssr: 'resources/js/ssr.js', - refresh: true, - }), - vue({ - template: { - transformAssetUrls: { - base: null, - includeAbsolute: false, - }, - }, - }), - ], - // note this isn't really needed if not doing advanced work with ziggy routes - resolve: { - alias: { - // ziggy: 'vendor/tightenco/ziggy/dist', - ziggy: 'vendor/tightenco/ziggy/dist/vue.es.js', // if using the Vue plugin - }, - }, -}) -`; - -} From 4a1397360718c57af7402d7831ee9e44eded3847 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Thu, 3 Aug 2023 18:33:24 -0400 Subject: [PATCH 24/25] generated fresh dist files to test build --- .../{generateGitignore.d.ts => generate-gitignore.d.ts} | 0 .../{generateGitignore.js => generate-gitignore.js} | 4 ++-- dist/generators/jetstream/generate-gitignore.js.map | 1 + ...ilwindConfigTs.d.ts => generate-tailwind-config-ts.d.ts} | 0 ...teTailwindConfigTs.js => generate-tailwind-config-ts.js} | 4 ++-- .../generators/jetstream/generate-tailwind-config-ts.js.map | 1 + ...enerateViteConfigTs.d.ts => generate-tsconfig-json.d.ts} | 0 dist/generators/jetstream/generate-tsconfig-json.js | 6 ++++++ dist/generators/jetstream/generate-tsconfig-json.js.map | 1 + ...generateViteTsxDts.d.ts => generate-vite-config-ts.d.ts} | 0 .../{generateViteConfigTs.js => generate-vite-config-ts.js} | 4 ++-- dist/generators/jetstream/generate-vite-config-ts.js.map | 1 + dist/generators/jetstream/generateGitignore.js.map | 1 - dist/generators/jetstream/generateTailwindConfigTs.js.map | 1 - dist/generators/jetstream/generateViteConfigTs.js.map | 1 - dist/generators/jetstream/generateViteTsxDts.js.map | 1 - dist/generators/jetstream/generateViteWindowDts.js.map | 1 - .../js/generate-vite-tsx-d-ts.d.ts} | 0 .../js/generate-vite-tsx-d-ts.js} | 4 ++-- .../jetstream/resources/js/generate-vite-tsx-d-ts.js.map | 1 + .../jetstream/resources/js/generate-vite-window-d-ts.d.ts | 1 + .../js/generate-vite-window-d-ts.js} | 4 ++-- .../jetstream/resources/js/generate-vite-window-d-ts.js.map | 1 + dist/installers/jetstream/installTailwindConfigTs.js | 2 +- dist/installers/jetstream/installTailwindConfigTs.js.map | 2 +- dist/installers/jetstream/installTsconfigJson.js | 4 ++-- dist/installers/jetstream/installTsconfigJson.js.map | 2 +- dist/installers/jetstream/installViteConfigTs.js | 2 +- dist/installers/jetstream/installViteConfigTs.js.map | 2 +- dist/installers/jetstream/installViteTsxDts.js | 2 +- dist/installers/jetstream/installViteTsxDts.js.map | 2 +- dist/installers/jetstream/installViteWindowDts.js | 2 +- dist/installers/jetstream/installViteWindowDts.js.map | 2 +- dist/updaters/jetstream/updateGitignore.js | 2 +- dist/updaters/jetstream/updateGitignore.js.map | 2 +- 35 files changed, 36 insertions(+), 28 deletions(-) rename dist/generators/jetstream/{generateGitignore.d.ts => generate-gitignore.d.ts} (100%) rename dist/generators/jetstream/{generateGitignore.js => generate-gitignore.js} (82%) create mode 100644 dist/generators/jetstream/generate-gitignore.js.map rename dist/generators/jetstream/{generateTailwindConfigTs.d.ts => generate-tailwind-config-ts.d.ts} (100%) rename dist/generators/jetstream/{generateTailwindConfigTs.js => generate-tailwind-config-ts.js} (97%) create mode 100644 dist/generators/jetstream/generate-tailwind-config-ts.js.map rename dist/generators/jetstream/{generateViteConfigTs.d.ts => generate-tsconfig-json.d.ts} (100%) create mode 100644 dist/generators/jetstream/generate-tsconfig-json.js create mode 100644 dist/generators/jetstream/generate-tsconfig-json.js.map rename dist/generators/jetstream/{generateViteTsxDts.d.ts => generate-vite-config-ts.d.ts} (100%) rename dist/generators/jetstream/{generateViteConfigTs.js => generate-vite-config-ts.js} (88%) create mode 100644 dist/generators/jetstream/generate-vite-config-ts.js.map delete mode 100644 dist/generators/jetstream/generateGitignore.js.map delete mode 100644 dist/generators/jetstream/generateTailwindConfigTs.js.map delete mode 100644 dist/generators/jetstream/generateViteConfigTs.js.map delete mode 100644 dist/generators/jetstream/generateViteTsxDts.js.map delete mode 100644 dist/generators/jetstream/generateViteWindowDts.js.map rename dist/generators/jetstream/{generateViteWindowDts.d.ts => resources/js/generate-vite-tsx-d-ts.d.ts} (100%) rename dist/generators/jetstream/{generateViteTsxDts.js => resources/js/generate-vite-tsx-d-ts.js} (78%) create mode 100644 dist/generators/jetstream/resources/js/generate-vite-tsx-d-ts.js.map create mode 100644 dist/generators/jetstream/resources/js/generate-vite-window-d-ts.d.ts rename dist/generators/jetstream/{generateViteWindowDts.js => resources/js/generate-vite-window-d-ts.js} (80%) create mode 100644 dist/generators/jetstream/resources/js/generate-vite-window-d-ts.js.map diff --git a/dist/generators/jetstream/generateGitignore.d.ts b/dist/generators/jetstream/generate-gitignore.d.ts similarity index 100% rename from dist/generators/jetstream/generateGitignore.d.ts rename to dist/generators/jetstream/generate-gitignore.d.ts diff --git a/dist/generators/jetstream/generateGitignore.js b/dist/generators/jetstream/generate-gitignore.js similarity index 82% rename from dist/generators/jetstream/generateGitignore.js rename to dist/generators/jetstream/generate-gitignore.js index a7bbb570..90e20dd2 100644 --- a/dist/generators/jetstream/generateGitignore.js +++ b/dist/generators/jetstream/generate-gitignore.js @@ -1,4 +1,4 @@ -// ./src/generators/jetstream/generateGitignore.ts +// ./src/generators/jetstream/generate-gitignore.ts import viltDsDeveloperGitignore from '../../data/gitignore/vilt-ds-developer-gitignore.js'; import viltDsMacGitignore from '../../data/gitignore/vilt-ds-mac-gitignore.js'; import viltDsWindowsGitignore from '../../data/gitignore/vilt-ds-windows-gitignore.js'; @@ -14,4 +14,4 @@ ${viltDsMacGitignore} ${viltDsWindowsGitignore} `; } -//# sourceMappingURL=generateGitignore.js.map \ No newline at end of file +//# sourceMappingURL=generate-gitignore.js.map \ No newline at end of file diff --git a/dist/generators/jetstream/generate-gitignore.js.map b/dist/generators/jetstream/generate-gitignore.js.map new file mode 100644 index 00000000..07f919b8 --- /dev/null +++ b/dist/generators/jetstream/generate-gitignore.js.map @@ -0,0 +1 @@ +{"version":3,"file":"generate-gitignore.js","sourceRoot":"","sources":["../../../src/generators/jetstream/generate-gitignore.ts"],"names":[],"mappings":"AAAA,mDAAmD;AAEnD,OAAO,wBAAwB,MAAM,qDAAqD,CAAA;AAC1F,OAAO,kBAAkB,MAAM,+CAA+C,CAAA;AAC9E,OAAO,sBAAsB,MAAM,mDAAmD,CAAA;AAEtF,MAAM,CAAC,OAAO,WAAW,sBAA6B;IAEtD,OAAO;;EAEL,sBAAsB;;EAEtB,wBAAwB;;EAExB,kBAAkB;;EAElB,sBAAsB;CACvB,CAAC;AAEF,CAAC"} \ No newline at end of file diff --git a/dist/generators/jetstream/generateTailwindConfigTs.d.ts b/dist/generators/jetstream/generate-tailwind-config-ts.d.ts similarity index 100% rename from dist/generators/jetstream/generateTailwindConfigTs.d.ts rename to dist/generators/jetstream/generate-tailwind-config-ts.d.ts diff --git a/dist/generators/jetstream/generateTailwindConfigTs.js b/dist/generators/jetstream/generate-tailwind-config-ts.js similarity index 97% rename from dist/generators/jetstream/generateTailwindConfigTs.js rename to dist/generators/jetstream/generate-tailwind-config-ts.js index 44fa64df..a98c61cc 100644 --- a/dist/generators/jetstream/generateTailwindConfigTs.js +++ b/dist/generators/jetstream/generate-tailwind-config-ts.js @@ -1,4 +1,4 @@ -// ./src/generators/jetstream/generateTailwindConfigTs.ts +// ./src/generators/jetstream/generate-tailwind-config-ts.ts export default function () { return `// ./tailwind.config.ts @@ -99,4 +99,4 @@ export default >{ } `; } -//# sourceMappingURL=generateTailwindConfigTs.js.map \ No newline at end of file +//# sourceMappingURL=generate-tailwind-config-ts.js.map \ No newline at end of file diff --git a/dist/generators/jetstream/generate-tailwind-config-ts.js.map b/dist/generators/jetstream/generate-tailwind-config-ts.js.map new file mode 100644 index 00000000..cb8a897e --- /dev/null +++ b/dist/generators/jetstream/generate-tailwind-config-ts.js.map @@ -0,0 +1 @@ +{"version":3,"file":"generate-tailwind-config-ts.js","sourceRoot":"","sources":["../../../src/generators/jetstream/generate-tailwind-config-ts.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAE5D,MAAM,CAAC,OAAO;IAEd,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiGN,CAAC;AAEF,CAAC"} \ No newline at end of file diff --git a/dist/generators/jetstream/generateViteConfigTs.d.ts b/dist/generators/jetstream/generate-tsconfig-json.d.ts similarity index 100% rename from dist/generators/jetstream/generateViteConfigTs.d.ts rename to dist/generators/jetstream/generate-tsconfig-json.d.ts diff --git a/dist/generators/jetstream/generate-tsconfig-json.js b/dist/generators/jetstream/generate-tsconfig-json.js new file mode 100644 index 00000000..1dfede8f --- /dev/null +++ b/dist/generators/jetstream/generate-tsconfig-json.js @@ -0,0 +1,6 @@ +// ./src/generators/jetstream/generate-tsconfig-json.ts +import viltDsTypescriptConfig from '../../data/typescript/vilt-ds-typescript-config.js'; +export default function () { + return JSON.stringify(viltDsTypescriptConfig, null, 4); +} +//# sourceMappingURL=generate-tsconfig-json.js.map \ No newline at end of file diff --git a/dist/generators/jetstream/generate-tsconfig-json.js.map b/dist/generators/jetstream/generate-tsconfig-json.js.map new file mode 100644 index 00000000..3a25c103 --- /dev/null +++ b/dist/generators/jetstream/generate-tsconfig-json.js.map @@ -0,0 +1 @@ +{"version":3,"file":"generate-tsconfig-json.js","sourceRoot":"","sources":["../../../src/generators/jetstream/generate-tsconfig-json.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAEvD,OAAO,sBAAsB,MAAM,oDAAoD,CAAA;AAEvF,MAAM,CAAC,OAAO;IAEV,OAAO,IAAI,CAAC,SAAS,CAAC,sBAAsB,EAAE,IAAI,EAAE,CAAC,CAAC,CAAA;AAE1D,CAAC"} \ No newline at end of file diff --git a/dist/generators/jetstream/generateViteTsxDts.d.ts b/dist/generators/jetstream/generate-vite-config-ts.d.ts similarity index 100% rename from dist/generators/jetstream/generateViteTsxDts.d.ts rename to dist/generators/jetstream/generate-vite-config-ts.d.ts diff --git a/dist/generators/jetstream/generateViteConfigTs.js b/dist/generators/jetstream/generate-vite-config-ts.js similarity index 88% rename from dist/generators/jetstream/generateViteConfigTs.js rename to dist/generators/jetstream/generate-vite-config-ts.js index 95b8a64e..257c6a24 100644 --- a/dist/generators/jetstream/generateViteConfigTs.js +++ b/dist/generators/jetstream/generate-vite-config-ts.js @@ -1,4 +1,4 @@ -// ./src/generators/jetstream/generateViteConfigTs.ts +// ./src/generators/jetstream/generate-vite-config-ts.ts export default function () { return `// ./vite.config.ts @@ -32,4 +32,4 @@ export default defineConfig({ }) `; } -//# sourceMappingURL=generateViteConfigTs.js.map \ No newline at end of file +//# sourceMappingURL=generate-vite-config-ts.js.map \ No newline at end of file diff --git a/dist/generators/jetstream/generate-vite-config-ts.js.map b/dist/generators/jetstream/generate-vite-config-ts.js.map new file mode 100644 index 00000000..9e752946 --- /dev/null +++ b/dist/generators/jetstream/generate-vite-config-ts.js.map @@ -0,0 +1 @@ +{"version":3,"file":"generate-vite-config-ts.js","sourceRoot":"","sources":["../../../src/generators/jetstream/generate-vite-config-ts.ts"],"names":[],"mappings":"AAAA,wDAAwD;AAExD,MAAM,CAAC,OAAO;IAEd,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BN,CAAC;AAEF,CAAC"} \ No newline at end of file diff --git a/dist/generators/jetstream/generateGitignore.js.map b/dist/generators/jetstream/generateGitignore.js.map deleted file mode 100644 index 70bd2205..00000000 --- a/dist/generators/jetstream/generateGitignore.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"generateGitignore.js","sourceRoot":"","sources":["../../../src/generators/jetstream/generateGitignore.ts"],"names":[],"mappings":"AAAA,kDAAkD;AAElD,OAAO,wBAAwB,MAAM,qDAAqD,CAAA;AAC1F,OAAO,kBAAkB,MAAM,+CAA+C,CAAA;AAC9E,OAAO,sBAAsB,MAAM,mDAAmD,CAAA;AAEtF,MAAM,CAAC,OAAO,WAAW,sBAA6B;IAEtD,OAAO;;EAEL,sBAAsB;;EAEtB,wBAAwB;;EAExB,kBAAkB;;EAElB,sBAAsB;CACvB,CAAC;AAEF,CAAC"} \ No newline at end of file diff --git a/dist/generators/jetstream/generateTailwindConfigTs.js.map b/dist/generators/jetstream/generateTailwindConfigTs.js.map deleted file mode 100644 index 17606325..00000000 --- a/dist/generators/jetstream/generateTailwindConfigTs.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"generateTailwindConfigTs.js","sourceRoot":"","sources":["../../../src/generators/jetstream/generateTailwindConfigTs.ts"],"names":[],"mappings":"AAAA,yDAAyD;AAEzD,MAAM,CAAC,OAAO;IAEd,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiGN,CAAC;AAEF,CAAC"} \ No newline at end of file diff --git a/dist/generators/jetstream/generateViteConfigTs.js.map b/dist/generators/jetstream/generateViteConfigTs.js.map deleted file mode 100644 index 8b2fca15..00000000 --- a/dist/generators/jetstream/generateViteConfigTs.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"generateViteConfigTs.js","sourceRoot":"","sources":["../../../src/generators/jetstream/generateViteConfigTs.ts"],"names":[],"mappings":"AAAA,qDAAqD;AAErD,MAAM,CAAC,OAAO;IAEd,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BN,CAAC;AAEF,CAAC"} \ No newline at end of file diff --git a/dist/generators/jetstream/generateViteTsxDts.js.map b/dist/generators/jetstream/generateViteTsxDts.js.map deleted file mode 100644 index 5b6e04b9..00000000 --- a/dist/generators/jetstream/generateViteTsxDts.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"generateViteTsxDts.js","sourceRoot":"","sources":["../../../src/generators/jetstream/generateViteTsxDts.ts"],"names":[],"mappings":"AAAA,mDAAmD;AAEnD,MAAM,CAAC,OAAO;IAEd,OAAO;;;;;;;;;;;;;;;;CAgBN,CAAC;AAEF,CAAC"} \ No newline at end of file diff --git a/dist/generators/jetstream/generateViteWindowDts.js.map b/dist/generators/jetstream/generateViteWindowDts.js.map deleted file mode 100644 index 382e34d1..00000000 --- a/dist/generators/jetstream/generateViteWindowDts.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"generateViteWindowDts.js","sourceRoot":"","sources":["../../../src/generators/jetstream/generateViteWindowDts.ts"],"names":[],"mappings":"AAAA,sDAAsD;AAEtD,MAAM,CAAC,OAAO;IAEd,OAAO;;;;;;;;;;;;;;;;;CAiBN,CAAC;AAEF,CAAC"} \ No newline at end of file diff --git a/dist/generators/jetstream/generateViteWindowDts.d.ts b/dist/generators/jetstream/resources/js/generate-vite-tsx-d-ts.d.ts similarity index 100% rename from dist/generators/jetstream/generateViteWindowDts.d.ts rename to dist/generators/jetstream/resources/js/generate-vite-tsx-d-ts.d.ts diff --git a/dist/generators/jetstream/generateViteTsxDts.js b/dist/generators/jetstream/resources/js/generate-vite-tsx-d-ts.js similarity index 78% rename from dist/generators/jetstream/generateViteTsxDts.js rename to dist/generators/jetstream/resources/js/generate-vite-tsx-d-ts.js index 2b26a725..d4cf56cf 100644 --- a/dist/generators/jetstream/generateViteTsxDts.js +++ b/dist/generators/jetstream/resources/js/generate-vite-tsx-d-ts.js @@ -1,4 +1,4 @@ -// ./src/generators/jetstream/generateViteTsxDts.ts +// ./src/generators/jetstream/resources/js/generate-vite-tsx-d-ts.ts export default function () { return `// ./resources/js/vite-tsx.d.ts @@ -18,4 +18,4 @@ declare global { } `; } -//# sourceMappingURL=generateViteTsxDts.js.map \ No newline at end of file +//# sourceMappingURL=generate-vite-tsx-d-ts.js.map \ No newline at end of file diff --git a/dist/generators/jetstream/resources/js/generate-vite-tsx-d-ts.js.map b/dist/generators/jetstream/resources/js/generate-vite-tsx-d-ts.js.map new file mode 100644 index 00000000..9cf5acf4 --- /dev/null +++ b/dist/generators/jetstream/resources/js/generate-vite-tsx-d-ts.js.map @@ -0,0 +1 @@ +{"version":3,"file":"generate-vite-tsx-d-ts.js","sourceRoot":"","sources":["../../../../../src/generators/jetstream/resources/js/generate-vite-tsx-d-ts.ts"],"names":[],"mappings":"AAAA,oEAAoE;AAEpE,MAAM,CAAC,OAAO;IAEd,OAAO;;;;;;;;;;;;;;;;CAgBN,CAAC;AAEF,CAAC"} \ No newline at end of file diff --git a/dist/generators/jetstream/resources/js/generate-vite-window-d-ts.d.ts b/dist/generators/jetstream/resources/js/generate-vite-window-d-ts.d.ts new file mode 100644 index 00000000..2c5e828c --- /dev/null +++ b/dist/generators/jetstream/resources/js/generate-vite-window-d-ts.d.ts @@ -0,0 +1 @@ +export default function (): string; diff --git a/dist/generators/jetstream/generateViteWindowDts.js b/dist/generators/jetstream/resources/js/generate-vite-window-d-ts.js similarity index 80% rename from dist/generators/jetstream/generateViteWindowDts.js rename to dist/generators/jetstream/resources/js/generate-vite-window-d-ts.js index f3d25820..fda4a2be 100644 --- a/dist/generators/jetstream/generateViteWindowDts.js +++ b/dist/generators/jetstream/resources/js/generate-vite-window-d-ts.js @@ -1,4 +1,4 @@ -// ./src/generators/jetstream/generateViteWindowDts.ts +// ./src/generators/jetstream/generate-vite-window-d-ts.ts export default function () { return `// ./resources/js/vite-window.d.ts @@ -19,4 +19,4 @@ declare global { } `; } -//# sourceMappingURL=generateViteWindowDts.js.map \ No newline at end of file +//# sourceMappingURL=generate-vite-window-d-ts.js.map \ No newline at end of file diff --git a/dist/generators/jetstream/resources/js/generate-vite-window-d-ts.js.map b/dist/generators/jetstream/resources/js/generate-vite-window-d-ts.js.map new file mode 100644 index 00000000..f0c56c4e --- /dev/null +++ b/dist/generators/jetstream/resources/js/generate-vite-window-d-ts.js.map @@ -0,0 +1 @@ +{"version":3,"file":"generate-vite-window-d-ts.js","sourceRoot":"","sources":["../../../../../src/generators/jetstream/resources/js/generate-vite-window-d-ts.ts"],"names":[],"mappings":"AAAA,0DAA0D;AAE1D,MAAM,CAAC,OAAO;IAEd,OAAO;;;;;;;;;;;;;;;;;CAiBN,CAAC;AAEF,CAAC"} \ No newline at end of file diff --git a/dist/installers/jetstream/installTailwindConfigTs.js b/dist/installers/jetstream/installTailwindConfigTs.js index 7bd5cc61..703cb0ea 100644 --- a/dist/installers/jetstream/installTailwindConfigTs.js +++ b/dist/installers/jetstream/installTailwindConfigTs.js @@ -1,6 +1,6 @@ // ./src/installers/jetstream/installTailwindConfigTs.ts import installWhenNoFile from '../../helpers/install-when-no-file.js'; -import generateTailwindConfigTs from '../../generators/jetstream/generateTailwindConfigTs.js'; +import generateTailwindConfigTs from '../../generators/jetstream/generate-tailwind-config-ts.js'; export default function () { installWhenNoFile('/', 'tailwind.config.ts', generateTailwindConfigTs()); } diff --git a/dist/installers/jetstream/installTailwindConfigTs.js.map b/dist/installers/jetstream/installTailwindConfigTs.js.map index f6db03d9..8ca6e5fb 100644 --- a/dist/installers/jetstream/installTailwindConfigTs.js.map +++ b/dist/installers/jetstream/installTailwindConfigTs.js.map @@ -1 +1 @@ -{"version":3,"file":"installTailwindConfigTs.js","sourceRoot":"","sources":["../../../src/installers/jetstream/installTailwindConfigTs.ts"],"names":[],"mappings":"AAAA,wDAAwD;AAExD,OAAO,iBAAiB,MAAM,uCAAuC,CAAA;AAErE,OAAO,wBAAwB,MAAM,wDAAwD,CAAA;AAE7F,MAAM,CAAC,OAAO;IAEV,iBAAiB,CAAE,GAAG,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,CAAE,CAAA;AAE9E,CAAC"} \ No newline at end of file +{"version":3,"file":"installTailwindConfigTs.js","sourceRoot":"","sources":["../../../src/installers/jetstream/installTailwindConfigTs.ts"],"names":[],"mappings":"AAAA,wDAAwD;AAExD,OAAO,iBAAiB,MAAM,uCAAuC,CAAA;AAErE,OAAO,wBAAwB,MAAM,2DAA2D,CAAA;AAEhG,MAAM,CAAC,OAAO;IAEV,iBAAiB,CAAE,GAAG,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,CAAE,CAAA;AAE9E,CAAC"} \ No newline at end of file diff --git a/dist/installers/jetstream/installTsconfigJson.js b/dist/installers/jetstream/installTsconfigJson.js index d20a7bf4..47769966 100644 --- a/dist/installers/jetstream/installTsconfigJson.js +++ b/dist/installers/jetstream/installTsconfigJson.js @@ -1,7 +1,7 @@ // ./src/installers/jetstream/installTsconfigJson.ts import installWhenNoFile from '../../helpers/install-when-no-file.js'; -import viltDsTypescriptConfig from '../../data/typescript/vilt-ds-typescript-config.js'; +import generateTsconfigJson from '../../generators/jetstream/generate-tsconfig-json.js'; export default function () { - installWhenNoFile('/', 'tsconfig.json', JSON.stringify(viltDsTypescriptConfig, null, 4)); + installWhenNoFile('/', 'tsconfig.json', generateTsconfigJson()); } //# sourceMappingURL=installTsconfigJson.js.map \ No newline at end of file diff --git a/dist/installers/jetstream/installTsconfigJson.js.map b/dist/installers/jetstream/installTsconfigJson.js.map index 026e3a80..11fa40b0 100644 --- a/dist/installers/jetstream/installTsconfigJson.js.map +++ b/dist/installers/jetstream/installTsconfigJson.js.map @@ -1 +1 @@ -{"version":3,"file":"installTsconfigJson.js","sourceRoot":"","sources":["../../../src/installers/jetstream/installTsconfigJson.ts"],"names":[],"mappings":"AAAA,oDAAoD;AAEpD,OAAO,iBAAiB,MAAM,uCAAuC,CAAA;AAErE,OAAO,sBAAsB,MAAM,oDAAoD,CAAA;AAEvF,MAAM,CAAC,OAAO;IAEV,iBAAiB,CAAE,GAAG,EAAE,eAAe,EAAE,IAAI,CAAC,SAAS,CAAC,sBAAsB,EAAE,IAAI,EAAE,CAAC,CAAC,CAAE,CAAA;AAE9F,CAAC"} \ No newline at end of file +{"version":3,"file":"installTsconfigJson.js","sourceRoot":"","sources":["../../../src/installers/jetstream/installTsconfigJson.ts"],"names":[],"mappings":"AAAA,oDAAoD;AAEpD,OAAO,iBAAiB,MAAM,uCAAuC,CAAA;AAErE,OAAO,oBAAoB,MAAM,sDAAsD,CAAA;AAEvF,MAAM,CAAC,OAAO;IAEV,iBAAiB,CAAE,GAAG,EAAE,eAAe,EAAE,oBAAoB,EAAE,CAAE,CAAA;AAErE,CAAC"} \ No newline at end of file diff --git a/dist/installers/jetstream/installViteConfigTs.js b/dist/installers/jetstream/installViteConfigTs.js index 5baa6d5e..89e5293f 100644 --- a/dist/installers/jetstream/installViteConfigTs.js +++ b/dist/installers/jetstream/installViteConfigTs.js @@ -1,6 +1,6 @@ // ./src/installers/jetstream/installViteConfigTs.ts import installWhenNoFile from '../../helpers/install-when-no-file.js'; -import generateViteConfigTs from '../../generators/jetstream/generateViteConfigTs.js'; +import generateViteConfigTs from '../../generators/jetstream/generate-vite-config-ts.js'; export default function () { installWhenNoFile('/', 'vite.config.ts', generateViteConfigTs()); } diff --git a/dist/installers/jetstream/installViteConfigTs.js.map b/dist/installers/jetstream/installViteConfigTs.js.map index eb9bf738..d2188879 100644 --- a/dist/installers/jetstream/installViteConfigTs.js.map +++ b/dist/installers/jetstream/installViteConfigTs.js.map @@ -1 +1 @@ -{"version":3,"file":"installViteConfigTs.js","sourceRoot":"","sources":["../../../src/installers/jetstream/installViteConfigTs.ts"],"names":[],"mappings":"AAAA,oDAAoD;AAEpD,OAAO,iBAAiB,MAAM,uCAAuC,CAAA;AAErE,OAAO,oBAAoB,MAAM,oDAAoD,CAAA;AAErF,MAAM,CAAC,OAAO;IAEV,iBAAiB,CAAE,GAAG,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,CAAE,CAAA;AAEtE,CAAC"} \ No newline at end of file +{"version":3,"file":"installViteConfigTs.js","sourceRoot":"","sources":["../../../src/installers/jetstream/installViteConfigTs.ts"],"names":[],"mappings":"AAAA,oDAAoD;AAEpD,OAAO,iBAAiB,MAAM,uCAAuC,CAAA;AAErE,OAAO,oBAAoB,MAAM,uDAAuD,CAAA;AAExF,MAAM,CAAC,OAAO;IAEV,iBAAiB,CAAE,GAAG,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,CAAE,CAAA;AAEtE,CAAC"} \ No newline at end of file diff --git a/dist/installers/jetstream/installViteTsxDts.js b/dist/installers/jetstream/installViteTsxDts.js index 854ed7de..a33e035d 100644 --- a/dist/installers/jetstream/installViteTsxDts.js +++ b/dist/installers/jetstream/installViteTsxDts.js @@ -1,6 +1,6 @@ // ./src/installers/jetstream/installViteTsxDts.ts import installWhenNoFile from '../../helpers/install-when-no-file.js'; -import generateViteTsxDts from '../../generators/jetstream/generateViteTsxDts.js'; +import generateViteTsxDts from '../../generators/jetstream/resources/js/generate-vite-tsx-d-ts.js'; export default function () { installWhenNoFile('/resources/js/', 'vite-tsx.d.ts', generateViteTsxDts()); } diff --git a/dist/installers/jetstream/installViteTsxDts.js.map b/dist/installers/jetstream/installViteTsxDts.js.map index c1c36d43..19a3d749 100644 --- a/dist/installers/jetstream/installViteTsxDts.js.map +++ b/dist/installers/jetstream/installViteTsxDts.js.map @@ -1 +1 @@ -{"version":3,"file":"installViteTsxDts.js","sourceRoot":"","sources":["../../../src/installers/jetstream/installViteTsxDts.ts"],"names":[],"mappings":"AAAA,kDAAkD;AAElD,OAAO,iBAAiB,MAAM,uCAAuC,CAAA;AAErE,OAAO,kBAAkB,MAAM,kDAAkD,CAAA;AAEjF,MAAM,CAAC,OAAO;IAEV,iBAAiB,CAAE,gBAAgB,EAAE,eAAe,EAAE,kBAAkB,EAAE,CAAE,CAAA;AAEhF,CAAC"} \ No newline at end of file +{"version":3,"file":"installViteTsxDts.js","sourceRoot":"","sources":["../../../src/installers/jetstream/installViteTsxDts.ts"],"names":[],"mappings":"AAAA,kDAAkD;AAElD,OAAO,iBAAiB,MAAM,uCAAuC,CAAA;AAErE,OAAO,kBAAkB,MAAM,mEAAmE,CAAA;AAElG,MAAM,CAAC,OAAO;IAEV,iBAAiB,CAAE,gBAAgB,EAAE,eAAe,EAAE,kBAAkB,EAAE,CAAE,CAAA;AAEhF,CAAC"} \ No newline at end of file diff --git a/dist/installers/jetstream/installViteWindowDts.js b/dist/installers/jetstream/installViteWindowDts.js index 6eb1eaba..b6481340 100644 --- a/dist/installers/jetstream/installViteWindowDts.js +++ b/dist/installers/jetstream/installViteWindowDts.js @@ -1,6 +1,6 @@ // ./src/installers/jetstream/installViteWindowDts.ts import installWhenNoFile from '../../helpers/install-when-no-file.js'; -import generateViteWindowDts from '../../generators/jetstream/generateViteWindowDts.js'; +import generateViteWindowDts from '../../generators/jetstream/resources/js/generate-vite-window-d-ts.js'; export default function () { installWhenNoFile('/resources/js/', 'vite-window.d.ts', generateViteWindowDts()); } diff --git a/dist/installers/jetstream/installViteWindowDts.js.map b/dist/installers/jetstream/installViteWindowDts.js.map index e39261f7..e5ea9e4f 100644 --- a/dist/installers/jetstream/installViteWindowDts.js.map +++ b/dist/installers/jetstream/installViteWindowDts.js.map @@ -1 +1 @@ -{"version":3,"file":"installViteWindowDts.js","sourceRoot":"","sources":["../../../src/installers/jetstream/installViteWindowDts.ts"],"names":[],"mappings":"AAAA,qDAAqD;AAErD,OAAO,iBAAiB,MAAM,uCAAuC,CAAA;AAErE,OAAO,qBAAqB,MAAM,qDAAqD,CAAA;AAEvF,MAAM,CAAC,OAAO;IAEV,iBAAiB,CAAE,gBAAgB,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,CAAE,CAAA;AAEtF,CAAC"} \ No newline at end of file +{"version":3,"file":"installViteWindowDts.js","sourceRoot":"","sources":["../../../src/installers/jetstream/installViteWindowDts.ts"],"names":[],"mappings":"AAAA,qDAAqD;AAErD,OAAO,iBAAiB,MAAM,uCAAuC,CAAA;AAErE,OAAO,qBAAqB,MAAM,sEAAsE,CAAA;AAExG,MAAM,CAAC,OAAO;IAEV,iBAAiB,CAAE,gBAAgB,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,CAAE,CAAA;AAEtF,CAAC"} \ No newline at end of file diff --git a/dist/updaters/jetstream/updateGitignore.js b/dist/updaters/jetstream/updateGitignore.js index 10e06b9a..c8da7c52 100644 --- a/dist/updaters/jetstream/updateGitignore.js +++ b/dist/updaters/jetstream/updateGitignore.js @@ -1,6 +1,6 @@ // ./src/updaters/jetstream/updateGitignore.ts import fs from 'fs-extra'; -import generateGitignore from '../../generators/jetstream/generateGitignore.js'; +import generateGitignore from '../../generators/jetstream/generate-gitignore.js'; import cliSuccessMessage from '../../helpers/cli-success-message.js'; import cliWarningMessage from '../../helpers/cli-warning-message.js'; import cwd from '../../helpers/cwd.js'; diff --git a/dist/updaters/jetstream/updateGitignore.js.map b/dist/updaters/jetstream/updateGitignore.js.map index 2478a721..29ac3b33 100644 --- a/dist/updaters/jetstream/updateGitignore.js.map +++ b/dist/updaters/jetstream/updateGitignore.js.map @@ -1 +1 @@ -{"version":3,"file":"updateGitignore.js","sourceRoot":"","sources":["../../../src/updaters/jetstream/updateGitignore.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAE9C,OAAO,EAAE,MAAM,UAAU,CAAA;AAEzB,OAAO,iBAAiB,MAAM,iDAAiD,CAAA;AAE/E,OAAO,iBAAiB,MAAM,sCAAsC,CAAA;AACpE,OAAO,iBAAiB,MAAM,sCAAsC,CAAA;AACpE,OAAO,GAAG,MAAM,sBAAsB,CAAA;AACtC,OAAO,oBAAoB,MAAM,0CAA0C,CAAA;AAE3E,MAAM,CAAC,OAAO;IAEV,MAAM,QAAQ,GAAG,aAAa,CAAA;IAE9B,sFAAsF;IACtF,IAAK,oBAAoB,CAAC,QAAQ,CAAC,EAAG;QAElC,gEAAgE;QAChE,EAAE,CAAC,QAAQ,CAAC,GAAG,GAAG,QAAQ,EAAE,MAAM,EAAE,UAAS,GAAG,EAAE,IAAI;YAElD,cAAc;YACd,IAAI,GAAG,EAAE;gBAAE,MAAM,GAAG,CAAA;aAAE;YAEtB,mGAAmG;YACnG,EAAE,CAAC,cAAc,CAAC,GAAG,GAAG,QAAQ,EAAE,iBAAiB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAA;YAElF,iBAAiB,CAAC,GAAG,GAAG,QAAQ,GAAG,iCAAiC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAA;QAEvF,CAAC,CAAC,CAAA;KAEL;SAAM;QAEH,iBAAiB,CAAC,GAAG,GAAG,QAAQ,GAAG,0CAA0C,EAAE,KAAK,EAAE,KAAK,CAAC,CAAA;KAE/F;AAEL,CAAC"} \ No newline at end of file +{"version":3,"file":"updateGitignore.js","sourceRoot":"","sources":["../../../src/updaters/jetstream/updateGitignore.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAE9C,OAAO,EAAE,MAAM,UAAU,CAAA;AAEzB,OAAO,iBAAiB,MAAM,kDAAkD,CAAA;AAEhF,OAAO,iBAAiB,MAAM,sCAAsC,CAAA;AACpE,OAAO,iBAAiB,MAAM,sCAAsC,CAAA;AACpE,OAAO,GAAG,MAAM,sBAAsB,CAAA;AACtC,OAAO,oBAAoB,MAAM,0CAA0C,CAAA;AAE3E,MAAM,CAAC,OAAO;IAEV,MAAM,QAAQ,GAAG,aAAa,CAAA;IAE9B,sFAAsF;IACtF,IAAK,oBAAoB,CAAC,QAAQ,CAAC,EAAG;QAElC,gEAAgE;QAChE,EAAE,CAAC,QAAQ,CAAC,GAAG,GAAG,QAAQ,EAAE,MAAM,EAAE,UAAS,GAAG,EAAE,IAAI;YAElD,cAAc;YACd,IAAI,GAAG,EAAE;gBAAE,MAAM,GAAG,CAAA;aAAE;YAEtB,mGAAmG;YACnG,EAAE,CAAC,cAAc,CAAC,GAAG,GAAG,QAAQ,EAAE,iBAAiB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAA;YAElF,iBAAiB,CAAC,GAAG,GAAG,QAAQ,GAAG,iCAAiC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAA;QAEvF,CAAC,CAAC,CAAA;KAEL;SAAM;QAEH,iBAAiB,CAAC,GAAG,GAAG,QAAQ,GAAG,0CAA0C,EAAE,KAAK,EAAE,KAAK,CAAC,CAAA;KAE/F;AAEL,CAAC"} \ No newline at end of file From c40014765d366b46f49a2b0de6f5e6f00a290db0 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Thu, 3 Aug 2023 18:37:57 -0400 Subject: [PATCH 25/25] 0.2.2 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 49d2ad7f..9dd60e69 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@obewds/vilt-ds", - "version": "0.2.1", + "version": "0.2.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@obewds/vilt-ds", - "version": "0.2.1", + "version": "0.2.2", "license": "MIT", "dependencies": { "fs-extra": "^11.1.1", diff --git a/package.json b/package.json index a6dc8fcd..59ec82a3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@obewds/vilt-ds", - "version": "0.2.1", + "version": "0.2.2", "description": "The official repository for the VILT Design System for the Vue.js, Inertia.js, Laravel, and Tailwind CSS web app stack that is turbocharged with Typescript and VueVentus.", "license": "MIT", "author": "Matt McT",