Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: daysToExpiry option #15

Merged
merged 8 commits into from
Nov 15, 2024
Merged

feat: daysToExpiry option #15

merged 8 commits into from
Nov 15, 2024

Conversation

johnnyreilly
Copy link
Owner

@johnnyreilly johnnyreilly commented Nov 13, 2024

PR Checklist

Overview

Output now looks like this:

┌  📦🔑 Welcome to azdo-npm-auth 0.9.0! 📦🔑
│
●  options:
│  - pat: [NONE SUPPLIED - WILL ACQUIRE FROM AZURE]
│  - config: ./ignore/.npmrc
│  - email: [NONE SUPPLIED - WILL USE DEFAULT VALUE]
│  - daysToExpiry: 1
│
●  🎬 Starting parsing project .npmrc.
│
◇  ✅ Passed parsing project .npmrc.
│     
│     Loading .npmrc at: /Users/john.reilly/code/github.com/azdo-npm-auth/ignore/.npmrc
│     Parsed: 
│     - organisation: johnnyreilly
│     - urlWithoutRegistryAtStart: //pkgs.dev.azure.com/johnnyreilly/_packaging/johnnyreilly-packages/npm/registry/
│     - urlWithoutRegistryAtEnd: //pkgs.dev.azure.com/johnnyreilly/_packaging/johnnyreilly-packages/npm/
│
●  🎬 Starting creating Personal Access Token.
│
◇  ✅ Passed creating Personal Access Token.
│     
│     Creating Azure CLI Token
│     Created Azure CLI Token
│     
│     Creating Personal Access Token with API:
│     {
│       "displayName": "made by azdo-npm-auth at: 2024-11-15T08:49:11.487Z",
│       "scope": "vso.packaging",
│       "allOrgs": false,
│       "validTo": "2024-11-16T08:49:11.486Z"
│     }
│     Created Personal Access Token with API
│     
│     Personal Access Token created:
│     - name: made by azdo-npm-auth at: 2024-11-15T08:49:11.487Z
│     - scope: vso.packaging
│     - validTo: 2024-11-16T08:49:11.4866667Z
│
●  🎬 Starting constructing user .npmrc.
│
◇  ✅ Passed constructing user .npmrc.
│     
│
●  🎬 Starting writing user .npmrc.
│
◇  ✅ Passed writing user .npmrc.
│     
│     Writing users .npmrc to: /Users/john.reilly/.npmrc
│
└  📦🔑 Thanks for using azdo-npm-auth 0.9.0! 📦🔑

@johnnyreilly johnnyreilly merged commit 8c23d20 into main Nov 15, 2024
8 checks passed
@johnnyreilly johnnyreilly deleted the valid-to branch November 15, 2024 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🚀 Feature: Specify token expiry
1 participant