Skip to content

Commit d996de8

Browse files
committed
chore: use monostock stuff
1 parent ac930c4 commit d996de8

File tree

10 files changed

+31
-83
lines changed

10 files changed

+31
-83
lines changed

.editorconfig

-13
This file was deleted.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
## Build Setup
1414

1515
```bash
16-
# install dependencies
16+
# install dependencies and create .env file
1717
$ yarn install
1818

1919
# serve with hot reload at localhost:3000

jsconfig.json

-12
This file was deleted.

package.json

+5-6
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
"build": "nuxt build",
1010
"start": "nuxt start",
1111
"generate": "nuxt generate",
12-
"format": "prettier --write '**/*.{css,js,json,md,vue,php}'"
12+
"postinstall": "node scripts/postinstall.js"
1313
},
1414
"dependencies": {
15-
"@nuxtjs/axios": "^5.3.6",
16-
"@nuxtjs/dotenv": "^1.4.0",
15+
"@nuxtjs/axios": "^5.9.3",
16+
"@nuxtjs/dotenv": "^1.4.1",
1717
"date-fns": "^2.9.0",
1818
"lg-fullscreen.js": "^1.1.0",
1919
"lg-pager.js": "^1.0.0",
@@ -32,10 +32,9 @@
3232
"devDependencies": {
3333
"@babel/runtime-corejs3": "^7.8.3",
3434
"@nuxtjs/tailwindcss": "^1.3.1",
35-
"@prettier/plugin-php": "^0.12.0",
36-
"core-js": "3",
35+
"consola": "^2.11.3",
36+
"core-js": "^3.6.4",
3737
"node-sass": "^4.13.1",
38-
"prettier": "^1.19.1",
3938
"sass-loader": "^8.0.2",
4039
"webfontloader": "^1.6.28",
4140
"webpack": "^4.41.5"

scripts/postinstall.js

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
const consola = require('consola');
2+
const fs = require('fs');
3+
4+
(async () => {
5+
// Create an .env file if one doesn't exist
6+
try {
7+
consola.info('Checking for .env file…');
8+
if (!fs.existsSync('.env')) {
9+
fs.createReadStream('.env.example').pipe(fs.createWriteStream('.env'));
10+
consola.success('Created .env file.');
11+
} else {
12+
consola.success('Detected .env file, skipping creation.');
13+
}
14+
} catch (error) {
15+
consola.error(error);
16+
}
17+
})();
File renamed without changes.
File renamed without changes.

yarn.lock

+8-51
Original file line numberDiff line numberDiff line change
@@ -1138,7 +1138,7 @@
11381138
webpack-node-externals "^1.7.2"
11391139
webpackbar "^4.0.0"
11401140

1141-
"@nuxtjs/axios@^5.3.6":
1141+
"@nuxtjs/axios@^5.9.3":
11421142
version "5.9.3"
11431143
resolved "https://registry.yarnpkg.com/@nuxtjs/axios/-/axios-5.9.3.tgz#9d99b10f752b49b42aaa3e2e5ca9484372ce86e9"
11441144
integrity sha512-+P1BK7MxMRL4q1WeYM9vyfocJrRoskbuD2TztKU8ryunK8JgpkIvqCzQxTI2BLUbOPd7qvjPLwzA0QBdzqYlaA==
@@ -1149,7 +1149,7 @@
11491149
consola "^2.11.3"
11501150
defu "^0.0.4"
11511151

1152-
"@nuxtjs/dotenv@^1.4.0":
1152+
"@nuxtjs/dotenv@^1.4.1":
11531153
version "1.4.1"
11541154
resolved "https://registry.yarnpkg.com/@nuxtjs/dotenv/-/dotenv-1.4.1.tgz#dd5abb98e22cc7ae27139d3aa606151034293128"
11551155
integrity sha512-DpdObsvRwC8d89I9mzz6pBg6e/PEXHazDM57DOI1mmML2ZjHfQ/DvkjlSzUL7T+TnW3b/a4Ks5wQx08DqFBmeQ==
@@ -1184,15 +1184,6 @@
11841184
mustache "^2.3.0"
11851185
stack-trace "0.0.10"
11861186

1187-
"@prettier/plugin-php@^0.12.0":
1188-
version "0.12.0"
1189-
resolved "https://registry.yarnpkg.com/@prettier/plugin-php/-/plugin-php-0.12.0.tgz#d70037c8a7fb46ed47de8bee47d73c2e03cec769"
1190-
integrity sha512-XoP2qX/Es1d6QWwxPRJm+KBS90g/iUs9zT7mbo2H5IdDf7JoWuxGPsmpFuCkRJIFlROuyWJFOBHvDC7z3ne2pw==
1191-
dependencies:
1192-
linguist-languages "^7.5.1"
1193-
mem "^6.0.1"
1194-
php-parser glayzzle/php-parser#prettier
1195-
11961187
"@types/color-name@^1.1.1":
11971188
version "1.1.1"
11981189
resolved "https://registry.yarnpkg.com/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0"
@@ -2590,16 +2581,16 @@ core-js-pure@^3.0.0:
25902581
resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.6.4.tgz#4bf1ba866e25814f149d4e9aaa08c36173506e3a"
25912582
integrity sha512-epIhRLkXdgv32xIUFaaAry2wdxZYBi6bgM7cB136dzzXXa+dFyRLTZeLUJxnd8ShrmyVXBub63n2NHo2JAt8Cw==
25922583

2593-
core-js@3, core-js@^3.4.1:
2594-
version "3.6.4"
2595-
resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.6.4.tgz#440a83536b458114b9cb2ac1580ba377dc470647"
2596-
integrity sha512-4paDGScNgZP2IXXilaffL9X7968RuvwlkK3xWtZRVqgd8SYNiVKRJvkFd1aqqEuPfN7E68ZHEp9hDj6lHj4Hyw==
2597-
25982584
core-js@^2.6.5:
25992585
version "2.6.11"
26002586
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.11.tgz#38831469f9922bded8ee21c9dc46985e0399308c"
26012587
integrity sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg==
26022588

2589+
core-js@^3.4.1, core-js@^3.6.4:
2590+
version "3.6.4"
2591+
resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.6.4.tgz#440a83536b458114b9cb2ac1580ba377dc470647"
2592+
integrity sha512-4paDGScNgZP2IXXilaffL9X7968RuvwlkK3xWtZRVqgd8SYNiVKRJvkFd1aqqEuPfN7E68ZHEp9hDj6lHj4Hyw==
2593+
26032594
[email protected], core-util-is@~1.0.0:
26042595
version "1.0.2"
26052596
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
@@ -4792,11 +4783,6 @@ lightgallery.js@^1.1.3:
47924783
resolved "https://registry.yarnpkg.com/lightgallery.js/-/lightgallery.js-1.1.3.tgz#05d47fa2e09546208a430b97fdf5d32f156515c5"
47934784
integrity sha512-eo96ApfhSyb+Gv421ntAKxkw3CvJ9UBF9/XjiUfwz0rNWYszSsauG3se+FL606+wrMpsp/wFweqSMPTzoiLbnQ==
47944785

4795-
linguist-languages@^7.5.1:
4796-
version "7.7.0"
4797-
resolved "https://registry.yarnpkg.com/linguist-languages/-/linguist-languages-7.7.0.tgz#c069731f8b307ce301980a4bac4b81bf06a2c351"
4798-
integrity sha512-6vR1OgfD/YK1xgqVBT3aUx9zurSVeHUsXpVyTilT1o7LW6MNAcGmWy5wwmQAAhvEXxG2PZmktHbQiGtJ5hpGkg==
4799-
48004786
load-bmfont@^1.3.1:
48014787
version "1.4.0"
48024788
resolved "https://registry.yarnpkg.com/load-bmfont/-/load-bmfont-1.4.0.tgz#75f17070b14a8c785fe7f5bee2e6fd4f98093b6b"
@@ -4998,13 +4984,6 @@ mamacro@^0.0.3:
49984984
resolved "https://registry.yarnpkg.com/mamacro/-/mamacro-0.0.3.tgz#ad2c9576197c9f1abf308d0787865bd975a3f3e4"
49994985
integrity sha512-qMEwh+UujcQ+kbz3T6V+wAmO2U8veoq2w+3wY8MquqwVA3jChfwY+Tk52GZKDfACEPjuZ7r2oJLejwpt8jtwTA==
50004986

5001-
map-age-cleaner@^0.1.3:
5002-
version "0.1.3"
5003-
resolved "https://registry.yarnpkg.com/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz#7d583a7306434c055fe474b0f45078e6e1b4b92a"
5004-
integrity sha512-bJzx6nMoP6PDLPBFmg7+xRKeFZvFboMrGlxmNj9ClvX53KrmvM5bXFXEWjbz4cz1AFn+jWJ9z/DJSz7hrs0w3w==
5005-
dependencies:
5006-
p-defer "^1.0.0"
5007-
50084987
map-cache@^0.2.2:
50094988
version "0.2.2"
50104989
resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf"
@@ -5041,14 +5020,6 @@ [email protected]:
50415020
resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748"
50425021
integrity sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=
50435022

5044-
mem@^6.0.1:
5045-
version "6.0.1"
5046-
resolved "https://registry.yarnpkg.com/mem/-/mem-6.0.1.tgz#3f8ad1b0f8c4e00daf07f104e95b9d78131d7908"
5047-
integrity sha512-uIRYASflIsXqvKe+7aXbLrydaRzz4qiK6amqZDQI++eRtW3UoKtnDcGeCAOREgll7YMxO5E4VB9+3B0LFmy96g==
5048-
dependencies:
5049-
map-age-cleaner "^0.1.3"
5050-
mimic-fn "^3.0.0"
5051-
50525023
memory-fs@^0.4.1:
50535024
version "0.4.1"
50545025
resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.4.1.tgz#3a9a20b8462523e447cfbc7e8bb80ed667bfc552"
@@ -5157,11 +5128,6 @@ mimic-fn@^2.1.0:
51575128
resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b"
51585129
integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==
51595130

5160-
mimic-fn@^3.0.0:
5161-
version "3.0.0"
5162-
resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-3.0.0.tgz#76044cfa8818bbf6999c5c9acadf2d3649b14b4b"
5163-
integrity sha512-PiVO95TKvhiwgSwg1IdLYlCTdul38yZxZMIcnDSFIBUm4BNZha2qpQ4GpJ++15bHoKDtrW2D69lMfFwdFYtNZQ==
5164-
51655131
min-document@^2.19.0:
51665132
version "2.19.0"
51675133
resolved "https://registry.yarnpkg.com/min-document/-/min-document-2.19.0.tgz#7bd282e3f5842ed295bb748cdd9f1ffa2c824685"
@@ -5790,11 +5756,6 @@ osenv@0, osenv@^0.1.4:
57905756
os-homedir "^1.0.0"
57915757
os-tmpdir "^1.0.0"
57925758

5793-
p-defer@^1.0.0:
5794-
version "1.0.0"
5795-
resolved "https://registry.yarnpkg.com/p-defer/-/p-defer-1.0.0.tgz#9f6eb182f6c9aa8cd743004a7d4f96b196b0fb0c"
5796-
integrity sha1-n26xgvbJqozXQwBKfU+WsZaw+ww=
5797-
57985759
p-finally@^2.0.0:
57995760
version "2.0.1"
58005761
resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-2.0.1.tgz#bd6fcaa9c559a096b680806f4d657b3f0f240561"
@@ -5991,10 +5952,6 @@ phin@^2.9.1:
59915952
resolved "https://registry.yarnpkg.com/phin/-/phin-2.9.3.tgz#f9b6ac10a035636fb65dfc576aaaa17b8743125c"
59925953
integrity sha512-CzFr90qM24ju5f88quFC/6qohjC144rehe5n6DH900lgXmUe86+xCKc10ev56gRKC4/BkHUoG4uSiQgBiIXwDA==
59935954

5994-
"php-parser@github:glayzzle/php-parser#prettier":
5995-
version "3.0.0-prerelease.9"
5996-
resolved "https://codeload.github.com/glayzzle/php-parser/tar.gz/3279b7ee9bd78b914b5b840edc749eee0fabbfd8"
5997-
59985955
picomatch@^2.0.4, picomatch@^2.0.7:
59995956
version "2.2.1"
60005957
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.1.tgz#21bac888b6ed8601f831ce7816e335bc779f0a4a"
@@ -6754,7 +6711,7 @@ prepend-http@^1.0.0:
67546711
resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc"
67556712
integrity sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=
67566713

6757-
prettier@^1.18.2, prettier@^1.19.1:
6714+
prettier@^1.18.2:
67586715
version "1.19.1"
67596716
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb"
67606717
integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==

0 commit comments

Comments
 (0)