Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
09bb1a6
Migration package lib to angular 11
mawelCaballero Feb 22, 2022
e5eb9f4
Migrating to angular 11
mawelCaballero Feb 22, 2022
a408d72
starting to migrate to angular12
mawelCaballero Feb 22, 2022
88b4df8
Updating angular dependencies in lib to 12 version
mawelCaballero Feb 22, 2022
b8e1678
Upgrading to angular 12
mawelCaballero Mar 3, 2022
adeaca9
Deleting material extended
mawelCaballero Mar 3, 2022
9ded8b5
Migrating to angular 13 and setting up storybook
mawelCaballero Mar 7, 2022
23755f8
Migrating to angular 13 and storybook has been set up
mawelCaballero Mar 9, 2022
d10c28d
changing the order of github actionswhen branch is master and it has …
mawelCaballero Mar 9, 2022
77c1b83
Mergin with master and adapting stories to new version
mawelCaballero Mar 9, 2022
2c954f2
Removing drom sidenav deprecated components
mawelCaballero Mar 9, 2022
af42db3
Refactoring table spec testing
mawelCaballero Mar 15, 2022
66dc4fd
Fixed alert spec
Mar 15, 2022
355885e
Fixed button tests
Mar 15, 2022
50ff596
Fixed card tests
Mar 16, 2022
ae9a959
Fixed chip tests
Mar 16, 2022
bcbb761
Fixed dialog tests
Mar 16, 2022
9824176
Fixing accordion tests
mawelCaballero Mar 16, 2022
ec28c88
Merge branch 'angular-migration' of https://github.com/dxc-technology…
mawelCaballero Mar 16, 2022
e0b335c
Fixing dxc-password tests
mawelCaballero Mar 16, 2022
fd5196c
Fixed header tests
Mar 16, 2022
da9a5c0
Merge branch 'angular-migration' of https://github.com/dxc-technology…
Mar 16, 2022
ab64c03
Fixed footer tests
Mar 16, 2022
e9b4503
Fixed heading tests
Mar 16, 2022
b601d97
Fixed test script
Mar 16, 2022
1410d4f
Fixed input text tests
Mar 16, 2022
d5e1aae
Fixing dxc accordion group tests
mawelCaballero Mar 16, 2022
3aadb3d
Merge branch 'angular-migration' of https://github.com/dxc-technology…
mawelCaballero Mar 16, 2022
43eaa23
Fixed date tests
Mar 16, 2022
eb6461d
Merge branch 'angular-migration' of https://github.com/dxc-technology…
Mar 16, 2022
70711fc
Fixing test on checkbox component
mawelCaballero Mar 16, 2022
698cddf
Fixed dropdown tests
Mar 16, 2022
1ebef3d
Fixing tests on dxc date input component
mawelCaballero Mar 16, 2022
e459d7c
Merge branch 'angular-migration' of https://github.com/dxc-technology…
Mar 16, 2022
0378d23
Fixing tests on dxc link component
mawelCaballero Mar 16, 2022
73e5d44
Fixing tests on dxc file input component
mawelCaballero Mar 16, 2022
438e464
Fixed paginator tests
Mar 16, 2022
7a2e9af
Fixed progressbar tests
Mar 16, 2022
04a8f73
Fixed radio tests
Mar 16, 2022
1b8507f
Fixed select tests
Mar 16, 2022
0b645ff
Fixed sidenav tests
Mar 16, 2022
b1c5316
Fixed slider tests
Mar 16, 2022
351cd38
Fixed spinner tests
Mar 16, 2022
88cd2f3
Fixed switch tests
Mar 16, 2022
5f12852
Fixed tabbed section tests
Mar 16, 2022
c12b77a
Fixed table tests
Mar 16, 2022
5d9c41b
Fixed tabs tests
Mar 16, 2022
8bf11a6
Fixed textarea tests
Mar 16, 2022
2a2fa18
Fixed toggleGroup tests
Mar 16, 2022
e2ea737
Fixed upload tests
Mar 16, 2022
5df68ab
Fixed wizard tests
Mar 16, 2022
2b09bc4
Fixing tests on dxc number input component
mawelCaballero Mar 16, 2022
71d5a80
fixing tests on dxc-tag and dxc-text-input
mawelCaballero Mar 16, 2022
99ae924
fixing autocomplete filtering tests on dxc-tag and dxc-text-input
mawelCaballero Mar 17, 2022
8674bf7
Fixing tests on text input component and skipping in sort service
mawelCaballero Mar 18, 2022
fafaee5
Updating chromatic gihub action
mawelCaballero Mar 18, 2022
0ea217c
Fixing chromatic github action
mawelCaballero Mar 18, 2022
5ac66fe
Deleting pipeline chromatic
mawelCaballero Mar 21, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
27 changes: 0 additions & 27 deletions .github/workflows/chromatic.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/publish-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ jobs:
role-duration-seconds: 3600
role-skip-session-tagging: true

- name: Install app dependencies
run: npm install

- name: Install lib dependencies
run: cd ./projects/dxc-ngx-cdk && rm -rf node_modules && npm install

- name: Install app dependencies
run: cd . && npm install

- name: Generate lib
run: cd ./projects/dxc-ngx-cdk && npm run generate-lib

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: jungwinter/split@v1
id: split
with:
seperator: '.'
seperator: "."
msg: ${{ github.event.release.tag_name }}

- name: Checkout repository
Expand All @@ -34,12 +34,12 @@ jobs:
role-duration-seconds: 6000
role-skip-session-tagging: true

- name: Install lib dependencies
run: cd ./projects/dxc-ngx-cdk && rm -rf node_modules && npm install

