Skip to content
This repository has been archived by the owner on May 1, 2020. It is now read-only.

client.jsのTypeScript化 #873

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ jobs:
- checkout
- restore_npm_cache
- install_module
- run:
name: gen swagger.d.ts
command: npm run gen-swagger-type
- run:
name: build
command: npm run build --morden
Expand Down
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
node: true
},

extends: ['plugin:vue/essential', '@vue/prettier'],
extends: ['plugin:vue/essential', '@vue/prettier', '@vue/typescript'],

rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.DS_Store
node_modules
/dist
swagger.d.ts

# local env files
.env.local
Expand All @@ -9,7 +10,7 @@ node_modules
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
yarn-error.log* w

# Editor directories and files
.idea
Expand All @@ -19,3 +20,4 @@ yarn-error.log*
*.njsproj
*.sln
*.sw*

1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ RUN apk add --no-cache git
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run gen-swagger-type
RUN npm run build

# 本番環境
Expand Down
Loading