Lars Gyrup Brink Nielsen
Lars Gyrup Brink Nielsen
> I made this addition to the `afterEach` hook of `ng-generate.spec.ts` to clean up untracked (generated) files: > > ```ts > execSync('git clean --force -- apps/lumberjack-schematics-app', { > stdio: 'inherit',...
@santoshyadavdev As agreed, please rename the generated folder name to `-driver`, for example if I run: ``` ng generate @ngworker/lumberjack:log-driver console ``` I should see a folder `console-driver` with the...
Make sure to also address the 6 changes I requested 🙂
@santoshyadavdev said > For schematic we have an issues as V12 deprecared some APIs
See [spectacular-docs](https://github.com/ngworker/ngworker/tree/main/packages/spectacular-docs) for a complete Docusaurus and GitHub Pages setup.
``` error @angular-builders/[email protected]: The engine "node" is incompatible with this module. Expected version ">=12.14.1". Got "10.24.1" ``` Solution: Downgrade Jest to 26.x and the Jest builder to 11.x when testing...
Looking at [angular-cli-diff](https://github.com/cexbrayat/angular-cli-diff/compare/11.2.10...12.2.2), we should also change `compilerOptions.target` from `"es2015"` to `"es2017"` in `tsconfig.json`.
@NachoVazquez > However, do we need to run our test in Node 10?? Can not we just perform the build using the different versions of Node but everything else (dev-related)...
@NachoVazquez Angular 11 doesn't support Node.js 16.x, see https://gist.github.com/LayZeeDK/c822cc812f75bb07b7c55d07ba2719b3
@NachoVazquez Angular 11 doesn't support Node.js 14.x, see https://gist.github.com/LayZeeDK/c822cc812f75bb07b7c55d07ba2719b3