517 Commits

Author SHA1 Message Date
Leosvel Pérez Espinosa
0280e5ec7b
fix(angular): fix @nrwl/angular package build to produce the right type definitions and package entry points (#8054) 2021-12-08 15:22:25 +00:00
Leosvel Pérez Espinosa
a11f7e739d
fix(angular): handle sass imports without tilde of node_modules packages (#8038) 2021-12-07 16:43:03 +00:00
Victor Savkin
8806d1f815 Revert "feat(storybook): upgrade to Storybook 6.4 (#7917)"
This reverts commit e4595867cc16cd5fe20d02e242d6ccbc727bd1f1.
2021-12-06 20:02:54 -05:00
Colum Ferry
48712948b3
feat(angular): add scam generator (#7987)
* feat(angular): add scam generator

* feat(angular): support flat and type component flags
2021-12-06 12:59:42 +00:00
Juri Strumpflohner
e4595867cc
feat(storybook): upgrade to Storybook 6.4 (#7917) 2021-12-06 12:49:16 +02:00
Mateo Tibaquirá
d6410162a0
fix(angular): remove numbers from the project name (#6646)
* fix(angular): remove numbers after dashes

* fix(angular): correctly handle empty libsDir

* feat(angular): validate apps with empty appsDir

* feat(angular): validate libs with empty libsDir

* fix(angular): revert change to createTreeWithEmptyWorkspace
2021-12-06 09:45:46 +00:00
Benjamin Cabanes
66e4e85067
feat(core): new nx starter (#7912) 2021-12-03 11:05:09 -05:00
Leosvel Pérez Espinosa
125d3a689e
fix(angular): fix storybook-migrate-defaults-5-to-6 generator default export (#7990) 2021-12-03 15:55:09 +00:00
Leosvel Pérez Espinosa
056bfeba79
fix(angular): fix the generated outputs in the package.json (#7973) 2021-12-03 11:56:56 +00:00
Leosvel Pérez Espinosa
d689416aa1
fix(angular): support custom webpack config to use typescript (#7970) 2021-12-02 11:47:44 +00:00
Leosvel Pérez Espinosa
9a08a83591
feat(angular): add tailwind support for buildable libraries (#7961) 2021-12-02 11:16:01 +00:00
Craigory Coppola
c04686ab10
feat(core): optional workspace.json file (#7584) 2021-11-30 15:02:06 -06:00
Leosvel Pérez Espinosa
5623da58ce
fix(angular): add migration to opt-out of the new default testbed teardown for existing projects using jest (#7907) 2021-11-29 11:37:53 +00:00
Leosvel Pérez Espinosa
153e038c9b
fix(angular): install @angular/cli if not installed (#7910) 2021-11-26 17:09:09 +00:00
Jay Bell
2d9c0ff4d9
feat(angular): allow for full ivy compilation in buildable libraries (#7873) 2021-11-25 18:56:10 +00:00
Colum Ferry
b3664fe264
feat(angular): update angular-architects/module-federation plugin to v13 (#7868) 2021-11-24 20:04:21 +00:00
Sean Murphy
b9a4289fc9
fix(angular): fix issue with less stylesheet process in publishable ng libs (#7861) 2021-11-24 10:48:30 +00:00
James Henry
98ffe8574b feat(linter): support eslint v8 (#7800)
* feat(core): support eslint v8

* fix(core): align version of eslint across all packages
2021-11-19 14:55:33 -05:00
James Henry
8fa36ff3e8
feat(linter): support eslint v8 (#7800)
* feat(core): support eslint v8

* fix(core): align version of eslint across all packages
2021-11-19 17:22:21 +00:00
Colum Ferry
6efffb6d5a
chore(angular): migrate angular localize (#7811) 2021-11-19 10:00:36 -06:00
Leosvel Pérez Espinosa
f208afc09f
fix(angular): consider tailwind usage when invalidating stylesheet caching in publishable libraries (#7804) 2021-11-19 14:47:20 +00:00
James Henry
512f094f98
feat(angular): update to angular-eslint v13 (#7799) 2021-11-18 19:04:45 -05:00
Jason Jean
448923a1b1
chore(repo): update nx to 13.2.0-rc.4 (#7796) 2021-11-18 16:56:36 -05:00
Juri Strumpflohner
97e154401b
fix(storybook): do not add Story args when the default value cannot be inferred (#7754) 2021-11-18 12:58:27 -05:00
Jason Jean
55d68718d3
feat(angular): update jest-preset-angular to 11.0.0 (#7789) 2021-11-18 17:03:01 +00:00
Craigory Coppola
57bf28bfbc
fix(angular): fix missing null checks in v13 migrations (#7790) 2021-11-18 16:52:04 +00:00
Leosvel Pérez Espinosa
fbeb6ef121
fix(angular): add tailwind.js to package exports (#7785) 2021-11-18 14:02:04 +00:00
Leosvel Pérez Espinosa
7f0e8c7579
fix(angular): generate ng-package.json for secondary entrypoints (#7786) 2021-11-18 12:25:18 +00:00
Colum Ferry
d110bc77c0
chore(angular): bump ngrx to 13.0.0 (#7765)
* chore(angular): bump ngrx to 13.0.0

* fix(angular): add path filter to resolver for exports

* fix(testing): add mjs to jest module extensions and add dependency on resolve.exports

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-11-18 10:06:30 +00:00
Leosvel Pérez Espinosa
2566a81802
fix(angular): fix incremental builds with angular 13 (#7770) 2021-11-17 16:47:58 +00:00
Colum Ferry
dbcf4246cf
chore(angular): bump jest-preset-angular to rc4 (#7766) 2021-11-17 11:07:56 +00:00
Juri Strumpflohner
d057139122
chore(storybook): update Storybook to 6.4 RC.3 (#7755)
* chore(storybook): update Storybook to 6.4 RC.3

* chore(storybook): fix e2e test

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-11-16 17:11:07 -05:00
Colum Ferry
bfb95af1ff
fix(angular): do not re-add transform ignore pattern (#7751) 2021-11-16 10:26:57 +00:00
Juri Strumpflohner
1d9825875e
feat(storybook): angular v13 and Storybook 6.4 support (#7690)
* feat(storybook): angular v13 and Storybook 6.4 support

* fixup! feat(storybook): angular v13 and Storybook 6.4 support

* fix(angular): add specific storybook prerelease for angular 13 support

* fixup! fix(angular): add specific storybook prerelease for angular 13 support

* fixup! fixup! fix(angular): add specific storybook prerelease for angular 13 support

* feat(angular): add storybook support for angular 13

* fix(angular): temporarily disable storybook tests

Co-authored-by: Colum Ferry <cferry09@gmail.com>
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-11-13 02:14:10 +00:00
Jason Jean
18f2e703dd
fix(angular): remove unnecessary addition of module file extensions (#7725) 2021-11-12 16:36:59 -05:00
Jason Jean
a6085a9e97
fix(angular): handle projects with no targets in angular 13 migration (#7719) 2021-11-12 14:19:53 -05:00
AgentEnder
f6a562d1ec chore(repo): migrate to v13.1.4 2021-11-11 15:12:06 -05:00
Leosvel Pérez Espinosa
23415a5060
fix(angular): change tsconfig path handling for angular ng-packagr executors to let ng-packagr use default options (#7702) 2021-11-11 16:09:11 +00:00
Brandon
d1f276af52
chore(angular): change version of NgRx to ~12.5.0 release (#7676) 2021-11-11 08:24:26 -06:00
Ashley Hunter
8f205715ea
fix(angular): fixing application generator when using protractor (#7603) 2021-11-10 10:41:41 -06:00
Colum Ferry
85692e488d
chore(angular): bump jest-preset-angular to rc.3 (#7687)
* chore(angular): bump jest-preset-angular to rc.3

* fix(angular): version string typo

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>

* fix(angular): add mjs to angular jest module extensions

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2021-11-10 14:24:05 +00:00
Katerina Skroumpelou
8551a7478b fix(storybook): only match exact component name for Storybook
ISSUES CLOSED: #7175
2021-11-10 14:06:59 +01:00
Leosvel Pérez Espinosa
adafc971a8
fix(angular): add .angular to gitignore only when it hasn't already been added (#7686) 2021-11-10 12:13:40 +00:00
Colum Ferry
c2c64ed8d2
fix(angular): migration versions (#7683) 2021-11-10 10:47:40 +00:00
Jason Jean
f9d9e26882
fix(angular): do not ignore any mjs files for jest (#7670) 2021-11-09 13:44:52 -05:00
Colum Ferry
5d70627d18
fix(angular): ignore unmatching jest configs (#7663) 2021-11-09 09:21:15 -05:00
Colum Ferry
f5e98bbd83
fix(angular): migration versions (#7664) 2021-11-09 09:20:13 -05:00
Colum Ferry
8d6ac4f694
chore(angular): support angular 13 (#7161)
* chore(angular): support angular 13

Support Angular 13

chore(angular): support ng 13 next 11

chore(angular): upgrade tslib dep

chore(angular): update package and ng-packagr-lite executors to align with ng-packagr v13

chore(angular): update test snapshots with ts version

fix(angular): buildable lib tsconfig transform test

* chore(angular): sync ng-packagr changes to the package and ng-packagr-lite executors

* chore(angular): add migrations

* chore(angular): rxjs7

* feat(angular): check rxjs version to install

* feat(angular): update jest resolver to resolve esm

* chore(angular): fix version

* chore(angular): support jest-preset-angular

* fix(angular): tests

* fix(angular): fix e2e tests and add .angular to gitignore

* fix(angular): fix jest transformers ignore pattern

* fix(angular): fix node test

* fix(angular): fix workspace test

* fix(angular): import marble utils from jasmine-marbles instead of @nrwl/angular/testing

* feat(angular): update ngrx to 13.0.0-beta.;0

* fix(angular): temporarily skip test with pnpm

* fix(angular): bump jest-preset-angular to fix jest performance issues

* fix(angular): webpack-browser and server schema changes

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-11-08 12:01:55 -05:00
Caleb Ukle
0ca5a88bf1
fix(testing) generated jest ts configs mismatch (#7556)
* fix(testing): add .test. files to spec tsconfig template

add support for .test.ts and with supportTsx .test.{js|tsx|jsx} files
in the tsconfig.spec.json template.

Note each package that excludes testing files will need to be updated to
exclude the new files (coming in future commits)

* fix(angular): add .test.ts support in tsconfigs

add .test.ts in angular jest template
update angular generators to exclude test files

* fix(gatsby): add .test. file prefixes to tsconfig ignore

ignore the new .test.{js|ts|jsx|tsx} files added to jest configs

* fix(react): add .test. file prefix to app/lib tsconfigs

add .test.{ts|js|tsx|jsx} files to be excluded by app/lib tsconfig

* fix(node): add .test. file prefix to app/lib tsconfig

add .test.{ts|js|tsx|jsx} files to be excluded by app/lib tsconfig

ISSUES CLOSED: #7263

* fix(nest): update tests for new .test.ts files in tsconfig

update tests to account for changes in node generators which add .test.ts to the exclude of
tsconfigs

* fix(express): update tests to account for new tsconfig changes

updated snapshots
added new patterns for tsconfig

* fix(linter): update snapshots for new tsconfig changes

snapshot updated to include new .test.ts file changes for tsconfig

* fix(node): update testing to account for spec tsconfig changes

add .test.ts files in e2e tests

* fix(testing): add migration for tsconfig changes

initial migration and test for tsconfig changes

* chore(testing): add to migrations collection

add the update-ts-config-for-test-filenames to migrations

* fix(testing): fix filesystem issue with jest tests

mock readConfig to always return an basic config to prevent issues of not finding a config in non
linux environments, aka missing /root

* cleanup(testing): update error message

update message logged when tsconfig isn't found to mention what was trying to be accompished so it
can be manually updated if desired.
2021-11-05 14:25:25 -05:00
Juri Strumpflohner
1241068fd4
fix(storybook): find Angular components in destructured arrays (#7494)
ISSUES CLOSED: 7117
2021-10-29 20:26:10 +03:00