sag_components 1.0.29 → 1.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/.babelrc.json +0 -15
- package/azure-pipelines.yml +0 -50
- package/azure-static-web-apps-delightful-cliff-010f39003.yml +0 -32
- package/babel.config.js +0 -10
package/package.json
CHANGED
package/.babelrc.json
DELETED
package/azure-pipelines.yml
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
# Starter pipeline
|
|
2
|
-
# Start with a minimal pipeline that you can customize to build and deploy your code.
|
|
3
|
-
# Add steps that build, run tests, deploy, and more:
|
|
4
|
-
# https://aka.ms/yaml
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
# 👇 Event to trigger pipeline execution
|
|
8
|
-
trigger:
|
|
9
|
-
- DEV
|
|
10
|
-
|
|
11
|
-
# Other configurations
|
|
12
|
-
|
|
13
|
-
# Pipeline stages
|
|
14
|
-
stages:
|
|
15
|
-
- stage: Test
|
|
16
|
-
displayName: Chromatic Testing
|
|
17
|
-
# Job list
|
|
18
|
-
jobs:
|
|
19
|
-
- job: Chromatic_Deploy
|
|
20
|
-
displayName: Install packages and publishes to Chromatic
|
|
21
|
-
variables:
|
|
22
|
-
# Sets scoped environment variable to cache packages
|
|
23
|
-
npm_config_cache: $(Pipeline.Workspace)/.npm
|
|
24
|
-
# List of steps
|
|
25
|
-
steps:
|
|
26
|
-
- checkout: self
|
|
27
|
-
displayName: "Get full Git history"
|
|
28
|
-
fetchDepth: 0
|
|
29
|
-
# 👇 Installs and configures Node environment
|
|
30
|
-
- task: NodeTool@0
|
|
31
|
-
inputs:
|
|
32
|
-
versionSpec: "16.x"
|
|
33
|
-
displayName: "Install Node.js"
|
|
34
|
-
- task: Cache@2
|
|
35
|
-
displayName: Install and cache packages
|
|
36
|
-
inputs:
|
|
37
|
-
key: 'npm | "$(Agent.OS)" | package-lock.json'
|
|
38
|
-
restoreKeys: |
|
|
39
|
-
npm | "$(Agent.OS)"
|
|
40
|
-
path: $(npm_config_cache)
|
|
41
|
-
- script: npm ci
|
|
42
|
-
condition: ne(variables.CACHE_RESTORED, 'true')
|
|
43
|
-
# 👇 Adds Chromatic as a step
|
|
44
|
-
- task: CmdLine@2
|
|
45
|
-
displayName: Publish to Chromatic
|
|
46
|
-
inputs:
|
|
47
|
-
# 👇 Runs Chromatic
|
|
48
|
-
script: npx chromatic --project-token=c74e7c242a07 --exit-zero-on-changes
|
|
49
|
-
env:
|
|
50
|
-
CHROMATIC_PROJECT_TOKEN: $(CHROMATIC_PROJECT_TOKEN)
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
name: Azure Static Web Apps CI/CD
|
|
2
|
-
|
|
3
|
-
pr:
|
|
4
|
-
branches:
|
|
5
|
-
include:
|
|
6
|
-
- Task-9085-Create-basic-dropdown
|
|
7
|
-
trigger:
|
|
8
|
-
branches:
|
|
9
|
-
include:
|
|
10
|
-
- Task-9085-Create-basic-dropdown
|
|
11
|
-
|
|
12
|
-
jobs:
|
|
13
|
-
- job: build_and_deploy_job
|
|
14
|
-
displayName: Build and Deploy Job
|
|
15
|
-
condition: or(eq(variables['Build.Reason'], 'Manual'),or(eq(variables['Build.Reason'], 'PullRequest'),eq(variables['Build.Reason'], 'IndividualCI')))
|
|
16
|
-
pool:
|
|
17
|
-
vmImage: ubuntu-latest
|
|
18
|
-
variables:
|
|
19
|
-
- group: Azure-Static-Web-Apps-delightful-cliff-010f39003-variable-group
|
|
20
|
-
steps:
|
|
21
|
-
- checkout: self
|
|
22
|
-
submodules: true
|
|
23
|
-
- task: AzureStaticWebApp@0
|
|
24
|
-
inputs:
|
|
25
|
-
azure_static_web_apps_api_token: $(AZURE_STATIC_WEB_APPS_API_TOKEN_DELIGHTFUL_CLIFF_010F39003)
|
|
26
|
-
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
|
|
27
|
-
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
|
|
28
|
-
app_location: "/" # App source code path
|
|
29
|
-
api_location: "" # Api source code path - optional
|
|
30
|
-
output_location: "build" # Built app content directory - optional
|
|
31
|
-
###### End of Repository/Build Configurations ######
|
|
32
|
-
|