application-typescript 1.0.0 → 1.0.1

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.
Files changed (2) hide show
  1. package/README.md +7 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -26,7 +26,7 @@ Run TypeScript in the browser without a bundler — add one `<script>` tag and s
26
26
 
27
27
 
28
28
  <!-- esm.sh application-typescript runner -->
29
- <script type="module" src="https://esm.sh/application-typescript"></script>
29
+ <script type="module" src="https://esm.sh/application-typescript@1.0.0"></script>
30
30
 
31
31
  </body>
32
32
  </html>
@@ -121,7 +121,11 @@ Keep imports acyclic.
121
121
  ### Runner
122
122
 
123
123
  ```html
124
- <script type="module" src="https://esm.sh/application-typescript"></script>
124
+ <!-- esm.sh -->
125
+ <script type="module" src="https://esm.sh/application-typescript@1.0.0"></script>
126
+
127
+ <!-- or unpkg -->
128
+ <script type="module" src="https://unpkg.com/application-typescript"></script>
125
129
  ```
126
130
 
127
131
  Must come **after** all `application/typescript` markers so the DOM query sees them.
@@ -210,4 +214,4 @@ npm version patch # or minor / major
210
214
  npm publish --access public
211
215
  ```
212
216
 
213
- The unversioned `https://esm.sh/application-typescript` URL always resolves to the latest published release.
217
+ The unversioned `https://esm.sh/application-typescript@1.0.0` URL always resolves to the latest published release.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "application-typescript",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Browser loader: run TypeScript from script[type=application/typescript][src] without a bundler",
5
5
  "type": "module",
6
6
  "main": "./application-typescript.js",