Skip to content

Commit

Permalink
Issue #SB-0000 merge: Merge pull request #265 from swayangjit/release…
Browse files Browse the repository at this point in the history
…-2.8.0

Issue #SB-000 chore:Bumped up version number to 2.8.0.
  • Loading branch information
AmiableAnil authored Jan 21, 2020
2 parents af40d17 + 75dd98c commit db4fb19
Show file tree
Hide file tree
Showing 7 changed files with 137 additions and 6 deletions.
21 changes: 21 additions & 0 deletions dist/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2019 Sunbird-Ed

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
1 change: 1 addition & 0 deletions dist/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# sunbird-mobile-sdk
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

111 changes: 111 additions & 0 deletions dist/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
{
"name": "@project-sunbird/sunbird-sdk",
"version": "2.7.11",
"description": "Heart of the sunbird mobile app.",
"main": "index.js",
"scripts": {
"preversion": "rm -rf dist",
"version": "npm run build:prod && git add -A dist && git commit -m \"RELEASE\"",
"postversion": "git push && git push --tags",
"lint": "tslint --config ./tslint.json --project ./tsconfig.json",
"test": "jest",
"test:coverage": "jest --coverage --collectCoverageFrom=src/**/*.{ts,tsx}",
"test:ci": "jest --ci --w 2 --collectCoverage=true --coverageReporters=lcov",
"test:ci-json": "jest --ci --w 2 --collectCoverage=true --coverageReporters=json",
"build:prod": "rm -rf dist && NODE_ENV=production webpack --verbose true --progress true --cache false --output-file index.js && cp ./package.json ./LICENSE ./README.md ./dist",
"build:analyze": "webpack --verbose true --progress true --cache false --profile --json > stats.json && webpack-bundle-analyzer ./stats.json",
"build:dev": "rm -rf tmp && mkdir tmp && cp ./package-dev.json ./tmp/package.json && tsc -w --outDir ./tmp"
},
"author": "",
"license": "ISC",
"dependencies": {
"@project-sunbird/client-services": "git+https://github.com/Sunbird-Ed/sunbird-client-services.git",
"crypto-js": "^3.1.9-1",
"dayjs": "^1.8.17",
"inversify": "^5.0.1",
"jsonwebtoken": "^8.4.0",
"pako": "^1.0.8",
"qs": "^6.6.0",
"reflect-metadata": "^0.1.13",
"typescript-collections": "^1.3.2",
"uuid": "^3.3.2",
"whatwg-fetch": "^3.0.0"
},
"peerDependencies": {
"rxjs": ">=6",
"cordova-plugin-advanced-http": "^2.0.2",
"cordova-plugin-file": "^6.0.1",
"cordova-plugin-awesome-shared-preferences": "^0.1.0",
"cordova-plugin-inappbrowser": "3.0.0",
"sb-cordova-plugin-customtabs": "git+https://github.com/Sunbird-Ed/sb-cordova-plugin-customtabs.git",
"sb-cordova-plugin-db": "git+https://github.com/Sunbird-Ed/sb-cordova-plugin-db.git",
"jjdltc-cordova-plugin-zip": "git+https://github.com/swayangjit/jjdltc-cordova-plugin-zip.git",
"cordova-plugin-android-downloadmanager": "git+https://github.com/swayangjit/cordova-plugin-android-downloadmanager.git",
"sb-cordova-plugin-utility": "git+https://github.com/Sunbird-Ed/sb-cordova-plugin-utility.git"
},
"devDependencies": {
"@types/jest": "^23.3.9",
"@types/node-fetch": "^2.5.4",
"@types/pako": "^1.0.1",
"@types/websql": "0.0.27",
"cordova-plugin-advanced-http": "^2.0.2",
"cordova-plugin-android-downloadmanager": "^0.5.0",
"cordova-plugin-file": "^6.0.1",
"jest": "^24.8.0",
"rxjs": "^6.5.3",
"ts-jest": "^24.0.2",
"ts-loader": "^5.3.2",
"ts-mockito": "^2.4.2",
"ts-node": ">=3.2.0 <8",
"tsickle": "^0.27.2",
"tslib": "^1.9.0",
"tslint": "^5.12.0",
"typescript": "2.9.1",
"uglifyjs-webpack-plugin": "^2.1.1",
"webpack": "^4.28.3",
"webpack-bundle-analyzer": "^3.6.0",
"webpack-cli": "^3.1.2",
"webpack-rxjs-externals": "^2.0.0"
},
"jest": {
"browser": false,
"rootDir": "./",
"roots": [
"<rootDir>/src/"
],
"moduleDirectories": [
"node_modules"
],
"testPathIgnorePatterns": [
"/node_modules/"
],
"coveragePathIgnorePatterns": [
"<rootDir>/src/util/file/impl",
"<rootDir>/src/codepush-experiment",
"<rootDir>/src/util/shared-preferences/impl/shared-preferences-local-storage"
],
"testMatch": [
"**/?(*.)(spec).ts"
],
"restoreMocks": true,
"moduleFileExtensions": [
"js",
"jsx",
"json",
"ts",
"tsx"
],
"setupFiles": [
"./src/__test__/setup.ts",
"./src/__test__/cordova-mocks.js"
],
"transform": {
"^.+\\.(ts)$": "ts-jest"
},
"coverageReporters": [
"text",
"json"
],
"transformIgnorePatterns": []
}
}
2 changes: 0 additions & 2 deletions dist/util/file/impl/file-service-impl.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export declare class FileServiceImpl implements FileService {
* Removes a file from a desired location.
*
* @param {string} path Base FileSystem. Please refer to the iOS and Android filesystem above
* @param {string} fileName Name of file to remove
* @returns {Promise<RemoveResult>} Returns a Promise that resolves to a RemoveResult or rejects with an error.
*/
removeFile(path: string): Promise<RemoveResult>;
Expand All @@ -40,7 +39,6 @@ export declare class FileServiceImpl implements FileService {
* Removes all files and the directory from a desired location.
*
* @param {string} path Base FileSystem. Please refer to the iOS and Android filesystem above
* @param {string} dirName Name of directory
* @returns {Promise<RemoveResult>} Returns a Promise that resolves with a RemoveResult or rejects with an error.
*/
removeRecursively(path: string): Promise<RemoveResult>;
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@project-sunbird/sunbird-sdk",
"version": "2.7.11",
"version": "2.8.0",
"description": "Heart of the sunbird mobile app.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit db4fb19

Please sign in to comment.