1236 Commits

Author SHA1 Message Date
Jack Hsu
a2fbc47c13 feat(react): improve lib schematic by replacing parentRoute with appProject option
- Instead of providing full path to app component, just pass the project's name.
- Updates both app.tsx and main.tsx so user no longer need to do any maual updates.
2019-08-14 18:10:51 -04:00
Victor Savkin
17f8a79282 fix(nx): normalize paths in the eslint version of boundaries check 2019-08-14 11:58:19 -04:00
Victor Savkin
53027b4635 refactor(nx): do not ask for directory when creating apps and libs 2019-08-13 21:13:46 -04:00
James Henry
49dcacfd1a feat(eslint-plugin-nx): new package, ESLint enforce-module-boundaries rule 2019-08-13 21:13:46 -04:00
Jack Hsu
bb8c18c2d8
fix(react): update extensions for Prettier to include tsx and jsx files (#1708) 2019-08-13 13:03:50 -04:00
Victor Savkin
bd7af859ce fix(nx): fix workspace schematic package manager detection 2019-08-10 14:53:18 -04:00
Victor Savkin
4e0602a45f fix(nx): fix the default linter for express package 2019-08-10 14:53:18 -04:00
Jason Jean
aecdd2bc4c fix(angular): use build-angular for linting 2019-08-09 11:15:40 -04:00
Victor Savkin
c07e322370 fix(nx): running affected commands in parallel does not terminate on azure 2019-08-07 14:04:10 -04:00
Victor Savkin
6644cb7a24 fix(nx): fix util used in the old migrator 2019-08-01 19:52:12 -04:00
Victor Savkin
5074b82bb2 fix(nx): fix style selection on windows 2019-08-06 15:12:36 -04:00
Victor Savkin
238236a468 fix(nx): 8.0.0 schematic expected workspace.json 2019-08-06 15:12:36 -04:00
Bucky Maler
07d963befd fix(nx): npm scripts documentation generation
Before, a single instance of yargs was accumulating options, so commands parsed later would have options from prior commands. That's because all yargs options are global by default. Now, a new instance of yargs is required before each command is parsed, so global options aren't accumulated.

fixes #1567
2019-08-06 14:27:31 -04:00
Victor Savkin
bb858e4db9 feat(nx): add full stack preset for react/express 2019-08-01 13:26:27 -04:00
Victor Savkin
fbb3dc63fa fix(nx): set the default linter in presets 2019-07-30 02:33:27 -04:00
James Henry
448233bc5c feat(nx): add eslint support 2019-07-31 17:05:56 -04:00
Victor Savkin
192a6a083d feat(nx): misc ux improvements 2019-07-29 09:23:51 -04:00
Victor Savkin
6fd181f348 feat(nx): improve the dev ergonomics of create-nx-workspace 2019-07-27 14:38:13 -04:00
Victor Savkin
1b2eaf81fe fix(nx): minor fixes 2019-07-25 20:21:04 -04:00
Jason Jean
1af0f5068e fix(nx): fix npm lint command 2019-07-25 19:42:27 -04:00
Victor Savkin
2793b6fb26 feat(nx): misc improvements 2019-07-25 15:40:46 -04:00
Jason Jean
f04d1aa937 fix(nx): remove console.log from update tasks in migrations 2019-07-25 15:39:10 -04:00
Jack Hsu
776a185d65
feat(react): adds default babel-loader support for react apps (#1631) 2019-07-25 15:33:26 -04:00
Victor Savkin
8fc5c4cae6 feat(nx): add a generic lint package that works with eslint and tslint 2019-07-25 08:34:05 -04:00
Maciej Kuster
3ec2bb2a0b fix(nx): Keeping original order of dependencies when adding new one (#1598) 2019-07-24 12:45:11 -04:00
Victor Savkin
2b646f8eb4 feat(nx): standalone version of nx 2019-07-24 10:27:47 -04:00
Victor Savkin
4022fe80d5 fix(nx): create-nx-workspace cannot depend on typescript 2019-07-15 22:23:00 -04:00
James Henry
8271c7650e chore(workspace): improved logging design and consistency 2019-07-22 20:05:07 -04:00
Victor Savkin
2c81cc02ed chore(nx): update cypress to 3.4 (#1605) 2019-07-22 13:40:28 -04:00
Jason Jean
98e5bbc100 fix(frontend): fix ngrx migration requiring angular cli 8.1 2019-07-19 15:23:44 -04:00
Brandon Roberts
4f7ec84741 feat(nx): add migration to update Angular CLI devDependencies to 8.1.x
Angular CLI 8.1.x is required in order to use the --allow-dirty option.
This also covers the additional build dependencies added when generating
libraries.
2019-07-18 18:32:44 -04:00
Brandon Roberts
6516176b65 feat(nx): update to NgRx 8 and add schematics support for creators and entities
Move addUpdateTask util function to @nrwl/workspace to run updates from @nrwl/angular migrations
Run update migration to latest version for NgRx if installed
2019-07-17 14:42:54 -04:00
Brandon Roberts
93aac33b79 docs(nx): update description of Nx in schematics, and frontend links
The schematics for React and Angular still refer to Angular CLI power-ups.
This also links the generated schematic for an Angular or React application
to their framework-specific pages.
2019-07-17 14:39:43 -04:00
Jack Hsu
b3bea39892
feat(react): updates libraries for React to newest versions (#1584) 2019-07-16 22:19:42 -04:00
Victor Savkin
c16f250136 feat(nx): implement global nx cli to remove the need to use yarn nx 2019-07-10 17:53:47 -04:00
Jason Jean
3495e940f7 fix(nx): fix lint exclusion for workspace libs 2019-07-10 17:18:28 -04:00
Juri
82ee4f10ba fix(workspace): delegate to local ng script to allow customization 2019-07-08 19:59:35 -04:00
Victor Savkin
7b00b920aa feat(nx): delegate to cli when command is not recognized 2019-07-07 21:48:56 -04:00
Bucky Maler
83c15590d3 fix(nx): make target a required option when running affected npm script 2019-07-07 18:53:15 -04:00
Terry
4297aefc71 fix(frontend): remove unused double dashes to avoid yarn's warning 2019-07-03 19:15:13 -04:00
Victor Savkin
7640598239 feat(nx): remove prompt asking for tags and for unit and e2e test runners 2019-06-26 08:22:25 -04:00
Victor Savkin
e720dde7ae fix(nx): replace app-root-path with a custom function to fix tslint in vscode 2019-06-25 13:11:04 -04:00
Jason Jean
c79d4371ca fix(nx): add rootDir field when using ng add @nrwl/workspace 2019-06-21 18:15:01 -04:00
Victor Savkin
815a3b5595 feat(nx): add a warning about using --all flag 2019-06-21 13:32:32 -04:00
Marko Binic
9e15f4a7f5 feat(nx): detect package manager in workspace-schematic
workspace-schematic now tries to detect the right package manager using Angular CLI config and can
identify pnpm from lock file.
2019-06-15 19:25:28 -04:00
Zachary Williams
bf624b7e67 fix(nx): wrap files inputted to prettier in quotes
Files that contained parentheses caused 'yarn format' to fail unless the files passed to the
prettier cli are wrapped in quotes

fix #1473
2019-06-15 19:16:32 -04:00
Victor Savkin
da352baf20 fix(workspace): typo in schematic description 2019-06-15 19:15:40 -04:00
Jason Jean
2f27cc2156 feat(nx): exclude files from outside the project root when linting 2019-06-15 19:10:41 -04:00
Jason Jean
1748ac9e9c fix(nx): handle reading json with comments 2019-06-15 18:35:18 -04:00
Emilio Martinez
c6105d46dd feat(nx): update to jasmine-marbles 0.5.0 2019-06-05 10:19:10 -04:00