764 Commits

Author SHA1 Message Date
Victor Savkin
615abad219 Release 7.0.2 2018-11-07 17:20:12 -05:00
--get
1d1315ab4f fix(schematics): update ng packagr for ng7 migration 2018-11-07 14:25:34 -05:00
ben
f6af0b951e fix(schematics): replaceAppNameWithPath use pattern matching now
Make `replaceAppNameWithPath` uses pattern matching while replacing the strings, making sure it does
not mess with the wrong properties or values. Example: `ui` was messing with `build` &&
`@angular-devkit/build-angular`.

fix #856
2018-11-07 14:23:21 -05:00
--get
cf158c940e fix(schematics): fix ng test --watch 2018-11-07 14:19:36 -05:00
Victor Savkin
60f08fae50 Release 7.0.1 2018-11-05 13:49:36 -05:00
--get
e681a18c1e fix(schematics): ignore node_modules during affected 2018-11-05 12:52:49 -05:00
Emilio Martinez
a1b8ef9c64 fix(nx): set jasmine-marbles peer dependency to v0.4.0
Sets jasmine-marbles peer dependency version in nx package to match rest of project as set in f73c1b5.
2018-11-04 16:39:35 -05:00
--get
1a3770bc94 refactor(schematics): patch move to be more performant 2018-11-04 16:38:53 -05:00
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
f89a6260ef test(cypress): add type references 2018-10-28 09:17:48 -04:00
ben
5154146f02 fix(builders): using fork and getSystemPath 2018-10-27 13:50:24 -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
Dominik
21bb88bcb7 fix(schematics): check implicity touched projects independently from git folder structure 2018-10-25 12:15:25 -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
31061d42b6 fix(schematics): do not add setup file for --no-module libs 2018-10-24 09:43:23 -04:00
--get
47d99d49ba fix(schematics): fix tslint rules for ngadd 2018-10-24 09:42:49 -04:00
--get
67c4bdf4af feat(schematics): upgrade to angular 7 2018-10-24 09:42:31 -04:00
skydever
cd43c6d9ba fix(schematics): check type of tsConfig lint entry (ng-add) 2018-10-22 11:15:53 -04:00
skydever
12e484266c fix(schematics): check existence of tslint.json for app (ng-add) 2018-10-22 11:15:32 -04:00
--get
f03f007380 fix(schematics): create unique ids for schematic configs 2018-10-22 11:10:25 -04:00
--get
479bf5bee9 feat(schematics): add interactive prompts 2018-10-22 11:09:49 -04:00
--get
8c22ae41bb feat(schematics): make jest flow simpler 2018-10-22 11:08:59 -04:00
ben
a50d5c4e63 build(script): add log about moving libraries
This adds a log in the terminal while performing the build, to update the user on the last
destination of the Nx libraries. Contrary to the last log from ng-packagr saying that the build is
in `/dist`, it is moved right after in the `/buil`. To avoid the confusion, this log say the right
information.
2018-10-19 11:34:31 -04:00
--get
9ab505334e fix(schematics): add node types for node apps 2018-10-19 11:33:34 -04:00
--get
9a60c697e8 fix(schematics): handle complex asset options in ng-add 2018-10-18 14:01:35 -04:00
ben
02a49e774f fix(schematics): use feature key in selector
Use now the feature key constant from the reducer to set `createFeatureSelector` with the right
state nomination.

fix #818
2018-10-18 13:32:50 -04:00
ben
183f360a2f chore(commands): workspace integrity check angular.json
This updates the `.angular-cli.json` to `angular.json` which is now the convention from Angular CLI.
2018-10-18 13:32:01 -04:00
ben
15b8e4bc93 feat(schematics): make dep-graph export to svg
This enables to export the dependency graph into a `svg` file. It was shown in the documentation but
not quite ready yet.

fix #811
2018-10-18 13:31:44 -04:00
ben
0295996f46 docs(readme): updates
Add a link towards the right blog catagory of the nrwl website and
a Features list.

Fix some alignment quirks.
2018-10-17 16:43:49 -04:00
Victor Savkin
d01ec1836e update readme 2018-10-09 16:40:26 -04:00
Victor Savkin
e118812ccd Release 6.4.0 2018-10-06 10:10:05 -04:00
Steven Masala
3ba5fefc23 fix(schemantics): tests are unable to run when window paths have spaces in them. 2018-10-04 19:42:56 -04:00
Leigh Caplan
b9ffb90ef9 feat(nx): export data persistence operators
DataPersistence methods have been refactored to use pipeable operators, but these operators weren't
exported so they could not be used outside of the library. Now, users will be able to import the
operators themselves.
2018-10-04 19:42:35 -04:00
--get
f1d4dd9f46 feat(schematics): add option for no module in lib 2018-10-04 19:42:13 -04:00
--get
f4c106a644 feat(builders): support es2015 compilation 2018-10-04 19:40:10 -04:00
Victor Savkin
cd4af6a507 build: update publish script 2018-10-03 20:05:31 -04:00
skydever
96716ae279 fix(schematics): convert fileReplacements paths for all configurations 2018-10-03 20:02:43 -04:00
skydever
4bd39e7f85 fix(schematics): exclude jest setup file in tsconfig.app.json 2018-10-03 20:02:29 -04:00
--get
9714a97f3c feat(schematics): update cli to 6.2.4 2018-10-03 20:02:02 -04:00
--get
0b086dd27c fix(schematics): fix affected for projects without architect config 2018-10-03 20:01:42 -04:00
--get
25b6e616df fix(schematics): remove duplicate schematics dep after ng-add 2018-10-03 20:01:19 -04:00
--get
fbdb7847de fix(builders): fix node builders on windows 2018-10-03 20:00:49 -04:00
Cristian Martinez
08c994a74c style(schematics): add empty line after imports
fix #614
2018-10-03 20:00:07 -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
skydever
039c1510d9 fix(schematics): clean outDir to avoid blueprint leaks 2018-09-28 13:19:00 -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
--get
ac7cc3b113 tests(schematic): add back unit tests for ng-add 2018-09-28 12:01:56 -04:00
ben
efe38c47a7 fix(ngrx): add store typing
This adds the `<%= className%>PartialState` used to type the store from the
`DataPersistence` methods.
This adds the `XXX_FEATURE_KEY` to the `xxx.reducer.ts` file too.

close #748
2018-09-28 12:01:34 -04:00