@aurodesignsystem-dev/auro-cli 0.0.0-pr175.3 → 0.0.0-pr177.1

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.
@@ -0,0 +1,189 @@
1
+ # The username of the assignees to be added on the pull request.
2
+ # assignees:
3
+ # - DukeFerdinand
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: main
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: dhook/2025_02_27_move_peerdeps_to_dependencies
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: |
31
+ # feat!: move peer dependencies to "real" dependencies
32
+
33
+ # BREAKING CHANGE: last change was breaking _on a patch version_ because of peer dependencies
34
+
35
+ # Summary:
36
+ # Our current build process relies on peer dependencies being present, but
37
+ # the peer dependency pipeline is causing far more issues than it's worth.
38
+ # Why not just make them regular dependencies? This is what this PR does :)
39
+
40
+ # The maximum number of concurrent runs.
41
+ concurrent: 4
42
+
43
+ # What should happen if the branch already exist.
44
+ # Available values:
45
+ # skip: Skip making any changes to the existing branch and do not create a new pull request.
46
+ # 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.
47
+ conflict-strategy: replace
48
+
49
+ # Create pull request(s) as draft.
50
+ draft: false
51
+
52
+ # Run without pushing changes or creating pull requests.
53
+ dry-run: true
54
+
55
+ # Limit fetching to the specified number of commits. Set to 0 for no limit.
56
+ fetch-depth: 1
57
+
58
+ # Fork the repository instead of creating a new branch on the same owner.
59
+ fork: false
60
+
61
+ # If set, make the fork to the defined value. Default behavior is for the fork to be on the logged in user.
62
+ fork-owner:
63
+
64
+ # The type of git implementation to use.
65
+ # Available values:
66
+ # go: Uses go-git, a Go native implementation of git. This is compiled with the multi-gitter binary, and no extra dependencies are needed.
67
+ # cmd: Calls out to the git command. This requires git to be installed and available with by calling "git".
68
+ git-type: go
69
+
70
+ # The name of a GitLab organization. All repositories in that group will be used.
71
+ group:
72
+
73
+ # Include GitLab subgroups when using the --group flag.
74
+ include-subgroups: false
75
+
76
+ # Insecure controls whether a client verifies the server certificate chain and host name. Used only for Bitbucket server.
77
+ insecure: false
78
+
79
+ # Take manual decision before committing any change. Requires git to be installed.
80
+ interactive: false
81
+
82
+ # Labels to be added to any created pull request.
83
+ labels:
84
+
85
+ # The file where all logs should be printed to. "-" means stdout.
86
+ log-file: "-"
87
+
88
+ # The formatting of the logs. Available values: text, json, json-pretty.
89
+ log-format: text
90
+
91
+ # The level of logging that should be made. Available values: trace, debug, info, error.
92
+ log-level: info
93
+
94
+ # If this value is set, reviewers will be randomized.
95
+ max-reviewers: 0
96
+
97
+ # If this value is set, team reviewers will be randomized
98
+ max-team-reviewers: 0
99
+
100
+ # The name of a GitHub organization. All repositories in that organization will be used.
101
+ org:
102
+
103
+ # The file that the output of the script should be outputted to. "-" means stdout.
104
+ output: "-"
105
+
106
+ # Don't use any terminal formatting when printing the output.
107
+ plain-output: false
108
+
109
+ # The platform that is used. Available values: github, gitlab, gitea, bitbucket_server, bitbucket_cloud. Note: bitbucket_cloud is in Beta
110
+ platform: github
111
+
112
+ # The body of the commit message. Will default to everything but the first line of the commit message if none is set.
113
+ # pr-body: "Resolves AlaskaAirlines/auro-cli#37 by updating eslint config to latest version (uses node >=18 for LTS support)."
114
+
115
+ # The title of the PR. Will default to the first line of the commit message if none is set.
116
+ # pr-title: "AURO-MIGRATION: Update dependencies to support latest node version(s)"
117
+
118
+ # The name, including owner of a GitLab project in the format "ownerName/repoName".
119
+ project:
120
+
121
+ # Skip pull request and only push the feature branch.
122
+ push-only: false
123
+
124
+ # The name, including owner of a GitHub repository in the format "ownerName/repoName".
125
+ repo:
126
+ - AlaskaAirlines/auro-accordion
127
+ - AlaskaAirlines/auro-alert
128
+ - AlaskaAirlines/auro-avatar
129
+ - AlaskaAirlines/auro-background
130
+ - AlaskaAirlines/auro-backtotop
131
+ - AlaskaAirlines/auro-button
132
+ - AlaskaAirlines/auro-badge
133
+ - AlaskaAirlines/auro-banner
134
+ - AlaskaAirlines/auro-card
135
+ - AlaskaAirlines/auro-carousel
136
+ - AlaskaAirlines/auro-checkbox
137
+ - AlaskaAirlines/auro-combobox
138
+ - AlaskaAirlines/auro-datepicker
139
+ - AlaskaAirlines/auro-datetime
140
+ - AlaskaAirlines/auro-dialog
141
+ - AlaskaAirlines/auro-drawer
142
+ - AlaskaAirlines/auro-dropdown
143
+ - AlaskaAirlines/auro-flight
144
+ - AlaskaAirlines/auro-flightline
145
+ - AlaskaAirlines/auro-header
146
+ - AlaskaAirlines/auro-hyperlink
147
+ - AlaskaAirlines/auro-icon
148
+ - AlaskaAirlines/auro-input
149
+ - AlaskaAirlines/auro-loader
150
+ - AlaskaAirlines/auro-lockup
151
+ - AlaskaAirlines/auro-menu
152
+ - AlaskaAirlines/auro-nav
153
+ - AlaskaAirlines/auro-pane
154
+ - AlaskaAirlines/auro-popover
155
+ - AlaskaAirlines/auro-radio
156
+ - AlaskaAirlines/auro-select
157
+ - AlaskaAirlines/auro-sidenav
158
+ - AlaskaAirlines/auro-skeleton
159
+ - AlaskaAirlines/auro-slideshow
160
+ - AlaskaAirlines/auro-table
161
+ - AlaskaAirlines/auro-tabs
162
+ - AlaskaAirlines/auro-toast
163
+
164
+ # Exclude repositories that match with a given Regular Expression
165
+ repo-exclude:
166
+
167
+ # Include repositories that match with a given Regular Expression
168
+ repo-include:
169
+
170
+ # 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.
171
+ repo-search:
172
+
173
+ # The username of the reviewers to be added on the pull request.
174
+ reviewers:
175
+
176
+ # Skip repositories which are forks.
177
+ skip-forks: false
178
+
179
+ # Skip pull request and directly push to the branch.
180
+ skip-pr: false
181
+
182
+ # Skip changes on specified repositories, the name is including the owner of repository in the format "ownerName/repoName".
183
+ skip-repo:
184
+
185
+ # 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.
186
+ ssh-auth: false
187
+
188
+ # Github team names of the reviewers, in format: 'org/team'
189
+ team-reviewers:
@@ -0,0 +1,176 @@
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
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 auro dependencies to latest versions"
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-accordion
120
+ - AlaskaAirlines/auro-alert
121
+ - AlaskaAirlines/auro-avatar
122
+ - AlaskaAirlines/auro-background
123
+ - AlaskaAirlines/auro-backtotop
124
+ - AlaskaAirlines/auro-badge
125
+ - AlaskaAirlines/auro-banner
126
+ - AlaskaAirlines/auro-button
127
+ - AlaskaAirlines/auro-card
128
+ - AlaskaAirlines/auro-carousel
129
+ - AlaskaAirlines/auro-datetime
130
+ - AlaskaAirlines/auro-dialog
131
+ - AlaskaAirlines/auro-drawer
132
+ - AlaskaAirlines/auro-flight
133
+ - AlaskaAirlines/auro-flightline
134
+ - AlaskaAirlines/auro-formkit
135
+ - AlaskaAirlines/auro-header
136
+ - AlaskaAirlines/auro-hyperlink
137
+ - AlaskaAirlines/auro-icon
138
+ - AlaskaAirlines/auro-loader
139
+ - AlaskaAirlines/auro-lockup
140
+ - AlaskaAirlines/auro-menu
141
+ - AlaskaAirlines/auro-nav
142
+ - AlaskaAirlines/auro-pane
143
+ - AlaskaAirlines/auro-popover
144
+ - AlaskaAirlines/auro-sidenav
145
+ - AlaskaAirlines/auro-sideshow
146
+ - AlaskaAirlines/auro-skeleton
147
+ - AlaskaAirlines/auro-table
148
+ - AlaskaAirlines/auro-tabs
149
+ - AlaskaAirlines/auro-toast
150
+
151
+ # Exclude repositories that match with a given Regular Expression
152
+ repo-exclude:
153
+
154
+ # Include repositories that match with a given Regular Expression
155
+ repo-include:
156
+
157
+ # 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.
158
+ repo-search:
159
+
160
+ # The username of the reviewers to be added on the pull request.
161
+ reviewers:
162
+
163
+ # Skip repositories which are forks.
164
+ skip-forks: false
165
+
166
+ # Skip pull request and directly push to the branch.
167
+ skip-pr: false
168
+
169
+ # Skip changes on specified repositories, the name is including the owner of repository in the format "ownerName/repoName".
170
+ skip-repo:
171
+
172
+ # 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.
173
+ ssh-auth: false
174
+
175
+ # Github team names of the reviewers, in format: 'org/team'
176
+ team-reviewers:
@@ -0,0 +1,11 @@
1
+ #!/bin/bash
2
+
3
+ # Update package.json using npm-check-updates
4
+ npx npm-check-updates -f "/^@aurodesignsystem/.*$/" -u --install always
5
+
6
+ # Run build
7
+ npm run build:version
8
+ npm run build
9
+
10
+ # Run tests
11
+ npm run test
@@ -0,0 +1 @@
1
+ import c from"node:fs/promises";import u from"node:path";import w from"ora";import k from"node:os";import p from"node:path";import a from"node:process";import{fileURLToPath as A}from"node:url";function v(){let e=k.homedir()||a.env.HOME||a.env.USERPROFILE;if(!e)throw new Error("Unable to determine user home directory");return p.join(e,".auro")}function m(...e){return p.join(v(),...e)}var d=m("run-migrations","outputs");async function x(){let e=await c.readFile(u.resolve(process.cwd(),"package.json"));await c.mkdir(d,{recursive:!0});let o=JSON.parse(e.toString("utf8")),l=["@aurodesignsystem","@alaskaairux"],n={name:o.name,peerDependencies:{},devDependencies:{},dependencies:{}};function t(r,D){let i={};return r&&Object.keys(r).forEach(s=>{s.includes(D)&&(i[s]=r[s])}),i}for(let r of l)n.peerDependencies={...n.peerDependencies,...t(o.peerDependencies,r)},n.devDependencies={...n.devDependencies,...t(o.devDependencies,r)},n.dependencies={...n.dependencies,...t(o.dependencies,r)};console.log(`${o.name} -> ${JSON.stringify(n,null,4)}`);let g=d,h=u.join(g,`${o.name.replace("@aurodesignsystem/","")}_deps.json`);await c.writeFile(h,JSON.stringify(n,null,4))}var f=w("Fetching Auro package dependencies...").start();x().then(()=>{f.succeed("Auro package dependencies have been written to the output file.")}).catch(e=>{f.fail("Error fetching Auro package dependencies:"),console.error(e)});export{x as getAuroPackageDependencies};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurodesignsystem-dev/auro-cli",
3
- "version": "0.0.0-pr175.3",
3
+ "version": "0.0.0-pr177.1",
4
4
  "description": "A cli tool to support the Auro Design System",
5
5
  "scripts": {
6
6
  "lint": "biome check --fix --no-errors-on-unmatched",