@genvidtech/audit-core 0.0.0 → 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,18 @@
1
+ MIT No Attribution License
2
+
3
+ Copyright 2026 Genvid Technologies, inc.
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
7
+ deal in the Software without restriction, including without limitation the
8
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
9
+ sell copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so.
11
+
12
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
17
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
18
+ IN THE SOFTWARE.
package/README.md CHANGED
@@ -1,45 +1,35 @@
1
1
  # @genvidtech/audit-core
2
2
 
3
- ## ⚠️ IMPORTANT NOTICE ⚠️
3
+ Shared audit mechanism for the gvt-dev and gvt-construct3 convention audits.
4
4
 
5
- **This package is created solely for the purpose of setting up OIDC (OpenID Connect) trusted publishing with npm.**
5
+ `@genvidtech/audit-core` is a **library**, not a CLI it declares no `bin`
6
+ entry and is not meant to be invoked with `npx`. Consumers import it as an
7
+ ES module.
6
8
 
7
- This is **NOT** a functional package and contains **NO** code or functionality beyond the OIDC setup configuration.
9
+ This is a standup placeholder release: the actual audit mechanism
10
+ implementation is tracked in
11
+ [GenvidTechnologies/claude-code-plugin-gvt-dev#457](https://github.com/GenvidTechnologies/claude-code-plugin-gvt-dev/issues/457)
12
+ and has not landed yet. `src/index.mjs` currently exports nothing beyond a
13
+ version marker.
8
14
 
9
- ## Purpose
15
+ ## Requirements
10
16
 
11
- This package exists to:
12
- 1. Configure OIDC trusted publishing for the package name `@genvidtech/audit-core`
13
- 2. Enable secure, token-less publishing from CI/CD workflows
14
- 3. Establish provenance for packages published under this name
17
+ Node.js >= 22.
15
18
 
16
- ## What is OIDC Trusted Publishing?
19
+ ## Package shape
17
20
 
18
- OIDC trusted publishing allows package maintainers to publish packages directly from their CI/CD workflows without needing to manage npm access tokens. Instead, it uses OpenID Connect to establish trust between the CI/CD provider (like GitHub Actions) and npm.
21
+ This is a no-build, plain-`.mjs` ESM package it ships its sources as
22
+ written, with no TypeScript build step and no `dist/` output. This
23
+ deliberately differs from its sibling leaf libraries,
24
+ [`@genvidtech/c3source`](https://github.com/GenvidTechnologies/c3source) and
25
+ [`@genvidtech/mcp-utils`](https://github.com/GenvidTechnologies/mcp-utils),
26
+ which are TypeScript packages that build to `dist/`. Type information for
27
+ consumers is provided by a hand-maintained `src/index.d.ts` alongside the
28
+ source.
19
29
 
20
- ## Setup Instructions
30
+ `@genvidtech/audit-core` is peer to `@genvidtech/c3source` and
31
+ `@genvidtech/mcp-utils` in the Genvid Technologies npm org.
21
32
 
22
- To properly configure OIDC trusted publishing for this package:
33
+ ## License
23
34
 
24
- 1. Go to [npmjs.com](https://www.npmjs.com/) and navigate to your package settings
25
- 2. Configure the trusted publisher (e.g., GitHub Actions)
26
- 3. Specify the repository and workflow that should be allowed to publish
27
- 4. Use the configured workflow to publish your actual package
28
-
29
- ## DO NOT USE THIS PACKAGE
30
-
31
- This package is a placeholder for OIDC configuration only. It:
32
- - Contains no executable code
33
- - Provides no functionality
34
- - Should not be installed as a dependency
35
- - Exists only for administrative purposes
36
-
37
- ## More Information
38
-
39
- For more details about npm's trusted publishing feature, see:
40
- - [npm Trusted Publishing Documentation](https://docs.npmjs.com/generating-provenance-statements)
41
- - [GitHub Actions OIDC Documentation](https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect)
42
-
43
- ---
44
-
45
- **Maintained for OIDC setup purposes only**
35
+ MIT-0. See [`LICENSE`](./LICENSE).
package/package.json CHANGED
@@ -1,10 +1,46 @@
1
1
  {
2
2
  "name": "@genvidtech/audit-core",
3
- "version": "0.0.0",
4
- "description": "OIDC trusted publishing setup package for @genvidtech/audit-core",
5
- "keywords": [
6
- "oidc",
7
- "trusted-publishing",
8
- "setup"
9
- ]
3
+ "version": "0.1.0",
4
+ "description": "Shared audit mechanism for the gvt-dev and gvt-construct3 convention audits",
5
+ "type": "module",
6
+ "main": "./src/index.mjs",
7
+ "types": "./src/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./src/index.d.ts",
11
+ "default": "./src/index.mjs"
12
+ }
13
+ },
14
+ "files": [
15
+ "src",
16
+ "LICENSE",
17
+ "README.md"
18
+ ],
19
+ "publishConfig": {
20
+ "access": "public"
21
+ },
22
+ "engines": {
23
+ "node": ">=22"
24
+ },
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "git+https://github.com/GenvidTechnologies/audit-core.git"
28
+ },
29
+ "license": "MIT-0",
30
+ "author": "Genvid Technologies, inc. <support@genvidtech.com>",
31
+ "scripts": {
32
+ "lint": "eslint .",
33
+ "typecheck": "tsc --noEmit",
34
+ "test": "node --test",
35
+ "build": "node -e \"console.log('no build step: audit-core ships plain .mjs sources')\""
36
+ },
37
+ "dependencies": {
38
+ "yaml": "^2.9.0"
39
+ },
40
+ "devDependencies": {
41
+ "@eslint/js": "^10.0.1",
42
+ "eslint": "^10.11.0",
43
+ "globals": "^17.12.0",
44
+ "typescript": "^7.0.2"
45
+ }
10
46
  }
package/src/index.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ // Hand-maintained declarations matching src/index.mjs exactly.
2
+
3
+ export declare const VERSION: string;
package/src/index.mjs ADDED
@@ -0,0 +1,8 @@
1
+ // Placeholder entry point for @genvidtech/audit-core.
2
+ //
3
+ // The shared audit mechanism this package will house is tracked in
4
+ // GenvidTechnologies/claude-code-plugin-gvt-dev#457. This file
5
+ // intentionally exports nothing beyond a version marker until that
6
+ // implementation lands.
7
+
8
+ export const VERSION = '0.1.0';