server-up-ndot 1.2.5 → 1.3.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,40 @@
1
+ # guide for..
2
+ ## 1.PR(pull requst)
3
+ # How to Submit a Pull Request (PR)
4
+
5
+ 1. **Fork the Repository**
6
+ - Click the "Fork" button at the top-right of the repository page to create your own copy.
7
+
8
+ 2. **Clone Your Fork**
9
+ - Run `git clone https://github.com/your-username/repo-name.git` to copy the fork to your local machine.
10
+
11
+ 3. **Create a New Branch**
12
+ - Use `git checkout -b feature/your-feature-name` to create a branch for your changes.
13
+
14
+ 4. **Make Changes Locally**
15
+ - Edit files, add features, or fix bugs in your branch.
16
+
17
+ 5. **Test Your Changes**
18
+ - Ensure your changes work correctly and do not break existing features.
19
+
20
+ 6. **Stage and Commit Changes**
21
+ - Run `git add .` to stage your changes.
22
+ - Run `git commit -m "Brief description of your changes"` to commit.
23
+
24
+ 7. **Push Changes to Your Fork**
25
+ - Use `git push origin feature/your-feature-name` to upload your branch to your GitHub fork.
26
+
27
+ 8. **Open a Pull Request**
28
+ - Go to your fork on GitHub and click "Compare & Pull Request".
29
+ - Select the base repository and branch to merge into.
30
+
31
+ 9. **Provide a Clear Description**
32
+ - Explain what your PR does, why it is needed, and any relevant issue numbers.
33
+
34
+ 10. **Request Review and Merge**
35
+ - Assign reviewers if needed.
36
+ - After approval, the PR can be merged into the main repository.
37
+
38
+ ## site Guidw
39
+ url:
40
+ [site](httos://miro-pulgi.duckdns.org/gitpr)
package/bin/cli.js CHANGED
@@ -4,6 +4,8 @@ const create = require("../lib/create");
4
4
 
5
5
  const dev = require("../lib/dev");
6
6
 
7
+ const build = require("../lib/build");
8
+
7
9
  const args = process.argv.slice(2);
8
10
 
9
11
  if (args[0] === "create") {
@@ -11,6 +13,9 @@ if (args[0] === "create") {
11
13
  }
12
14
  else if (args[0] === "dev") {
13
15
  dev()
16
+ }
17
+ else if (args[0] === "build") {
18
+ build()
14
19
  } else {
15
20
  console.log("Usage:");
16
21
  console.log("server-up-ndot create <project-name>");
package/build.sh ADDED
@@ -0,0 +1,3 @@
1
+ git clone https://github.com/ppccpcpcpc-byte/server-up-ndot
2
+ cd server-up-ndot
3
+ npm link
package/lib/build.js ADDED
@@ -0,0 +1,12 @@
1
+ const { exec } = require("child_process");
2
+ function build() {
3
+ // ../build.sh 실행
4
+ exec("sh ./build.sh", (error, stdout, stderr) => {
5
+ if (error) {
6
+ console.error(`runt<ime> error: ${error.message}`);
7
+ return;
8
+ }
9
+ console.log(stdout);
10
+ });
11
+ }
12
+ module.exports = build;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "server-up-ndot",
3
- "version": "1.2.5",
3
+ "version": "1.3.1",
4
4
  "description": "server toolkit",
5
5
  "main": "index.js",
6
6
  "bin": {
package/readme.md CHANGED
@@ -45,6 +45,19 @@ npx server-up-ndot create myserver
45
45
 
46
46
  ## Patch Notes
47
47
 
48
+ ## 1.3.x
49
+
50
+ ### 1.3.1
51
+ - add a PR(github)
52
+
53
+ ### 1.3.0
54
+ - add a local build(usage:)
55
+ ```bash
56
+ npx server-up-ndot build
57
+ ```
58
+
59
+ ## 1.2.x
60
+
48
61
  ### 1.2.5
49
62
  - Specify OS and compatibility
50
63
 
@@ -79,6 +92,8 @@ npx server-up-ndot create myserver
79
92
  ### 1.2.0-alpha.1
80
93
  - Prevent port overlap(alhpa)
81
94
 
95
+ ## 1.1.x
96
+
82
97
  ### 1.1.8
83
98
  - typo correction
84
99