@shiodome47/planner 0.1.0 → 0.3.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,6 @@
1
+ /** この端末だけに覚えておく小さな値(使えない環境・private モードでも止まらない) */
2
+ export declare const safeLocalStore: {
3
+ get(key: string): string | null;
4
+ set(key: string, value: string): void;
5
+ remove(key: string): void;
6
+ };
@@ -0,0 +1,5 @@
1
+ import type { Changes } from '../core';
2
+ /** 画面が変更を渡す先(保存はアプリが行う) */
3
+ export interface PlannerStore {
4
+ apply: (changes: Changes) => unknown;
5
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shiodome47/planner",
3
- "version": "0.1.0",
4
- "description": "時間軸(今日・今週・数か月・今年)とプロジェクトの部品。まずは土台(データの形と決まりごと。画面なし)から",
3
+ "version": "0.3.0",
4
+ "description": "時間軸(今日・今週・数か月・今年)とプロジェクトの部品。土台(データの形と決まりごと)と、時間軸・プロジェクトの画面(React)",
5
5
  "keywords": [
6
6
  "planner",
7
7
  "todo",
@@ -27,9 +27,20 @@
27
27
  "./core": {
28
28
  "types": "./dist/core/index.d.ts",
29
29
  "import": "./dist/core.js"
30
- }
30
+ },
31
+ "./timeline": {
32
+ "types": "./dist/timeline/index.d.ts",
33
+ "import": "./dist/timeline.js"
34
+ },
35
+ "./projects": {
36
+ "types": "./dist/projects/index.d.ts",
37
+ "import": "./dist/projects.js"
38
+ },
39
+ "./style.css": "./dist/style.css"
31
40
  },
32
- "sideEffects": false,
41
+ "sideEffects": [
42
+ "**/*.css"
43
+ ],
33
44
  "publishConfig": {
34
45
  "access": "public"
35
46
  },
@@ -39,5 +50,16 @@
39
50
  "test": "vitest run",
40
51
  "test:watch": "vitest",
41
52
  "prepublishOnly": "npm run typecheck && npm test && npm run build"
53
+ },
54
+ "peerDependencies": {
55
+ "react": "^18.0.0 || ^19.0.0",
56
+ "react-dom": "^18.0.0 || ^19.0.0"
57
+ },
58
+ "dependencies": {
59
+ "@dnd-kit/core": "^6.3.1",
60
+ "@dnd-kit/sortable": "^10.0.0",
61
+ "@dnd-kit/utilities": "^3.2.2",
62
+ "linkshelf": "^0.9.1",
63
+ "lucide-react": "^1.73.0"
42
64
  }
43
65
  }