typescript-strictly-typed
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -6,5 +6,5 @@ "use strict"; | ||
* Enable the following Angular compiler options: | ||
* - `fullTemplateTypeCheck` | ||
* - `strictInjectionParameters` | ||
* - `strictTemplates` (Angular >=9) | ||
* - `strictTemplates` | ||
* - `strictInputAccessModifiers` | ||
* {@link https://angular.io/guide/angular-compiler-options} | ||
@@ -28,7 +28,7 @@ * | ||
} | ||
config.angularCompilerOptions.fullTemplateTypeCheck = true; | ||
config.angularCompilerOptions.strictInjectionParameters = true; | ||
config.angularCompilerOptions.strictTemplates = true; | ||
config.angularCompilerOptions.strictInputAccessModifiers = true; | ||
return config_utils_1.saveConfig(cwd, file, config); | ||
} | ||
exports.default = enableAngularStrict; |
@@ -51,3 +51,3 @@ "use strict"; | ||
case '.js': | ||
configParsed = require(filePath); | ||
configParsed = require(filePath); // eslint-disable-line @typescript-eslint/no-var-requires | ||
break; | ||
@@ -54,0 +54,0 @@ } |
{ | ||
"name": "typescript-strictly-typed", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "Enable configurations for strictly typed TypeScript, ESLint or TSLint, and optionally Angular.", | ||
@@ -20,5 +20,7 @@ "funding": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"release:patch": "npm run build && npm version patch && npm run build && npm publish dist && git push && git push --tags", | ||
"release:minor": "npm run build && npm version minor && npm run build && npm publish dist && git push && git push --tags", | ||
"release:major": "npm run build && npm version major && npm run build && npm publish dist && git push && git push --tags" | ||
"release:major": "VERSION=major npm run release && npm run githubrelease", | ||
"release:minor": "VERSION=minor npm run release && npm run githubrelease", | ||
"release:patch": "VERSION=major patch run release && npm run githubrelease", | ||
"release": "if test $VERSION; then npm run build && npm version $VERSION && npm run build && npm publish dist && git push && git push --tags; fi", | ||
"githubrelease": "gh release create v$npm_package_version --title v$npm_package_version --notes-file CHANGELOG.md" | ||
}, | ||
@@ -47,17 +49,17 @@ "repository": { | ||
"dependencies": { | ||
"chalk": "4.0.0", | ||
"js-yaml": "3.13.1", | ||
"chalk": "4.1.0", | ||
"js-yaml": "3.14.0", | ||
"json5": "2.1.3" | ||
}, | ||
"devDependencies": { | ||
"@types/js-yaml": "3.12.4", | ||
"@types/js-yaml": "3.12.5", | ||
"@types/json5": "0.0.30", | ||
"@types/node": "12.12.42", | ||
"@typescript-eslint/eslint-plugin": "3.0.0", | ||
"@typescript-eslint/parser": "3.0.0", | ||
"copyfiles": "2.2.0", | ||
"eslint": "7.0.0", | ||
"@types/node": "12.12.62", | ||
"@typescript-eslint/eslint-plugin": "4.3.0", | ||
"@typescript-eslint/parser": "4.3.0", | ||
"copyfiles": "2.4.0", | ||
"eslint": "7.10.0", | ||
"rimraf": "3.0.2", | ||
"typescript": "3.9.3" | ||
"typescript": "4.0.3" | ||
} | ||
} |
@@ -9,2 +9,10 @@ # TypeScript Strictly Typed | ||
## Status of this project (October 2, 2020) | ||
While the tool was still working, this project was archived when Angular 10 added a `--strict` option, | ||
given that React and Vue were already (partially) strict by default. | ||
Unfortunately, [Angular is stepping back](https://github.com/angular/angular-cli/issues/18948#issuecomment-702422833). | ||
So the project will restart soon. | ||
## Getting started | ||
@@ -41,5 +49,5 @@ | ||
- [Angular compiler options](https://angular.io/guide/angular-compiler-options) | ||
- `fullTemplateTypeCheck` | ||
- `strictInjectionParameters` | ||
- `strictTemplates` (Angular >=9) | ||
- `strictTemplates` | ||
- `strictInputAccessModifiers` | ||
@@ -46,0 +54,0 @@ ## By the same author |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21091
139
+ Addedchalk@4.1.0(transitive)
+ Addedjs-yaml@3.14.0(transitive)
- Removedchalk@4.0.0(transitive)
- Removedjs-yaml@3.13.1(transitive)
Updatedchalk@4.1.0
Updatedjs-yaml@3.14.0