arche 1.0.2 → 1.0.4

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/README.md CHANGED
@@ -2,6 +2,9 @@
2
2
  ![arche-logo](https://raw.githubusercontent.com/a-synchronous/assets/master/arche-logo-226x226.png)
3
3
  > Arche (/ˈɑːrki/; Ancient Greek: ἀρχή) is a Greek word with primary senses "beginning", "origin" or "source of action" (ἐξ' ἀρχῆς: from the beginning, οr ἐξ' ἀρχῆς λόγος: the original argument), and later "first principle" or "element".
4
4
 
5
+ Source code: [GitHub](https://github.com/richytong/Arche) |
6
+ License: [CFOSS](https://cloutsworld.com/en-us/legal/license/cfoss)
7
+
5
8
  ![Node.js CI](https://github.com/richytong/arche/actions/workflows/nodejs.yml/badge.svg)
6
9
  [![codecov](https://codecov.io/gh/richytong/arche/branch/master/graph/badge.svg)](https://codecov.io/gh/richytong/arche)
7
10
  [![npm version](https://img.shields.io/npm/v/arche.svg?style=flat)](https://www.npmjs.com/package/arche)
@@ -51,12 +54,12 @@ npm i arche
51
54
  with browser script, sets `window.Arche`
52
55
 
53
56
  ```html
54
- <script src="https://unpkg.com/arche"></script>
57
+ <script src="https://cdn.jsdelivr.net/npm/arche"></script>
55
58
  ```
56
59
 
57
60
  with [ES Modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules)
58
61
  ```javascript
59
- import Arche from 'https://unpkg.com/arche/es.js'
62
+ import Arche from 'https://cdn.jsdelivr.net/npm/arche/es.js'
60
63
  ```
61
64
 
62
65
  Set `DocumentElement` globally for a better developer experience.
@@ -214,7 +217,7 @@ Pull requests should provide some basic context and link the relevant issue. If
214
217
  For more information please see [CONTRIBUTING.md](https://github.com/richytong/arche/blob/master/CONTRIBUTING.md)
215
218
 
216
219
  # License
217
- Arche is [MIT Licensed](https://github.com/a-synchronous/rubico/blob/master/LICENSE).
220
+ Arche is distributed under the [CFOSS License](https://cloutsworld.com/en-us/legal/license/cfoss).
218
221
 
219
222
  # Support
220
223
  * minimum Node.js version: 14
package/es.js CHANGED
@@ -1,7 +1,6 @@
1
1
  /**
2
- * Arche v1.0.2
2
+ * Arche
3
3
  * https://arche.gallery/
4
- *
5
4
  * © Richard Yufei Tong, King of Software
6
5
  * Arche may be freely distributed under the CFOSS license.
7
6
  */
package/index.js CHANGED
@@ -1,7 +1,6 @@
1
1
  /**
2
- * Arche v1.0.2
2
+ * Arche
3
3
  * https://arche.gallery/
4
- *
5
4
  * © Richard Yufei Tong, King of Software
6
5
  * Arche may be freely distributed under the CFOSS license.
7
6
  */
package/index.mjs CHANGED
@@ -1,7 +1,6 @@
1
1
  /**
2
- * Arche v1.0.2
2
+ * Arche
3
3
  * https://arche.gallery/
4
- *
5
4
  * © Richard Yufei Tong, King of Software
6
5
  * Arche may be freely distributed under the CFOSS license.
7
6
  */
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "arche",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "HTML as JavaScript",
5
5
  "author": "Richard Tong",
6
- "license": "MIT",
6
+ "license": "CFOSS",
7
7
  "main": "index.js",
8
8
  "repository": {
9
9
  "type": "git",
package/test.html CHANGED
@@ -3,9 +3,9 @@
3
3
  <head>
4
4
  <meta charset="UTF-8">
5
5
  <title>test</title>
6
- <script src="https://unpkg.com/react@16.13.1/umd/react.production.min.js" crossorigin></script>
7
- <script src="https://unpkg.com/react-dom@16.13.1/umd/react-dom.production.min.js" crossorigin></script>
8
- <script src="https://unpkg.com/styled-components@6.1.19/dist/styled-components.min.js"></script>
6
+ <script src="https://cdn.jsdelivr.net/npm/react@16.13.1/umd/react.production.min.js" crossorigin></script>
7
+ <script src="https://cdn.jsdelivr.net/npm/react-dom@16.13.1/umd/react-dom.production.min.js" crossorigin></script>
8
+ <script src="https://cdn.jsdelivr.net/npm/styled-components@6.1.19/dist/styled-components.min.js"></script>
9
9
  <script src="/index.js"></script>
10
10
  </head>
11
11
  <body>