@produck/create-agent-toolkit 0.2.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.
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env node
2
+ import { spawnSync } from 'node:child_process';
3
+ import { createRequire } from 'node:module';
4
+ import { fileURLToPath } from 'node:url';
5
+ import path from 'node:path';
6
+
7
+ const require = createRequire(fileURLToPath(import.meta.url));
8
+ const agentToolkitRoot = path.dirname(require.resolve('@produck/agent-toolkit/package.json'));
9
+ const toolkitBin = path.join(agentToolkitRoot, 'bin', 'agent-toolkit.mjs');
10
+
11
+ const result = spawnSync(process.execPath, [toolkitBin, 'enforce-node-baseline', '--cwd', '.'], {
12
+ stdio: 'inherit',
13
+ cwd: process.cwd(),
14
+ });
15
+
16
+ process.exit(result.status ?? 0);
package/package.json ADDED
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "@produck/create-agent-toolkit",
3
+ "version": "0.2.0",
4
+ "description": "Bootstrap downstream repositories with the produck organization baseline",
5
+ "type": "module",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/produck/.github.git",
9
+ "directory": "packages/create-agent-toolkit"
10
+ },
11
+ "bin": {
12
+ "create-agent-toolkit": "bin/create-agent-toolkit.mjs"
13
+ },
14
+ "scripts": {
15
+ "pack:check": "npm pack --dry-run",
16
+ "produck:coverage": "c8@11.0.0 --reporter=lcov --reporter=html --reporter=text-summary npm test"
17
+ },
18
+ "files": [
19
+ "bin"
20
+ ],
21
+ "dependencies": {
22
+ "@produck/agent-toolkit": "^0.4.0"
23
+ },
24
+ "publishConfig": {
25
+ "access": "public"
26
+ },
27
+ "engines": {
28
+ "node": ">=18.0.0"
29
+ },
30
+ "license": "MIT",
31
+ "devDependencies": {
32
+ "c8": "11.0.0"
33
+ },
34
+ "gitHead": "c0aabcec12d70234cfc15cb741fe4ffcf5e4601e"
35
+ }