Skip to content

Commit

Permalink
chore: version up 1.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
superlucky84 committed Sep 20, 2024
1 parent b5f71a3 commit c268c32
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 32 deletions.
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -110,9 +110,9 @@ import { fTags, fFragment, fMount } from 'lithent/ftags';
const { section, div, p, br, strong } = fTags;

/* UMD
<script src="https://cdn.jsdelivr.net/npm/lithent@1.11.2/dist/lithent.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/lithent@1.11.2/helper/dist/lithentHelper.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/lithent@1.11.2/ftags/dist/lithentFTags.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/lithent@1.12.0/dist/lithent.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/lithent@1.12.0/helper/dist/lithentHelper.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/lithent@1.12.0/ftags/dist/lithentFTags.umd.js"></script>
const { render } = lithent;
const { fTags, fMount, fFragment } = lithentFTags;
Expand Down Expand Up @@ -184,10 +184,10 @@ const destroy = render(lTag`<${Component} />`, document.getElementById('root'),
#### With UMD

```html
<script src="https://cdn.jsdelivr.net/npm/lithent@1.11.2/dist/lithent.umd.js"></script>
<!--script src="https://cdn.jsdelivr.net/npm/lithent@1.11.2/helper/dist/lithentHelper.umd.js"></script-->
<script src="https://cdn.jsdelivr.net/npm/lithent@1.11.2/tag/dist/lithentTag.umd.js"></script>
<!--script src="https://cdn.jsdelivr.net/npm/lithent@1.11.2/ftags/dist/lithentFTags.umd.js"></script-->
<script src="https://cdn.jsdelivr.net/npm/lithent@1.12.0/dist/lithent.umd.js"></script>
<!--script src="https://cdn.jsdelivr.net/npm/lithent@1.12.0/helper/dist/lithentHelper.umd.js"></script-->
<script src="https://cdn.jsdelivr.net/npm/lithent@1.12.0/tag/dist/lithentTag.umd.js"></script>
<!--script src="https://cdn.jsdelivr.net/npm/lithent@1.12.0/ftags/dist/lithentFTags.umd.js"></script-->

<div id="root"></div>

Expand Down
32 changes: 16 additions & 16 deletions lithentDocs/src/pages/install.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { ContentHeader } from '@/components/contentHeader';
import hljs from 'highlight.js';
import 'highlight.js/styles/hybrid.css';

const code10 = `<script src="https://cdn.jsdelivr.net/npm/lithent@1.11.2/dist/lithent.umd.js"></script>
<!--script src="https://cdn.jsdelivr.net/npm/lithent@1.11.2/helper/dist/lithentHelper.umd.js"></script-->
<script src="https://cdn.jsdelivr.net/npm/lithent@1.11.2/ftags/dist/lithentFTags.umd.js"></script>
const code10 = `<script src="https://cdn.jsdelivr.net/npm/lithent@1.12.0/dist/lithent.umd.js"></script>
<!--script src="https://cdn.jsdelivr.net/npm/lithent@1.12.0/helper/dist/lithentHelper.umd.js"></script-->
<script src="https://cdn.jsdelivr.net/npm/lithent@1.12.0/ftags/dist/lithentFTags.umd.js"></script>
<div id="root"></div>
Expand Down Expand Up @@ -39,10 +39,10 @@ render(
</script>
`;

const code7 = `<script src="https://cdn.jsdelivr.net/npm/lithent@1.11.2/dist/lithent.umd.js"></script>
<!--script src="https://cdn.jsdelivr.net/npm/lithent@1.11.2/helper/dist/lithentHelper.umd.js"></script-->
<script src="https://cdn.jsdelivr.net/npm/lithent@1.11.2/tag/dist/lithentTag.umd.js"></script>
<!--script src="https://cdn.jsdelivr.net/npm/lithent@1.11.2/ftags/dist/lithentFTags.umd.js"></script-->
const code7 = `<script src="https://cdn.jsdelivr.net/npm/lithent@1.12.0/dist/lithent.umd.js"></script>
<!--script src="https://cdn.jsdelivr.net/npm/lithent@1.12.0/helper/dist/lithentHelper.umd.js"></script-->
<script src="https://cdn.jsdelivr.net/npm/lithent@1.12.0/tag/dist/lithentTag.umd.js"></script>
<!--script src="https://cdn.jsdelivr.net/npm/lithent@1.12.0/ftags/dist/lithentFTags.umd.js"></script-->
<div id="root"></div>
Expand Down Expand Up @@ -97,7 +97,7 @@ const Component = mount((r, _props) => {
const destroy = render(lTag\`<\${Component} />\`, document.getElementById('root'));
`;

const code9 = `<script src="https://cdn.jsdelivr.net/npm/lithent@1.11.2/tag/dist/lithentTag.umd.js"></script>;
const code9 = `<script src="https://cdn.jsdelivr.net/npm/lithent@1.12.0/tag/dist/lithentTag.umd.js"></script>;
const { lTag } = lithentTag;
const destroy = render(lTag\`<\${Component} />\`, document.getElementById('root'));
`;
Expand Down Expand Up @@ -260,27 +260,27 @@ export const Install = mount(() => {
<div class="px-2 py-2 overflow-x-auto text-sm text-gray-50 border border-gray-200 border-dashed rounded border-gray-600 bg-black">
<p> </p>
<p>## umd</p>
<p>https://cdn.jsdelivr.net/npm/lithent@1.11.2/dist/lithent.umd.js</p>
<p>https://cdn.jsdelivr.net/npm/lithent@1.12.0/dist/lithent.umd.js</p>
<p>
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
</p>
<p>
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
</p>
<p>
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
</p>
<p>&nbsp;</p>
<p>## esm</p>
<p>https://cdn.jsdelivr.net/npm/lithent@1.11.2/dist/lithent.mjs</p>
<p>https://cdn.jsdelivr.net/npm/lithent@1.12.0/dist/lithent.mjs</p>
<p>
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
</p>
<p>
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
</p>
<p>
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
</p>
</div>
<div class="py-2 mb-4 overflow-x-auto text-sm text-gray-50 ">
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit c268c32

Please sign in to comment.