CLI that ensures that Liquid features that aren't supported by Fluid are not used.
npx fluidlint 'some-folder/**.liquid'
If you do not specify file(s), it defaults to **/*.liquid
npm i -D fluidlint
In package.json
:
"scripts": {
"fluidlint": "fluidlint",
},
npm run fluidlint
-
On a non-master branch:
npm version [<newversion> | major | minor | patch]
This will update the version in
package.json
. -
Create the release notes in a release draft on GitHub
-
Once that PR is merged:
git checkout master && git pull && npm publish
This will run linting/tests, publish to npm, and create/push the git tag