156 Commits

Author SHA1 Message Date
Victor Savkin
4fee84e0f4 Release 7.0.0 2018-10-28 12:14:11 -04:00
ben
9cddb41a9d ci(travis): add windows build 2018-10-28 09:18:10 -04:00
ben
f73c1b57a8 build(package): use latest jasmine marble version
This update the package to use the latest jasmin marbles version. Avoiding peer dependency warnings.

fix #793 #804
2018-10-25 12:18:15 -04:00
ben
f38bda025b feat(schematics): add cypress e2e test runner
This is enables the use of Cypress as e2e test runner for a new
application in the Nx workspace.

The Cypress command is hidden as a flag in the main application
schematics. Meaning, the only thing needed to enable this feature is to
add the `--e2eTestRunner=cypress` flag at your command when creating
a new application.
Example:
```shell
$ ng generate application myApp --e2eTestRunner=cypress
```

By default `ng e2e my-app-e2e` will start Cypress in the application
mode. You will see the desktop application and will be able to check all
the tests and run them as you which.

If you want to run the Cypress tests in headless mode (while being on CI
for example), you can do so by passing the `--headless` to the command.
  You will see all the test results live in the terminal.
  ```shell
  $ ng e2e my-app-e2e --headless
  ```

The Cypress configuration files and folders are present in the new
`my-app-e2e` folder created. Every file are written in typescript and
will be compiled into the `/dist/apps/my-app-e2e` folder before starting
Cypress.

If you need to fine tunes the options of Cypress, you can do so by
modifying directly the `cypress.json` file in the related project.

The build steps are has follow:
• compile typescript files into javascript inside the
`/dist/app/my-app-e2e` folder
• build a dev server (using the default AngularCLI dev target build)
• run Cypress with the compiled e2e files

