diff --git a/e2e/protractor.conf.js b/e2e/protractor.conf.js deleted file mode 100644 index 73e4e68..0000000 --- a/e2e/protractor.conf.js +++ /dev/null @@ -1,32 +0,0 @@ -// @ts-check -// Protractor configuration file, see link for more information -// https://github.com/angular/protractor/blob/master/lib/config.ts - -const { SpecReporter } = require('jasmine-spec-reporter'); - -/** - * @type { import("protractor").Config } - */ -exports.config = { - allScriptsTimeout: 11000, - specs: [ - './src/**/*.e2e-spec.ts' - ], - capabilities: { - 'browserName': 'chrome' - }, - directConnect: true, - baseUrl: 'http://localhost:4200/', - framework: 'jasmine', - jasmineNodeOpts: { - showColors: true, - defaultTimeoutInterval: 30000, - print: function() {} - }, - onPrepare() { - require('ts-node').register({ - project: require('path').join(__dirname, './tsconfig.json') - }); - jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } })); - } -}; \ No newline at end of file diff --git a/e2e/src/app.e2e-spec.ts b/e2e/src/app.e2e-spec.ts deleted file mode 100644 index d447791..0000000 --- a/e2e/src/app.e2e-spec.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { AppPage } from './app.po'; -import { browser, logging } from 'protractor'; - -describe('workspace-project App', () => { - let page: AppPage; - - beforeEach(() => { - page = new AppPage(); - }); - - it('should display welcome message', () => { - page.navigateTo(); - expect(page.getTitleText()).toEqual('ngx-data app is running!'); - }); - - afterEach(async () => { - // Assert that there are no errors emitted from the browser - const logs = await browser.manage().logs().get(logging.Type.BROWSER); - expect(logs).not.toContain(jasmine.objectContaining({ - level: logging.Level.SEVERE, - } as logging.Entry)); - }); -}); diff --git a/e2e/src/app.po.ts b/e2e/src/app.po.ts deleted file mode 100644 index b8498c2..0000000 --- a/e2e/src/app.po.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { browser, by, element } from 'protractor'; - -export class AppPage { - navigateTo() { - return browser.get(browser.baseUrl) as Promise; - } - - getTitleText() { - return element(by.css('app-root .content span')).getText() as Promise; - } -} diff --git a/e2e/tsconfig.json b/e2e/tsconfig.json deleted file mode 100644 index c92199c..0000000 --- a/e2e/tsconfig.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "extends": "../tsconfig.json", - "compilerOptions": { - "outDir": "../out-tsc/e2e", - "module": "commonjs", - "target": "es2018", - "types": [ - "jasmine", - "jasminewd2", - "node" - ] - } -} diff --git a/package.json b/package.json index 279eabc..a023f9f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "demo", - "version": "0.0.0", + "version": "18.0.0-alpha.1", "scripts": { "ng": "ng", "start": "ng serve", @@ -8,8 +8,8 @@ "test": "ng test", "lint": "ng lint", "e2e": "ng e2e", - "build-data": "ng build @openharbor/ngx-data", - "publish-data": "npm publish dist/openharbor/ngx-data" + "build-data": "ng build ngx-data --configuration production", + "publish-data": "npm publish dist/openharbor/ngx-data --access public" }, "private": true, "dependencies": { @@ -51,4 +51,4 @@ "typescript": "5.5.4" }, "packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610" -} \ No newline at end of file +} diff --git a/projects/openharbor/ngx-data/README.md b/projects/openharbor/ngx-data/README.md index 42c6dcf..6ea65e2 100644 --- a/projects/openharbor/ngx-data/README.md +++ b/projects/openharbor/ngx-data/README.md @@ -1,24 +1,5 @@ -# NgxData +> This project was originally initiated by [Powered Software Inc.](https://poweredsoft.com/) and was forked from the [ngx-data](https://github.com/PoweredSoft/ngx-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 ngx-data` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project ngx-data`. -> Note: Don't forget to add `--project ngx-data` or else it will be added to the default project in your `angular.json` file. - -## Build - -Run `ng build ngx-data` to build the project. The build artifacts will be stored in the `dist/` directory. - -## Publishing - -After building your library with `ng build ngx-data`, go to the dist folder `cd dist/ngx-data` and run `npm publish`. - -## Running unit tests - -Run `ng test ngx-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/openharbor/ngx-data/package.json b/projects/openharbor/ngx-data/package.json index a5095b5..34b96a0 100644 --- a/projects/openharbor/ngx-data/package.json +++ b/projects/openharbor/ngx-data/package.json @@ -1,6 +1,7 @@ { "name": "@openharbor/ngx-data", - "version": "18.0.0-alpha.1", + "version": "18.0.0-alpha.2", + "repository": "https://git.openharbor.io/Open-Harbor/ngx-data", "dependencies": { "tslib": "^2.7.0" },