A simple bundle diff reporter to compare bundle sizes between master and current branch
[npm](https://www.npmjs.com/package/webpack-bundle-diff-add-children), [github](https://github.com/Adjective-Object/webpack-bundle-diff-add-children)
[npm](https://www.npmjs.com/package/webpack-bundle-diff-add-children), [github](https://github.com/Adjective-Object/webpack-bundle-diff-add-children)
Simple tool for diffing the content of two bundles
Understand changes in webpack bundle size
No description provided.
Modern TypeScript JSON diff library - Zero dependencies, high performance, ESM + CommonJS support. Calculate and apply differences between JSON objects with advanced features like key-based array diffing, JSONPath support, and atomic changesets.
Fast Javascript text diff
Robust diff, match and patch algorithms to perform operations required for synchronizing plain text
Generates a set of Sanity patches needed to change an item (usually a document) from one shape to another
Compare items in two sequences to find a longest common subsequence
Simple object hashing, serialization and comparison utils.
A JavaScript text diff implementation.
Compare items in two sequences to find a longest common subsequence
@git-diff-view/core
Deep diffs two objects, including nested structures of arrays and objects, and return the difference.
Returns an array with only the unique values from the first array, by excluding all values from additional arrays using strict equality for comparisons.
ESM and TypeScript rewrite of Google's diff-match-patch
npm package for https://github.com/google/diff-match-patch
Return an object representing the diffs between two objects. Supports jsonPatch protocol
Continuation of a simple and beautiful text diff viewer component made with diff and React
TypeScript definitions for diff-match-patch
Unified diff parser
Parse a JSON string that has git merge conflicts, resolving if possible
Bundler plugin for showing diffs of bundled gems against latest versions
Assembles files, shell commands, and git diffs into a single bundled file. Configured via presets or markdown frontmatter with protocol URL support (wfi://, guide://, tmpl://, prompt://, task://). Output to stdout or cache, with optional compression through ace-compressor.
A bundled spur that adds code review capabilities to Spurline agents. Parses diffs, detects code quality issues, posts position-mapped review comments to GitHub, and supports suspension for reviewer interactions.
# mdtoc - Markdown Table of Contents Read Markdown files and output a table of contents. ## Installation Requirements: * [Ruby](https://www.ruby-lang.org/en/) (see [.ruby-version](./.ruby-version)) ```bash gem install mdtoc ``` ## Usage ```bash mdtoc --help Usage: mdtoc [options] files or directories... -h, --help Show this message -o, --output PATH Update a table of contents in the file at PATH -a, --[no-]append Append to the --output file if a <!-- mdtoc --> tag isn't found -c, --[no-]create Create the --output file if it does not exist ``` 1. Add a `<!-- mdtoc -->` tag to a Markdown file. ```bash echo '<!-- mdtoc -->' >> README.md ``` 2. Run `mdtoc` and specify input files or directories (eg. the "test/samples" directory) and an output file (eg. "README.md"). ```bash mdtoc -aco README.md test/samples ``` ## Example Rakefile Create a `Rakefile` with the contents below, then run [`rake`](https://github.com/ruby/rake) to: * `git pull` * `git add` any `*.md` files * Run `mdtoc` to update the generated table of contents in the ./README.md file * Git commit and push any changes ```ruby task default: %w[mdtoc] desc 'Update Markdown table of contents and push changes to the git repository' task :mdtoc do command = <<~CMD set -e if [ -n "$(git diff --name-only --diff-filter=U)" ]; then echo 'Error: conflicts exist' >&2 exit 1 fi mdtoc --append --create --output README.md docs/ git add *.md **/*.md git commit -qm 'Update TOC' || true git pull git push CMD sh command, verbose: false do |ok, status| unless ok fail "Failed with status: #{status.exitstatus}" end end end ``` See [andornaut/til](https://github.com/andornaut/til/blob/master/Rakefile) for an example. ## Development ### Setup Requirements: * [Bundler](https://bundler.io/) * [chruby](https://github.com/postmodern/chruby) (recommended) ```bash # Setup development environment bin/setup ``` ### Tasks ```bash # List rake tasks rake -T rake build # Build gem into the pkg directory rake default # Run the build, rubocop, sorbet and test tasks rake install # Build and install gem into system gems rake rubocop # Run RuboCop rake sorbet # Run the Sorbet type checker rake test # Run tests # Run mdtoc with test inputs ruby -Ilib bin/mdtoc test/samples # Run mdtoc with test inputs, and write to a newly created output file f=$(mktemp) && ruby -Ilib bin/mdtoc -aco ${f} test/samples ; cat ${f} ``` ### Publishing 1. Bump version in `lib/mdtoc/version.rb` 2. Run `bundle install` to update `Gemfile.lock` 3. Commit the changes 4. Run `rake release` to publish the gem to RubyGems, create the git tag, and push
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.