create-line-harness 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -531,8 +531,8 @@ async function runSetup(repoDir) {
531
531
  message: "LIFF ID",
532
532
  placeholder: "\u30C1\u30E3\u30CD\u30EBID-\u30E9\u30F3\u30C0\u30E0\u6587\u5B57\u5217\uFF08\u4F8B: 2009554425-4IMBmLQ9\uFF09",
533
533
  validate(value) {
534
- if (!value || value.trim().length < 5) {
535
- return "LIFF ID \u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044";
534
+ if (!value || !value.includes("-")) {
535
+ return "LIFF ID \u306F\u300C\u30C1\u30E3\u30CD\u30EBID-\u30E9\u30F3\u30C0\u30E0\u6587\u5B57\u5217\u300D\u306E\u5F62\u5F0F\u3067\u3059\uFF08\u4F8B: 2009554425-4IMBmLQ9\uFF09";
536
536
  }
537
537
  }
538
538
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-line-harness",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Set up LINE Harness — AI-operated LINE CRM — with one command",
5
5
  "type": "module",
6
6
  "bin": {