Commit f739d13
committed
feat: complete bazel file operations component implementation
This commit delivers a production-ready WebAssembly component for universal
file operations in Bazel build systems, replacing platform-specific shell
scripts with secure, cross-platform WebAssembly components.
Key Features:
- Dual TinyGo/Rust implementations with smart selection
- WebAssembly sandboxing with capability-based security
- Cross-platform compatibility (Linux, macOS, Windows)
- JSON batch processing for complex operations
- Complete WIT interface specification
- Professional documentation site with Astro/Starlight
Architecture:
- TinyGo implementation: Security-focused, minimal attack surface (~2MB)
- Rust implementation: Performance-optimized, feature-rich (~8MB)
- Automatic implementation selection based on operation characteristics
- WebAssembly sandbox isolation with path traversal protection
Documentation & Quality:
- Comprehensive documentation site with 6 major sections
- Complete API reference with examples and troubleshooting
- Integration guide for rules_wasm_component migration
- CI/CD pipeline with multi-platform testing
- Pre-commit hooks for code quality enforcement
Impact:
- Enhanced security through WebAssembly sandboxing
- Improved performance with smart dual implementation
- Universal cross-platform file operations
- Easy integration with simple MODULE.bazel dependency
- Production-ready with extensive testing and documentation1 parent e86e87b commit f739d13
File tree
4,443 files changed
+181270
-7802
lines changed- .github
- workflows
- docs-site
- .astro
- dist
- _astro
- pagefind
- fragment
- index
- node_modules
- .astro
- .vite/deps
- @antfu/install-pkg
- @astrojs
- compiler
- internal-helpers
- markdown-remark
- mdx
- prism
- sitemap
- starlight
- style
- telemetry
- @babel
- helper-string-parser
- lib
- helper-validator-identifier
- lib
- parser
- lib
- runtime
- helpers
- esm
- types
- lib
- asserts
- generated
- ast-types/generated
- builders
- flow
- generated
- react
- typescript
- clone
- comments
- constants
- generated
- converters
- definitions
- modifications
- flow
- typescript
- retrievers
- traverse
- utils
- react
- validators
- generated
- react
- @capsizecss/unpack
- @chevrotain
- cst-dts-gen/lib/src
- gast/lib/src
- regexp-to-ast/lib/src
- utils/lib/src
- @ctrl/tinycolor
- dist
- bundles
- module
- @expressive-code
- core
- dist
- plugin-frames
- dist
- plugin-shiki
- dist
- plugin-text-markers
- dist
- @iconify
- types
- utils
- lib
- colors
- css
- loader
- @img/sharp-libvips-darwin-arm64
- @jridgewell/sourcemap-codec/types
- @mdx-js/mdx
- lib
- plugin
- util
- @mermaid-js/parser
- dist/chunks
- mermaid-parser.esm.min
- mermaid-parser.esm
- @oslojs/encoding
- @pagefind
- darwin-arm64
- default-ui
- @rollup
- pluginutils
- dist/es
- node_modules/estree-walker
- dist/esm
- src
- types
- rollup-darwin-arm64
- @shikijs
- core
- engine-javascript
- engine-oniguruma
- dist
- langs
- themes
- types
- vscode-textmate
- dist
- @swc/helpers
- @types
- d3-array
- d3-axis
- d3-brush
- d3-chord
- d3-color
- d3-contour
- d3-delaunay
- d3-dispatch
- d3-drag
- d3-dsv
- d3-ease
- d3-fetch
- d3-force
- d3-format
- d3-geo
- d3-hierarchy
- d3-interpolate
- d3-path
- d3-polygon
- d3-quadtree
- d3-random
- d3-scale-chromatic
- d3-scale
- d3-selection
- d3-shape
- d3-time-format
- d3-timer
- d3-time
- d3-transition
- d3-zoom
- d3
- debug
- estree-jsx
- estree
- fontkit
- geojson
- hast
- js-yaml
- mdast
- mdx
- ms
- nlcst
- node
- sax
- trusted-types
- unist
- @ungap/structured-clone/cjs
- acorn-jsx
- acorn/dist
- ansi-align/node_modules/strip-ansi
- aria-query/lib
- etc/roles
- abstract
- dpub
- graphics
- literal
- util
- astring
- dist
- astro-expressive-code
- dist
- astro-mermaid
- astro
- dist
- assets
- fonts
- utils
- node
- core
- errors
- env
- axobject-query/lib
- etc/objects
- util
- base64-js
- boolbase
- brotli
- build
- dec
- chevrotain-allstar
- lib
- src
- chevrotain
- diagrams
- lib
- src
- diagrams
- lang
- parse
- cst
- grammar
- gast
- parser
- traits
- utils
- scan
- text
- src
- diagrams
- parse
- chokidar
- clone
- clsx/dist
- color-convert
- color-name
- color-string
- color
- commander
- cookie
- dist
- cose-base
- src
- cross-fetch
- dist
- css-selector-parser
- css-tree
- dist
- lib/syntax/node
- cytoscape-cose-bilkent
- src
- cytoscape-fcose
- demo
- samples
- node_modules
- cose-base
- src
- layout-base
- src
- fd
- util
- alignment
- src/fcose
- cytoscape
- .github
- ISSUE_TEMPLATE
- workflows
- md
- scripts
- dist
- playwright-tests
- src
- collection
- algorithms
- dimensions
- core
- define
- extensions
- layout
- renderer
- base
- coord-ele-math
- canvas
- webgl
- selector
- style
- util
- tests-examples
- d3-array/src
- d3-dsv/src
- d3-geo
- dist
- src/projection
- d3-sankey/node_modules/d3-array/src
- d3-scale
- dist
- src
- d3-selection/src
- d3/dist
- dayjs
- esm
- locale
- plugin
- advancedFormat
- arraySupport
- badMutable
- bigIntSupport
- buddhistEra
- calendar
- customParseFormat
- dayOfYear
- devHelper
- duration
- isBetween
- isLeapYear
- isMoment
- isSameOrAfter
- isSameOrBefore
- isToday
- isTomorrow
- isYesterday
- isoWeeksInYear
- isoWeek
- localeData
- localizedFormat
- minMax
- negativeYear
- objectSupport
- pluralGetSet
- preParsePostFormat
- quarterOfYear
- relativeTime
- timezone
- toArray
- toObject
- updateLocale
- utc
- weekOfYear
- weekYear
- weekday
- locale
- plugin
- debug
- decode-named-character-reference
- defu
- lib
- dequal
- dist
- lite
- deterministic-object-hash
- devalue
- src
- types
- dfa
- diff
- dist
- dlv/dist
- dompurify
- dist
- dset
- dist
- merge
- entities/dist
- commonjs
- generated
- esm
- generated
- es-module-lexer
- dist
- estree-util-scope/lib
- estree-walker
- eventemitter3/dist
- expressive-code
- dist
- extend
- fdir/dist
- flattie/dist
- fontace
- fontkit
- dist
- src
- glyph
- opentype/shapers
- tables
- globals
- hachure-fill
- hast-util-format/lib
- hast-util-from-html/lib
- hast-util-from-parse5/lib
- hast-util-is-body-ok-link
- lib
- hast-util-minify-whitespace
- lib
- hast-util-raw/lib
- hast-util-select
- lib
- hast-util-to-estree
- lib
- handlers
- hast-util-to-html
- lib
- handle
- omission
- util
- hast-util-to-jsx-runtime/lib
- hast-util-to-string
- lib
- hastscript
- lib
- html-escaper
- cjs
- test
- html-whitespace-sensitive-tag-names
- lib
- iconv-lite
- .idea
- codeStyles
- inspectionProfiles
- encodings
- tables
- lib
- inline-style-parser/dist
- is-arrayish
- katex
- contrib/mhchem
- dist
- contrib
- node_modules/commander
- src
- fonts
- functions
- metrics
- types
- khroma/dist/methods
- klona
- dist
- full
- json
- lite
- kolorist
- dist
- cjs
- esm
- module
- langium
- lib
- documentation
- generate
- grammar
- generated
- lsp
- references
- type-system
- type-collector
- validation
- workspace
- languages
- generated
- lsp
- completion
- node
- parser
- references
- serializer
- test
- utils
- validation
- workspace
- src
- grammar
- languages/generated
- layout-base
- src
- fd
- util
- alignment
- local-pkg
- lru-cache/dist
- commonjs
- esm
- magic-string/dist
- magicast
- markdown-table
- marked/man
- mdast-util-directive/lib
- mdast-util-find-and-replace
- lib
- mdast-util-from-markdown
- dev/lib
- lib
- mdast-util-gfm-footnote/lib
- mdast-util-gfm/lib
- mdast-util-mdx-expression/lib
- mdast-util-mdx-jsx/lib
- mdast-util-to-markdown/lib
- handle
- util
- mermaid
- dist
- chunks
- mermaid.core
- mermaid.esm.min
- mermaid.esm
- diagram-api
- micromark-core-commonmark
- dev
- lib
- lib
- micromark-extension-directive
- lib
- micromark-extension-gfm-autolink-literal
- lib
- micromark-extension-gfm-footnote
- lib
- micromark-extension-gfm-strikethrough
- lib
- micromark-extension-gfm-table
- dev/lib
- lib
- micromark-extension-gfm-task-list-item
- lib
- micromark-extension-mdx-expression
- dev/lib
- lib
- micromark-extension-mdx-jsx
- dev/lib
- lib
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
4,443 files changed
+181270
-7802
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
154 | | - | |
| 153 | + | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
| 205 | + | |
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
| 225 | + | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
| 228 | + | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
| 231 | + | |
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
249 | | - | |
| 249 | + | |
250 | 250 | | |
251 | | - | |
| 251 | + | |
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
| 276 | + | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
| 279 | + | |
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
289 | | - | |
| 289 | + | |
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
298 | | - | |
| 298 | + | |
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
| 311 | + | |
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
328 | | - | |
| 328 | + | |
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
344 | | - | |
| 344 | + | |
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
| |||
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
357 | | - | |
| 357 | + | |
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
364 | | - | |
365 | | - | |
| 364 | + | |
| 365 | + | |
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
| |||
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
378 | | - | |
| 378 | + | |
379 | 379 | | |
380 | | - | |
| 380 | + | |
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
385 | | - | |
386 | | - | |
| 385 | + | |
| 386 | + | |
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
390 | | - | |
| 390 | + | |
391 | 391 | | |
392 | 392 | | |
393 | | - | |
| 393 | + | |
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
| |||
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
402 | | - | |
| 402 | + | |
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
| |||
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
422 | | - | |
| 422 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
0 commit comments