@aurodesignsystem-dev/auro-cli 0.0.0-pr71.0

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.
Files changed (26) hide show
  1. package/LICENSE +201 -0
  2. package/NOTICE +2 -0
  3. package/README.md +60 -0
  4. package/dist/auro-cli.js +29 -0
  5. package/dist/auro-cli.js.map +7 -0
  6. package/dist/migrations/auro-template-sync-v2/multi-gitter.yml +179 -0
  7. package/dist/migrations/auro-template-sync-v2/script.sh +3 -0
  8. package/dist/migrations/github-config-and-gitignore-changes/migration.d.ts +1 -0
  9. package/dist/migrations/github-config-and-gitignore-changes/migration.js +6 -0
  10. package/dist/migrations/github-config-and-gitignore-changes/multi-gitter.yml +181 -0
  11. package/dist/migrations/github-config-and-gitignore-changes/script.sh +4 -0
  12. package/dist/migrations/package-update-dropdown-v3-2-2/multi-gitter.yml +180 -0
  13. package/dist/migrations/package-update-dropdown-v3-2-2/script.sh +12 -0
  14. package/dist/migrations/package-update-node/migration.d.ts +1 -0
  15. package/dist/migrations/package-update-node/migration.js +2 -0
  16. package/dist/migrations/package-update-node/multi-gitter.yml +180 -0
  17. package/dist/migrations/package-update-node/script.sh +5 -0
  18. package/dist/migrations/token-formatting/migration.d.ts +1 -0
  19. package/dist/migrations/token-formatting/migration.js +8 -0
  20. package/dist/migrations/token-formatting/multi-gitter.yml +173 -0
  21. package/dist/migrations/token-formatting/script.sh +3 -0
  22. package/dist/migrations/wca-script-update/migration.d.ts +1 -0
  23. package/dist/migrations/wca-script-update/migration.js +2 -0
  24. package/dist/migrations/wca-script-update/multi-gitter.yml +164 -0
  25. package/dist/migrations/wca-script-update/script.sh +9 -0
  26. package/package.json +92 -0
