notion-github 0.2.10 → 0.2.12

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.
Files changed (2) hide show
  1. package/dist/cli.js +18 -2
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -2789,7 +2789,7 @@ var {
2789
2789
  } = import_index.default;
2790
2790
 
2791
2791
  // package.json
2792
- var version = "0.2.10";
2792
+ var version = "0.2.12";
2793
2793
 
2794
2794
  // src/commands/create/action.ts
2795
2795
  var import_rest = require("@octokit/rest");
@@ -2905,6 +2905,22 @@ var messages = {
2905
2905
  noRepoSpecified: {
2906
2906
  en: "\nNo repository specified. Please provide --repo option or set defaultRepository in ng-config.json",
2907
2907
  ko: "\n\uB808\uD3EC\uC9C0\uD1A0\uB9AC\uAC00 \uC9C0\uC815\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. --repo \uC635\uC158\uC744 \uC0AC\uC6A9\uD558\uAC70\uB098 ng-config.json\uC5D0 defaultRepository\uB97C \uC124\uC815\uD574\uC8FC\uC138\uC694"
2908
+ },
2909
+ validationError: {
2910
+ en: "\nValidation failed:",
2911
+ ko: "\n\uC720\uD6A8\uC131 \uAC80\uC0AC \uC2E4\uD328:"
2912
+ },
2913
+ checkHeadBranch: {
2914
+ en: "- Please check if head branch '%s' exists in the repository",
2915
+ ko: "- head \uBE0C\uB79C\uCE58 '%s'\uAC00 \uB808\uD3EC\uC9C0\uD1A0\uB9AC\uC5D0 \uC874\uC7AC\uD558\uB294\uC9C0 \uD655\uC778\uD574\uC8FC\uC138\uC694"
2916
+ },
2917
+ checkBaseBranch: {
2918
+ en: "- Please check if base branch '%s' exists in the repository",
2919
+ ko: "- base \uBE0C\uB79C\uCE58 '%s'\uAC00 \uB808\uD3EC\uC9C0\uD1A0\uB9AC\uC5D0 \uC874\uC7AC\uD558\uB294\uC9C0 \uD655\uC778\uD574\uC8FC\uC138\uC694"
2920
+ },
2921
+ checkExistingPR: {
2922
+ en: "- Please check if a PR already exists for these branches",
2923
+ ko: "- \uC774\uBBF8 \uB3D9\uC77C\uD55C \uBE0C\uB79C\uCE58\uB85C \uC0DD\uC131\uB41C PR\uC774 \uC788\uB294\uC9C0 \uD655\uC778\uD574\uC8FC\uC138\uC694"
2908
2924
  }
2909
2925
  };
2910
2926
  function getMessage(key, lang = "en", ...args) {
@@ -3039,7 +3055,7 @@ async function action3(options) {
3039
3055
  const defaultConfig = {
3040
3056
  githubToken: options.token || "YOUR_GITHUB_TOKEN_HERE",
3041
3057
  language: options.language || "en",
3042
- defaultRepository: options.repository || ""
3058
+ defaultRepository: options.defaultRepo || ""
3043
3059
  // 추가적인 기본 설정이 필요하다면 여기에 추가
3044
3060
  };
3045
3061
  import_fs2.default.writeFileSync(configPath, JSON.stringify(defaultConfig, null, 2) + "\n");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "notion-github",
3
- "version": "0.2.10",
3
+ "version": "0.2.12",
4
4
  "description": "GitHub and Notion integration for PR automation",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",