Skip to content

Commit af716bd

Browse files
committed
Merge remote-tracking branch 'origin/vnext' into sstoychev/app-crm-fix
2 parents 7e5200b + e161e56 commit af716bd

170 files changed

Lines changed: 3355 additions & 8184 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

azure-devops/app-cd.yml

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
trigger:
2+
branches:
3+
include:
4+
- master
5+
- vnext
6+
7+
# This pipeline is meant to build specific branches for deployment. It's not meant to be a part of PR validation. Ensure that this pipeline is reserved for deployment purposes.
8+
pr: none
9+
10+
name: $(BuildDefinitionName)_$(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r)
11+
12+
pool:
13+
vmImage: ubuntu-latest
14+
15+
variables:
16+
githubToken: <value> # Add a GitHub token in Libraries
17+
ReplacementText: '@infragistics/igniteui-angular-extras'
18+
19+
steps:
20+
- checkout: self
21+
clean: true
22+
fetchTags: true
23+
24+
- task: NodeTool@0
25+
displayName: Use Node 20.x
26+
inputs:
27+
versionSpec: 20.x
28+
29+
- task: PowerShell@2
30+
displayName: 'Replace with licensed angular-extras'
31+
inputs:
32+
targetType: 'inline'
33+
script: |
34+
# List of files to update
35+
$files = @(
36+
"projects/app-lob/src/app/grid-dynamic-chart-data/grid-dynamic-chart-data.component.ts",
37+
"projects/app-lob/src/app/grid-dynamic-chart-data/data-analysis-dock-manager/data-analysis-dock-manager.component.ts",
38+
"package.json")
39+
foreach ($file in $files) {
40+
(Get-Content -Path $file) -replace 'igniteui-angular-extras', '$(ReplacementText)' | Set-Content -Path $file
41+
}
42+
43+
- task: CmdLine@2
44+
displayName: 'Create empty .npmrc file in the project root dir'
45+
inputs:
46+
script: 'touch $(Build.SourcesDirectory)/.npmrc'
47+
failOnStderr: true
48+
49+
- task: Npm@1
50+
displayName: 'Register licensed npm registry in .npmrc'
51+
inputs:
52+
command: 'custom'
53+
workingDir: '$(Build.SourcesDirectory)'
54+
customCommand: 'config -L project set @infragistics:registry=https://packages.infragistics.com/npm/js-licensed/'
55+
customEndpoint: 'public proget'
56+
57+
- task: npmAuthenticate@0
58+
inputs:
59+
workingFile: '$(Build.SourcesDirectory)/.npmrc'
60+
customEndpoint: 'public proget'
61+
62+
- task: Npm@1
63+
displayName: npm install
64+
inputs:
65+
command: install
66+
workingDir: $(Build.SourcesDirectory)
67+
verbose: false
68+
customEndpoint: 'public proget'
69+
env:
70+
AZURE_PIPELINES: true
71+
72+
- task: CmdLine@2
73+
displayName: Clone submodule
74+
inputs:
75+
script: git clone --recurse-submodules https://github.com/IgniteUI/igniteui-live-editing-samples igniteui-live-editing-samples
76+
workingDirectory: $(Build.SourcesDirectory)
77+
78+
- template: templates/cd-template.yml
79+
parameters:
80+
customCommand: run generate-live-editing
81+
workingDir: $(Build.SourcesDirectory)
82+
submoduleDir: angular-demos
83+
baseHref: \/angular-demos\/
84+
targetFolder: dist/app
85+
findRegex: angular-demos
86+
npmBuildCommand: 'run build-ci'
87+
repositoryfy: true

