tool-log 0.0.0-stage → 0.0.2

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/dist/index.cjs ADDED
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ // src/index.ts
4
+ console.log("1.");
5
+ console.log("2. window.location.hostname", window.location.hostname);
@@ -0,0 +1,2 @@
1
+
2
+ export { }
@@ -0,0 +1,2 @@
1
+
2
+ export { }
package/dist/index.js ADDED
@@ -0,0 +1,3 @@
1
+ // src/index.ts
2
+ console.log("1.");
3
+ console.log("2. window.location.hostname", window.location.hostname);
package/package.json CHANGED
@@ -1,6 +1,33 @@
1
1
  {
2
2
  "name": "tool-log",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "author": "Vladimir Kurguzov <kurguzov74@gmail.com>",
4
+ "version": "0.0.2",
5
+ "type": "module",
6
+ "main": "./dist/index.cjs",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js",
13
+ "require": "./dist/index.cjs"
14
+ }
15
+ },
16
+ "files": [
17
+ "dist"
18
+ ],
19
+ "scripts": {
20
+ "build": "tsup src/index.ts --format esm,cjs --dts --clean",
21
+ "dev": "tsup src/index.ts --format esm,cjs --watch",
22
+ "ver:patch": "npm version patch --no-git-tag-version",
23
+ "ver:minor": "npm version minor --no-git-tag-version",
24
+ "ver:major": "npm version major --no-git-tag-version",
25
+ "release:patch": "npm run ver:patch && npm run build && npm publish --access public",
26
+ "release:minor": "npm run ver:minor && npm run build && npm publish --access public",
27
+ "release:major": "npm run ver:major && npm run build && npm publish --access public"
28
+ },
29
+ "devDependencies": {
30
+ "tsup": "^8.5.1",
31
+ "typescript": "^5.6.3"
32
+ }
33
+ }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.