@slats/claude-assets-sync 0.0.2 → 0.0.3
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/dist/cli.cjs +8 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.mjs +7 -0
- package/dist/core/constants.d.ts +1 -1
- package/dist/core/syncMeta.d.ts +1 -1
- package/dist/index.cjs +4 -8
- package/dist/index.d.ts +0 -1
- package/dist/index.mjs +1 -10
- package/dist/version.cjs +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.mjs +1 -1
- package/package.json +2 -2
package/dist/cli.cjs
ADDED
package/dist/cli.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/cli.mjs
ADDED
package/dist/core/constants.d.ts
CHANGED
package/dist/core/syncMeta.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { PackageSyncInfo, UnifiedSyncMeta } from '../utils/types.js';
|
|
|
2
2
|
/**
|
|
3
3
|
* Schema version for the unified metadata format
|
|
4
4
|
*/
|
|
5
|
-
export declare const SCHEMA_VERSION: "0.0.
|
|
5
|
+
export declare const SCHEMA_VERSION: "0.0.3";
|
|
6
6
|
/**
|
|
7
7
|
* Read unified sync metadata from .claude/.sync-meta.json
|
|
8
8
|
*
|
package/dist/index.cjs
CHANGED
|
@@ -1,18 +1,14 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
1
|
'use strict';
|
|
3
2
|
|
|
4
|
-
var cli = require('./core/cli.cjs');
|
|
5
3
|
var sync = require('./core/sync.cjs');
|
|
4
|
+
var cli = require('./core/cli.cjs');
|
|
6
5
|
var migration = require('./core/migration.cjs');
|
|
7
6
|
|
|
8
|
-
cli.run().catch((error) => {
|
|
9
|
-
console.error('Fatal error:', error.message);
|
|
10
|
-
process.exit(1);
|
|
11
|
-
});
|
|
12
7
|
|
|
13
|
-
|
|
14
|
-
exports.run = cli.run;
|
|
8
|
+
|
|
15
9
|
exports.syncPackage = sync.syncPackage;
|
|
16
10
|
exports.syncPackages = sync.syncPackages;
|
|
11
|
+
exports.createProgram = cli.createProgram;
|
|
12
|
+
exports.run = cli.run;
|
|
17
13
|
exports.migrateToFlat = migration.migrateToFlat;
|
|
18
14
|
exports.needsMigration = migration.needsMigration;
|
package/dist/index.d.ts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { run } from './core/cli.mjs';
|
|
3
|
-
export { createProgram } from './core/cli.mjs';
|
|
4
1
|
export { syncPackage, syncPackages } from './core/sync.mjs';
|
|
2
|
+
export { createProgram, run } from './core/cli.mjs';
|
|
5
3
|
export { migrateToFlat, needsMigration } from './core/migration.mjs';
|
|
6
|
-
|
|
7
|
-
run().catch((error) => {
|
|
8
|
-
console.error('Fatal error:', error.message);
|
|
9
|
-
process.exit(1);
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
export { run };
|
package/dist/version.cjs
CHANGED
package/dist/version.d.ts
CHANGED
package/dist/version.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slats/claude-assets-sync",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "CLI tool to sync Claude commands and skills from npm packages to your project's .claude directory",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"main": "dist/index.cjs",
|
|
35
35
|
"module": "dist/index.mjs",
|
|
36
36
|
"types": "dist/index.d.ts",
|
|
37
|
-
"bin": "./dist/
|
|
37
|
+
"bin": "./dist/cli.mjs",
|
|
38
38
|
"files": [
|
|
39
39
|
"dist",
|
|
40
40
|
"README.md"
|