varsnap 1.9.0 → 1.10.0
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 +3 -7
- package/dist/browser.js +31 -55
- package/dist/browser.min.js +3 -2
- package/dist/node.js +87 -6225
- package/dist/node.min.js +15 -3
- package/package.json +2 -4
- package/dist/node.js.LICENSE.txt +0 -13
- package/dist/node.min.js.LICENSE.txt +0 -13
package/README.md
CHANGED
|
@@ -2,6 +2,7 @@ varsnap.js
|
|
|
2
2
|
==========
|
|
3
3
|
|
|
4
4
|
[](https://drone.albertyw.com/albertyw/varsnap.js)
|
|
5
|
+
[](https://packagephobia.com/result?p=varsnap)
|
|
5
6
|
|
|
6
7
|
[Javascript Varsnap Client](https://www.varsnap.com/). For use in both browser and node.js
|
|
7
8
|
|
|
@@ -120,11 +121,6 @@ Git Branch
|
|
|
120
121
|
Providing a git branch to the client allows Varsnap to categorize test runs.
|
|
121
122
|
Tests on the master branch will also be reflected in your Varsnap badge image.
|
|
122
123
|
|
|
123
|
-
For builds in environments that cannot access git branch names, such as builds
|
|
124
|
-
in headless browsers, `varsnap/gitbranchenv.ts` will read git branch names and
|
|
125
|
-
set them into a `GIT_BRANCH` environment variable. This can then be copied
|
|
126
|
-
into the varsnap config when testing.
|
|
127
|
-
|
|
128
124
|
Client Development
|
|
129
125
|
------------------
|
|
130
126
|
|
|
@@ -132,7 +128,7 @@ Client Development
|
|
|
132
128
|
|
|
133
129
|
1. Update Changelog with new version
|
|
134
130
|
2. Update `const version` in `varsnap/core.ts`
|
|
135
|
-
3. Update
|
|
136
|
-
4.
|
|
131
|
+
3. Update webpack.config.js version and run `npm run package`
|
|
132
|
+
4. Update package.json version and run `npm install`
|
|
137
133
|
5. Git commit, tag, and push
|
|
138
134
|
6. Upload `dist/*` to https://github.com/albertyw/varsnap.js/releases
|