srcdev-nuxt-forms 0.0.12 → 0.0.13

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/.editorconfig ADDED
@@ -0,0 +1,12 @@
1
+ root = true
2
+
3
+ [*]
4
+ indent_size = 2
5
+ indent_style = space
6
+ end_of_line = lf
7
+ charset = utf-8
8
+ trim_trailing_whitespace = true
9
+ insert_final_newline = true
10
+
11
+ [*.md]
12
+ trim_trailing_whitespace = false
package/.eslintignore ADDED
@@ -0,0 +1,7 @@
1
+ node_modules
2
+ dist
3
+ .nuxt
4
+ .output
5
+ coverage
6
+ components.d.ts
7
+ nuxt.d.ts
package/.eslintrc.cjs ADDED
@@ -0,0 +1,12 @@
1
+ module.exports = {
2
+ "root": true,
3
+ "extends": [
4
+ "@nuxtjs/eslint-config-typescript",
5
+ "plugin:prettier/recommended"
6
+ ],
7
+ "rules": {
8
+ "vue/multi-word-component-names": "off",
9
+ "vue/no-multiple-template-root": "off",
10
+ "@typescript-eslint/no-unused-vars": "off"
11
+ }
12
+ };
package/.nuxtrc ADDED
@@ -0,0 +1 @@
1
+ typescript.includeWorkspace = true
package/.prettierrc ADDED
@@ -0,0 +1,4 @@
1
+ {
2
+ "semi": false,
3
+ "singleQuote": true
4
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://unpkg.com/release-it/schema/release-it.json",
3
+ "github": {
4
+ "release": true
5
+ }
6
+ }
package/nuxt.config.ts CHANGED
@@ -5,10 +5,10 @@ const { resolve } = createResolver(import.meta.url)
5
5
  export default defineNuxtConfig({
6
6
  devtools: { enabled: true },
7
7
  css: [resolve('./assets/styles/main.css')],
8
- // components: [
9
- // {
10
- // path: '~/components',
11
- // pathPrefix: false,
12
- // },
13
- // ],
8
+ components: [
9
+ {
10
+ path: '~/components',
11
+ pathPrefix: false,
12
+ },
13
+ ],
14
14
  })
package/package.json CHANGED
@@ -1,15 +1,8 @@
1
1
  {
2
2
  "name": "srcdev-nuxt-forms",
3
3
  "type": "module",
4
- "version": "0.0.12",
4
+ "version": "0.0.13",
5
5
  "main": "./nuxt.config.ts",
6
- "files": [
7
- "assets",
8
- "components",
9
- "layouts",
10
- "pages",
11
- "nuxt.config.ts"
12
- ],
13
6
  "scripts": {
14
7
  "dev": "nuxi dev",
15
8
  "build": "nuxt build",
package/pages/index.vue CHANGED
@@ -5,19 +5,19 @@
5
5
  <div>
6
6
  <h1>Sample form page</h1>
7
7
 
8
- <NuxtFormsScaffoldingFormWrapper width="medium">
8
+ <FormWrapper width="medium">
9
9
  <template #default>
10
10
  <form>
11
11
  <p>Form content</p>
12
- <NuxtFormsScaffoldingFormField width="wide" :has-gutter="true">
12
+ <FormField width="wide" :has-gutter="true">
13
13
  <template #default>
14
14
  <p>Input text</p>
15
- <NuxtFormsInputText />
15
+ <InputText />
16
16
  </template>
17
- </NuxtFormsScaffoldingFormField>
17
+ </FormField>
18
18
  </form>
19
19
  </template>
20
- </NuxtFormsScaffoldingFormWrapper>
20
+ </FormWrapper>
21
21
  </div>
22
22
  </template>
23
23
  </NuxtLayout>
package/tsconfig.json ADDED
@@ -0,0 +1,3 @@
1
+ {
2
+ "extends": "./.nuxt/tsconfig.json"
3
+ }