From 3f958ec4bfbbac9b6035ba5a615f4cd9f6a6f23d Mon Sep 17 00:00:00 2001 From: Jonathan Reinink Date: Wed, 18 Dec 2019 13:28:09 -0500 Subject: [PATCH] WIP --- .prettierrc | 7 ++++++ package-lock.json | 32 ++++++++++++++------------ package.json | 13 ++++------- resources/js/Pages/Dashboard/Index.vue | 6 ++++- resources/js/Shared/Layout.vue | 2 +- tailwind.config.js | 7 ++---- webpack.mix.js | 15 ++++-------- 7 files changed, 41 insertions(+), 41 deletions(-) create mode 100644 .prettierrc diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..e096ca1 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,7 @@ +{ + "printWidth": 120, + "semi": false, + "singleQuote": true, + "tabWidth": 2, + "trailingComma": "es5" +} diff --git a/package-lock.json b/package-lock.json index d82973b..6311053 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1569,14 +1569,6 @@ "@babel/core": "^7.0.0-beta.49", "deepmerge": "^2.1.0", "object.omit": "^3.0.0" - }, - "dependencies": { - "deepmerge": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-2.2.1.tgz", - "integrity": "sha512-R9hc1Xa/NOBi9WRVUWg19rl1UB7Tt4kuPd+thNJgFZoxXsTz7ncaPaeIm+40oSGuP33DfMb4sZt1QIGiJzC4EA==", - "dev": true - } } }, "babel-plugin-dynamic-import-node": { @@ -2883,9 +2875,10 @@ "dev": true }, "deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==" + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-2.2.1.tgz", + "integrity": "sha512-R9hc1Xa/NOBi9WRVUWg19rl1UB7Tt4kuPd+thNJgFZoxXsTz7ncaPaeIm+40oSGuP33DfMb4sZt1QIGiJzC4EA==", + "dev": true }, "default-gateway": { "version": "4.2.0", @@ -5701,9 +5694,9 @@ "dev": true }, "laravel-mix": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/laravel-mix/-/laravel-mix-4.1.4.tgz", - "integrity": "sha512-fpFNpPyYAdeZ5mozlKbHpw+tCiRFUCCdSsK/D2+yYhlyIEbzPcAe4ar5cjeT33TnDNiKXSS42cB58yUSW5Y5tg==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/laravel-mix/-/laravel-mix-5.0.0.tgz", + "integrity": "sha512-QpsVoM6zGa83E5AUMwOmi4wKdYfJMaW1jIpJ1CCL74abOHj1ne25njBQ4detO41GAjIkZIkrmwECEcOebC8+3Q==", "dev": true, "requires": { "@babel/core": "^7.2.0", @@ -5738,7 +5731,7 @@ "terser": "^3.11.0", "terser-webpack-plugin": "^1.2.2", "vue-loader": "^15.4.2", - "webpack": "^4.27.1", + "webpack": "^4.36.1", "webpack-cli": "^3.1.2", "webpack-dev-server": "^3.1.14", "webpack-merge": "^4.1.0", @@ -9913,8 +9906,17 @@ "version": "2.3.1", "resolved": "https://registry.npmjs.org/vue-meta/-/vue-meta-2.3.1.tgz", "integrity": "sha512-hnZvDNvLh+PefJLfYkZhG6cSBNKikgQyiEK8lI/P2qscM1DC/qHHOfdACPQ/VDnlaWU9VlcobCTNyVtssTR4XQ==", + "dev": true, "requires": { "deepmerge": "^4.0.0" + }, + "dependencies": { + "deepmerge": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", + "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", + "dev": true + } } }, "vue-style-loader": { diff --git a/package.json b/package.json index 9df46ab..cc13cc5 100644 --- a/package.json +++ b/package.json @@ -10,27 +10,24 @@ "production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js" }, "devDependencies": { - "@babel/plugin-syntax-dynamic-import": "^7.2.0", - "@inertiajs/inertia": "^0.1.0", + "@inertiajs/inertia": "^0.1.7", "@inertiajs/inertia-vue": "^0.1.0", "autosize": "^4.0.2", "axios": "^0.18", "cross-env": "^5.1", "eslint": "^5.14.1", "eslint-plugin-vue": "^5.2.2", - "fuse.js": "^3.4.2", - "laravel-mix": "^4.0.7", + "fuse.js": "^3.4.6", + "laravel-mix": "^5.0.0", "lodash": "^4.17.5", - "popper.js": "^1.12", + "popper.js": "^1.16.0", "portal-vue": "^1.5.1", "postcss-import": "^12.0.1", "postcss-nesting": "^7.0.0", "resolve-url-loader": "^2.3.1", "tailwindcss": "^1.0.1", "vue": "^2.6.6", + "vue-meta": "^2.3.1", "vue-template-compiler": "^2.6.6" - }, - "dependencies": { - "vue-meta": "^2.2.2" } } diff --git a/resources/js/Pages/Dashboard/Index.vue b/resources/js/Pages/Dashboard/Index.vue index 85f8c1f..e6397d5 100644 --- a/resources/js/Pages/Dashboard/Index.vue +++ b/resources/js/Pages/Dashboard/Index.vue @@ -1,7 +1,11 @@