https://github.com/mulesoft/data-weave-tmlanguage
DataWeave 2.0 tmLanguage
https://github.com/mulesoft/data-weave-tmlanguage
Last synced: 3 months ago
JSON representation
DataWeave 2.0 tmLanguage
- Host: GitHub
- URL: https://github.com/mulesoft/data-weave-tmlanguage
- Owner: mulesoft
- License: mit
- Created: 2017-07-06T21:02:36.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2026-02-26T20:59:47.000Z (3 months ago)
- Last Synced: 2026-02-27T02:05:05.313Z (3 months ago)
- Language: DataWeave
- Size: 241 KB
- Stars: 4
- Watchers: 296
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# Data-Weave-TmLanguage
This repository contains TmLanguage files that are consumed by DatWeave editors and plugins.
# Contributing
The XML files are generated from the YAML files, so contributors should hand-modify the YAML files, and XML files should only be generated by running build script.
## Build
Update the XML files from within the ```build``` folder
``` sh
cd build
npm install # Installs dependencies required for building
npm start # Compiles & builds the XML files
```
## Tests
Test are run from within the ```tests``` folder and depend on build to make sure XML files are upto date
``` sh
cd build
npm install # Installs dependencies required for building
cd ../tests
npm install # Installs dependencies required for testing
npm test # Compiles & runs tests
```
### Update Snapshots
Tests are run using snapshot testing, there is a baseline for each of the cases which is the .snap file.
You can update the snapshots once you are sure the changes are desired by doing
``` sh
cd tests
npm run updateSnapshot # Update snapshots
```