-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
2,232 additions
and
978 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,24 @@ | ||
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at: | ||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.117.1/containers/typescript-node-12 | ||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.117.1/containers/javascript-node-14 | ||
{ | ||
"name": "Node.js 12 & TypeScript", | ||
"name": "Node.js 14", | ||
"dockerFile": "Dockerfile", | ||
|
||
// Set *default* container specific settings.json values on container create. | ||
"settings": { | ||
"terminal.integrated.shell.linux": "/bin/bash" | ||
}, | ||
|
||
// Add the IDs of extensions you want installed when the container is created. | ||
"extensions": [ | ||
"dbaeumer.vscode-eslint", | ||
"ms-vscode.vscode-typescript-tslint-plugin", | ||
"esbenp.prettier-vscode", | ||
"octref.vetur" | ||
"hikerpig.vetur" | ||
], | ||
|
||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
"forwardPorts": [23000, 23001, 28888] | ||
|
||
//"forwardPorts": [3000], | ||
"appPort": ["3200:3000"], | ||
"runArgs": ["--memory=2g"] | ||
// Use 'postCreateCommand' to run commands after the container is created. | ||
// "postCreateCommand": "yarn install", | ||
|
||
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root. | ||
// "remoteUser": "node" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
module.exports = { | ||
root: true, | ||
env: { | ||
browser: true, | ||
node: true | ||
}, | ||
parserOptions: { | ||
parser: 'babel-eslint' | ||
}, | ||
extends: [ | ||
'@nuxtjs', | ||
'prettier', | ||
'prettier/vue', | ||
'plugin:prettier/recommended', | ||
'plugin:nuxt/recommended' | ||
], | ||
plugins: ['prettier'], | ||
// add your custom rules here | ||
rules: {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# monolith | ||
|
||
> Citadel monolith example | ||
> Kadisoka monolith example | ||
## Build Setup | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,6 +60,6 @@ export default { | |
extend(config, ctx) {} | ||
}, | ||
server: { | ||
port: 23000 | ||
host: '0.0.0.0' | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,32 @@ | ||
{ | ||
"name": "monolith", | ||
"version": "1.0.0", | ||
"description": "Citadel monolith example", | ||
"description": "Kadisoka monolith example", | ||
"author": "Fahrezal Effendi", | ||
"private": true, | ||
"scripts": { | ||
"dev": "nuxt", | ||
"build": "nuxt build", | ||
"start": "nuxt start", | ||
"generate": "nuxt generate" | ||
"generate": "nuxt generate", | ||
"lint": "eslint --ext .js,.vue --ignore-path .gitignore .", | ||
"lintfix": "eslint --fix --ext .js,.vue --ignore-path .gitignore ." | ||
}, | ||
"dependencies": { | ||
"@nuxtjs/axios": "^5.3.6", | ||
"@nuxtjs/axios": "^5.11.0", | ||
"@nuxtjs/dotenv": "^1.4.0", | ||
"@nuxtjs/pwa": "^3.0.0-0", | ||
"nuxt": "^2.0.0", | ||
"nuxt": "^2.13.0", | ||
"vuex-persist": "^2.2.0" | ||
}, | ||
"devDependencies": {} | ||
"devDependencies": { | ||
"@nuxtjs/eslint-config": "^3.0.0", | ||
"@nuxtjs/eslint-module": "^2.0.0", | ||
"babel-eslint": "^10.0.1", | ||
"eslint": "^7.2.0", | ||
"eslint-config-prettier": "^6.10.0", | ||
"eslint-plugin-nuxt": ">=0.4.2", | ||
"eslint-plugin-prettier": "^3.1.2", | ||
"prettier": "^2.0.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
export default ({ app }, inject) => { | ||
const myApp = { | ||
appName: 'Monolith', | ||
appDesc: 'Citadel monolith example' | ||
appDesc: 'Kadisoka monolith example' | ||
} | ||
inject('myApp', myApp) | ||
} |
Oops, something went wrong.