ado-npm-auth 0.3.1 → 0.3.3
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/dist/ado-npm-auth.cjs +145 -140
- package/dist/index.js +128 -123
- package/lib/args.d.ts +1 -0
- package/lib/yarnrc/yarnrcFileProvider.d.ts +1 -0
- package/package.json +14 -15
package/lib/args.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export declare class YarnRcFileProvider extends FileProvider {
|
|
|
5
5
|
getUserFeeds(): Promise<Map<string, Feed>>;
|
|
6
6
|
getWorkspaceRegistries(): Promise<string[]>;
|
|
7
7
|
writeWorkspaceRegistries(feedsToPatch: Iterable<Feed>): Promise<void>;
|
|
8
|
+
writeYarnRc(filePath: string, yarnrc: YarnRc): Promise<void>;
|
|
8
9
|
paseYarnRc(filePath: string): Promise<YarnRc>;
|
|
9
10
|
}
|
|
10
11
|
interface YarnRc {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ado-npm-auth",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "The ado-npm-auth package can automatically use the azureauth CLI to fetch tokens and update a user's .npmrc file for authenticating to ADO package feeds.",
|
|
5
5
|
"repository": "https://github.com/microsoft/ado-npm-auth",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"scripts": {
|
|
23
23
|
"build": "tsc",
|
|
24
24
|
"bundle": "npm run bundleBin && npm run bundleIndex",
|
|
25
|
-
"bundleBin": "esbuild --sourcemap --bundle --minify --platform=node src/cli.ts --outfile=dist/ado-npm-auth.cjs",
|
|
26
|
-
"bundleIndex": "esbuild --sourcemap --bundle --minify --platform=node --format=esm src/index.ts --outfile=dist/index.js",
|
|
25
|
+
"bundleBin": "esbuild --sourcemap=external --bundle --minify --platform=node src/cli.ts --outfile=dist/ado-npm-auth.cjs",
|
|
26
|
+
"bundleIndex": "esbuild --sourcemap=external --bundle --minify --platform=node --format=esm src/index.ts --outfile=dist/index.js",
|
|
27
27
|
"lint": "prettier --check src/**/*.ts",
|
|
28
28
|
"performance-test": "node lib/tests/performance.test.js",
|
|
29
29
|
"test": "vitest run src"
|
|
@@ -32,21 +32,20 @@
|
|
|
32
32
|
"azureauth": "^0.12.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@npmcli/config": "^
|
|
35
|
+
"@npmcli/config": "^10.1.0",
|
|
36
36
|
"@types/js-yaml": "4.0.9",
|
|
37
|
-
"@types/node": "^20.
|
|
38
|
-
"@types/npmcli__config": "^6.0.
|
|
39
|
-
"@types/yargs": "^17.0.
|
|
37
|
+
"@types/node": "^20.17.28",
|
|
38
|
+
"@types/npmcli__config": "^6.0.3",
|
|
39
|
+
"@types/yargs": "^17.0.33",
|
|
40
40
|
"esbuild": "^0.23.1",
|
|
41
|
-
"eslint": "^8.
|
|
41
|
+
"eslint": "^8.57.1",
|
|
42
42
|
"js-yaml": "^4.1.0",
|
|
43
|
-
"prettier": "^3.
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"workspace-tools": "^0.26.3",
|
|
43
|
+
"prettier": "^3.5.3",
|
|
44
|
+
"tslib": "^2.8.1",
|
|
45
|
+
"typescript": "^5.8.2",
|
|
46
|
+
"vite": "~5.3.6",
|
|
47
|
+
"vitest": "^2.1.9",
|
|
48
|
+
"workspace-tools": "^0.38.0",
|
|
50
49
|
"yargs": "^17.7.2"
|
|
51
50
|
}
|
|
52
51
|
}
|