Screenshots and Videos will be accessible respectively in
`/dist/apps/homer-app-e2e/screenshots` and
`/dist/apps/homer-app-e2e/videos`.
2018-10-25 12:14:35 -04:00
--get
67c4bdf4af feat(schematics): upgrade to angular 7 2018-10-24 09:42:31 -04:00
Victor Savkin
e118812ccd Release 6.4.0 2018-10-06 10:10:05 -04:00
--get
9714a97f3c feat(schematics): update cli to 6.2.4 2018-10-03 20:02:02 -04:00
Jason Jean
9b8755a327 feat(schematics): add schematics for node apps 2018-10-01 20:31:39 -04:00
Jason Jean
469af6e1a0 feat(builders): introduce node build and execute builders
These builders handle building and executing node applications
2018-10-01 15:29:01 -04:00
--get
c9d3f97b9f feat(schematics): update @angular/cli to 6.2.3 and ngrx 6.1.0 2018-09-28 13:14:45 -04:00
Jeff Cross
88b424c406 Release 6.4.0-beta.1 2018-09-19 11:57:44 -07:00
Benjamin Cabanes
5c4db34e37 fix(scripts): checkcommit allows release commit (#740) 2018-09-14 10:43:19 -04:00
Victor Savkin
99f4434a6d Release 6.3.0 2018-08-30 16:31:39 -04:00
Jason Jean
794075b8b2 fix(builders): import directly from jest 2018-08-30 11:30:20 -04:00
ben
9c10fa7db2 build(package.json): run prettier before commit
This adds a hook to the git command to run prettier on the staged files, before committing. Prettier
has now more broad and general rules with excluded folder and more files to correct.
2018-08-23 09:59:04 -04:00
Jason Jean
0788a81322 feat(builders): introduce builders package and jest builder 2018-08-22 11:13:54 -04:00
ben
78b1ea19e7 chore(commitizen): add cz-conventional-changelog
This adds the ability to automate the format of the commit by prompting the information needed in sequence.
It is then easier to follow the standard format of the repository.
A commit check has been added to the CI too.
2018-08-22 10:49:31 -04:00
Victor Savkin
fce682c0f8 Release 6.2.1 2018-08-21 16:06:30 -04:00
Victor Savkin
917525a330 Release 6.2.0 2018-08-06 14:04:16 -04:00
Jason Jean
b5550d367c fix(schematics): set versions consistent with cli 6.1.2 2018-08-04 08:37:43 -04:00
Victor Savkin
6de716258f Release 6.2.0-beta.1 2018-08-02 13:46:09 -04:00
Jason Jean
205e7ad7ef feat(schematics): support @angular/cli@6.1.1 2018-08-02 13:39:19 -04:00
Thomas Burleson
04e99b06ae fix(schematics): ngrx schematics should generate enhanced ngrx files
@nrwl/schematics no longer uses the @ngrx/schematics to generate NgRx feature files.
*  `ngrx/files/__directory__` templates are used
*  Templates replicate the simple outputs generated from @ngrx/schematics:feature
*  Templates add significant Nx enhancements.

The following standard files will be scaffolded:
* `<feature>.actions.ts`
* `<feature>.effects.ts` + `<feature>.effects.spec.ts`
* `<feature>.reducer.ts` + `<feature>.reducer.spec.ts`

The following new files will also be scaffolded:
* `<feature>.selectors.ts` +  `<feature>.selectors.spec.ts`

Changes include:

* Change the action/enums to generate a trio of enums for each *feature*: `Load<Feature>`, `<Feature>Loaded`, and `<Feature>LoadError`
* Add code generators for `<feature>.selectors.ts`
* Add code generators for unit and integration testing `*.spec.ts` files
* Update the public barrel [`index.ts`] when adding ngrx to a library
* Use `StoreModule.forFeature()` when adding ngrx feature (without using the `--root` option)
* Use the Effect to respond tp `load<Feature>$` and dispatch `<Feature>Loaded` or `<Feature>LoadError`
* Update the Action to export `<feature>Actions` map of all action classes
* fix `ng-add.test.ts` tests for latest Angular CLI scaffolding
* fix `application.spec.ts` expect fails

Fixes #472,  Fixes #618,  Fixes #317,  Fixes #561, Refs #380.
2018-07-21 21:13:48 -04:00
Victor Savkin
2403e23fe9 Release 6.1.0 2018-06-14 12:04:05 -04:00
Victor Savkin
583d6cb575 Release 6.1.0-beta.2 2018-06-11 14:28:05 -04:00
Victor Savkin
e2baeafb9c Release 6.1.0-beta.1 2018-06-09 13:01:11 -04:00
Jason Jean
d2350c4e86 feat(schematics): fail gracefully and warn when project is missing a format npm script 2018-06-07 20:40:14 -04:00
Victor Savkin
cca9ab7339 Release 6.0.4 2018-05-31 19:20:14 -04:00
Victor Savkin
6f6863977e Release 6.0.3 2018-05-31 17:06:14 -04:00
Victor Savkin
02fd821465 Release 6.0.2 2018-05-22 12:30:08 -04:00
Victor Savkin
e7455094dd Release 6.0.1 2018-05-22 10:03:56 -04:00
Victor Savkin
8484673c60 Release 6.0.0 2018-05-22 09:34:47 -04:00
Victor Savkin
1f199c8ac8 Release 6.0.0-rc.4 2018-05-18 14:17:34 -04:00
Victor Savkin
2bf35c8789 Release 6.0.0-rc.3 2018-05-16 21:13:38 -04:00
Victor Savkin
ec0263fc28 Release 6.0.0-rc.2 2018-05-16 08:19:06 -04:00
Victor Savkin
2a774cc573 Release 6.0.0-rc.1 2018-05-14 10:23:35 -04:00
Victor Savkin
f511525fa1 switch back to NgRx 5.2.0 2018-05-13 20:12:59 -04:00
Victor Savkin
f581fb34ba Release 6.0.0-alpha.1 2018-05-11 11:50:34 -04:00
Jason Jean
39eb6d38e7 feat(schematics): working v6 ng add 2018-05-09 09:24:06 -04:00
Victor Savkin
7dac4c73fe Release 2.0.0-alpha.2 2018-05-07 11:24:31 -04:00
Victor Savkin
2d349cb635 Release 2.0.0-alpha.1 2018-05-07 10:38:00 -04:00
Victor Savkin
907ec27528 feat(schematics): switch to cli6 2018-05-06 19:12:02 -04:00
Victor Savkin
10d8a47492 Release 1.0.3 2018-04-26 10:47:39 -04:00
Victor Savkin
d3164639f6 Release 1.0.2 2018-04-24 12:59:07 -04:00
Victor Savkin
fb689ea511 Release 1.0.1 2018-04-24 12:06:16 -04:00
Victor Savkin
ea423477df build: use precise commits to format the code 2018-04-21 15:25:26 -04:00
Victor Savkin
8b3370ffaa Release 1.0.1-beta.1 2018-04-18 09:10:48 -04:00
James Henry
09cfec2b3b chore(scripts): Implement new release helpers 2018-04-18 09:09:04 -04:00
Victor Savkin
2aa1332572 chore: bump up version 2018-04-18 09:08:34 -04:00
mrmeku
08896fd195 feat(schematics): Generate --help for every CLI function.
This PR introduces the yargs package as our CLI command handler.
We build up commands using yargs to take advantage of its built
in --help flag formatter.
2018-04-12 21:49:59 -04:00