sfqa-scar 0.0.0-stage → 0.1.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.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Vaishali Desarda
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,15 @@
1
- # Temporary Holding Version
1
+ # sfqa-scar
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ This package is an alias for [`@sfqa/scar`](https://www.npmjs.com/package/@sfqa/scar).
4
+ It exists so that `npx sfqa-scar` works without typing the scope. It contains no
5
+ code of its own beyond a launcher that runs `@sfqa/scar` with your arguments.
6
+
7
+ ```bash
8
+ npx sfqa-scar . # scan the current directory
9
+ npm install -D @sfqa/scar # or install the real package
10
+ ```
11
+
12
+ Documentation, rules, the proof and the source live in the main repository:
13
+ https://github.com/desardavaishali/sfqa-scar
14
+
15
+ MIT.
@@ -0,0 +1,25 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';
3
+
4
+ // This package is an alias. It holds no logic of its own: it finds the installed
5
+ // @sfqa/scar and runs its CLI with the same arguments, stdio and exit code.
6
+
7
+ const { spawnSync } = require('node:child_process');
8
+ const { createRequire } = require('node:module');
9
+ const { dirname, join } = require('node:path');
10
+
11
+ let cli;
12
+ try {
13
+ const manifest = createRequire(__filename).resolve('@sfqa/scar/package.json');
14
+ cli = join(dirname(manifest), 'dist', 'cli.js');
15
+ } catch {
16
+ console.error('sfqa-scar: could not find @sfqa/scar. Reinstall with: npm install -D @sfqa/scar');
17
+ process.exit(2);
18
+ }
19
+
20
+ const result = spawnSync(process.execPath, [cli, ...process.argv.slice(2)], { stdio: 'inherit' });
21
+ if (result.error) {
22
+ console.error(`sfqa-scar: ${result.error.message}`);
23
+ process.exit(2);
24
+ }
25
+ process.exit(result.status === null ? 1 : result.status);
package/package.json CHANGED
@@ -1,6 +1,42 @@
1
1
  {
2
2
  "name": "sfqa-scar",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0",
4
+ "description": "Alias for @sfqa/scar, so `npx sfqa-scar` works. Review code against a test suite's scar tissue: past failures, encoded as declarative rules.",
5
+ "license": "MIT",
6
+ "author": "Vaishali Desarda",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/desardavaishali/sfqa-scar.git",
10
+ "directory": "packages/alias"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/desardavaishali/sfqa-scar/issues"
14
+ },
15
+ "homepage": "https://github.com/desardavaishali/sfqa-scar#readme",
16
+ "engines": {
17
+ "node": ">=20"
18
+ },
19
+ "bin": {
20
+ "sfqa-scar": "bin/sfqa-scar.js"
21
+ },
22
+ "files": [
23
+ "bin",
24
+ "README.md",
25
+ "LICENSE"
26
+ ],
27
+ "dependencies": {
28
+ "@sfqa/scar": "^0.1.0"
29
+ },
30
+ "publishConfig": {
31
+ "access": "public"
32
+ },
33
+ "keywords": [
34
+ "salesforce",
35
+ "scar-tissue",
36
+ "code-review",
37
+ "lint",
38
+ "testing",
39
+ "qa",
40
+ "playwright"
41
+ ]
42
+ }