@ederzeel/nuxt-schema-form-nightly 0.1.0-28989865.c565459 → 0.1.0-28997862.98d468b

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 (47) hide show
  1. package/dist/module.cjs +5 -0
  2. package/dist/module.d.mts +13 -0
  3. package/dist/module.d.ts +13 -0
  4. package/dist/module.json +13 -0
  5. package/dist/module.mjs +28 -0
  6. package/{src → dist}/runtime/components/SComponent.vue +6 -20
  7. package/dist/runtime/types/utils.d.ts +27 -0
  8. package/dist/runtime/types/utils.js +0 -0
  9. package/dist/types.d.mts +1 -0
  10. package/dist/types.d.ts +1 -0
  11. package/package.json +13 -2
  12. package/.github/semantic.yml +0 -15
  13. package/.github/workflows/ci.yml +0 -79
  14. package/.github/workflows/release.yml +0 -62
  15. package/eslint.config.mjs +0 -73
  16. package/playground/app.vue +0 -5
  17. package/playground/assets/schema-custom.json +0 -111
  18. package/playground/assets/schema-easy.json +0 -16
  19. package/playground/assets/schema.json +0 -116
  20. package/playground/components/ColorMode.vue +0 -26
  21. package/playground/components/CustomInput.vue +0 -7
  22. package/playground/components/MultiStage.vue +0 -164
  23. package/playground/components/Stepper.vue +0 -63
  24. package/playground/nuxt.config.ts +0 -13
  25. package/playground/package.json +0 -8
  26. package/playground/pages/index.vue +0 -32
  27. package/playground/tailwind.config.js +0 -1
  28. package/playground/tsconfig.json +0 -4
  29. package/pnpm-workspace.yaml +0 -2
  30. package/prettier.config.mjs +0 -8
  31. package/scripts/bump-nightly.ts +0 -25
  32. package/scripts/release-nightly.sh +0 -24
  33. package/scripts/release.sh +0 -21
  34. package/src/defaults.ts +0 -3
  35. package/src/module.ts +0 -35
  36. package/src/plugins/app-config.ts +0 -24
  37. package/src/plugins/components.ts +0 -68
  38. package/src/plugins/nuxt-environment.ts +0 -40
  39. package/src/runtime/types/utils.ts +0 -44
  40. package/src/unplugin.ts +0 -46
  41. package/tsconfig.json +0 -9
  42. /package/{src → dist}/runtime/components/SForm.vue +0 -0
  43. /package/{src → dist}/runtime/components/SInputField.vue +0 -0
  44. /package/{src → dist}/runtime/components/SObject.vue +0 -0
  45. /package/{src → dist}/runtime/components/SSelect.vue +0 -0
  46. /package/{src → dist}/runtime/components/STextarea.vue +0 -0
  47. /package/{src → dist}/runtime/components/SToggle.vue +0 -0
package/src/unplugin.ts DELETED
@@ -1,46 +0,0 @@
1
- import { fileURLToPath } from 'node:url'
2
-
3
- import { join, normalize } from 'pathe'
4
- import { createUnplugin } from 'unplugin'
5
- import AutoImport from 'unplugin-auto-import'
6
- import { defu } from 'defu'
7
- // import tailwind from '@tailwindcss/vite'
8
- // import type colors from 'tailwindcss/colors'
9
-
10
- // import type * as ui from '#build/ui'
11
-
12
- import { defaultOptions } from './defaults'
13
- import type { ModuleOptions } from './module'
14
-
15
- // import TemplatePlugin from './plugins/templates'
16
- // import PluginsPlugin from './plugins/plugins'
17
- import AppConfigPlugin from './plugins/app-config'
18
- import ComponentImportPlugin from './plugins/components'
19
- import NuxtEnvironmentPlugin from './plugins/nuxt-environment'
20
-
21
- // import type { DeepPartial } from './runtime/types/utils'
22
-
23
- // type AppConfigUI = DeepPartial<typeof ui>
24
-
25
- export interface NuxtUIOptions extends Omit<ModuleOptions, 'fonts' | 'colorMode'> {
26
- ui?: object
27
- }
28
-
29
- export const runtimeDir = normalize(fileURLToPath(new URL('./runtime', import.meta.url)))
30
-
31
- export const NuxtUIPlugin = createUnplugin<NuxtUIOptions | undefined>((_options = {}, meta) => {
32
- const options = defu(_options, { fonts: false, devtools: { enabled: false } }, defaultOptions)
33
-
34
- const appConfig = { ui: options.ui }
35
-
36
- // eslint-disable-next-line @typescript-eslint/no-unsafe-return
37
- return [
38
- NuxtEnvironmentPlugin(),
39
- ...ComponentImportPlugin(meta.framework, options),
40
- AutoImport[meta.framework]({ dts: true, dirs: [join(runtimeDir, 'composables')] }),
41
- // tailwind(),
42
- // PluginsPlugin(options),
43
- // TemplatePlugin(options, appConfig),
44
- AppConfigPlugin(options, appConfig)
45
- ]
46
- })
package/tsconfig.json DELETED
@@ -1,9 +0,0 @@
1
- {
2
- "extends": "./.nuxt/tsconfig.json",
3
- "exclude": [
4
- "dist",
5
- "node_modules",
6
- "docs",
7
- "playground"
8
- ]
9
- }
File without changes
File without changes
File without changes
File without changes
File without changes