From 80c7a4ea80ede8fc7327f1781301ae0a3e39f2c5 Mon Sep 17 00:00:00 2001 From: m-mitsuhide Date: Mon, 8 Jun 2020 21:01:57 +0900 Subject: [PATCH] chore: update snapshot --- test/snapshots/index.test.js.md | 106 ++++++++++++++---------------- test/snapshots/index.test.js.snap | Bin 2335 -> 2578 bytes 2 files changed, 48 insertions(+), 58 deletions(-) diff --git a/test/snapshots/index.test.js.md b/test/snapshots/index.test.js.md index 0c4f8f14..36dd49b6 100644 --- a/test/snapshots/index.test.js.md +++ b/test/snapshots/index.test.js.md @@ -99,17 +99,18 @@ Generated by [AVA](https://avajs.dev). }, private: true, scripts: { - 'build:api': 'aspida --build', - 'build:frourio': 'frourio --build -c server/frourio.config.js', + build: 'npm run build:apis && run-p build:front build:server', + 'build:apis': 'cross-env NODE_ENV=production run-p build:aspida build:frourio', + 'build:aspida': 'aspida --build', + 'build:front': 'nuxt-ts generate', + 'build:frourio': 'frourio --build --config server/frourio.config.js', + 'build:server': 'webpack --mode=production --config server/webpack.config.js', delete: 'pm2 delete server/pm2.config.json', dev: 'run-p dev:*', - 'dev:api': 'aspida --watch', - 'dev:client': 'nuxt-ts', - 'dev:frourio': 'frourio --watch -c server/frourio.config.js', + 'dev:aspida': 'aspida --watch', + 'dev:front': 'nuxt-ts', + 'dev:frourio': 'frourio --watch --config server/frourio.config.js', 'dev:server': 'webpack --watch --mode=development --config server/webpack.config.js', - generate: 'cross-env NODE_ENV=production run-p build:* && run-p generate:*', - 'generate:front': 'nuxt-ts generate', - 'generate:server': 'webpack --mode=production --config server/webpack.config.js', lint: 'npm run lint:script && npm run lint:style', 'lint:fix': 'npm run lint:script -- --fix && npm run lint:style -- --fix', 'lint:script': 'eslint --ext .ts,.js,.vue --ignore-path .gitignore .', @@ -156,25 +157,16 @@ Generated by [AVA](https://avajs.dev). { dependencies: { '@aspida/axios': '^0.6.0', - '@nuxt/typescript-runtime': '^0.4.8', - '@nuxtjs/axios': '^5.3.6', + axios: '^0.19.2', frourio: '^0.3.0', - nuxt: '2.12.2', pm2: '^4.4.0', }, devDependencies: { - '@nuxt/components': '^0.3.3', - '@nuxt/typescript-build': '^0.6.0', - '@nuxtjs/eslint-config-typescript': '^1.0.0', - '@nuxtjs/eslint-module': '^1.0.0', - '@nuxtjs/stylelint-module': '^3.1.0', - '@vue/test-utils': '^1.0.0-beta.27', 'babel-eslint': '^10.0.1', 'babel-jest': '^24.1.0', 'cross-env': '^7.0.2', eslint: '^6.1.0', 'eslint-config-prettier': '^6.10.0', - 'eslint-plugin-nuxt': '>=0.4.2', 'eslint-plugin-prettier': '^3.1.2', husky: '^4.0.0', jest: '^24.1.0', @@ -187,7 +179,6 @@ Generated by [AVA](https://avajs.dev). 'ts-loader': '^7.0.5', 'tsconfig-paths-webpack-plugin': '^3.2.0', typescript: '^3.9.3', - 'vue-jest': '^4.0.0-0', 'webpack-cli': '^3.3.11', }, husky: { @@ -196,32 +187,28 @@ Generated by [AVA](https://avajs.dev). }, }, 'lint-staged': { - '*.{css,vue}': 'stylelint', - '*.{js,vue}': 'yarn lint', + '*.js': 'npm run lint', }, private: true, scripts: { - 'build:api': 'aspida --build', - 'build:frourio': 'frourio --build -c server/frourio.config.js', + build: 'npm run build:apis && npm run build:server', + 'build:apis': 'cross-env NODE_ENV=production run-p build:aspida build:frourio', + 'build:aspida': 'aspida --build', + 'build:frourio': 'frourio --build --config server/frourio.config.js', + 'build:server': 'webpack --mode=production --config server/webpack.config.js', delete: 'pm2 delete server/pm2.config.json', dev: 'run-p dev:*', - 'dev:api': 'aspida --watch', - 'dev:client': 'nuxt-ts', - 'dev:frourio': 'frourio --watch -c server/frourio.config.js', + 'dev:aspida': 'aspida --watch', + 'dev:frourio': 'frourio --watch --config server/frourio.config.js', 'dev:server': 'webpack --watch --mode=development --config server/webpack.config.js', - generate: 'cross-env NODE_ENV=production run-p build:* && run-p generate:*', - 'generate:front': 'nuxt-ts generate', - 'generate:server': 'webpack --mode=production --config server/webpack.config.js', - lint: 'npm run lint:script && npm run lint:style', - 'lint:fix': 'npm run lint:script -- --fix && npm run lint:style -- --fix', - 'lint:script': 'eslint --ext .ts,.js,.vue --ignore-path .gitignore .', - 'lint:style': 'stylelint "**/*.{*(s)css,vue}"', + lint: 'eslint --ext .ts,.js --ignore-path .gitignore .', + 'lint:fix': 'npm run lint -- --fix', logs: 'pm2 logs', monit: 'pm2 monit', start: 'pm2 start server/pm2.config.json --env production', stop: 'pm2 stop server/pm2.config.json', test: 'jest', - typecheck: 'run-p build:* && tsc --noEmit', + typecheck: 'npm run build:apis && tsc --noEmit', }, } @@ -320,17 +307,18 @@ Generated by [AVA](https://avajs.dev). }, private: true, scripts: { - 'build:api': 'aspida --build', - 'build:frourio': 'frourio --build -c server/frourio.config.js', + build: 'npm run build:apis && run-p build:front build:server', + 'build:apis': 'cross-env NODE_ENV=production run-p build:aspida build:frourio', + 'build:aspida': 'aspida --build', + 'build:front': 'nuxt-ts generate', + 'build:frourio': 'frourio --build --config server/frourio.config.js', + 'build:server': 'webpack --mode=production --config server/webpack.config.js', delete: 'pm2 delete server/pm2.config.json', dev: 'run-p dev:*', - 'dev:api': 'aspida --watch', - 'dev:client': 'nuxt-ts', - 'dev:frourio': 'frourio --watch -c server/frourio.config.js', + 'dev:aspida': 'aspida --watch', + 'dev:front': 'nuxt-ts', + 'dev:frourio': 'frourio --watch --config server/frourio.config.js', 'dev:server': 'webpack --watch --mode=development --config server/webpack.config.js', - generate: 'cross-env NODE_ENV=production run-p build:* && run-p generate:*', - 'generate:front': 'nuxt-ts generate', - 'generate:server': 'webpack --mode=production --config server/webpack.config.js', lint: 'npm run lint:script && npm run lint:style', 'lint:fix': 'npm run lint:script -- --fix && npm run lint:style -- --fix', 'lint:script': 'eslint --ext .ts,.js,.vue --ignore-path .gitignore .', @@ -439,17 +427,18 @@ Generated by [AVA](https://avajs.dev). }, private: true, scripts: { - 'build:api': 'aspida --build', - 'build:frourio': 'frourio --build -c server/frourio.config.js', + build: 'npm run build:apis && run-p build:front build:server', + 'build:apis': 'cross-env NODE_ENV=production run-p build:aspida build:frourio', + 'build:aspida': 'aspida --build', + 'build:front': 'nuxt-ts generate', + 'build:frourio': 'frourio --build --config server/frourio.config.js', + 'build:server': 'webpack --mode=production --config server/webpack.config.js', delete: 'pm2 delete server/pm2.config.json', dev: 'run-p dev:*', - 'dev:api': 'aspida --watch', - 'dev:client': 'nuxt-ts', - 'dev:frourio': 'frourio --watch -c server/frourio.config.js', + 'dev:aspida': 'aspida --watch', + 'dev:front': 'nuxt-ts', + 'dev:frourio': 'frourio --watch --config server/frourio.config.js', 'dev:server': 'webpack --watch --mode=development --config server/webpack.config.js', - generate: 'cross-env NODE_ENV=production run-p build:* && run-p generate:*', - 'generate:front': 'nuxt-ts generate', - 'generate:server': 'webpack --mode=production --config server/webpack.config.js', lint: 'npm run lint:script && npm run lint:style', 'lint:fix': 'npm run lint:script -- --fix && npm run lint:style -- --fix', 'lint:script': 'eslint --ext .ts,.js,.vue --ignore-path .gitignore .', @@ -558,17 +547,18 @@ Generated by [AVA](https://avajs.dev). }, private: true, scripts: { - 'build:api': 'aspida --build', - 'build:frourio': 'frourio --build -c server/frourio.config.js', + build: 'npm run build:apis && run-p build:front build:server', + 'build:apis': 'cross-env NODE_ENV=production run-p build:aspida build:frourio', + 'build:aspida': 'aspida --build', + 'build:front': 'nuxt-ts generate', + 'build:frourio': 'frourio --build --config server/frourio.config.js', + 'build:server': 'webpack --mode=production --config server/webpack.config.js', delete: 'pm2 delete server/pm2.config.json', dev: 'run-p dev:*', - 'dev:api': 'aspida --watch', - 'dev:client': 'nuxt-ts', - 'dev:frourio': 'frourio --watch -c server/frourio.config.js', + 'dev:aspida': 'aspida --watch', + 'dev:front': 'nuxt-ts', + 'dev:frourio': 'frourio --watch --config server/frourio.config.js', 'dev:server': 'webpack --watch --mode=development --config server/webpack.config.js', - generate: 'cross-env NODE_ENV=production run-p build:* && run-p generate:*', - 'generate:front': 'nuxt-ts generate', - 'generate:server': 'webpack --mode=production --config server/webpack.config.js', lint: 'npm run lint:script && npm run lint:style', 'lint:fix': 'npm run lint:script -- --fix && npm run lint:style -- --fix', 'lint:script': 'eslint --ext .ts,.js,.vue --ignore-path .gitignore .', diff --git a/test/snapshots/index.test.js.snap b/test/snapshots/index.test.js.snap index 071de2b457e48f053b19c8fcdd44c69d8361d5b1..10391ebace566c883acb6862834e58a9ceaaff0a 100644 GIT binary patch literal 2578 zcmZ`)c{~#gAD>Aq>j>uLia^wh)+|1)lOD!~PBiC4kNC!jZo||RLh+$)BQlXwv zEVs-I~*^3{#5gq5c% zX}|&#=A<*-lu`r$e;@CXFET{lMz-kURoR({GHMicphD>Ee)pEIAq@?ln`AaiAme&Y%zp`Q`?vThzfsiqk`7*-O0o^zA{Ez!zo=~9$xu#l$x$-X5Rg2cWcQg z7sGkmRn#6f(e?=)qd%3UXgELJZhL9;^20#4|i7d>jA|O&SN} z(&rK$CWOq@mS*XTET^D>a}7M6^`jxe?q{-V#0A>t zcs*)n$t3srffliWE;*EHx!*}%jT---I>;c#4G{X|K+#_&TeyJ)LBFux<)=T`k$Sh``q0AuN) zX5g)!FnIWMFd7YUZF$`9l&NUl3{ai)@%Jeomif)LvdI(gncp~awopMDGzk)gYR+%= z#MEx@n1|&UADE0AI!={V8|!&|btP|jGfKa$SPcf}+n&Qm4XfMNHX94Mwed;`(!E(y ze&^2)$+!ebyvP@DK2NG{=FQ||xw72Nt)cis%X~$^{i7kM6NZA@MytlkDfS(wLnWyS z7X%CVjp_iFbQ~Q?7l}9H8ENpd!{4&IA(?sRX|^N+X=BkWyPbL&DP5(b$TPER?yPzC z+^Q5yR=HS(L#Fp73?(qGCdmVP0eR|F1VDtR2X#p!UY3Po@%bS|RIss0rN-oavJaJSK{?`kY-I+C#q1=RGqGIbI;W^Jmq7|E7XP9tiyO5k)~!zWdwwTJyMu| z-QqS5!vQ20!!F#o+`p9Jmds>l7@cq#6)ny$Or=*ZecSUCY=y-+F{&jLW4ua4tb9*< z59!R<@9K8Rv#vc_yXV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