@shrkcrft/packs 0.1.0-alpha.2

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 SharkCraft contributors
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 ADDED
@@ -0,0 +1,15 @@
1
+ # @shrkcrft/packs
2
+
3
+ SharkCraft pack discovery + loading: scan node_modules for sharkcraft manifests and surface contributions.
4
+
5
+ Part of [SharkCraft](https://github.com/shrkcrft/sharkcraft) — a deterministic, local-first toolkit that gives AI coding agents durable project context. See the main repo for documentation, examples, and the `shrk` CLI.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ bun add @shrkcrft/packs
11
+ ```
12
+
13
+ ## License
14
+
15
+ MIT — see [LICENSE](./LICENSE).
@@ -0,0 +1,28 @@
1
+ import type { IPackDiscoveryResult } from '../model/pack-discovery.js';
2
+ export interface DiscoverPacksOptions {
3
+ /** Project root to look up node_modules in. Must be absolute. */
4
+ projectRoot: string;
5
+ /**
6
+ * Optional secondary roots to also scan (e.g. for tests that drop a pack
7
+ * outside node_modules). Each must contain a `node_modules` directory.
8
+ */
9
+ extraRoots?: readonly string[];
10
+ /** When true, surfaces detailed warnings even for "no manifest" packages. */
11
+ verbose?: boolean;
12
+ /**
13
+ * If true, every signed pack is verified against the SHARKCRAFT_PACK_SECRET
14
+ * env var (or {@link DiscoverPacksOptions.packSecret}). Unsigned packs are
15
+ * not penalized — verification is opt-in.
16
+ */
17
+ verifySignatures?: boolean;
18
+ /** Override the secret used for signature verification. */
19
+ packSecret?: string;
20
+ }
21
+ /**
22
+ * Walk `<projectRoot>/node_modules/` (+ any extra roots) and surface every
23
+ * package whose `package.json` declares a `sharkcraft` field. For each, load
24
+ * the manifest and run validatePackManifest. Returns a structured discovery
25
+ * result; never throws on individual pack failures.
26
+ */
27
+ export declare function discoverPacks(options: DiscoverPacksOptions): Promise<IPackDiscoveryResult>;
28
+ //# sourceMappingURL=discover-packs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"discover-packs.d.ts","sourceRoot":"","sources":["../../src/discovery/discover-packs.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAmB,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAqHxF,MAAM,WAAW,oBAAoB;IACnC,iEAAiE;IACjE,WAAW,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC/B,6EAA6E;IAC7E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;;GAKG;AACH,wBAAsB,aAAa,CAAC,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAoIhG"}
@@ -0,0 +1,251 @@
1
+ var __rewriteRelativeImportExtension = (this && this.__rewriteRelativeImportExtension) || function (path, preserveJsx) {
2
+ if (typeof path === "string" && /^\.\.?\//.test(path)) {
3
+ return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {
4
+ return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js");
5
+ });
6
+ }
7
+ return path;
8
+ };
9
+ import { existsSync, readdirSync, readFileSync, realpathSync } from 'node:fs';
10
+ import * as nodePath from 'node:path';
11
+ import { pathToFileURL } from 'node:url';
12
+ import { PACK_SECRET_ENV, validatePackManifest, verifyPackManifest, } from '@shrkcrft/plugin-api';
13
+ function readPackageJson(pkgPath) {
14
+ try {
15
+ return JSON.parse(readFileSync(pkgPath, 'utf8'));
16
+ }
17
+ catch {
18
+ return null;
19
+ }
20
+ }
21
+ function resolveManifestPath(packageRoot, manifestField) {
22
+ if (typeof manifestField === 'string') {
23
+ return nodePath.resolve(packageRoot, manifestField);
24
+ }
25
+ if (manifestField && typeof manifestField === 'object') {
26
+ const m = manifestField.manifest;
27
+ if (typeof m === 'string')
28
+ return nodePath.resolve(packageRoot, m);
29
+ }
30
+ return null;
31
+ }
32
+ function emptyCounts() {
33
+ return {
34
+ knowledgeFiles: 0,
35
+ ruleFiles: 0,
36
+ pathFiles: 0,
37
+ templateFiles: 0,
38
+ pipelineFiles: 0,
39
+ docsFiles: 0,
40
+ presetFiles: 0,
41
+ scaffoldPatternFiles: 0,
42
+ policyCheckFiles: 0,
43
+ constructFiles: 0,
44
+ constructFacetFiles: 0,
45
+ playbookFiles: 0,
46
+ };
47
+ }
48
+ function countContributions(c) {
49
+ const out = emptyCounts();
50
+ if (!c)
51
+ return out;
52
+ out.knowledgeFiles = c.knowledgeFiles?.length ?? 0;
53
+ out.ruleFiles = c.ruleFiles?.length ?? 0;
54
+ out.pathFiles = c.pathFiles?.length ?? 0;
55
+ out.templateFiles = c.templateFiles?.length ?? 0;
56
+ out.pipelineFiles = c.pipelineFiles?.length ?? 0;
57
+ out.docsFiles = c.docsFiles?.length ?? 0;
58
+ out.presetFiles = c.presetFiles?.length ?? 0;
59
+ out.scaffoldPatternFiles = c.scaffoldPatternFiles?.length ?? 0;
60
+ out.policyCheckFiles = c.policyCheckFiles?.length ?? 0;
61
+ out.constructFiles = c.constructFiles?.length ?? 0;
62
+ out.constructFacetFiles = c.constructFacetFiles?.length ?? 0;
63
+ out.playbookFiles = c.playbookFiles?.length ?? 0;
64
+ return out;
65
+ }
66
+ /**
67
+ * Yield every package.json under node_modules (top-level + first-level
68
+ * @scope/* entries). Skips the .bin / .cache / .pnpm-style internals and
69
+ * common nested node_modules to avoid recursion blow-up.
70
+ */
71
+ function* scanNodeModules(nodeModulesPath) {
72
+ let entries;
73
+ try {
74
+ entries = readdirSync(nodeModulesPath, { withFileTypes: true });
75
+ }
76
+ catch {
77
+ return;
78
+ }
79
+ for (const entry of entries) {
80
+ const name = String(entry.name);
81
+ if (name.startsWith('.'))
82
+ continue;
83
+ if (name === 'node_modules')
84
+ continue;
85
+ const dir = nodePath.join(nodeModulesPath, name);
86
+ let isDir = false;
87
+ try {
88
+ isDir = entry.isDirectory() || entry.isSymbolicLink();
89
+ }
90
+ catch {
91
+ isDir = false;
92
+ }
93
+ if (!isDir)
94
+ continue;
95
+ if (name.startsWith('@')) {
96
+ // Scoped package directory: recurse one level.
97
+ let scoped;
98
+ try {
99
+ scoped = readdirSync(dir, { withFileTypes: true });
100
+ }
101
+ catch {
102
+ continue;
103
+ }
104
+ for (const scopedEntry of scoped) {
105
+ const scopedName = String(scopedEntry.name);
106
+ if (scopedName.startsWith('.'))
107
+ continue;
108
+ const packageRoot = nodePath.join(dir, scopedName);
109
+ const packageJsonPath = nodePath.join(packageRoot, 'package.json');
110
+ if (existsSync(packageJsonPath)) {
111
+ yield { packageRoot, packageJsonPath };
112
+ }
113
+ }
114
+ }
115
+ else {
116
+ const packageJsonPath = nodePath.join(dir, 'package.json');
117
+ if (existsSync(packageJsonPath)) {
118
+ yield { packageRoot: dir, packageJsonPath };
119
+ }
120
+ }
121
+ }
122
+ }
123
+ /**
124
+ * Walk `<projectRoot>/node_modules/` (+ any extra roots) and surface every
125
+ * package whose `package.json` declares a `sharkcraft` field. For each, load
126
+ * the manifest and run validatePackManifest. Returns a structured discovery
127
+ * result; never throws on individual pack failures.
128
+ */
129
+ export async function discoverPacks(options) {
130
+ const projectRoot = nodePath.resolve(options.projectRoot);
131
+ const nodeModulesPath = nodePath.join(projectRoot, 'node_modules');
132
+ const nodeModulesExists = existsSync(nodeModulesPath);
133
+ const result = {
134
+ projectRoot,
135
+ nodeModulesPath,
136
+ nodeModulesExists,
137
+ scannedPackageCount: 0,
138
+ discoveredPacks: [],
139
+ validPacks: [],
140
+ invalidPacks: [],
141
+ warnings: [],
142
+ };
143
+ const roots = [
144
+ ...(nodeModulesExists ? [nodeModulesPath] : []),
145
+ ...(options.extraRoots ?? []).map((r) => nodePath.resolve(r)),
146
+ ];
147
+ if (roots.length === 0) {
148
+ result.warnings.push(`No node_modules at ${nodeModulesPath} and no extra roots provided.`);
149
+ return result;
150
+ }
151
+ const seenPackagePaths = new Set();
152
+ for (const root of roots) {
153
+ for (const { packageRoot, packageJsonPath } of scanNodeModules(root)) {
154
+ // Dedup by realpath so workspace symlinks aren't visited twice.
155
+ let canonical = packageRoot;
156
+ try {
157
+ canonical = realpathSync(packageRoot);
158
+ }
159
+ catch {
160
+ // ignore — use the original path
161
+ }
162
+ if (seenPackagePaths.has(canonical))
163
+ continue;
164
+ seenPackagePaths.add(canonical);
165
+ result.scannedPackageCount += 1;
166
+ const pkg = readPackageJson(packageJsonPath);
167
+ if (!pkg)
168
+ continue;
169
+ if (pkg.sharkcraft === undefined)
170
+ continue;
171
+ const manifestPath = resolveManifestPath(packageRoot, pkg.sharkcraft);
172
+ const packageName = pkg.name ?? '<unnamed>';
173
+ const packageVersion = pkg.version ?? '0.0.0';
174
+ const discovered = {
175
+ packageName,
176
+ packageVersion,
177
+ manifestPath: manifestPath ?? '',
178
+ packageRoot,
179
+ contributionCounts: emptyCounts(),
180
+ validationIssues: [],
181
+ valid: false,
182
+ };
183
+ if (!manifestPath) {
184
+ discovered.loadError = 'manifest path could not be resolved from package.json';
185
+ result.discoveredPacks.push(discovered);
186
+ result.invalidPacks.push(discovered);
187
+ continue;
188
+ }
189
+ if (!existsSync(manifestPath)) {
190
+ discovered.loadError = `manifest file does not exist: ${manifestPath}`;
191
+ result.discoveredPacks.push(discovered);
192
+ result.invalidPacks.push(discovered);
193
+ continue;
194
+ }
195
+ try {
196
+ let manifest;
197
+ if (manifestPath.endsWith('.json')) {
198
+ // Signed JSON manifest path. Never dynamic-import — JSON is data, not
199
+ // code, and treating it as code defeats the point of signing.
200
+ const raw = readFileSync(manifestPath, 'utf8');
201
+ manifest = JSON.parse(raw);
202
+ }
203
+ else {
204
+ const mod = (await import(__rewriteRelativeImportExtension(pathToFileURL(manifestPath).href)));
205
+ manifest = (mod.default ?? mod);
206
+ }
207
+ if (!manifest) {
208
+ discovered.loadError = 'manifest module has no default export';
209
+ }
210
+ else {
211
+ discovered.manifest = manifest;
212
+ discovered.contributionCounts = countContributions(manifest.contributions);
213
+ const v = validatePackManifest(manifest);
214
+ discovered.validationIssues = v.issues;
215
+ discovered.valid = v.valid;
216
+ if (options.verifySignatures) {
217
+ const verifyResult = verifyPackManifest(manifest, { secret: options.packSecret });
218
+ discovered.signatureStatus = verifyResult.ok ? 'verified' : verifyResult.status;
219
+ discovered.signatureMessage = verifyResult.ok
220
+ ? 'Signature verified.'
221
+ : verifyResult.message;
222
+ if (!verifyResult.ok && verifyResult.status === 'invalid-signature') {
223
+ // Tampered manifest — strip validity.
224
+ discovered.valid = false;
225
+ discovered.validationIssues.push({
226
+ field: 'signature',
227
+ message: 'Signature does not match — pack may have been tampered with.',
228
+ });
229
+ }
230
+ }
231
+ else if (manifest.signature) {
232
+ discovered.signatureStatus = 'not-checked';
233
+ discovered.signatureMessage = `Signed but not verified. Set ${PACK_SECRET_ENV} and run packs verify.`;
234
+ }
235
+ }
236
+ }
237
+ catch (e) {
238
+ discovered.loadError = `failed to import manifest: ${e.message}`;
239
+ }
240
+ result.discoveredPacks.push(discovered);
241
+ if (discovered.valid)
242
+ result.validPacks.push(discovered);
243
+ else
244
+ result.invalidPacks.push(discovered);
245
+ if (!discovered.valid && options.verbose) {
246
+ result.warnings.push(`pack ${packageName}@${packageVersion} invalid: ${discovered.loadError ?? discovered.validationIssues.map((i) => i.field).join(', ')}`);
247
+ }
248
+ }
249
+ }
250
+ return result;
251
+ }
@@ -0,0 +1,3 @@
1
+ export * from './model/pack-discovery.js';
2
+ export * from './discovery/discover-packs.js';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from "./model/pack-discovery.js";
2
+ export * from "./discovery/discover-packs.js";
@@ -0,0 +1,73 @@
1
+ import type { ISharkCraftPackManifest } from '@shrkcrft/plugin-api';
2
+ export interface IDiscoveredPack {
3
+ /** Published package name (from package.json). */
4
+ packageName: string;
5
+ packageVersion: string;
6
+ /** Resolved absolute path to the loaded manifest file. */
7
+ manifestPath: string;
8
+ /** Absolute path to the package's root. */
9
+ packageRoot: string;
10
+ /** Parsed manifest, if it loaded. */
11
+ manifest?: ISharkCraftPackManifest;
12
+ /** Number of contribution **files** of each kind. Zero if not declared. */
13
+ contributionCounts: {
14
+ knowledgeFiles: number;
15
+ ruleFiles: number;
16
+ pathFiles: number;
17
+ templateFiles: number;
18
+ pipelineFiles: number;
19
+ docsFiles: number;
20
+ presetFiles: number;
21
+ scaffoldPatternFiles: number;
22
+ policyCheckFiles: number;
23
+ constructFiles: number;
24
+ constructFacetFiles: number;
25
+ playbookFiles: number;
26
+ };
27
+ /**
28
+ * Number of **resolved objects** loaded from this pack's contributions, after
29
+ * de-duplication against local entries and inside the pack. Populated by the
30
+ * inspector after pack discovery completes. Zero when discovery ran in
31
+ * isolation (no contribution loading).
32
+ */
33
+ resolvedCounts?: {
34
+ knowledgeEntries: number;
35
+ rules: number;
36
+ pathConventions: number;
37
+ templates: number;
38
+ pipelines: number;
39
+ docs: number;
40
+ presets: number;
41
+ scaffoldPatterns: number;
42
+ policyChecks: number;
43
+ };
44
+ /** Validation issues from validatePackManifest. */
45
+ validationIssues: Array<{
46
+ field: string;
47
+ message: string;
48
+ }>;
49
+ /** Manifest-level load error message, if any. */
50
+ loadError?: string;
51
+ /** True if the manifest loaded and validated cleanly. */
52
+ valid: boolean;
53
+ /** Signature verification status, when applicable. */
54
+ signatureStatus?: 'verified' | 'invalid-signature' | 'missing-signature' | 'missing-secret' | 'not-checked';
55
+ /** Free-form message accompanying the signature status. */
56
+ signatureMessage?: string;
57
+ }
58
+ export interface IPackDiscoveryResult {
59
+ projectRoot: string;
60
+ /** node_modules directory scanned. May be missing. */
61
+ nodeModulesPath: string;
62
+ nodeModulesExists: boolean;
63
+ /** Total number of package.json files we inspected. */
64
+ scannedPackageCount: number;
65
+ /** Packs that have a manifest field (valid or not). */
66
+ discoveredPacks: IDiscoveredPack[];
67
+ /** Convenience subsets. */
68
+ validPacks: IDiscoveredPack[];
69
+ invalidPacks: IDiscoveredPack[];
70
+ /** Free-form warnings during discovery. */
71
+ warnings: string[];
72
+ }
73
+ //# sourceMappingURL=pack-discovery.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pack-discovery.d.ts","sourceRoot":"","sources":["../../src/model/pack-discovery.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAEpE,MAAM,WAAW,eAAe;IAC9B,kDAAkD;IAClD,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,0DAA0D;IAC1D,YAAY,EAAE,MAAM,CAAC;IACrB,2CAA2C;IAC3C,WAAW,EAAE,MAAM,CAAC;IACpB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,uBAAuB,CAAC;IACnC,2EAA2E;IAC3E,kBAAkB,EAAE;QAClB,cAAc,EAAE,MAAM,CAAC;QACvB,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;QAClB,aAAa,EAAE,MAAM,CAAC;QACtB,aAAa,EAAE,MAAM,CAAC;QACtB,SAAS,EAAE,MAAM,CAAC;QAClB,WAAW,EAAE,MAAM,CAAC;QACpB,oBAAoB,EAAE,MAAM,CAAC;QAC7B,gBAAgB,EAAE,MAAM,CAAC;QACzB,cAAc,EAAE,MAAM,CAAC;QACvB,mBAAmB,EAAE,MAAM,CAAC;QAC5B,aAAa,EAAE,MAAM,CAAC;KACvB,CAAC;IACF;;;;;OAKG;IACH,cAAc,CAAC,EAAE;QACf,gBAAgB,EAAE,MAAM,CAAC;QACzB,KAAK,EAAE,MAAM,CAAC;QACd,eAAe,EAAE,MAAM,CAAC;QACxB,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;QAClB,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;QAChB,gBAAgB,EAAE,MAAM,CAAC;QACzB,YAAY,EAAE,MAAM,CAAC;KACtB,CAAC;IACF,mDAAmD;IACnD,gBAAgB,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC5D,iDAAiD;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yDAAyD;IACzD,KAAK,EAAE,OAAO,CAAC;IACf,sDAAsD;IACtD,eAAe,CAAC,EACZ,UAAU,GACV,mBAAmB,GACnB,mBAAmB,GACnB,gBAAgB,GAChB,aAAa,CAAC;IAClB,2DAA2D;IAC3D,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,oBAAoB;IACnC,WAAW,EAAE,MAAM,CAAC;IACpB,sDAAsD;IACtD,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,uDAAuD;IACvD,mBAAmB,EAAE,MAAM,CAAC;IAC5B,uDAAuD;IACvD,eAAe,EAAE,eAAe,EAAE,CAAC;IACnC,2BAA2B;IAC3B,UAAU,EAAE,eAAe,EAAE,CAAC;IAC9B,YAAY,EAAE,eAAe,EAAE,CAAC;IAChC,2CAA2C;IAC3C,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB"}
@@ -0,0 +1 @@
1
+ export {};
package/package.json ADDED
@@ -0,0 +1,51 @@
1
+ {
2
+ "name": "@shrkcrft/packs",
3
+ "version": "0.1.0-alpha.2",
4
+ "description": "SharkCraft pack discovery + loading: scan node_modules for sharkcraft manifests and surface contributions.",
5
+ "license": "MIT",
6
+ "author": "SharkCraft contributors",
7
+ "type": "module",
8
+ "main": "./dist/index.js",
9
+ "types": "./dist/index.d.d.ts",
10
+ "exports": {
11
+ ".": {
12
+ "types": "./dist/index.d.ts",
13
+ "bun": "./src/index.ts",
14
+ "import": "./dist/index.js",
15
+ "default": "./dist/index.js"
16
+ }
17
+ },
18
+ "files": [
19
+ "dist",
20
+ "README.md",
21
+ "LICENSE"
22
+ ],
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "git+https://github.com/shrkcrft/sharkcraft.git",
26
+ "directory": "packages/packs"
27
+ },
28
+ "homepage": "https://github.com/shrkcrft/sharkcraft",
29
+ "bugs": {
30
+ "url": "https://github.com/shrkcrft/sharkcraft/issues"
31
+ },
32
+ "keywords": [
33
+ "sharkcraft",
34
+ "packs",
35
+ "discovery"
36
+ ],
37
+ "engines": {
38
+ "bun": ">=1.1.0",
39
+ "node": ">=18"
40
+ },
41
+ "scripts": {
42
+ "typecheck": "tsc --noEmit -p tsconfig.json"
43
+ },
44
+ "dependencies": {
45
+ "@shrkcrft/core": "^0.1.0-alpha.2",
46
+ "@shrkcrft/plugin-api": "^0.1.0-alpha.2"
47
+ },
48
+ "publishConfig": {
49
+ "access": "public"
50
+ }
51
+ }