From c268c32303663d2c81e901090640f78e4843774e Mon Sep 17 00:00:00 2001 From: superlucky84 Date: Sat, 21 Sep 2024 01:53:09 +0900 Subject: [PATCH] chore: version up 1.12.0 --- README.md | 30 ++++++++++++++--------------- lithentDocs/src/pages/install.tsx | 32 +++++++++++++++---------------- package.json | 2 +- 3 files changed, 32 insertions(+), 32 deletions(-) diff --git a/README.md b/README.md index ed26225..f18642c 100644 --- a/README.md +++ b/README.md @@ -78,14 +78,14 @@ pnpm add lithent #### Or Use CDN -* UMD : https://cdn.jsdelivr.net/npm/lithent@1.11.2/dist/lithent.umd.js -* UMD-HELPER: https://cdn.jsdelivr.net/npm/lithent@1.11.2/helper/dist/lithentHelper.umd.js -* UMD-FTAGS: https://cdn.jsdelivr.net/npm/lithent@1.11.2/ftags/dist/lithentFTags.umd.js -* UMD-TAG: https://cdn.jsdelivr.net/npm/lithent@1.11.2/tag/dist/lithentTag.umd.js -* ESM : https://cdn.jsdelivr.net/npm/lithent@1.11.2/dist/lithent.mjs -* ESM-HELPER: https://cdn.jsdelivr.net/npm/lithent@1.11.2/helper/dist/lithentHelper.mjs -* ESM-FTAGS: https://cdn.jsdelivr.net/npm/lithent@1.11.2/ftags/dist/lithentFTags.mjs -* ESM-TAG: https://cdn.jsdelivr.net/npm/lithent@1.11.2/tag/dist/lithentTag.mjs +* UMD : https://cdn.jsdelivr.net/npm/lithent@1.12.0/dist/lithent.umd.js +* UMD-HELPER: https://cdn.jsdelivr.net/npm/lithent@1.12.0/helper/dist/lithentHelper.umd.js +* UMD-FTAGS: https://cdn.jsdelivr.net/npm/lithent@1.12.0/ftags/dist/lithentFTags.umd.js +* UMD-TAG: https://cdn.jsdelivr.net/npm/lithent@1.12.0/tag/dist/lithentTag.umd.js +* ESM : https://cdn.jsdelivr.net/npm/lithent@1.12.0/dist/lithent.mjs +* ESM-HELPER: https://cdn.jsdelivr.net/npm/lithent@1.12.0/helper/dist/lithentHelper.mjs +* ESM-FTAGS: https://cdn.jsdelivr.net/npm/lithent@1.12.0/ftags/dist/lithentFTags.mjs +* ESM-TAG: https://cdn.jsdelivr.net/npm/lithent@1.12.0/tag/dist/lithentTag.mjs It's easier to use lithent with JSX or HTM. @@ -110,9 +110,9 @@ import { fTags, fFragment, fMount } from 'lithent/ftags'; const { section, div, p, br, strong } = fTags; /* UMD - - - + + + const { render } = lithent; const { fTags, fMount, fFragment } = lithentFTags; @@ -184,10 +184,10 @@ const destroy = render(lTag`<${Component} />`, document.getElementById('root'), #### With UMD ```html - - - - + + + +
diff --git a/lithentDocs/src/pages/install.tsx b/lithentDocs/src/pages/install.tsx index c4f0bcd..16a37ea 100644 --- a/lithentDocs/src/pages/install.tsx +++ b/lithentDocs/src/pages/install.tsx @@ -3,9 +3,9 @@ import { ContentHeader } from '@/components/contentHeader'; import hljs from 'highlight.js'; import 'highlight.js/styles/hybrid.css'; -const code10 = ` - - +const code10 = ` + +
@@ -39,10 +39,10 @@ render( `; -const code7 = ` - - - +const code7 = ` + + +
@@ -97,7 +97,7 @@ const Component = mount((r, _props) => { const destroy = render(lTag\`<\${Component} />\`, document.getElementById('root')); `; -const code9 = `; +const code9 = `; const { lTag } = lithentTag; const destroy = render(lTag\`<\${Component} />\`, document.getElementById('root')); `; @@ -260,27 +260,27 @@ export const Install = mount(() => {

## umd

-

https://cdn.jsdelivr.net/npm/lithent@1.11.2/dist/lithent.umd.js

+

https://cdn.jsdelivr.net/npm/lithent@1.12.0/dist/lithent.umd.js

- https://cdn.jsdelivr.net/npm/lithent@1.11.2/helper/dist/lithentHelper.umd.js + https://cdn.jsdelivr.net/npm/lithent@1.12.0/helper/dist/lithentHelper.umd.js

- https://cdn.jsdelivr.net/npm/lithent@1.11.2/ftags/dist/lithentFTags.umd.js + https://cdn.jsdelivr.net/npm/lithent@1.12.0/ftags/dist/lithentFTags.umd.js

- https://cdn.jsdelivr.net/npm/lithent@1.11.2/tag/dist/lithentTag.umd.js + https://cdn.jsdelivr.net/npm/lithent@1.12.0/tag/dist/lithentTag.umd.js

 

## esm

-

https://cdn.jsdelivr.net/npm/lithent@1.11.2/dist/lithent.mjs

+

https://cdn.jsdelivr.net/npm/lithent@1.12.0/dist/lithent.mjs

- https://cdn.jsdelivr.net/npm/lithent@1.11.2/helper/dist/lithentHelper.mjs + https://cdn.jsdelivr.net/npm/lithent@1.12.0/helper/dist/lithentHelper.mjs

- https://cdn.jsdelivr.net/npm/lithent@1.11.2/ftags/dist/lithentFTags.mjs + https://cdn.jsdelivr.net/npm/lithent@1.12.0/ftags/dist/lithentFTags.mjs

- https://cdn.jsdelivr.net/npm/lithent@1.11.2/tag/dist/lithentTag.mjs + https://cdn.jsdelivr.net/npm/lithent@1.12.0/tag/dist/lithentTag.mjs

diff --git a/package.json b/package.json index 6c5a690..f9531c6 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "type": "module", "name": "lithent", - "version": "1.11.2", + "version": "1.12.0", "description": "An extensible virtual DOM library for lightweight use in a variety of environments.", "packageManager": "pnpm@7.6.0", "main": "./dist/lithent.umd.js",