-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(nuxt): updates to file sctructure
- Loading branch information
Showing
21 changed files
with
46 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 0 additions & 10 deletions
10
packages/nuxt/src/generators/application/files/pages/index.vue__tmpl__
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
packages/nuxt/src/generators/application/files/src/pages/index.vue__tmpl__
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<template> | ||
<NxWelcome title="<%= title %>" /> | ||
</template> | ||
|
||
|
||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,18 @@ | ||
import { | ||
eslintPluginVueVersion, | ||
vueEslintConfigPrettierVersion, | ||
vueEslintConfigTypescriptVersion, | ||
} from '@nx/vue'; | ||
import { nuxtEslintConfigTypescriptVersion } from './versions'; | ||
import { nuxtEslintConfigVersion } from './versions'; | ||
|
||
export const extraEslintDependencies = { | ||
dependencies: {}, | ||
devDependencies: { | ||
'@nuxtjs/eslint-config-typescript': nuxtEslintConfigTypescriptVersion, | ||
'eslint-plugin-vue': eslintPluginVueVersion, | ||
'@vue/eslint-config-prettier': vueEslintConfigPrettierVersion, | ||
'@vue/eslint-config-typescript': vueEslintConfigTypescriptVersion, | ||
'@nuxt/eslint-config': nuxtEslintConfigVersion, | ||
}, | ||
}; | ||
|
||
export const extendNuxtEslintJson = (json: any) => { | ||
const { extends: pluginExtends, ...config } = json; | ||
|
||
return { | ||
extends: [ | ||
'eslint:recommended', | ||
'@nuxtjs/eslint-config-typescript', | ||
'plugin:vue/vue3-essential', | ||
'@vue/eslint-config-typescript', | ||
'@vue/eslint-config-prettier/skip-formatting', | ||
...(pluginExtends || []), | ||
], | ||
extends: ['@nuxt/eslint-config', ...(pluginExtends || [])], | ||
ignorePatterns: ['.nuxt', 'node_modules', '.output'], | ||
rules: { | ||
'vue/multi-word-component-names': 'off', | ||
}, | ||
...config, | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters