wrec 0.17.0 → 0.17.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/README.md +6 -6
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -41,12 +41,12 @@ Here are the steps:
|
|
|
41
41
|
|
|
42
42
|
1. Create a new directory for the project and `cd` to it.
|
|
43
43
|
|
|
44
|
-
1.
|
|
44
|
+
1. Enter `npm init -y` to create a `package.json` file.
|
|
45
45
|
|
|
46
|
-
1.
|
|
46
|
+
1. Enter `npm i wrec` to install the wrec library.
|
|
47
47
|
|
|
48
|
-
1.
|
|
49
|
-
This is
|
|
48
|
+
1. Enter `npm i -D vite` to install vite.
|
|
49
|
+
This is used to run a local HTTP server.
|
|
50
50
|
|
|
51
51
|
1. Add the following script in `package.json`:
|
|
52
52
|
|
|
@@ -91,7 +91,7 @@ Here are the steps:
|
|
|
91
91
|
</button>
|
|
92
92
|
<span>this.count</span>
|
|
93
93
|
<button onClick="this.count++" type="button">+</button>
|
|
94
|
-
<span>(this.count < 10 ? "single" : "
|
|
94
|
+
<span>(this.count < 10 ? "single" : "multi") + "-digit"</span>
|
|
95
95
|
</div>
|
|
96
96
|
`;
|
|
97
97
|
}
|
|
@@ -113,7 +113,7 @@ Here are the steps:
|
|
|
113
113
|
</html>
|
|
114
114
|
```
|
|
115
115
|
|
|
116
|
-
1.
|
|
116
|
+
1. Enter `npm run dev` to start a local server.
|
|
117
117
|
|
|
118
118
|
1. Browse localhost:5173.
|
|
119
119
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "wrec",
|
|
3
3
|
"description": "a small library that greatly simplifies building web components",
|
|
4
4
|
"author": "R. Mark Volkmann",
|
|
5
|
-
"version": "0.17.
|
|
5
|
+
"version": "0.17.2",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@playwright/test": "^1.57.0",
|
|
36
|
-
"@types/node": "^25.0.
|
|
37
|
-
"oxlint": "^1.
|
|
36
|
+
"@types/node": "^25.0.6",
|
|
37
|
+
"oxlint": "^1.38.0",
|
|
38
38
|
"terser": "^5.44.1",
|
|
39
39
|
"typescript": "^5.9.3",
|
|
40
|
-
"vite": "^7.3.
|
|
40
|
+
"vite": "^7.3.1"
|
|
41
41
|
}
|
|
42
42
|
}
|