-
Notifications
You must be signed in to change notification settings - Fork 13
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 #2 from rajeshkumaravel/main
Issue #ED-393 feat: CSP externalise added
- Loading branch information
Showing
15 changed files
with
9,885 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"env": { | ||
"development": { | ||
"compact": false | ||
}, | ||
"production": { | ||
"compact": false | ||
} | ||
}, | ||
"plugins": ["@babel/syntax-dynamic-import"], | ||
"presets": [ | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
"modules": false | ||
} | ||
] | ||
] | ||
} |
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,30 @@ | ||
version: 2.1 | ||
orbs: | ||
node: circleci/[email protected] | ||
|
||
jobs: | ||
sunbird_build_json: | ||
executor: node/default | ||
steps: | ||
- checkout | ||
- node/install-packages: | ||
pkg-manager: yarn | ||
- run: | ||
name: Check current version of node | ||
command: node -v | ||
- run: | ||
name: Publish to NPM | ||
command: | | ||
if [ -z $CIRCLE_PR_NUMBER ]; then | ||
npm run build:prod | ||
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc | ||
npm publish | ||
else | ||
npm run build:prod | ||
fi | ||
workflows: | ||
version: 2 | ||
sunbird_resource_bundles: | ||
jobs: | ||
- sunbird_build_json |
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,4 @@ | ||
node_modules | ||
*.log | ||
/dist | ||
*.env |
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,10 @@ | ||
/src/ | ||
/tests/ | ||
*.csv | ||
*.log | ||
/reports/ | ||
webpack.config.js | ||
*.html | ||
en.json | ||
.github/ | ||
/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,37 @@ | ||
# client-cloud-services | ||
# Sunbird | ||
## client-cloud-services | ||
|
||
<!-- [![NPM version](https://img.shields.io/npm/v/node-keyword-scrapper.svg?flat&logo=npm)](https://img.shields.io/npm/v/node-keyword-scrapper.svg?style=for-the-badge&logo=npm) --> | ||
|
||
Sunbird client cloud service is multi-cloud npm toolkit that provides access across cloud services while giving you full control to use cloud-specific features. Plugin allows users to provision their infrastructure in any cloud provider. | ||
|
||
<p> | ||
<img alt="github actions" src="https://img.shields.io/badge/-Github_Actions-2088FF?style=flat-square&logo=github-actions&logoColor=white" height=25 /> | ||
<img alt="javascript" src="https://img.shields.io/badge/JavaScript-F7DF1E?style=for-the-badge&logo=javascript&logoColor=black" height=25 /> | ||
<img alt="nodejs" src="https://img.shields.io/badge/Node.js-43853D?style=for-the-badge&logo=node.js&logoColor=white" height=25 /> | ||
</p> | ||
|
||
<!-- <img alt="sunbird-client-cloud-services" src="./docs/SB_ccs.png"> --> | ||
![sunbird-client-cloud-services](/docs/SB_ccs.png) | ||
|
||
--- | ||
|
||
## License | ||
|
||
This project is licensed under the MIT License. See LICENSE for more information. | ||
|
||
## Table of contents | ||
|
||
- [Installation](#installation) | ||
- [Usage](#usage) | ||
- [Options](#options) | ||
--- | ||
|
||
### Installation | ||
|
||
|
||
``` | ||
$ npm install --save @project-sunbird/client-cloud-services | ||
``` | ||
|
||
### Usage |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,56 @@ | ||
{ | ||
"name": "@project-sunbird/client-cloud-services", | ||
"version": "0.0.1", | ||
"description": "Sunbird Client Services - To access cloud services", | ||
"main": "dist/bundle.js", | ||
"module": "dist/bundle.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"build": "webpack --mode=production --node-env=production", | ||
"build:dev": "webpack --mode=development --watch", | ||
"build:prod": "webpack --mode=production --node-env=production", | ||
"watch": "webpack --watch", | ||
"serve": "webpack serve" | ||
}, | ||
"author": "RAJESH KUMARAVEL", | ||
"license": "MIT", | ||
"engines": { | ||
"node": ">=14.19.0", | ||
"npm": ">=6.14.16" | ||
}, | ||
"keywords": [ | ||
"sunbird", | ||
"cloud", | ||
"services", | ||
"csp", | ||
"azure", | ||
"aws", | ||
"gcp", | ||
"google", | ||
"cloud storage" | ||
], | ||
"dependencies": { | ||
"@aws-sdk/client-s3": "3.163.0", | ||
"@aws-sdk/s3-request-presigner": "3.173.0", | ||
"@aws-sdk/lib-storage": "3.182.0", | ||
"@google-cloud/storage": "6.5.2", | ||
"@project-sunbird/logger": "^0.0.9", | ||
"async": "2.5.0", | ||
"azure-storage": "2.10.2", | ||
"dateformat": "2.0.0", | ||
"lodash": "4.17.15", | ||
"multiparty": "^4.2.1", | ||
"uuid": "3.1.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.18.6", | ||
"@babel/preset-env": "^7.18.6", | ||
"@webpack-cli/generators": "^2.5.0", | ||
"babel-loader": "^8.2.5", | ||
"prettier": "^2.7.1", | ||
"rimraf": "^3.0.2", | ||
"webpack": "^5.73.0", | ||
"webpack-cli": "^4.10.0", | ||
"webpack-dev-server": "^4.9.3" | ||
} | ||
} |
Oops, something went wrong.