Comments (3)
I think the file should also include the arguments used to execute checksync so that it contains all the data needed to recreate the run. That way, if we so chose, we could update checksync to read this format too and know exactly how to interpret all the paths and such.
from checksync.
Also, including the version of checksync would be useful - just in case we decided to change the format.
from checksync.
I think the following structure for the JSON output could work:
[{
type: "error",
file: "services/static/javascript/app-shell-package/app-entry.js",
line: 14,
message: "Sync-start for 'app-shell-entry' points to 'services/static/webpack/plugins/make-i18n-html-pages.jsx', which does not exist or is a directory",
}, {
type: "mismatch",
file: "services/static/javascript/app-shell-package/app-entry.js",
line 14,
message: "Looks like you changed the target content for sync-tag 'app-shell-entry' in 'services/static/webpack/plugins/make-i18n-html-pages.js:80'. Make sure you've made the parallel changes in the source file, if necessary (0 != 2118575972)",
fix: "// sync-start:app-shell-entry 2118575972 services/static/webpack/plugins/make-i18n-html-pages.js",
}]
from checksync.
Related Issues (20)
- Code coverage isn't always working (noticeable in dependabot jobs) HOT 1
- The `parse-gitignore` dependency isn't handling some ignore patterns
- Upgrade @hyperjump/json-schema when we drop Node 16
- Checksync uses current working directory for marker location rather than the passed location or the config file HOT 1
- Console output should be grouped by message type HOT 1
- Should include version in CLI output
- Running after installing with `yarn global add checksync` fails
- Add --version arg
- Support recursive discovery of ignore files HOT 1
- Add support for Node 14
- Add support for Node 16
- Remove or fix the dependabot badge in the README HOT 1
- Update --json to report more errors
- .checksyncrc file HOT 1
- When auto-fixing, added line-ending should match line-ending of file being edited
- Duplicate targets should be differentiated by text and line number
- Speed up by not globbing file paths
- Add node_module caching to build jobs HOT 1
- Support inter-dependency sync tags
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from checksync.