diff --git a/.github/semantic.yml b/.github/semantic.yml deleted file mode 100644 index 27c5a446d..000000000 --- a/.github/semantic.yml +++ /dev/null @@ -1,2 +0,0 @@ -# Always validate the PR title -titleOnly: true diff --git a/packages/cna-template/template/semantic.yml b/packages/cna-template/template/semantic.yml deleted file mode 100644 index 40b692768..000000000 --- a/packages/cna-template/template/semantic.yml +++ /dev/null @@ -1,5 +0,0 @@ -# Always validate the PR title AND all the commits -titleAndCommits: true -# Allows use of Merge commits (eg on github: "Merge branch 'master' into feature/ride-unicorns") -# this is only relevant when using commitsOnly: true (or titleAndCommits: true) -allowMergeCommits: true diff --git a/packages/create-nuxt-app/lib/prompts.js b/packages/create-nuxt-app/lib/prompts.js index 748377a72..fcbe61d2f 100644 --- a/packages/create-nuxt-app/lib/prompts.js +++ b/packages/create-nuxt-app/lib/prompts.js @@ -123,7 +123,6 @@ module.exports = [ type: 'checkbox', choices: [ { name: 'jsconfig.json (Recommended for VS Code if you\'re not using typescript)', value: 'jsconfig.json' }, - { name: 'Semantic Pull Requests', value: 'semantic-pull-requests' }, { name: 'Dependabot (For auto-updating dependencies, GitHub only)', value: 'dependabot' } ], default: [] diff --git a/packages/create-nuxt-app/lib/saofile.js b/packages/create-nuxt-app/lib/saofile.js index c6e4a73fa..ae134195e 100644 --- a/packages/create-nuxt-app/lib/saofile.js +++ b/packages/create-nuxt-app/lib/saofile.js @@ -115,7 +115,6 @@ module.exports = { '_.prettierrc': 'linter.includes("prettier")', '_jsconfig.json': 'devTools.includes("jsconfig.json")', 'tsconfig.json': 'language.includes("ts")', - 'semantic.yml': 'devTools.includes("semantic-pull-requests")', '_stylelint.config.js': 'linter.includes("stylelint")', '_commitlint.config.js': 'linter.includes("commitlint")', 'dependabot.yml': 'devTools.includes("dependabot")' @@ -134,7 +133,6 @@ module.exports = { '_jsconfig.json': 'jsconfig.json', '_stylelint.config.js': 'stylelint.config.js', '_commitlint.config.js': 'commitlint.config.js', - 'semantic.yml': '.github/semantic.yml', 'dependabot.yml': '.github/dependabot.yml' } }) diff --git a/packages/create-nuxt-app/test/snapshots/index.test.js.md b/packages/create-nuxt-app/test/snapshots/index.test.js.md index 264f60d5c..920e1717f 100644 --- a/packages/create-nuxt-app/test/snapshots/index.test.js.md +++ b/packages/create-nuxt-app/test/snapshots/index.test.js.md @@ -3661,14 +3661,13 @@ Generated by [AVA](https://avajs.dev). }␊ ` -## verify devTools: jsconfig.json (Recommended for VS Code if you're not using typescript), Semantic Pull Requests, Dependabot (For auto-updating dependencies, GitHub only) +## verify devTools: jsconfig.json (Recommended for VS Code if you're not using typescript), Dependabot (For auto-updating dependencies, GitHub only) > Generated files [ '.editorconfig', '.github/dependabot.yml', - '.github/semantic.yml', '.gitignore', 'README.md', 'components/NuxtLogo.vue', @@ -3829,89 +3828,6 @@ Generated by [AVA](https://avajs.dev). }␊ ` -## verify devTools: Semantic Pull Requests - -> Generated files - - [ - '.editorconfig', - '.github/semantic.yml', - '.gitignore', - 'README.md', - 'components/NuxtLogo.vue', - 'components/Tutorial.vue', - 'nuxt.config.js', - 'package.json', - 'pages/index.vue', - 'static/favicon.ico', - 'store/README.md', - ] - -> package.json - - { - dependencies: { - 'core-js': '^3.25.3', - nuxt: '^2.15.8', - vue: '^2.7.10', - 'vue-server-renderer': '^2.7.10', - 'vue-template-compiler': '^2.7.10', - }, - devDependencies: {}, - private: true, - scripts: { - build: 'nuxt build', - dev: 'nuxt', - generate: 'nuxt generate', - start: 'nuxt start', - }, - } - -> Generated nuxt.config.js - - `export default {␊ - // Global page headers: https://go.nuxtjs.dev/config-head␊ - head: {␊ - title: 'output',␊ - htmlAttrs: {␊ - lang: 'en'␊ - },␊ - meta: [␊ - { charset: 'utf-8' },␊ - { name: 'viewport', content: 'width=device-width, initial-scale=1' },␊ - { hid: 'description', name: 'description', content: '' },␊ - { name: 'format-detection', content: 'telephone=no' }␊ - ],␊ - link: [␊ - { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }␊ - ]␊ - },␊ - ␊ - // Global CSS: https://go.nuxtjs.dev/config-css␊ - css: [␊ - ],␊ - ␊ - // Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins␊ - plugins: [␊ - ],␊ - ␊ - // Auto import components: https://go.nuxtjs.dev/config-components␊ - components: true,␊ - ␊ - // Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules␊ - buildModules: [␊ - ],␊ - ␊ - // Modules: https://go.nuxtjs.dev/config-modules␊ - modules: [␊ - ],␊ - ␊ - // Build Configuration: https://go.nuxtjs.dev/config-build␊ - build: {␊ - }␊ - }␊ - ` - ## verify devTools: Dependabot (For auto-updating dependencies, GitHub only) > Generated files diff --git a/packages/create-nuxt-app/test/snapshots/index.test.js.snap b/packages/create-nuxt-app/test/snapshots/index.test.js.snap index 6d152f979..9682067ae 100644 Binary files a/packages/create-nuxt-app/test/snapshots/index.test.js.snap and b/packages/create-nuxt-app/test/snapshots/index.test.js.snap differ