@@ -0,0 +1,181 @@
1
+ # The username of the assignees to be added on the pull request.
2
+ assignees:
3
+ - rmenner
4
+ - DukeFerdinand
5
+
6
+ # The authentication type. Used only for Bitbucket cloud. Available values: app-password, workspace-token.
7
+ auth-type: workspace-token
8
+
9
+ # Email of the committer. If not set, the global git config setting will be used.
10
+ author-email:
11
+
12
+ # Name of the committer. If not set, the global git config setting will be used.
13
+ author-name:
14
+
15
+ # The branch which the changes will be based on.
16
+ base-branch:
17
+
18
+ # Base URL of the target platform, needs to be changed for GitHub enterprise, a self-hosted GitLab instance, Gitea or BitBucket.
19
+ base-url:
20
+
21
+ # The name of the branch where changes are committed.
22
+ branch: migration/github-config-and-gitignore-changes
23
+
24
+ # The temporary directory where the repositories will be cloned. If not set, the default os temporary directory will be used.
25
+ clone-dir: .gitter-temp
26
+
27
+ # Use a code search to find a set of repositories to target (GitHub only). Repeated results from a given repository will be ignored, forks are NOT included by default (use `fork:true` to include them). See the GitHub documentation for full syntax: https://docs.github.com/en/search-github/searching-on-github/searching-code.
28
+ code-search:
29
+
30
+ # The commit message. Will default to title + body if none is set.
31
+ commit-message: "chore: update .gitignore and remove demo files from cache and sync github workflow files"
32
+
33
+
34
+ # The maximum number of concurrent runs.
35
+ concurrent: 1
36
+
37
+ # What should happen if the branch already exist.
38
+ # Available values:
39
+ # skip: Skip making any changes to the existing branch and do not create a new pull request.
40
+ # replace: Replace the existing content of the branch by force pushing any new changes, then reuse any existing pull request, or create a new one if none exist.
41
+ conflict-strategy: skip
42
+
43
+ # Create pull request(s) as draft.
44
+ draft: false
45
+
46
+ # Run without pushing changes or creating pull requests.
47
+ dry-run: true
48
+
49
+ # Limit fetching to the specified number of commits. Set to 0 for no limit.
50
+ fetch-depth: 1
51
+
52
+ # Fork the repository instead of creating a new branch on the same owner.
53
+ fork: false
54
+
55
+ # If set, make the fork to the defined value. Default behavior is for the fork to be on the logged in user.
56
+ fork-owner:
57
+
58
+ # The type of git implementation to use.
59
+ # Available values:
60
+ # go: Uses go-git, a Go native implementation of git. This is compiled with the multi-gitter binary, and no extra dependencies are needed.
61
+ # cmd: Calls out to the git command. This requires git to be installed and available with by calling "git".
62
+ git-type: go
63
+
64
+ # The name of a GitLab organization. All repositories in that group will be used.
65
+ group:
66
+
67
+ # Include GitLab subgroups when using the --group flag.
68
+ include-subgroups: false
69
+
70
+ # Insecure controls whether a client verifies the server certificate chain and host name. Used only for Bitbucket server.
71
+ insecure: false
72
+
73
+ # Take manual decision before committing any change. Requires git to be installed.
74
+ interactive: false
75
+
76
+ # Labels to be added to any created pull request.
77
+ labels:
78
+
79
+ # The file where all logs should be printed to. "-" means stdout.
80
+ log-file: "-"
81
+
82
+ # The formatting of the logs. Available values: text, json, json-pretty.
83
+ log-format: text
84
+
85
+ # The level of logging that should be made. Available values: trace, debug, info, error.
86
+ log-level: info
87
+
88
+ # If this value is set, reviewers will be randomized.
89
+ max-reviewers: 0
90
+
91
+ # If this value is set, team reviewers will be randomized
92
+ max-team-reviewers: 0
93
+
94
+ # The name of a GitHub organization. All repositories in that organization will be used.
95
+ org:
96
+
97
+ # The file that the output of the script should be outputted to. "-" means stdout.
98
+ output: "-"
99
+
100
+ # Don't use any terminal formatting when printing the output.
101
+ plain-output: false
102
+
103
+ # The platform that is used. Available values: github, gitlab, gitea, bitbucket_server, bitbucket_cloud. Note: bitbucket_cloud is in Beta
104
+ platform: github
105
+
106
+ # The body of the commit message. Will default to everything but the first line of the commit message if none is set.
107
+ pr-body:
108
+
109
+ # The title of the PR. Will default to the first line of the commit message if none is set.
110
+ pr-title: "MULTI-GITTER PR: migration github-config-and-gitignore-changes"
111
+
112
+ # The name, including owner of a GitLab project in the format "ownerName/repoName".
113
+ project:
114
+
115
+ # Skip pull request and only push the feature branch.
116
+ push-only: false
117
+
118
+ # The name, including owner of a GitHub repository in the format "ownerName/repoName".
119
+ repo:
120
+ # - AlaskaAirlines/auro-accordion
121
+ # - AlaskaAirlines/auro-alert
122
+ # - AlaskaAirlines/auro-avatar
123
+ # - AlaskaAirlines/auro-background
124
+ # - AlaskaAirlines/auro-backtotop
125
+ # - AlaskaAirlines/auro-badge
126
+ # - AlaskaAirlines/auro-banner
127
+ - AlaskaAirlines/auro-button
128
+ # - AlaskaAirlines/auro-card
129
+ # - AlaskaAirlines/auro-carousel
130
+ # - AlaskaAirlines/auro-checkbox
131
+ # - AlaskaAirlines/auro-combobox
132
+ # - AlaskaAirlines/auro-datepicker
133
+ # - AlaskaAirlines/auro-datetime
134
+ # - AlaskaAirlines/auro-dialog
135
+ # - AlaskaAirlines/auro-drawer
136
+ # - AlaskaAirlines/auro-dropdown
137
+ # - AlaskaAirlines/auro-flight
138
+ # - AlaskaAirlines/auro-flightline
139
+ # - AlaskaAirlines/auro-header
140
+ - AlaskaAirlines/auro-hyperlink
141
+ # - AlaskaAirlines/auro-icon
142
+ # - AlaskaAirlines/auro-input
143
+ # - AlaskaAirlines/auro-loader
144
+ # - AlaskaAirlines/auro-lockup
145
+ # - AlaskaAirlines/auro-menu
146
+ # - AlaskaAirlines/auro-nav
147
+ # - AlaskaAirlines/auro-pane
148
+ # - AlaskaAirlines/auro-popover
149
+ # - AlaskaAirlines/auro-radio
150
+ # - AlaskaAirlines/auro-select
151
+ # - AlaskaAirlines/auro-sidenav
152
+ # - AlaskaAirlines/auro-skeleton
153
+ # - AlaskaAirlines/auro-table
154
+ # - AlaskaAirlines/auro-toast
155
+
156
+ # Exclude repositories that match with a given Regular Expression
157
+ repo-exclude:
158
+
159
+ # Include repositories that match with a given Regular Expression
160
+ repo-include:
161
+
162
+ # Use a repository search to find repositories to target (GitHub only). Forks are NOT included by default, use `fork:true` to include them. See the GitHub documentation for full syntax: https://docs.github.com/en/search-github/searching-on-github/searching-for-repositories.
163
+ repo-search:
164
+
165
+ # The username of the reviewers to be added on the pull request.
166
+ reviewers:
167
+
168
+ # Skip repositories which are forks.
169
+ skip-forks: false
170
+
171
+ # Skip pull request and directly push to the branch.
172
+ skip-pr: false
173
+
174
+ # Skip changes on specified repositories, the name is including the owner of repository in the format "ownerName/repoName".
175
+ skip-repo:
176
+
177
+ # Use SSH cloning URL instead of HTTPS + token. This requires that a setup with ssh keys that have access to all repos and that the server is already in known_hosts.
178
+ ssh-auth: false
179
+
180
+ # Github team names of the reviewers, in format: 'org/team'
181
+ team-reviewers:
@@ -0,0 +1,4 @@
1
+ #!/bin/bash
2
+
3
+ auro sync
4
+ node "$(dirname "$0")/migration.js"
@@ -0,0 +1,180 @@
1
+ # The username of the assignees to be added on the pull request.
2
+ assignees:
3
+ - rmenner
4
+
5
+ # The authentication type. Used only for Bitbucket cloud. Available values: app-password, workspace-token.
6
+ auth-type: workspace-token
7
+
8
+ # Email of the committer. If not set, the global git config setting will be used.
9
+ author-email:
10
+
11
+ # Name of the committer. If not set, the global git config setting will be used.
12
+ author-name:
13
+
14
+ # The branch which the changes will be based on.
15
+ base-branch:
16
+
17
+ # Base URL of the target platform, needs to be changed for GitHub enterprise, a self-hosted GitLab instance, Gitea or BitBucket.
18
+ base-url:
19
+
20
+ # The name of the branch where changes are committed.
21
+ branch: migration/package-update/dropdown-v3-2-2
22
+
23
+ # The temporary directory where the repositories will be cloned. If not set, the default os temporary directory will be used.
24
+ clone-dir: .gitter-temp
25
+
26
+ # Use a code search to find a set of repositories to target (GitHub only). Repeated results from a given repository will be ignored, forks are NOT included by default (use `fork:true` to include them). See the GitHub documentation for full syntax: https://docs.github.com/en/search-github/searching-on-github/searching-code.
27
+ code-search:
28
+
29
+ # The commit message. Will default to title + body if none is set.
30
+ commit-message: "perf: update dropdown to latest for bib position fix"
31
+
32
+
33
+ # The maximum number of concurrent runs.
34
+ concurrent: 1
35
+
36
+ # What should happen if the branch already exist.
37
+ # Available values:
38
+ # skip: Skip making any changes to the existing branch and do not create a new pull request.
39
+ # replace: Replace the existing content of the branch by force pushing any new changes, then reuse any existing pull request, or create a new one if none exist.
40
+ conflict-strategy: skip
41
+
42
+ # Create pull request(s) as draft.
43
+ draft: false
44
+
45
+ # Run without pushing changes or creating pull requests.
46
+ dry-run: false
47
+
48
+ # Limit fetching to the specified number of commits. Set to 0 for no limit.
49
+ fetch-depth: 1
50
+
51
+ # Fork the repository instead of creating a new branch on the same owner.
52
+ fork: false
53
+
54
+ # If set, make the fork to the defined value. Default behavior is for the fork to be on the logged in user.
55
+ fork-owner:
56
+
57
+ # The type of git implementation to use.
58
+ # Available values:
59
+ # go: Uses go-git, a Go native implementation of git. This is compiled with the multi-gitter binary, and no extra dependencies are needed.
60
+ # cmd: Calls out to the git command. This requires git to be installed and available with by calling "git".
61
+ git-type: go
62
+
63
+ # The name of a GitLab organization. All repositories in that group will be used.
64
+ group:
65
+
66
+ # Include GitLab subgroups when using the --group flag.
67
+ include-subgroups: false
68
+
69
+ # Insecure controls whether a client verifies the server certificate chain and host name. Used only for Bitbucket server.
70
+ insecure: false
71
+
72
+ # Take manual decision before committing any change. Requires git to be installed.
73
+ interactive: false
74
+
75
+ # Labels to be added to any created pull request.
76
+ labels:
77
+
78
+ # The file where all logs should be printed to. "-" means stdout.
79
+ log-file: "-"
80
+
81
+ # The formatting of the logs. Available values: text, json, json-pretty.
82
+ log-format: text
83
+
84
+ # The level of logging that should be made. Available values: trace, debug, info, error.
85
+ log-level: info
86
+
87
+ # If this value is set, reviewers will be randomized.
88
+ max-reviewers: 0
89
+
90
+ # If this value is set, team reviewers will be randomized
91
+ max-team-reviewers: 0
92
+
93
+ # The name of a GitHub organization. All repositories in that organization will be used.
94
+ org:
95
+
96
+ # The file that the output of the script should be outputted to. "-" means stdout.
97
+ output: "-"
98
+
99
+ # Don't use any terminal formatting when printing the output.
100
+ plain-output: false
101
+
102
+ # The platform that is used. Available values: github, gitlab, gitea, bitbucket_server, bitbucket_cloud. Note: bitbucket_cloud is in Beta
103
+ platform: github
104
+
105
+ # The body of the commit message. Will default to everything but the first line of the commit message if none is set.
106
+ pr-body:
107
+
108
+ # The title of the PR. Will default to the first line of the commit message if none is set.
109
+ pr-title: "AURO MIGRATION PR: Update dropdown to version 3.2.2"
110
+
111
+ # The name, including owner of a GitLab project in the format "ownerName/repoName".
112
+ project:
113
+
114
+ # Skip pull request and only push the feature branch.
115
+ push-only: false
116
+
117
+ # The name, including owner of a GitHub repository in the format "ownerName/repoName".
118
+ repo:
119
+ - AlaskaAirlines/auro-combobox
120
+ - AlaskaAirlines/auro-datepicker
121
+ - AlaskaAirlines/auro-select
122
+ # - AlaskaAirlines/auro-accordion
123
+ # - AlaskaAirlines/auro-alert
124
+ # - AlaskaAirlines/auro-avatar
125
+ # - AlaskaAirlines/auro-background
126
+ # - AlaskaAirlines/auro-backtotop
127
+ # - AlaskaAirlines/auro-badge
128
+ # - AlaskaAirlines/auro-banner
129
+ # - AlaskaAirlines/auro-button
130
+ # - AlaskaAirlines/auro-card
131
+ # - AlaskaAirlines/auro-carousel
132
+ # - AlaskaAirlines/auro-checkbox
133
+ # - AlaskaAirlines/auro-datetime
134
+ # - AlaskaAirlines/auro-dialog
135
+ # - AlaskaAirlines/auro-drawer
136
+ # - AlaskaAirlines/auro-dropdown
137
+ # - AlaskaAirlines/auro-flight
138
+ # - AlaskaAirlines/auro-flightline
139
+ # - AlaskaAirlines/auro-header
140
+ # - AlaskaAirlines/auro-hyperlink
141
+ # - AlaskaAirlines/auro-icon
142
+ # - AlaskaAirlines/auro-input
143
+ # - AlaskaAirlines/auro-loader
144
+ # - AlaskaAirlines/auro-lockup
145
+ # - AlaskaAirlines/auro-menu
146
+ # - AlaskaAirlines/auro-nav
147
+ # - AlaskaAirlines/auro-pane
148
+ # - AlaskaAirlines/auro-popover
149
+ # - AlaskaAirlines/auro-radio
150
+ # - AlaskaAirlines/auro-sidenav
151
+ # - AlaskaAirlines/auro-skeleton
152
+ # - AlaskaAirlines/auro-table
153
+ # - AlaskaAirlines/auro-toast
154
+
155
+ # Exclude repositories that match with a given Regular Expression
156
+ repo-exclude:
157
+
158
+ # Include repositories that match with a given Regular Expression
159
+ repo-include:
160
+
161
+ # Use a repository search to find repositories to target (GitHub only). Forks are NOT included by default, use `fork:true` to include them. See the GitHub documentation for full syntax: https://docs.github.com/en/search-github/searching-on-github/searching-for-repositories.
162
+ repo-search:
163
+
164
+ # The username of the reviewers to be added on the pull request.
165
+ reviewers:
166
+
167
+ # Skip repositories which are forks.
168
+ skip-forks: false
169
+
170
+ # Skip pull request and directly push to the branch.
171
+ skip-pr: false
172
+
173
+ # Skip changes on specified repositories, the name is including the owner of repository in the format "ownerName/repoName".
174
+ skip-repo:
175
+
176
+ # Use SSH cloning URL instead of HTTPS + token. This requires that a setup with ssh keys that have access to all repos and that the server is already in known_hosts.
177
+ ssh-auth: false
178
+
179
+ # Github team names of the reviewers, in format: 'org/team'
180
+ team-reviewers:
@@ -0,0 +1,12 @@
1
+ #!/bin/bash
2
+
3
+ # Define the package and version
4
+ PACKAGE="@aurodesignsystem/auro-dropdown"
5
+ VERSION="^3.2.2"
6
+
7
+ # Update package.json using npm
8
+ npm install $PACKAGE@$VERSION
9
+
10
+ # Run build
11
+ npm run build
12
+ npm run build:version
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ import{Logger as r}from"@aurodesignsystem/auro-library/scripts/utils/logger.mjs";import s from"node:fs";var a=()=>{try{let e="^20 || ^22",n="package.json",o=JSON.parse(s.readFileSync(n,"utf8"));o.engines.node=e,s.writeFileSync(n,`${JSON.stringify(o,null,2)}
2
+ `,"utf8")}catch(e){r.error(`Failed to update node engine version in package.json: ${e}`)}r.success("Node engine version updated to version in package.json")};a();
@@ -0,0 +1,180 @@
1
+ # The username of the assignees to be added on the pull request.
2
+ assignees:
3
+ - jason-capsule42
4
+
5
+ # The authentication type. Used only for Bitbucket cloud. Available values: app-password, workspace-token.
6
+ auth-type: workspace-token
7
+
8
+ # Email of the committer. If not set, the global git config setting will be used.
9
+ author-email:
10
+
11
+ # Name of the committer. If not set, the global git config setting will be used.
12
+ author-name:
13
+
14
+ # The branch which the changes will be based on.
15
+ base-branch:
16
+
17
+ # Base URL of the target platform, needs to be changed for GitHub enterprise, a self-hosted GitLab instance, Gitea or BitBucket.
18
+ base-url:
19
+
20
+ # The name of the branch where changes are committed.
21
+ branch: migration/package-update/node-v22
22
+
23
+ # The temporary directory where the repositories will be cloned. If not set, the default os temporary directory will be used.
24
+ clone-dir: .gitter-temp
25
+
26
+ # Use a code search to find a set of repositories to target (GitHub only). Repeated results from a given repository will be ignored, forks are NOT included by default (use `fork:true` to include them). See the GitHub documentation for full syntax: https://docs.github.com/en/search-github/searching-on-github/searching-code.
27
+ code-search:
28
+
29
+ # The commit message. Will default to title + body if none is set.
30
+ commit-message: "perf: update node to version 22"
31
+
32
+ # The maximum number of concurrent runs.
33
+ concurrent: 1
34
+
35
+ # What should happen if the branch already exist.
36
+ # Available values:
37
+ # skip: Skip making any changes to the existing branch and do not create a new pull request.
38
+ # replace: Replace the existing content of the branch by force pushing any new changes, then reuse any existing pull request, or create a new one if none exist.
39
+ conflict-strategy: skip
40
+
41
+ # Create pull request(s) as draft.
42
+ draft: false
43
+
44
+ # Run without pushing changes or creating pull requests.
45
+ dry-run: false
46
+
47
+ # Limit fetching to the specified number of commits. Set to 0 for no limit.
48
+ fetch-depth: 1
49
+
50
+ # Fork the repository instead of creating a new branch on the same owner.
51
+ fork: false
52
+
53
+ # If set, make the fork to the defined value. Default behavior is for the fork to be on the logged in user.
54
+ fork-owner:
55
+
56
+ # The type of git implementation to use.
57
+ # Available values:
58
+ # go: Uses go-git, a Go native implementation of git. This is compiled with the multi-gitter binary, and no extra dependencies are needed.
59
+ # cmd: Calls out to the git command. This requires git to be installed and available with by calling "git".
60
+ git-type: go
61
+
62
+ # The name of a GitLab organization. All repositories in that group will be used.
63
+ group:
64
+
65
+ # Include GitLab subgroups when using the --group flag.
66
+ include-subgroups: false
67
+
68
+ # Insecure controls whether a client verifies the server certificate chain and host name. Used only for Bitbucket server.
69
+ insecure: false
70
+
71
+ # Take manual decision before committing any change. Requires git to be installed.
72
+ interactive: false
73
+
74
+ # Labels to be added to any created pull request.
75
+ labels:
76
+
77
+ # The file where all logs should be printed to. "-" means stdout.
78
+ log-file: "-"
79
+
80
+ # The formatting of the logs. Available values: text, json, json-pretty.
81
+ log-format: text
82
+
83
+ # The level of logging that should be made. Available values: trace, debug, info, error.
84
+ log-level: info
85
+
86
+ # If this value is set, reviewers will be randomized.
87
+ max-reviewers: 0
88
+
89
+ # If this value is set, team reviewers will be randomized
90
+ max-team-reviewers: 0
91
+
92
+ # The name of a GitHub organization. All repositories in that organization will be used.
93
+ org:
94
+
95
+ # The file that the output of the script should be outputted to. "-" means stdout.
96
+ output: "-"
97
+
98
+ # Don't use any terminal formatting when printing the output.
99
+ plain-output: false
100
+
101
+ # The platform that is used. Available values: github, gitlab, gitea, bitbucket_server, bitbucket_cloud. Note: bitbucket_cloud is in Beta
102
+ platform: github
103
+
104
+ # The body of the commit message. Will default to everything but the first line of the commit message if none is set.
105
+ pr-body: "Resolves AlaskaAirlines/auro-templates#6"
106
+
107
+ # The title of the PR. Will default to the first line of the commit message if none is set.
108
+ pr-title: "AURO MIGRATION: Update node to v22"
109
+
110
+ # The name, including owner of a GitLab project in the format "ownerName/repoName".
111
+ project:
112
+
113
+ # Skip pull request and only push the feature branch.
114
+ push-only: false
115
+
116
+ # The name, including owner of a GitHub repository in the format "ownerName/repoName".
117
+ repo:
118
+ - AlaskaAirlines/auro-accordion
119
+ - AlaskaAirlines/auro-alert
120
+ - AlaskaAirlines/auro-avatar
121
+ - AlaskaAirlines/auro-background
122
+ - AlaskaAirlines/auro-backtotop
123
+ - AlaskaAirlines/auro-badge
124
+ - AlaskaAirlines/auro-banner
125
+ - AlaskaAirlines/auro-button
126
+ - AlaskaAirlines/auro-card
127
+ # - AlaskaAirlines/auro-carousel
128
+ - AlaskaAirlines/auro-checkbox
129
+ - AlaskaAirlines/auro-combobox
130
+ - AlaskaAirlines/auro-datepicker
131
+ - AlaskaAirlines/auro-datetime
132
+ - AlaskaAirlines/auro-dialog
133
+ - AlaskaAirlines/auro-drawer
134
+ - AlaskaAirlines/auro-dropdown
135
+ - AlaskaAirlines/auro-flight
136
+ - AlaskaAirlines/auro-flightline
137
+ - AlaskaAirlines/auro-formkit
138
+ - AlaskaAirlines/auro-header
139
+ - AlaskaAirlines/auro-hyperlink
140
+ - AlaskaAirlines/auro-icon
141
+ - AlaskaAirlines/auro-input
142
+ - AlaskaAirlines/auro-loader
143
+ - AlaskaAirlines/auro-lockup
144
+ - AlaskaAirlines/auro-menu
145
+ - AlaskaAirlines/auro-nav
146
+ - AlaskaAirlines/auro-pane
147
+ - AlaskaAirlines/auro-popover
148
+ - AlaskaAirlines/auro-radio
149
+ - AlaskaAirlines/auro-select
150
+ - AlaskaAirlines/auro-sidenav
151
+ - AlaskaAirlines/auro-skeleton
152
+ - AlaskaAirlines/auro-table
153
+ - AlaskaAirlines/auro-toast
154
+
155
+ # Exclude repositories that match with a given Regular Expression
156
+ repo-exclude:
157
+
158
+ # Include repositories that match with a given Regular Expression
159
+ repo-include:
160
+
161
+ # Use a repository search to find repositories to target (GitHub only). Forks are NOT included by default, use `fork:true` to include them. See the GitHub documentation for full syntax: https://docs.github.com/en/search-github/searching-on-github/searching-for-repositories.
162
+ repo-search:
163
+
164
+ # The username of the reviewers to be added on the pull request.
165
+ reviewers:
166
+
167
+ # Skip repositories which are forks.
168
+ skip-forks: false
169
+
170
+ # Skip pull request and directly push to the branch.
171
+ skip-pr: false
172
+
173
+ # Skip changes on specified repositories, the name is including the owner of repository in the format "ownerName/repoName".
174
+ skip-repo:
175
+
176
+ # Use SSH cloning URL instead of HTTPS + token. This requires that a setup with ssh keys that have access to all repos and that the server is already in known_hosts.
177
+ ssh-auth: false
178
+
179
+ # Github team names of the reviewers, in format: 'org/team'
180
+ team-reviewers:
@@ -0,0 +1,5 @@
1
+ #!/bin/bash
2
+
3
+ auro sync
4
+ node "$(dirname "$0")/migration.js"
5
+ npm install
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,8 @@
1
+ import u from"node:fs";import{Logger as s}from"@aurodesignsystem/auro-library/scripts/utils/logger.mjs";import{globSync as a}from"glob";function d(e){return/--[\w-]+\s*:\s*.*?var\(--[\w-]+,\s*\$[\w-]+(?!\})/.test(e)}function f(e){return e.match(/--[\w-]+\s*:/)?e.replace(/var\(([^,]+),\s*(\$[\w-]+)(?!\})(.*?)\)/g,"var($1, #{$2}$3)"):e}function g(e){try{let r=u.readFileSync(e,"utf8").split(`
2
+ `),o=[],i=!1,c=r.map((n,l)=>d(n)?(i=!0,o.push({line:l+1,content:n.trim(),fixed:f(n).trim()}),f(n)):n);return{filePath:e,hasIssues:i,issues:o,fixedContent:c.join(`
3
+ `)}}catch(t){return s.error(`Error processing file ${e}: ${t.message}`),{filePath:e,hasIssues:!1,issues:[],error:t.message}}}function h(){s.info("Starting CSS token fallback syntax check...");try{let e=a("**/*.scss",{ignore:["**/node_modules/**","**/dist/**","**/build/**"]});if(e.length===0){s.info("No SCSS files found in the project.");return}s.info(`Found ${e.length} SCSS files to check.`);let t=0,r=0;for(let o of e){let i=g(o);if(i.hasIssues){t++,r+=i.issues.length,s.info(`
4
+ Found ${i.issues.length} issues in ${o}:`);for(let n of i.issues)s.info(` Line ${n.line}:`),s.info(` Original: ${n.content}`),s.info(` Should be: ${n.fixed}`);process.argv.includes("--fix")&&(u.writeFileSync(o,i.fixedContent,"utf8"),s.success(` Fixed issues in ${o}`))}}s.info(`
5
+ --- Summary ---`),s.info(`Total files checked: ${e.length}`),s.info(`Files with issues: ${t}`),s.info(`Total issues found: ${r}`),r>0&&!process.argv.includes("--fix")?(s.info(`
6
+ Run with --fix flag to automatically fix these issues:`),s.info(" node migration.js --fix")):r>0?s.success(`
7
+ All issues have been fixed!`):s.success(`
8
+ No issues found. All SCSS variable fallbacks are correctly formatted!`)}catch(e){s.error(`Error running migration script: ${e.message}`)}}h();