@deque/axe-auth 0.0.1-skeleton → 1.1.0-next.97bcb8e6

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/LICENSE ADDED
@@ -0,0 +1,7 @@
1
+ Copyright 2025, Deque Systems, Inc.
2
+
3
+ This Deque Systems, Inc. software is for use only by customers who have a valid and active license agreement with Deque Systems, Inc. or an authorized Deque Systems, Inc. reseller. If you do not have a valid license to use this software, you may not download or otherwise use it.
4
+
5
+ axe MCP Server and @deque/axe-auth are licensed under [Deque Software License Terms – axe ® products](https://www.deque.com/terms-of-use/axe-devtools-online/), and all other rights are expressly reserved.
6
+
7
+ You can obtain a license by contacting sales@deque.com
package/README.md CHANGED
@@ -1 +1,28 @@
1
- # Skeleton Package
1
+ # @deque/axe-auth
2
+
3
+ CLI for authenticating with Deque's axe MCP server and other services.
4
+
5
+ ## Installation
6
+
7
+ ```sh
8
+ npm install -g @deque/axe-auth
9
+ ```
10
+
11
+ Or run directly:
12
+
13
+ ```sh
14
+ npx @deque/axe-auth
15
+ ```
16
+
17
+ ## Usage
18
+
19
+ ```sh
20
+ axe-auth [options]
21
+ ```
22
+
23
+ ### Options
24
+
25
+ | Flag | Description |
26
+ | ----------------- | ------------------- |
27
+ | `-v`, `--version` | Show version number |
28
+ | `-h`, `--help` | Show help message |
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ export {};
package/dist/index.js ADDED
@@ -0,0 +1,40 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ const node_util_1 = require("node:util");
5
+ const node_fs_1 = require("node:fs");
6
+ const node_path_1 = require("node:path");
7
+ const pkg = JSON.parse((0, node_fs_1.readFileSync)((0, node_path_1.join)(__dirname, "..", "package.json"), "utf-8"));
8
+ let values;
9
+ try {
10
+ ({ values } = (0, node_util_1.parseArgs)({
11
+ options: {
12
+ version: { type: "boolean", short: "v" },
13
+ help: { type: "boolean", short: "h" },
14
+ },
15
+ strict: true,
16
+ }));
17
+ }
18
+ catch (err) {
19
+ console.error(err.message);
20
+ process.exit(1);
21
+ }
22
+ if (values.version) {
23
+ console.log(pkg.version);
24
+ process.exit(0);
25
+ }
26
+ if (values.help) {
27
+ console.log(`${pkg.name} v${pkg.version}
28
+
29
+ ${pkg.description}
30
+
31
+ Usage:
32
+ axe-auth [options]
33
+
34
+ Options:
35
+ -v, --version Show version number
36
+ -h, --help Show this help message`);
37
+ process.exit(0);
38
+ }
39
+ console.log("No arguments provided. Use --help for usage information.\n");
40
+ process.exit(1);
package/package.json CHANGED
@@ -1,12 +1,32 @@
1
1
  {
2
2
  "name": "@deque/axe-auth",
3
- "version": "0.0.1-skeleton",
4
- "private": false,
3
+ "version": "1.1.0-next.97bcb8e6",
4
+ "description": "CLI authentication utility for Deque services",
5
+ "license": "SEE LICENSE IN LICENSE",
6
+ "type": "commonjs",
7
+ "main": "dist/index.js",
8
+ "types": "dist/index.d.ts",
9
+ "bin": {
10
+ "axe-auth": "dist/index.js"
11
+ },
12
+ "files": [
13
+ "dist",
14
+ "!dist/**/*.test.*"
15
+ ],
5
16
  "publishConfig": {
6
- "registry": "https://registry.npmjs.org",
7
- "access": "public"
17
+ "access": "public",
18
+ "registry": "https://registry.npmjs.org/"
19
+ },
20
+ "engines": {
21
+ "node": ">=22.13.0"
22
+ },
23
+ "devDependencies": {
24
+ "@types/node": "^22.13.10",
25
+ "tsx": "^4.20.6",
26
+ "typescript": "^5.9.3"
8
27
  },
9
28
  "scripts": {
10
- "publish:skeleton": "pnpm publish --no-git-checks --access restricted"
29
+ "build": "tsc",
30
+ "test": "tsx --test 'src/**/*.test.ts'"
11
31
  }
12
32
  }