@axel669/windstorm 0.4.5 → 0.4.6

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/package.json CHANGED
@@ -1,30 +1,29 @@
1
- {
2
- "name": "@axel669/windstorm",
3
- "version": "0.4.5",
4
- "description": "",
5
- "main": "dist/module.js",
6
- "type": "module",
7
- "scripts": {
8
- "build": "rollup -c build-config/rollup.config.mjs",
9
- "mkdocs": "ipsen",
10
- "host": "wrangler pages dev test/preview --port 45067",
11
- "host/docs": "wrangler pages dev site --port 45067"
12
- },
13
- "keywords": [],
14
- "author": "",
15
- "license": "MIT",
16
- "devDependencies": {
17
- "@axel669/ipsen": "0.4.1",
18
- "@rollup/plugin-terser": "^0.4.0",
19
- "csso": "^5.0.5",
20
- "fs-jetpack": "^5.1.0",
21
- "js-yaml": "^4.1.0",
22
- "rollup": "^3.19.0",
23
- "rollup-plugin-delete": "^2.0.0",
24
- "rollup-plugin-sass": "^1.12.19",
25
- "sass": "^1.59.3"
26
- },
27
- "files": [
28
- "dist"
29
- ]
30
- }
1
+ {
2
+ "name": "@axel669/windstorm",
3
+ "version": "0.4.6",
4
+ "description": "",
5
+ "main": "dist/module.js",
6
+ "type": "module",
7
+ "scripts": {
8
+ "build": "rollup -c build-config/rollup.config.mjs",
9
+ "mkdocs": "ipsen",
10
+ "host": "wrangler pages dev test/preview --port 45067",
11
+ "host/docs": "wrangler pages dev site --port 45067"
12
+ },
13
+ "keywords": [],
14
+ "author": "",
15
+ "license": "MIT",
16
+ "devDependencies": {
17
+ "@axel669/ipsen": "0.4.1",
18
+ "csso": "^5.0.5",
19
+ "fs-jetpack": "^5.1.0",
20
+ "js-yaml": "^4.1.0",
21
+ "rollup": "^3.19.0",
22
+ "rollup-plugin-delete": "^2.0.0",
23
+ "rollup-plugin-sass": "^1.12.19",
24
+ "sass": "^1.59.3"
25
+ },
26
+ "files": [
27
+ "dist"
28
+ ]
29
+ }
package/readme.md CHANGED
@@ -14,15 +14,15 @@ minor differences between a set of 20.
14
14
 
15
15
  ### CDN Link (global variable)
16
16
  ```html
17
- <script src="https://cdn.jsdelivr.net/npm/@axel669/windstorm@0.4.3/dist/browser.js"></script>
17
+ <script src="https://esm.sh/@axel669/windstorm@0.4.6/dist/browser.js"></script>
18
18
  ```
19
19
 
20
20
  ### CDN Link (module)
21
21
  ```js
22
22
  // Only scanning, no functions
23
- import "https://cdn.jsdelivr.net/npm/@axel669/windstorm@0.4.3/dist/module.js"
23
+ import "https://esm.sh/@axel669/windstorm@0.4.6/dist/module.js"
24
24
  // Import functions + scanning
25
- import ws from "https://cdn.jsdelivr.net/npm/@axel669/windstorm@0.4.3/dist/module.js"
25
+ import ws from "https://esm.sh/@axel669/windstorm@0.4.6/dist/module.js"
26
26
 
27
27
  ws.x({...stuff})
28
28
  ```
@@ -36,7 +36,7 @@ npm add @axel669/windstorm
36
36
  Windstorm can be used as a standalone script added to the page, or included in a
37
37
  bundle with other scripts/frameworks. Regardless of which form it's used in,
38
38
  windstorm should be included in the body of the page before the content that it
39
- will style in order to prevent FOUC. For static content, this means trhe script
39
+ will style in order to prevent FOUC. For static content, this means the script
40
40
  tag that uses it should not be async or defered. For content generated by a
41
41
  framework like React or Svelte, this should not be an issue as including
42
42
  windstorm in the build bundle will allow it to run before the framework adds DOM