azure-devops/app-crm-cd-yml

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
trigger:
2+
branches:
3+
include:
4+
- master
5+
- vnext
6+
7+
# This pipeline is meant to build specific branches for deployment. It's not meant to be a part of PR validation. Ensure that this pipeline is reserved for deployment purposes.
8+
pr: none
9+
10+
name: $(BuildDefinitionName)_$(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r)
11+
12+
pool:
13+
vmImage: ubuntu-latest
14+
15+
variables:
16+
githubToken: <value> # Add a GitHub token in Libraries
17+
ReplacementText: '@infragistics/igniteui-angular-extras'
18+
19+
steps:
20+
- checkout: self
21+
clean: true
22+
fetchTags: true
23+
24+
- task: NodeTool@0
25+
displayName: Use Node 20.x
26+
inputs:
27+
versionSpec: 20.x
28+
29+
- task: PowerShell@2
30+
displayName: 'Replace with licensed angular-extras'
31+
inputs:
32+
targetType: 'inline'
33+
script: |
34+
# List of files to update
35+
$files = @(
36+
"projects/app-lob/src/app/grid-dynamic-chart-data/grid-dynamic-chart-data.component.ts",
37+
"projects/app-lob/src/app/grid-dynamic-chart-data/data-analysis-dock-manager/data-analysis-dock-manager.component.ts",
38+
"package.json")
39+
foreach ($file in $files) {
40+
(Get-Content -Path $file) -replace 'igniteui-angular-extras', '$(ReplacementText)' | Set-Content -Path $file
41+
}
42+
43+
- task: CmdLine@2
44+
displayName: 'Create empty .npmrc file in the project root dir'
45+
inputs:
46+
script: 'touch $(Build.SourcesDirectory)/.npmrc'
47+
failOnStderr: true
48+
49+
- task: Npm@1
50+
displayName: 'Register licensed npm registry in .npmrc'
51+
inputs:
52+
command: 'custom'
53+
workingDir: '$(Build.SourcesDirectory)'
54+
customCommand: 'config -L project set @infragistics:registry=https://packages.infragistics.com/npm/js-licensed/'
55+
customEndpoint: 'public proget'
56+
57+
- task: npmAuthenticate@0
58+
inputs:
59+
workingFile: '$(Build.SourcesDirectory)/.npmrc'
60+
customEndpoint: 'public proget'
61+
62+
- task: Npm@1
63+
displayName: npm install
64+
inputs:
65+
command: install
66+
workingDir: $(Build.SourcesDirectory)
67+
verbose: false
68+
customEndpoint: 'public proget'
69+
env:
70+
AZURE_PIPELINES: true
71+
72+
- task: CmdLine@2
73+
displayName: Clone submodule
74+
inputs:
75+
script: git clone --recurse-submodules https://github.com/IgniteUI/igniteui-live-editing-samples igniteui-live-editing-samples
76+
workingDirectory: $(Build.SourcesDirectory)
77+
78+
- template: templates/cd-template.yml
79+
parameters:
80+
customCommand: run generate-live-editing:app-crm
81+
workingDir: $(Build.SourcesDirectory)
82+
submoduleDir: angular-demos-crm
83+
baseHref: \/angular-demos-grid-crm\/
84+
targetFolder: dist/app-crm
85+
findRegex: angular-demos
86+
npmBuildCommand: 'run build-ci:app-crm --loglevel verbose'
87+
repositoryfy: false

azure-devops/app-lob-cd.yml

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
trigger:
2+
branches:
3+
include:
4+
- master
5+
- vnext
6+
7+
# This pipeline is meant to build specific branches for deployment. It's not meant to be a part of PR validation. Ensure that this pipeline is reserved for deployment purposes.
8+
pr: none
9+
10+
name: $(BuildDefinitionName)_$(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r)
11+
12+
pool:
13+
vmImage: ubuntu-latest
14+
15+
variables:
16+
githubToken: <value> # Add a GitHub token in Libraries
17+
ReplacementText: '@infragistics/igniteui-angular-extras'
18+
19+
steps:
20+
- checkout: self
21+
clean: true
22+
fetchTags: true
23+
24+
- task: NodeTool@0
25+
displayName: Use Node 20.x
26+
inputs:
27+
versionSpec: 20.x
28+
29+
- task: PowerShell@2
30+
displayName: 'Replace with licensed angular-extras'
31+
inputs:
32+
targetType: 'inline'
33+
script: |
34+
# List of files to update
35+
$files = @(
36+
"projects/app-lob/src/app/grid-dynamic-chart-data/grid-dynamic-chart-data.component.ts",
37+
"projects/app-lob/src/app/grid-dynamic-chart-data/data-analysis-dock-manager/data-analysis-dock-manager.component.ts",
38+
"package.json")
39+
foreach ($file in $files) {
40+
(Get-Content -Path $file) -replace 'igniteui-angular-extras', '$(ReplacementText)' | Set-Content -Path $file
41+
}
42+
43+
- task: CmdLine@2
44+
displayName: 'Create empty .npmrc file in the project root dir'
45+
inputs:
46+
script: 'touch $(Build.SourcesDirectory)/.npmrc'
47+
failOnStderr: true
48+
49+
- task: Npm@1
50+
displayName: 'Register licensed npm registry in .npmrc'
51+
inputs:
52+
command: 'custom'
53+
workingDir: '$(Build.SourcesDirectory)'
54+
customCommand: 'config -L project set @infragistics:registry=https://packages.infragistics.com/npm/js-licensed/'
55+
customEndpoint: 'public proget'
56+
57+
- task: npmAuthenticate@0
58+
inputs:
59+
workingFile: '$(Build.SourcesDirectory)/.npmrc'
60+
customEndpoint: 'public proget'
61+
62+
- task: Npm@1
63+
displayName: npm install
64+
inputs:
65+
command: install
66+
workingDir: $(Build.SourcesDirectory)
67+
verbose: false
68+
customEndpoint: 'public proget'
69+
env:
70+
AZURE_PIPELINES: true
71+
72+
- task: CmdLine@2
73+
displayName: Clone submodule
74+
inputs:
75+
script: git clone --recurse-submodules https://github.com/IgniteUI/igniteui-live-editing-samples igniteui-live-editing-samples
76+
workingDirectory: $(Build.SourcesDirectory)
77+
78+
- template: templates/cd-template.yml
79+
parameters:
80+
customCommand: run generate-live-editing:app-lob
81+
workingDir: $(Build.SourcesDirectory)
82+
submoduleDir: angular-demos-lob
83+
baseHref: \/angular-demos-lob\/
84+
targetFolder: dist/app-lob
85+
findRegex: angular-demos
86+
npmBuildCommand: 'run build-ci:app-lob'
87+
repositoryfy: true

0 commit comments

Comments
 (0)