8684 Commits

Author SHA1 Message Date
Jason Jean
d0c9c5e05d fix(schematics): always npm scope for generating package.json of lib 2018-11-25 14:25:19 -05:00
Jason Jean
dd4d671341 fix(schematics): generate defaults for scss 2018-11-23 11:10:10 -05:00
Jason Jean
a93033e728 fix(schematics): pass parsedArgs straight to generateDepGraph 2018-11-23 11:08:59 -05:00
Victor Savkin
e23b5107e6 Release 7.1.0 2018-11-20 08:22:57 -05:00
ben
193f2e84a0 docs(github): update contributing & saved replies 2018-11-19 17:30:06 -05:00
Timo Hillmann
b13bf3a371 feat(builders): updated schema.json for cypress builder 2018-11-19 17:29:46 -05:00
Timo Hillmann
e5923ad4db feat(schematics): add browser option to cypress builder
Cypress supports running the tests in a user-specified browser. This option was not exposed through
the Cypress builder before. This change will add this option in.

re #906
2018-11-19 17:29:46 -05:00
Jason Jean
5357aa4b9c fix(schematics): fix affected argument delimiting 2018-11-19 17:29:25 -05:00
Jason Jean
dfba24dc9b fix(builders): do not copy fixtures if not defined by cypress.json 2018-11-19 17:29:02 -05:00
listepo-alterpost
e2cd2f9259 fix(schematics): update description for simpleModuleName 2018-11-18 14:48:38 -05:00
listepo-alterpost
0c70d0777d fix(schematics): rename skipModuleName to simpleModuleName 2018-11-18 14:48:38 -05:00
listepo-alterpost
c0ec046b0b fix(schematics): added skipModulePrefix 2018-11-18 14:48:38 -05:00
Emilio Martinez
ace390e6f7 fix(schematics): ensure path to file before writing 2018-11-18 14:48:11 -05:00
--get
e7e9fac7d9 feat(schematics): update prettier to 1.15 and format html 2018-11-18 14:47:11 -05:00
--get
54063df355 feat(builders): create sourcemaps for node apps 2018-11-18 14:42:57 -05:00
--get
f8ac8e1569 feat(schematics): add generic affected 2018-11-12 14:30:25 -05:00
rwoody
3f493b71c6 fix(nx): use pipeable ofType operator from ngrx
fix #890
2018-11-12 13:54:12 -05:00
--get
e4f45afad9 fix(schematics): set correct tsConfig for lint for cypress project 2018-11-12 13:52:54 -05:00
--get
ed938e4cda feat(builders): allow copying of assets for node apps 2018-11-12 13:51:40 -05:00
Mark Pieszak
afd67b52e6 docs(readme): update to use correct install command
ng new myworkspacename --collection=@nrwl/schematics doesn't typically work and throws dep errors like `Cannot find module '@angular-devkit/schematics'`
2018-11-09 13:33:59 -05:00
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