@junnyontop-pixel/neo-app 2.6.0 → 3.0.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.
package/compiler/main.js CHANGED
@@ -1,5 +1,6 @@
1
1
  import { NeoParser } from './NeoParser.js';
2
2
  import { NeoCore } from '../core/NeoCore.js';
3
+ import { Store } from '../src/store.js';
3
4
 
4
5
  let currentPath = 'App.neo';
5
6
 
package/index.html CHANGED
@@ -11,8 +11,7 @@
11
11
 
12
12
  <!-- 유저 로직 (ESM) -->
13
13
  <script type="module">
14
- import './src/state.js';
15
- import './src/actions.js';
14
+ import './src/store.js';
16
15
  </script>
17
16
 
18
17
  <!-- Neo 런타임 -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@junnyontop-pixel/neo-app",
3
- "version": "2.6.0",
3
+ "version": "3.0.0",
4
4
  "description": "나만의 커스텀 프레임워크 Neo",
5
5
  "main": "core/NeoCore.js",
6
6
  "type": "module",
@@ -1,14 +1,14 @@
1
1
  export const Store = {
2
2
  // 1. 유저 정보 ($Store.user.name)
3
3
  user: {
4
- name: "안유준"
4
+ name: "Neo"
5
5
  },
6
6
 
7
7
  // 2. 할 일 목록 (::for(todo in Store.todoList) 에서 쓰임)
8
8
  todoList: [
9
9
  { text: "Neo 프레임워크 v2.6.0 파서 완성", completed: true },
10
10
  { text: "::for 루프 데이터 바인딩 로직 구현", completed: false },
11
- { text: "락토프리 간식 먹으면서 쉬기", completed: false }
11
+ { text: " 추가 기능 구현", completed: false }
12
12
  ],
13
13
 
14
14
  // 3. 할 일을 추가하는 기능 (나중에 버튼 만들면 쓸 수 있게!)
@@ -26,4 +26,6 @@ export const Store = {
26
26
  window.__neoRender();
27
27
  }
28
28
  }
29
- };
29
+ };
30
+
31
+ window.Store = Store; // 전역에서 Store 접근 가능하도록
package/src/actions.js DELETED
@@ -1,3 +0,0 @@
1
- import { Store } from './state.js';
2
-
3
- window.Store = Store;