studiokit-scaffolding-js 4.3.18 → 4.3.19-next.1.4
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 +1 -1
- package/lib/utils/date.js +1 -1
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -96,7 +96,7 @@ Components and utils can be imported from `studiokit-scaffolding-js/lib/...`
|
|
|
96
96
|
1. Add/update new components, utils, or styles
|
|
97
97
|
1. Add/update unit tests for those components or utils to confirm basic functionality
|
|
98
98
|
1. Increment the **last** number in the version, e.g. `1.0.0-next.2.1` => `1.0.0-next.2.2` (`1.0.1-alpha.1` => `1.0.1-alpha.2` for hotfixes)
|
|
99
|
-
1.
|
|
99
|
+
1. Push to gitlab. Azure DevOps will run a pipeline and publish this version to npmjs.org
|
|
100
100
|
1. Install the new version in the project(s) you are working on by updating its `package.json` and running `yarn`
|
|
101
101
|
1. Repeat as needed
|
|
102
102
|
1. Merging
|
package/lib/utils/date.js
CHANGED
|
@@ -336,7 +336,7 @@ exports.getFormattedNumberedTimeWithoutZoneOrMeridian = getFormattedNumberedTime
|
|
|
336
336
|
function getFullFormattedTimeZone(timeZoneId, showEasternZoneId, nowUtc) {
|
|
337
337
|
if (timeZoneId === void 0) { timeZoneId = timezone_1.guessTimeZoneId(); }
|
|
338
338
|
if (showEasternZoneId === void 0) { showEasternZoneId = false; }
|
|
339
|
-
if (nowUtc === void 0) { nowUtc =
|
|
339
|
+
if (nowUtc === void 0) { nowUtc = exports.getServerNowUtc().toISOString(); }
|
|
340
340
|
var zone = moment_timezone_1.default.tz.zone(timeZoneId);
|
|
341
341
|
if (!zone)
|
|
342
342
|
return '';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "studiokit-scaffolding-js",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.19-next.1.4",
|
|
4
4
|
"description": "Common scaffolding for Studio apps at Purdue",
|
|
5
5
|
"repository": "https://gitlab.com/purdue-informatics/studiokit/studiokit-scaffolding-js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,7 +24,8 @@
|
|
|
24
24
|
"lint:styles": "stylelint \"src/**/*.css\"",
|
|
25
25
|
"prepublishOnly": "yarn build",
|
|
26
26
|
"test": "jest",
|
|
27
|
-
"test:ci": "cross-env CI=true yarn test"
|
|
27
|
+
"test:ci": "cross-env CI=true yarn test",
|
|
28
|
+
"test:ci-junit": "cross-env CI=true npm run test -- --reporters='default' --reporters='jest-junit'"
|
|
28
29
|
},
|
|
29
30
|
"husky": {
|
|
30
31
|
"hooks": {
|
|
@@ -172,6 +173,7 @@
|
|
|
172
173
|
"identity-obj-proxy": "^3.0.0",
|
|
173
174
|
"jest": "^26.6.0",
|
|
174
175
|
"jest-each": "^26.6.0",
|
|
176
|
+
"jest-junit": "^12.0.0",
|
|
175
177
|
"lint-staged": "^10.5.3",
|
|
176
178
|
"mockdate": "^3.0.2",
|
|
177
179
|
"npm-run-all": "^4.1.5",
|