Skip to content

Commit

Permalink
Merge pull request #45 from miteyema/dev
Browse files Browse the repository at this point in the history
update plugins
  • Loading branch information
miteyema authored Jul 25, 2021
2 parents 43e21f4 + edee046 commit fdf23ac
Show file tree
Hide file tree
Showing 7 changed files with 4,757 additions and 4,382 deletions.
11 changes: 5 additions & 6 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,16 @@ module.exports = {
node: true,
},
parserOptions: {
parser: 'babel-eslint',
parser: '@babel/eslint-parser',
requireConfigFile: false,
},
extends: [
'@nuxtjs',
'prettier',
'prettier/vue',
'plugin:prettier/recommended',
'plugin:nuxt/recommended',
'plugin:vue-i18n/recommended',
'prettier',
'plugin:@intlify/vue-i18n/recommended',
],
plugins: ['prettier'],
plugins: [],
// add your custom rules here
rules: {},
settings: {
Expand Down
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ Demo of Nuxt.js with i18n:

It uses:

- nuxt-i18n (https://nuxt-community.github.io/nuxt-i18n/)
- eslint-plugin-vue-i18n (https://kazupon.github.io/eslint-plugin-vue-i18n/)
- sitemap-module (https://github.com/nuxt-community/sitemap-module)
- nuxt-i18n (https://i18n.nuxtjs.org)
- eslint-plugin-vue-i18n (https://eslint-plugin-vue-i18n.intlify.dev)
- sitemap-module (https://sitemap.nuxtjs.org)

This Nuxt app has been intially scaffolded using `npx create-nuxt-app`.

Expand Down
12 changes: 3 additions & 9 deletions nuxt.config.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
const appUrl = 'https://nuxt-i18n-demo.netlify.app'

export default {
/*
** Nuxt rendering mode
** See https://nuxtjs.org/api/configuration-mode
*/
mode: 'universal',
// See https://nuxtjs.org/api/configuration-mode
ssr: false,

/*
** Nuxt target
** See https://nuxtjs.org/api/configuration-target
*/
// See https://nuxtjs.org/api/configuration-target
target: 'server',

/*
Expand Down
9,059 changes: 4,720 additions & 4,339 deletions package-lock.json

Large diffs are not rendered by default.

48 changes: 24 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,47 +1,47 @@
{
"name": "nuxt-i18n-demo",
"version": "1.1.0",
"version": "0.0.0",
"description": "Demo of Nuxt.js with i18n",
"author": "Tim Ameye",
"private": true,
"engines": {
"node": "12.x"
},
"scripts": {
"dev": "nuxt",
"build": "nuxt build",
"start": "nuxt start",
"generate": "nuxt generate",
"lint:js": "eslint --ext .js,.vue --ignore-path .gitignore .",
"lint:style": "stylelint **/*.{vue,css} --ignore-path .gitignore",
"lint:js": "eslint --ext \".js,.vue\" --ignore-path .gitignore .",
"lint:style": "stylelint \"**/*.{vue,css}\" --ignore-path .gitignore",
"prepare": "husky install",
"lint": "npm run lint:js && npm run lint:style"
},
"lint-staged": {
"*.{js,vue}": "eslint",
"*.{css,vue}": "stylelint"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"dependencies": {
"@nuxtjs/sitemap": "^2.4.0",
"nuxt": "^2.14.4",
"nuxt-i18n": "^6.14.2"
"core-js": "^3.15.1",
"nuxt": "^2.15.7",
"nuxt-i18n": "^6.27.2"
},
"devDependencies": {
"@nuxtjs/eslint-config": "^3.1.0",
"@nuxtjs/eslint-module": "^2.0.0",
"@babel/eslint-parser": "^7.14.7",
"@intlify/eslint-plugin-vue-i18n": "^0.11.1",
"@nuxtjs/eslint-config": "^6.0.1",
"@nuxtjs/eslint-module": "^3.0.2",
"@nuxtjs/stylelint-module": "^4.0.0",
"babel-eslint": "^10.1.0",
"eslint": "^7.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-nuxt": "^1.0.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-vue-i18n": "^0.3.0",
"husky": "^4.2.5",
"lint-staged": "^10.2.13",
"prettier": "^2.1.1",
"stylelint": "^13.7.0",
"stylelint-config-prettier": "^8.0.1",
"stylelint-config-standard": "^20.0.0"
"eslint": "^7.29.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-nuxt": "^2.0.0",
"eslint-plugin-vue": "^7.12.1",
"husky": "^6.0.0",
"lint-staged": "^10.5.4",
"prettier": "^2.3.2",
"stylelint": "^13.13.1",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-standard": "^22.0.0"
}
}
2 changes: 1 addition & 1 deletion pages/privacy.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- eslint-disable vue-i18n/no-raw-text -->
<template>
<!-- eslint-disable @intlify/vue-i18n/no-raw-text -->
<div>
<h1 class="title">Privacy</h1>
<h2 class="subtitle">
Expand Down

0 comments on commit fdf23ac

Please sign in to comment.