-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #341 from dhis2/update-commit-checking-workflows
ci: replace semantic commit checks with new workflow
- Loading branch information
Showing
106 changed files
with
52,446 additions
and
50,440 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
version: 1 | ||
|
||
update_configs: | ||
- package_manager: "javascript" | ||
directory: "/" | ||
update_schedule: "live" | ||
version_requirement_updates: "increase_versions" | ||
- package_manager: "java:maven" | ||
directory: "/" | ||
update_schedule: "monthly" | ||
- package_manager: "docker" | ||
directory: "/" | ||
update_schedule: "weekly" | ||
- package_manager: "submodules" | ||
directory: "/" | ||
update_schedule: "weekly" | ||
- package_manager: 'javascript' | ||
directory: '/' | ||
update_schedule: 'live' | ||
version_requirement_updates: 'increase_versions' | ||
- package_manager: 'java:maven' | ||
directory: '/' | ||
update_schedule: 'monthly' | ||
- package_manager: 'docker' | ||
directory: '/' | ||
update_schedule: 'weekly' | ||
- package_manager: 'submodules' | ||
directory: '/' | ||
update_schedule: 'weekly' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: 'dhis2: verify (commits)' | ||
|
||
on: | ||
pull_request: | ||
types: ['opened', 'edited', 'reopened', 'synchronize'] | ||
|
||
jobs: | ||
lint-pr-title: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: c-hive/gha-yarn-cache@v1 | ||
- run: yarn install --frozen-lockfile | ||
- id: commitlint | ||
run: echo ::set-output name=config_path::$(node -e "process.stdout.write(require('@dhis2/cli-style').config.commitlint)") | ||
- uses: JulienKode/[email protected] | ||
with: | ||
configuration-path: ${{ steps.commitlint.outputs.config_path }} | ||
|
||
lint-commits: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- uses: c-hive/gha-yarn-cache@v1 | ||
- run: yarn install --frozen-lockfile | ||
- id: commitlint | ||
run: echo ::set-output name=config_path::$(node -e "process.stdout.write(require('@dhis2/cli-style').config.commitlint)") | ||
- uses: wagoid/commitlint-github-action@v4 | ||
with: | ||
configFile: ${{ steps.commitlint.outputs.config_path }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,19 @@ | ||
{ | ||
"source": { | ||
"include": "./src", | ||
"includePattern": ".js$", | ||
"excludePattern": "(node_modules/|docs|__tests__|__mocks__|__fixtures__)" | ||
}, | ||
"opts": { | ||
"template": "node_modules/docdash", | ||
"encoding": "utf8", | ||
"destination": "./docs/", | ||
"recurse": true, | ||
"verbose": true | ||
}, | ||
"plugins": [ | ||
"plugins/markdown" | ||
], | ||
"docdash": { | ||
"static": true, | ||
"sort": true | ||
} | ||
"source": { | ||
"include": "./src", | ||
"includePattern": ".js$", | ||
"excludePattern": "(node_modules/|docs|__tests__|__mocks__|__fixtures__)" | ||
}, | ||
"opts": { | ||
"template": "node_modules/docdash", | ||
"encoding": "utf8", | ||
"destination": "./docs/", | ||
"recurse": true, | ||
"verbose": true | ||
}, | ||
"plugins": ["plugins/markdown"], | ||
"docdash": { | ||
"static": true, | ||
"sort": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,73 +1,73 @@ | ||
{ | ||
"name": "d2", | ||
"version": "31.10.2", | ||
"description": "Javascript library for DHIS2", | ||
"main": "d2.js", | ||
"scripts": { | ||
"build:dev": "webpack --config webpack.config.dev.js --mode development", | ||
"build:docs": "jsdoc -c jsdoc.json --readme ./README.md -u ./tutorials", | ||
"build:prod": "webpack --config webpack.config.prod.js --mode production", | ||
"build": "npm run transpile && npm run build:dev && npm run build:prod && npm run build:docs", | ||
"lint": "d2-style js check", | ||
"test:coverage": "npm test -- --coverage", | ||
"test": "TZ=UTC jest", | ||
"transpile": "babel src --out-dir . --source-maps --ignore '/**/__tests__/*','/**/__mocks__/*','/**/__fixtures__/*'" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/dhis2/d2.git" | ||
}, | ||
"keywords": [ | ||
"dhis2", | ||
"api", | ||
"library" | ||
], | ||
"author": "Mark Polak", | ||
"license": "BSD-3-Clause", | ||
"bugs": { | ||
"url": "https://github.com/dhis2/d2/issues" | ||
}, | ||
"homepage": "https://github.com/dhis2/d2", | ||
"dependencies": { | ||
"isomorphic-fetch": "^2.2.1" | ||
}, | ||
"devDependencies": { | ||
"@babel/cli": "^7.2.3", | ||
"@babel/core": "^7.3.3", | ||
"@babel/plugin-proposal-class-properties": "^7.3.3", | ||
"@babel/preset-env": "^7.3.1", | ||
"@dhis2/cli-style": "^7.2.1", | ||
"eslint-config-airbnb": "^18.2.1", | ||
"babel-loader": "^8.0.5", | ||
"docdash": "^1.0.3", | ||
"form-data": "^2.3.3", | ||
"jest": "^24.1.0", | ||
"jsdoc": "^3.6.6", | ||
"lodash": "^4.17.11", | ||
"rimraf": "^2.6.3", | ||
"webpack": "^4.29.5", | ||
"webpack-cli": "^3.2.3" | ||
}, | ||
"engines": { | ||
"npm": ">=3.5.1", | ||
"node": ">=5.1.1" | ||
}, | ||
"nyc": { | ||
"sourceMap": false, | ||
"instrument": false | ||
}, | ||
"jest": { | ||
"coveragePathIgnorePatterns": [ | ||
"/node_modules/", | ||
"/__fixtures__/" | ||
"name": "d2", | ||
"version": "31.10.2", | ||
"description": "Javascript library for DHIS2", | ||
"main": "d2.js", | ||
"scripts": { | ||
"build:dev": "webpack --config webpack.config.dev.js --mode development", | ||
"build:docs": "jsdoc -c jsdoc.json --readme ./README.md -u ./tutorials", | ||
"build:prod": "webpack --config webpack.config.prod.js --mode production", | ||
"build": "npm run transpile && npm run build:dev && npm run build:prod && npm run build:docs", | ||
"lint": "d2-style check js", | ||
"test:coverage": "npm test -- --coverage", | ||
"test": "TZ=UTC jest", | ||
"transpile": "babel src --out-dir . --source-maps --ignore '/**/__tests__/*','/**/__mocks__/*','/**/__fixtures__/*'" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/dhis2/d2.git" | ||
}, | ||
"keywords": [ | ||
"dhis2", | ||
"api", | ||
"library" | ||
], | ||
"testPathIgnorePatterns": [ | ||
".*\\.e2e\\.jsx?$" | ||
"author": "Mark Polak", | ||
"license": "BSD-3-Clause", | ||
"bugs": { | ||
"url": "https://github.com/dhis2/d2/issues" | ||
}, | ||
"homepage": "https://github.com/dhis2/d2", | ||
"dependencies": { | ||
"isomorphic-fetch": "^2.2.1" | ||
}, | ||
"devDependencies": { | ||
"@babel/cli": "^7.2.3", | ||
"@babel/core": "^7.3.3", | ||
"@babel/plugin-proposal-class-properties": "^7.3.3", | ||
"@babel/preset-env": "^7.3.1", | ||
"@dhis2/cli-style": "^10.4.1", | ||
"babel-loader": "^8.0.5", | ||
"docdash": "^1.0.3", | ||
"eslint-config-airbnb": "^18.2.1", | ||
"form-data": "^2.3.3", | ||
"jest": "^24.1.0", | ||
"jsdoc": "^3.6.6", | ||
"lodash": "^4.17.11", | ||
"rimraf": "^2.6.3", | ||
"webpack": "^4.29.5", | ||
"webpack-cli": "^3.2.3" | ||
}, | ||
"engines": { | ||
"npm": ">=3.5.1", | ||
"node": ">=5.1.1" | ||
}, | ||
"nyc": { | ||
"sourceMap": false, | ||
"instrument": false | ||
}, | ||
"jest": { | ||
"coveragePathIgnorePatterns": [ | ||
"/node_modules/", | ||
"/__fixtures__/" | ||
], | ||
"testPathIgnorePatterns": [ | ||
".*\\.e2e\\.jsx?$" | ||
] | ||
}, | ||
"files": [ | ||
"**/*.js", | ||
"**/*.js.map", | ||
"docs" | ||
] | ||
}, | ||
"files": [ | ||
"**/*.js", | ||
"**/*.js.map", | ||
"docs" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -99,9 +99,7 @@ | |
}, | ||
"dimensions": { | ||
"pe": [], | ||
"ou": [ | ||
"ImspTQPwCqd" | ||
], | ||
"ou": ["ImspTQPwCqd"], | ||
"qrur9Dvnyt5": [] | ||
} | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.