@lerx/promise-modal 0.12.0 → 0.12.1

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.
@@ -2,9 +2,9 @@
2
2
  "schemaVersion": 1,
3
3
  "package": {
4
4
  "name": "@lerx/promise-modal",
5
- "version": "0.12.0"
5
+ "version": "0.12.1"
6
6
  },
7
- "generatedAt": "2026-04-24T04:27:12.236Z",
7
+ "generatedAt": "2026-04-24T14:52:39.411Z",
8
8
  "algorithm": "sha256",
9
9
  "assetRoot": "docs/claude",
10
10
  "files": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lerx/promise-modal",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "Universal React modal utility that can be used outside React components with promise-based results for alert, confirm, and prompt modals",
5
5
  "keywords": [
6
6
  "react",
@@ -42,18 +42,14 @@
42
42
  "main": "dist/index.cjs",
43
43
  "module": "dist/index.mjs",
44
44
  "types": "dist/index.d.ts",
45
- "bin": {
46
- "claude-sync": "./bin/claude-sync.mjs"
47
- },
48
45
  "files": [
49
46
  "dist",
50
47
  "docs",
51
- "bin",
52
48
  "README.md"
53
49
  ],
54
50
  "scripts": {
55
51
  "build": "rollup -c && yarn build:types && yarn build:hashes",
56
- "build:hashes": "node scripts/build-hashes.mjs",
52
+ "build:hashes": "claude-build-hashes",
57
53
  "build:publish:npm": "yarn build && yarn publish:npm",
58
54
  "build:types": "node ../../aileron/script/build/buildTypes.mjs",
59
55
  "build-storybook": "storybook build",
@@ -71,10 +67,10 @@
71
67
  "version:patch": "yarn version patch"
72
68
  },
73
69
  "dependencies": {
74
- "@slats/claude-assets-sync": "^0.2.0",
75
- "@winglet/common-utils": "^0.12.0",
76
- "@winglet/react-utils": "^0.12.0",
77
- "@winglet/style-utils": "^0.12.0"
70
+ "@slats/claude-assets-sync": "^0.3.0",
71
+ "@winglet/common-utils": "^0.12.1",
72
+ "@winglet/react-utils": "^0.12.1",
73
+ "@winglet/style-utils": "^0.12.1"
78
74
  },
79
75
  "devDependencies": {
80
76
  "@types/react": "^19.0.0",
@@ -1,28 +0,0 @@
1
- #!/usr/bin/env node
2
- import { runCli } from '@slats/claude-assets-sync';
3
- import { readFile } from 'node:fs/promises';
4
- import { dirname, resolve } from 'node:path';
5
- import { fileURLToPath } from 'node:url';
6
-
7
- const packageRoot = resolve(dirname(fileURLToPath(import.meta.url)), '..');
8
- const pkg = JSON.parse(
9
- await readFile(resolve(packageRoot, 'package.json'), 'utf-8'),
10
- );
11
-
12
- if (typeof pkg.claude?.assetPath !== 'string') {
13
- process.stderr.write(
14
- `[claude-sync] missing or invalid "claude.assetPath" in ${resolve(packageRoot, 'package.json')}\n`,
15
- );
16
- process.exit(2);
17
- }
18
- await runCli(process.argv, {
19
- packageRoot,
20
- packageName: pkg.name,
21
- packageVersion: pkg.version,
22
- assetPath: pkg.claude.assetPath,
23
- }).catch((err) => {
24
- process.stderr.write(
25
- `[${pkg.name}] claude-sync failed: ${err instanceof Error ? err.message : String(err)}\n`,
26
- );
27
- process.exit(1);
28
- });