diff --git a/package.json b/package.json index 0b34b34..b6bce86 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,10 @@ "scripts": { "serve": "ng serve", "build": "ng build data", - "publish": "npm publish dist/data --access public" + "publish": "npm publish dist/data --registry=https://registry.npmjs.org/ --access public" + }, + "publishConfig": { + "registry": "https://registry.npmjs.org" }, "private": false, "dependencies": { diff --git a/projects/data/README.md b/projects/data/README.md index c168034..298c824 100644 --- a/projects/data/README.md +++ b/projects/data/README.md @@ -1,24 +1,5 @@ -# Data +> This project was originally initiated by [Powered Software Inc.](https://poweredsoft.com/) and was forked from the [ui-data](https://github.com/PoweredSoft/ui-data) Repository -This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.2.4. +## License -## Code scaffolding - -Run `ng generate component component-name --project data` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project data`. -> Note: Don't forget to add `--project data` or else it will be added to the default project in your `angular.json` file. - -## Build - -Run `ng build data` to build the project. The build artifacts will be stored in the `dist/` directory. - -## Publishing - -After building your library with `ng build data`, go to the dist folder `cd dist/data` and run `npm publish`. - -## Running unit tests - -Run `ng test data` to execute the unit tests via [Karma](https://karma-runner.github.io). - -## Further help - -To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md). +This project is licensed under the [MIT License](LICENSE). diff --git a/projects/data/karma.conf.js b/projects/data/karma.conf.js deleted file mode 100644 index 2126f60..0000000 --- a/projects/data/karma.conf.js +++ /dev/null @@ -1,32 +0,0 @@ -// Karma configuration file, see link for more information -// https://karma-runner.github.io/1.0/config/configuration-file.html - -module.exports = function (config) { - config.set({ - basePath: '', - frameworks: ['jasmine', '@angular-devkit/build-angular'], - plugins: [ - require('karma-jasmine'), - require('karma-chrome-launcher'), - require('karma-jasmine-html-reporter'), - require('karma-coverage-istanbul-reporter'), - require('@angular-devkit/build-angular/plugins/karma') - ], - client: { - clearContext: false // leave Jasmine Spec Runner output visible in browser - }, - coverageIstanbulReporter: { - dir: require('path').join(__dirname, '../../../coverage/poweredsoft/data'), - reports: ['html', 'lcovonly', 'text-summary'], - fixWebpackSourcePaths: true - }, - reporters: ['progress', 'kjhtml'], - port: 9876, - colors: true, - logLevel: config.LOG_INFO, - autoWatch: true, - browsers: ['Chrome'], - singleRun: false, - restartOnFileChange: true - }); -}; diff --git a/projects/data/package.json b/projects/data/package.json index 140ee70..b57cd1e 100644 --- a/projects/data/package.json +++ b/projects/data/package.json @@ -2,6 +2,9 @@ "name": "@openharbor/data", "version": "1.0.0-alpha.1", "repository": "https://git.openharbor.io/Open-Harbor/ts-data", + "publishConfig": { + "registry": "https://registry.npmjs.org" + }, "peerDependencies": { "rxjs": "^6.5.3" }