11class Docmd < Formula
22 desc "Minimal Markdown documentation generator"
33 homepage "https://docmd.mgks.dev/"
4- url "https://registry.npmjs.org/@mgks/ docmd/-/docmd -0.4.5.tgz"
5- sha256 "d73c88b53de2aa1e169472c3da582f482143fc630a60ca3b05e3c9d1d5c5e031 "
4+ url "https://registry.npmjs.org/@docmd/core/-/core -0.4.5.tgz"
5+ sha256 "2de17aee4cc0038805f535ed428f7d44bfb8c7e5badd0d5c2f77903541152df4 "
66 license "MIT"
77
88 bottle do
9- sha256 cellar : :any_skip_relocation , arm64_tahoe : "d72244bfb5321e0e2df30f00a3f1ce07484a4f690389c90990123dd314e9580f"
10- sha256 cellar : :any_skip_relocation , arm64_sequoia : "8c01b73625582cab11672a030afaae0cdd260d3b13c89b3f80b9fb2ec3f7b6b2"
11- sha256 cellar : :any_skip_relocation , arm64_sonoma : "8c01b73625582cab11672a030afaae0cdd260d3b13c89b3f80b9fb2ec3f7b6b2"
12- sha256 cellar : :any_skip_relocation , sonoma : "c4fc760fdc5d89f64e6171bf83dd6e23cfe3b6dea7e9fc04cc381132a5912b52"
13- sha256 cellar : :any_skip_relocation , arm64_linux : "f6764618fca5dc9611698ece80f8203900153e33a94ac60e29fdbaf0a1c7a456"
14- sha256 cellar : :any_skip_relocation , x86_64_linux : "a4338857c7e7b779a38bf0c3b1e0cf02f93843d0b30bf3ba175199524fe41b93"
9+ rebuild 1
10+ sha256 cellar : :any_skip_relocation , arm64_tahoe : "f96199a1354534ba06fca0a9268431fa93d0aadf3fb59acb7e5a5795d6805d21"
11+ sha256 cellar : :any_skip_relocation , arm64_sequoia : "a28f1b8fa1292af2e08a60965504f420feaa9c66fc33c639e30bf0a40c3c67ea"
12+ sha256 cellar : :any_skip_relocation , arm64_sonoma : "a28f1b8fa1292af2e08a60965504f420feaa9c66fc33c639e30bf0a40c3c67ea"
13+ sha256 cellar : :any_skip_relocation , sonoma : "826e120a71f8a20998477d998a6ae9ffbcffb1e240efd6a77134b79eb2e5a289"
14+ sha256 cellar : :any_skip_relocation , arm64_linux : "897fd6f73b83a48f892009e5672221429f829d360e85f010b461d983ff287cc9"
15+ sha256 cellar : :any_skip_relocation , x86_64_linux : "2bd0bf529ad040715efdbf216ed4cc6b4506ebbad0ff399d7f317c58b108e5d7"
1516 end
1617
1718 depends_on "esbuild" # for prebuilt binaries
@@ -25,7 +26,7 @@ def install
2526 system "npm" , "install" , *std_npm_args
2627 bin . install_symlink libexec . glob ( "bin/*" )
2728
28- node_modules = libexec /"lib/node_modules/@mgks/ docmd/node_modules"
29+ node_modules = libexec /"lib/node_modules/@docmd/core /node_modules"
2930 deuniversalize_machos node_modules /"fsevents/fsevents.node" if OS . mac?
3031
3132 clipboardy_fallbacks_dir = node_modules /"clipboardy/fallbacks"
@@ -37,14 +38,14 @@ def install
3738 end
3839
3940 # Remove pre-built binaries
40- rm_r ( libexec /"lib/node_modules/@mgks/ docmd/node_modules/@esbuild" )
41+ rm_r ( libexec /"lib/node_modules/@docmd/core /node_modules/@esbuild" )
4142 end
4243
4344 test do
4445 assert_match version . to_s , shell_output ( "#{ bin } /docmd --version" )
4546
4647 system bin /"docmd" , "init"
4748 assert_path_exists testpath /"docmd.config.js"
48- assert_match " title: \ " Welcome\" " , ( testpath /"docs/index.md" ) . read
49+ assert_match ' title: "Welcome"' , ( testpath /"docs/index.md" ) . read
4950 end
5051end
0 commit comments