diff --git a/README.md b/README.md index 3ef2b66..c7135d9 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ Elegant, performant and productive router for Openresty. # Quick Start +It's recommended to use npm to scaffold a lua-resty-router project. + ```bash npm create lua-resty-router@latest ``` diff --git a/dist.ini b/dist.ini index c5d73af..ea1b8a3 100644 --- a/dist.ini +++ b/dist.ini @@ -5,6 +5,7 @@ is_original = yes license = mit repo_link = https://github.com/xiangnanscu/lua-resty-router main_module = lib/resty/router.lua -version = 2.6 +version = 2.7 lib_dir = lib -doc_dir = . \ No newline at end of file +doc_dir = . +exclude_files = lib/resty/repr.lua \ No newline at end of file diff --git a/package.json b/package.json index 48126a8..3fc9583 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "template" ], "scripts": { - "rc:opm": "opm upload --ignore node_modules/ && opm clean dist", + "upload": "opm upload --ignore node_modules/ && opm clean dist", "prerc": "npm --no-git-tag-version version minor", "rc": "yarn push", "commit": "git add . && git commit -am ", @@ -56,4 +56,4 @@ "prompts": "^2.4.2", "zx": "^7.2.3" } -} +} \ No newline at end of file