-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: upgrade angular version to 17.2 EBS-1380 STPA-343 (#229)
* chore: nx repair * chore: migrate to nx 15.5.0 from 15.4.5 * fix(cypress): table-card test to be compatible with cypress v12 * fix(cypress): table test to be compatible with cypress v12 * fix(cypress): reorderable-list test to be compatible with cypress v12 * chore: upgrade node and typescript * chore: migrate to nx 15.8.0 from 15.5.0 * chore: migrate to nx 16.1.0 from 15.8.0 * fix: tsconfig types * chore: upgrade prettier * chore: upgrade jest * chore: upgrade storybook to 7.2.2 * fix(storybook): rename list.stories.mdx to list.mdx * chore(storybook): refactor main files from js to ts and use ESM format * chore(storybook): refactor preview from js to ts and use ESM format * chore(storybook): upgrade storybook addons * chore: upgrade jest-preset-angular, axe-storybook-testing, sanitize-html; add eslint-plugin-storybook * chore: upgrade cypress-storybook * chore: use raw md file type in circle stories * chore: set eslint allowCircularSelfDependency to true * chore: migrate to nx 16.4.0 from 16.1.0 * chore: migrate to nx 16.7.0 from 16.4.0 * fix(ui): ivy compiler 'used before initialization' problems in toast and datepicker components * chore: migrate to nx 17.1.1 from 16.7.0 * chore: remove workspace-lint usage, since the command is removed from nx 17 * chore: remove workspace-lint usage, since the command is removed starting from nx 17 * chore: migrate to nx 17.3.1 from 17.1.1 * chore: migrate to nx 18.1.1 from 17.3.1 * chore: upgrade node * chore: libraries' peer dependencies versions * chore: remove story sorting * fix(storybook): installation stories * fix(storybook): colors stories * chore(storybook): provide BrowserAnimationsModule in preview inseatd of storybook.module import * chore(ui): handle deprecated parameters.notes in stories * chore: updated package-lock * chore: updated package-lock * chore: use addon-storysource instead of storybook-addon-html * chore(storybook): configure preview * fix(storybook): colors stories * fix: markdown tables * chore(storybook): update peer dependencies versions in angular and ng-diagrams installation stories * fix(ui): toast.service story * fix(cypress): table and table-card tests * format: with updated prettier and editorconfig rules * chore(ng-diagrams): fix lint error * chore: allow root main.ts import to pass module-boundaries rule * chore: fix e2e linting errors * chore: revert notes import from .md?raw to .md * fix(ui-e2e): circle component tests * fix(ui): replace '@' in html story with @ * chore(ui): remove aria-busy from datepicker html story * chore(ui): add missing aria roles to datepicker * fix(ui): button text without underline story * fix(ui): form item with inline form elements story * fix(ui): use initial template for NestedTracks story * chore(storybook): disable automatic opening of Storybook * chore(ng-diagrams): upgrade to angular 17.2 BREAKING CHANGE: upgrade to angular 17.2 * chore(storybook): upgrade to storybook 7.6 BREAKING CHANGE: upgrade to storybook 7.6 * chore(ui): upgrade to angular 17.2 BREAKING CHANGE: upgrade to angular 17.2 * chore: remove duplicate empty line from readme --------- Co-authored-by: Ceisi Peik <[email protected]>
- Loading branch information
1 parent
833bd53
commit b6b8038
Showing
189 changed files
with
56,502 additions
and
38,160 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
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,4 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npm run format && npm run affected:lint && npm run workspace-lint && npm run lint:css && npm run lint:svg | ||
npm run format && npm run affected:lint && npm run lint:css && npm run lint:svg |
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 |
---|---|---|
|
@@ -2,3 +2,5 @@ | |
|
||
/dist | ||
/coverage | ||
|
||
/.nx/cache |
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,3 +1,9 @@ | ||
{ | ||
"singleQuote": true | ||
"useTabs": false, | ||
"tabWidth": 2, | ||
"singleQuote": true, | ||
"semi": true, | ||
"bracketSpacing": true, | ||
"trailingComma": "es5", | ||
"bracketSameLine": true | ||
} |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
import { StorybookConfig } from '@storybook/angular'; | ||
import remarkGfm from 'remark-gfm'; | ||
|
||
const config: StorybookConfig = { | ||
framework: { | ||
name: '@storybook/angular', | ||
options: {}, | ||
}, | ||
stories: [], | ||
addons: [ | ||
'@storybook/addon-controls', | ||
{ | ||
name: '@storybook/addon-storysource', | ||
options: { | ||
loaderOptions: { | ||
prettierConfig: { printWidth: 80, singleQuote: false }, | ||
}, | ||
}, | ||
}, | ||
'@storybook/addon-actions', | ||
'@storybook/addon-a11y', | ||
'storybook-addon-pseudo-states', | ||
'@storybook/addon-viewport', | ||
{ | ||
name: '@storybook/addon-docs', | ||
options: { | ||
mdxPluginOptions: { | ||
mdxCompileOptions: { | ||
remarkPlugins: [remarkGfm], | ||
}, | ||
}, | ||
}, | ||
}, | ||
], | ||
core: { disableTelemetry: true }, | ||
docs: { | ||
autodocs: true, | ||
}, | ||
// uncomment the property below if you want to apply some webpack config globally | ||
// webpackFinal: async (config, { configType }) => { | ||
// // Make whatever fine-grained changes you need that should apply to all storybook configs | ||
// // Return the altered config | ||
// return config; | ||
// }, | ||
}; | ||
|
||
export default config; |
This file was deleted.
Oops, something went wrong.
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,6 +1,15 @@ | ||
import { defineConfig } from 'cypress'; | ||
import { nxE2EPreset } from '@nrwl/cypress/plugins/cypress-preset'; | ||
import { nxE2EPreset } from '@nx/cypress/plugins/cypress-preset'; | ||
|
||
export default defineConfig({ | ||
e2e: nxE2EPreset(__dirname), | ||
e2e: { | ||
...nxE2EPreset(__dirname), | ||
/** | ||
* TODO(@nx/cypress): In Cypress v12,the testIsolation option is turned on by default. | ||
* This can cause tests to start breaking where not indended. | ||
* You should consider enabling this once you verify tests do not depend on each other | ||
* More Info: https://docs.cypress.io/guides/references/migration-guide#Test-Isolation | ||
**/ | ||
testIsolation: false, | ||
}, | ||
}); |
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,7 +1,7 @@ | ||
{ | ||
"presets": [ | ||
[ | ||
"@nrwl/react/babel", | ||
"@nx/react/babel", | ||
{ | ||
"runtime": "automatic" | ||
} | ||
|
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
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
const { composePlugins, withNx } = require('@nx/webpack'); | ||
const { withReact } = require('@nx/react'); | ||
|
||
// Nx plugins for webpack. | ||
module.exports = composePlugins( | ||
withNx(), | ||
withReact(), | ||
(config, { options, context }) => { | ||
// Update the webpack config as needed here. | ||
// e.g. config.plugins.push(new MyPlugin()) | ||
// For more information on webpack config and Nx see: | ||
// https://nx.dev/packages/webpack/documents/webpack-config-setup | ||
return config; | ||
} | ||
); |
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,6 +1,15 @@ | ||
import { defineConfig } from 'cypress'; | ||
import { nxE2EPreset } from '@nrwl/cypress/plugins/cypress-preset'; | ||
import { nxE2EPreset } from '@nx/cypress/plugins/cypress-preset'; | ||
|
||
export default defineConfig({ | ||
e2e: nxE2EPreset(__filename), | ||
e2e: { | ||
...nxE2EPreset(__filename), | ||
/** | ||
* TODO(@nx/cypress): In Cypress v12,the testIsolation option is turned on by default. | ||
* This can cause tests to start breaking where not indended. | ||
* You should consider enabling this once you verify tests do not depend on each other | ||
* More Info: https://docs.cypress.io/guides/references/migration-guide#Test-Isolation | ||
**/ | ||
testIsolation: false, | ||
}, | ||
}); |
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
Oops, something went wrong.