-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cleanup(angular): move all inline version numbers to versions.ts (nrw…
- Loading branch information
1 parent
d372be0
commit 712e6dd
Showing
4 changed files
with
62 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,20 @@ | ||
import { addDependenciesToPackageJson, Tree } from '@nrwl/devkit'; | ||
import { postcssVersion } from '../../utils/versions'; | ||
import { | ||
postcssImportVersion, | ||
postcssPresetEnvVersion, | ||
postcssUrlVersion, | ||
postcssVersion, | ||
} from '../../utils/versions'; | ||
|
||
export function addBuildableLibrariesPostCssDependencies(tree: Tree): void { | ||
addDependenciesToPackageJson( | ||
tree, | ||
{}, | ||
{ | ||
postcss: postcssVersion, | ||
'postcss-import': '~14.1.0', | ||
'postcss-preset-env': '~7.5.0', | ||
'postcss-url': '~10.1.3', | ||
'postcss-import': postcssImportVersion, | ||
'postcss-preset-env': postcssPresetEnvVersion, | ||
'postcss-url': postcssUrlVersion, | ||
} | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,32 @@ | ||
export const nxVersion = require('../../package.json').version; | ||
|
||
export const angularVersion = '~14.1.0'; | ||
export const angularDevkitVersion = '~14.1.0'; | ||
export const ngPackagrVersion = '~14.1.0'; | ||
export const angularJsVersion = '1.7.9'; | ||
export const ngrxVersion = '~14.0.0'; | ||
export const rxjsVersion = '~7.4.0'; | ||
export const jestPresetAngularVersion = '~11.1.2'; | ||
export const zoneJsVersion = '~0.11.4'; | ||
export const angularJsVersion = '1.7.9'; | ||
export const tsLibVersion = '^2.3.0'; | ||
|
||
export const angularEslintVersion = '~14.0.0'; | ||
export const tailwindVersion = '^3.0.2'; | ||
export const postcssVersion = '^8.4.5'; | ||
export const postcssImportVersion = '~14.1.0'; | ||
export const postcssPresetEnvVersion = '~7.5.0'; | ||
export const postcssUrlVersion = '~10.1.3'; | ||
export const autoprefixerVersion = '^10.4.0'; | ||
export const tsLibVersion = '^2.3.0'; | ||
export const tsNodeVersion = '~10.8.0'; | ||
|
||
export const jestPresetAngularVersion = '~11.1.2'; | ||
export const protractorVersion = '~7.0.0'; | ||
export const karmaVersion = '~6.4.0'; | ||
export const karmaChromeLauncherVersion = '~3.1.0'; | ||
export const karmaCoverageVersion = '~2.2.0'; | ||
export const karmaJasmineVersion = '~5.1.0'; | ||
export const karmaJasmineHtmlReporterVersion = '~2.0.0'; | ||
export const jasmineCoreVersion = '~4.2.0'; | ||
export const jasmineSpecReporterVersion = '~7.0.0'; | ||
export const typesJasmineVersion = '~4.0.0'; | ||
export const typesJasminewd2Version = '~2.0.3'; | ||
export const typesNodeVersion = '16.11.7'; |