Skip to content

Commit 670a814

Browse files
feat(ui): terminal table for services and new services command
1 parent bc6b50f commit 670a814

File tree

13 files changed

+3213
-0
lines changed

13 files changed

+3213
-0
lines changed

demo/.eslintrc.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports={root:true,env:{node:true,es2022:true},extends:['eslint:recommended','plugin:import/recommended','prettier'],parserOptions:{ecmaVersion:'latest',sourceType:'module'},rules:{}};

demo/.prettierrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"singleQuote": true,
3+
"semi": true,
4+
"trailingComma": "es5"
5+
}

demo/README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# demo
2+
3+
Generated with create-polyglot.
4+
5+
## Services
6+
- node (node) port:3001
7+
8+
## Preset
9+
none
10+
11+
## Commands
12+
- list services: `npm run list:services`
13+
- dev: `npm run dev`
14+
- lint: `npm run lint`
15+
- format: `npm run format`
16+
17+
## Docker Compose
18+
See compose.yaml (generated).

demo/compose.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Generated by create-polyglot
2+
version: 3.9
3+
services:
4+
node:
5+
build:
6+
context: ./services/node
7+
container_name: demo-node
8+
ports:
9+
- 3001:3001
10+
environment:
11+
PORT: 3001
12+
networks:
13+
- app-net
14+
networks:
15+
app-net:
16+
driver: bridge

0 commit comments

Comments
 (0)