Skip to content

Commit

Permalink
Release xarf version 2 with optional InternalProcessing field
Browse files Browse the repository at this point in the history
  • Loading branch information
FrederikP committed Mar 1, 2021
1 parent 4e29afd commit 49e67ab
Show file tree
Hide file tree
Showing 75 changed files with 2,662 additions and 181 deletions.
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
Version 2
- Added optional InternalProcessing key that allows bundling subscriber+contract info and tags

Version 1

- Top level field "Version" is required from now on
Expand Down
195 changes: 22 additions & 173 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 4 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "xarf-bundler",
"version": "0.1.0",
"version": "1.0.0",
"description": "Created bundled and fully derefed versions of xarf schema",
"repository": "https://github.com/abusix/xarf.git",
"author": "Frederik Petersen <[email protected]>",
Expand All @@ -9,7 +9,8 @@
"bundle-xarf": "node bundle_xarf.js",
"clean-coverage": "rm -rf .nyc_output coverage .generated_code",
"generate-code": "ajv compile -c ajv-formats -s xarf.schema.json -r 'schemas/**/*.schema.json' -o gen_validate_schema.js && js-beautify gen_validate_schema.js > gen_validate_schema_pretty.js",
"test-xarf": "npm run clean-coverage && npm run generate-code && nyc --reporter=lcov mocha test/test_xarf.js"
"test-xarf": "npm run clean-coverage && npm run generate-code && nyc --reporter=lcov mocha test/test_xarf.js",
"prepare": "husky install"
},
"dependencies": {
"@apidevtools/json-schema-ref-parser": "^9.0.1",
Expand All @@ -23,7 +24,7 @@
"coveralls": "^3.1.0",
"eslint": "^7.0.0",
"eslint-plugin-mocha": "^8.0.0",
"husky": "<5",
"husky": "^5.1.2",
"istanbul-lib-instrument": "^4.0.3",
"js-beautify": "^1.13.0",
"lint-staged": ">=10",
Expand All @@ -32,11 +33,6 @@
"prettier": "2.2.1",
"uuid": "^8.0.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": "eslint",
"*.{js,json,md,yml}": "prettier --check"
Expand Down
1 change: 1 addition & 0 deletions release_new_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
if [ -z "$1" ]
then
echo "No version supplied as argument. Example: './relase_new_version.sh 23'"
exit 1
fi

version="$1"
Expand Down
Loading

0 comments on commit 49e67ab

Please sign in to comment.