41f34fcb78
0.0.2
Publish to npm / quality (push) Successful in 27s
Publish to npm / publish (push) Successful in 24s
2025-05-16 20:19:38 +10:00
d68f190a44
Merge pull request 'Add Biome for lint and code quality check' ( #2 ) from dev into main
...
Publish to npm / quality (push) Waiting to run
Publish to npm / publish (push) Blocked by required conditions
Reviewed-on: #2
2025-05-16 10:18:54 +00:00
7a55cdc92e
chore: add new npm command for code quality check
Publish to npm / quality (push) Successful in 22s
Publish to npm / publish (push) Successful in 30s
2025-05-16 19:56:05 +10:00
d5562a4d42
chore: CI/CD publish requires quality check
Publish to npm / quality (push) Failing after 29s
Publish to npm / publish (push) Has been skipped
2025-05-16 19:52:26 +10:00
7c7e0e1cf2
chore: fix linting
2025-05-16 19:50:13 +10:00
a8b1a1512d
chore: linting the files
2025-05-16 19:48:50 +10:00
14c6c0a1ab
chore: intergrate Biome for check code linting issue
Publish to npm / quality (push) Failing after 16s
Publish to npm / publish (push) Successful in 26s
2025-05-16 19:43:42 +10:00
55f07fb562
Merge branch 'feat/biome_linter'
Publish to npm / publish (push) Successful in 35s
2025-05-16 19:36:00 +10:00
fcbee7c0b2
fix: replace “any” type declaration with “unknown” or other specific type
2025-05-16 19:35:06 +10:00
b1dc96783a
fix: improve readability by simplifying conditional statements and replacing forEach with for-of loops
2025-05-16 16:51:52 +10:00
aae4a85a49
fix: enhance readability by replacing forEach with for-of loops in rendering logic
2025-05-16 16:19:45 +10:00
75a37043b7
fix: optimize iteration methods and improve readability in state management
2025-05-16 16:11:18 +10:00
0e22cbf130
fix: streamline state retrieval logic by removing unnecessary else blocks
2025-05-16 16:04:09 +10:00
ba82252dd7
fix: simplify state update event triggering with optional chaining
2025-05-16 16:03:15 +10:00
0ce566f502
fix: refine type definitions and improve loop constructs for better clarity
2025-05-16 16:02:26 +10:00
afff93196a
chore: turn explicitly any declare check off to better focusing on other issues
2025-05-16 15:52:11 +10:00
4def8050a1
feat: add biome configuration and update dependencies
...
- Introduced a new `biome.json` configuration file for Biome setup.
- Added `@biomejs/biome` as a development dependency in `package.json` and `package-lock.json`.
- Updated `main.ts` to improve code formatting and readability by adjusting indentation and line breaks.
- Enhanced state management and event handling within the component to ensure better performance and maintainability.
2025-05-16 15:45:12 +10:00
5924ca480d
Merge pull request 'dev' ( #1 ) from dev into main
...
Publish to npm / publish (push) Successful in 24s
Reviewed-on: #1
2025-05-16 02:01:41 +00:00
3521ee0cbf
0.0.1
Publish to npm / publish (push) Successful in 23s
2025-05-16 12:01:05 +10:00
5847615a17
chore: update build process and configuration
...
Publish to npm / publish (push) Successful in 23s
- Changed main entry point to "dist/main.min.js" and updated types to "dist/types.d.ts" in package.json.
- Added Rollup configuration for bundling and minifying the output JavaScript and generating type definitions.
- Updated build script to include Rollup and cleanup intermediate files.
- Specified output directory for declaration files in tsconfig.json.
- Added necessary development dependencies for Rollup and TypeScript.
2025-05-16 12:00:16 +10:00
918823afce
Add .npmignore to exclude src/ and .gitea directories
Publish to npm / publish (push) Successful in 17s
2025-05-16 10:47:15 +10:00
19bc4ca600
Add Gitea Actions workflow for publishing to npm
Publish to npm / publish (push) Successful in 18s
2025-05-16 10:34:12 +10:00
10e733eae1
Fix formatting in README for clarity
2025-05-16 10:25:55 +10:00
417da02f39
Merge branch 'main' of git.nas.astrian.moe:Astrian/Laterano
2025-05-15 16:41:41 +10:00
fec7d6ef29
Fix typo in Laterano description: correct "Lateran" to "Lateranian"
2025-05-15 16:41:39 +10:00
c2691d11d2
Add license
2025-05-15 06:34:13 +00:00
a36fd4a2f9
Add prepare script to package.json for build automation
2025-05-15 16:32:21 +10:00
5098c74c90
Update README: specify sample code context for a simple to-do app
2025-05-15 16:30:39 +10:00
2e198110cd
Update README: enhance usage instructions and add sample code for component integration
2025-05-15 16:30:23 +10:00
f577942298
Add initial README content: introduce Laterano framework
2025-05-15 16:15:27 +10:00
b420684b3f
Enhance list rendering: add error handling for placeholder's parent node and improve DOM item detachment
2025-05-15 15:49:12 +10:00
8257f64a76
Refactor state management: streamline dependency relationship setup for state paths in text node updates
2025-05-15 15:16:16 +10:00
77229cd4b0
Refactor ComponentOptions: replace events with funcs for event handling and enhance getState method for nested state retrieval
2025-05-15 15:04:01 +10:00
1afae00c45
Refactor %for macro handling: dynamically bind key attribute and remove original %key attribute
2025-05-15 14:30:37 +10:00
719853d2d1
Enhance %for macro handling: optimize DOM updates by using a document fragment for list rendering
2025-05-15 14:26:33 +10:00
7ca68b88a4
Enhance %for macro handling: improve collection evaluation and item context processing for nested lists
2025-05-15 14:18:20 +10:00
42aa5a1d75
Refactor %for macro handling: improve list rendering logic and key expression evaluation
2025-05-15 13:52:44 +10:00
89bb2ea27d
Fix typos in macro handling comments and method names for consistency
2025-05-15 13:51:57 +10:00
59e5124c14
Refactor %for macro handling: remove key attribute requirement and streamline list rendering logic
2025-05-15 13:48:02 +10:00
7f818b5324
Enhance macro handling: implement %for macro with key attribute validation and improve list rendering logic
2025-05-15 13:45:43 +10:00
6f3d40754a
Enhance condition rendering: defer processing of %if directives until after initial DOM traversal
2025-05-15 12:40:06 +10:00
4a7737c74f
Enhance condition rendering: trigger updates for %if macros and improve setup logic
2025-05-15 10:23:41 +10:00
723110efab
Remove debug log from two-way binding setup in CustomElement
2025-05-15 10:09:07 +10:00
943678b4f3
Enhance template processing: implement macro handling for condition rendering and two-way data binding
2025-05-15 10:07:35 +10:00
45af436648
Refactor attribute binding logic: streamline detection of bindings and improve handling of non-standard attributes
2025-05-15 09:14:24 +10:00
ae48c89291
Enhance arrow function handler: improve syntax validation and parameter formatting for better error handling
2025-05-14 22:08:50 +10:00
e9ddbcdf47
Refactor event handler setup: improve arrow function and function call handling, enhance error logging
2025-05-14 21:57:38 +10:00
c44c9fc2c0
Add event handling support in ComponentOptions and implement event binding logic in CustomElement
2025-05-14 21:54:17 +10:00
841f02bb38
Enhance state management in CustomElement: add state listeners, improve DOM update logic, and implement text and attribute binding mechanisms
2025-05-14 20:48:30 +10:00
b9cb3f455c
Add statesListeners to ComponentOptions and trigger state update events in setState
2025-05-14 16:25:51 +10:00