- name: Install app dependencies
run: cd . && npm install

- name: Install lib dependencies
run: cd ./projects/dxc-ngx-cdk && rm -rf node_modules && npm install

- name: Generate lib
run: cd ./projects/dxc-ngx-cdk && npm run generate-lib

Expand Down
55 changes: 27 additions & 28 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,35 @@
name: Build and test

on:
pull_request
on: pull_request

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
registry-url: https://registry.npmjs.org/
- name: Install lib dependencies
run: cd ./projects/dxc-ngx-cdk && rm -rf node_modules && npm install

- name: Install app dependencies
run: cd . && npm install
- name: Generate lib
run: cd ./projects/dxc-ngx-cdk && npm run generate-lib

- name: Link lib
run: cd . && npm run link-lib
- name: Test library
run: cd ./projects/dxc-ngx-cdk && npm run test

- name: Build angular cdk site
run: cd . && npm run build-next-cdk-site
- name: Checkout repository
uses: actions/checkout@v2

- name: Install Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
registry-url: https://registry.npmjs.org/

- name: Install app dependencies
run: cd . && npm install

- name: Install lib dependencies
run: cd ./projects/dxc-ngx-cdk && rm -rf node_modules && npm install

- name: Generate lib
run: cd ./projects/dxc-ngx-cdk && npm run generate-lib

- name: Link lib
run: cd . && npm run link-lib

- name: Test library
run: cd ./projects/dxc-ngx-cdk && npm run test

- name: Build angular cdk site
run: cd . && npm run build-next-cdk-site
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ speed-measure-plugin.json
.history/*

# misc
/.angular/cache
/.sass-cache
/connect.lock
/coverage
Expand Down
19 changes: 19 additions & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@


module.exports = {
stories: ['./../projects/dxc-ngx-cdk/src/lib/**/*.stories.@(ts|mdx)'],
addons: ["@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
"storybook-addon-pseudo-states",
"@storybook/addon-a11y"],
logLevel: 'debug',
framework: '@storybook/angular',
core: {
builder: "webpack5",
},
angularOptions: {
enableIvy: false,
},

}
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import '@angular/localize/init';

export const decorators = [
(storyFunc) => {
const story = storyFunc();
Expand Down
11 changes: 11 additions & 0 deletions .storybook/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{

"extends": "./../projects/dxc-ngx-cdk/tsconfig.lib.json",
"compilerOptions": {
"types": ["node"],
"allowSyntheticDefaultImports": true
},
"exclude": ["../src/test.ts", "../src/**/*.spec.ts", "../projects/**/*.spec.ts"],
"include": ["../src/**/*", "../projects/**/*"],
"files": ["./typings.d.ts"]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
declare module "*.md" {
declare module '*.md' {
const content: string;
export default content;
}
83 changes: 48 additions & 35 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"index": "projects/dxc-ngx-cdk-site/src/index.html",
"main": "projects/dxc-ngx-cdk-site/src/main.ts",
"polyfills": "projects/dxc-ngx-cdk-site/src/polyfills.ts",
"inlineStyleLanguage": "scss",
"tsConfig": "projects/dxc-ngx-cdk-site/tsconfig.app.json",
"aot": false,
"assets": [
Expand Down Expand Up @@ -50,7 +51,13 @@

],
"scripts": [],
"baseHref": "/"
"baseHref": "/",
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"production": {
Expand All @@ -63,16 +70,14 @@
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": false,
"budgets": [
{
"type": "initial",
"maximumWarning": "4mb",
"maximumError": "5mb"
"maximumError": "6mb"
},
{
"type": "anyComponentStyle",
Expand All @@ -81,21 +86,20 @@
}
]
}
}
},
"defaultConfiguration": ""
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "angular-dxc-site:build"
},
"options": {
"browserTarget": "angular-dxc-site:build"
},
"configurations": {
"production": {
"browserTarget": "angular-dxc-site:build:production"
}
},
"assets": [
"projects/dxc-ngx-cdk-site/src/assets"
]
}

},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
Expand All @@ -122,19 +126,6 @@
"scripts": []
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"projects/dxc-ngx-cdk-site/tsconfig.app.json",
"projects/dxc-ngx-cdk-site/tsconfig.spec.json",
"projects/dxc-ngx-cdk-site/e2e/tsconfig.json"
],
"exclude": [
"**/node_modules/**"
]
}
},
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
Expand All @@ -156,7 +147,7 @@
"prefix": "dxc-ngx-cdk",
"architect": {
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"tsConfig": "projects/dxc-ngx-cdk/tsconfig.lib.json",
"project": "projects/dxc-ngx-cdk/ng-package.json"
Expand All @@ -175,16 +166,38 @@
"karmaConfig": "projects/dxc-ngx-cdk/karma.conf.js"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"storybook": {
"builder": "@storybook/angular:start-storybook",
"options": {
"tsConfig": [
"projects/dxc-ngx-cdk/tsconfig.lib.json",
"projects/dxc-ngx-cdk/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
"browserTarget": "dxc-ngx-cdk:build",
"docsMode":false,
"port": 6006
}
},
"build-storybook": {
"builder": "@storybook/angular:build-storybook",
"options": {
"browserTarget": "dxc-ngx-cdk:build"
}
}

}
},
"without-browser-target": {
"root": "",
"projectType": "library",
"architect": {
"storybook": {
"builder": "@storybook/angular:start-storybook",
"options": {
"tsConfig": "src/tsconfig.app.json",
"docsMode":false
}
},
"build-storybook": {
"builder": "@storybook/angular:build-storybook",
"options": {
"tsConfig": "src/tsconfig.app.json"
}
}
}
Expand Down
Loading