Skip to content

Commit

Permalink
Bump version numbers to match release.
Browse files Browse the repository at this point in the history
  • Loading branch information
TotallyInformation committed Jan 2, 2024
1 parent 050196c commit eca90fe
Show file tree
Hide file tree
Showing 22 changed files with 193 additions and 338 deletions.
2 changes: 1 addition & 1 deletion front-end/ui.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ var require_ui = __commonJS({
* @param {function} [jsonHighlight] A function that returns a highlighted HTML of JSON input
*/
constructor(win, extLog, jsonHighlight) {
__publicField(this, "version", "6.8.0-src");
__publicField(this, "version", "6.8.1-src");
// List of tags and attributes not in sanitise defaults but allowed in uibuilder.
__publicField(this, "sanitiseExtraTags", ["uib-var"]);
__publicField(this, "sanitiseExtraAttribs", ["variable", "report", "undefined"]);
Expand Down
2 changes: 1 addition & 1 deletion front-end/ui.esm.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion front-end/ui.esm.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion front-end/ui.iife.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* @param {function} [jsonHighlight] A function that returns a highlighted HTML of JSON input
*/
constructor(win, extLog, jsonHighlight) {
__publicField(this, "version", "6.8.0-src");
__publicField(this, "version", "6.8.1-src");
// List of tags and attributes not in sanitise defaults but allowed in uibuilder.
__publicField(this, "sanitiseExtraTags", ["uib-var"]);
__publicField(this, "sanitiseExtraAttribs", ["variable", "report", "undefined"]);
Expand Down
2 changes: 1 addition & 1 deletion front-end/ui.iife.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion front-end/ui.iife.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion front-end/uib-brand.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* https://unifyned.com/colors.html extends the above
* https://chromatichq.com/insights/understanding-and-using-hsl-your-css gives calculations for the color wheel
*
* @version: 1.31 2023-05-23
* @version: 1.32 2024-01-01
* @author: Julian Knight (TotallyInformation)
* @license: Apache 2.0
* @created: 2022-05-02
Expand Down
4 changes: 2 additions & 2 deletions front-end/uibuilder.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ var require_ui = __commonJS({
* @param {function} [jsonHighlight] A function that returns a highlighted HTML of JSON input
*/
constructor(win, extLog, jsonHighlight) {
__publicField(this, "version", "6.8.0-src");
__publicField(this, "version", "6.8.1-src");
// List of tags and attributes not in sanitise defaults but allowed in uibuilder.
__publicField(this, "sanitiseExtraTags", ["uib-var"]);
__publicField(this, "sanitiseExtraAttribs", ["variable", "report", "undefined"]);
Expand Down Expand Up @@ -4641,7 +4641,7 @@ __publicField(_UibVar, "props", ["filter", "id", "name", "report", "topic", "typ
var UibVar = _UibVar;

// src/front-end-module/uibuilder.module.js
var version = "6.8.0-esm";
var version = "6.8.1-esm";
var isMinified = !/param/.test(function(param) {
});
var logLevel = isMinified ? 0 : 1;
Expand Down
2 changes: 1 addition & 1 deletion front-end/uibuilder.esm.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions front-end/uibuilder.esm.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions front-end/uibuilder.iife.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
* @param {function} [jsonHighlight] A function that returns a highlighted HTML of JSON input
*/
constructor(win, extLog, jsonHighlight) {
__publicField(this, "version", "6.8.0-src");
__publicField(this, "version", "6.8.1-src");
// List of tags and attributes not in sanitise defaults but allowed in uibuilder.
__publicField(this, "sanitiseExtraTags", ["uib-var"]);
__publicField(this, "sanitiseExtraAttribs", ["variable", "report", "undefined"]);
Expand Down Expand Up @@ -4642,7 +4642,7 @@
var UibVar = _UibVar;

// src/front-end-module/uibuilder.module.js
var version = "6.8.0-iife";
var version = "6.8.1-iife";
var isMinified = !/param/.test(function(param) {
});
var logLevel = isMinified ? 0 : 1;
Expand Down
2 changes: 1 addition & 1 deletion front-end/uibuilder.iife.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions front-end/uibuilder.iife.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion front-end/uibuilderfe.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ if (typeof require !== 'undefined' && typeof io === 'undefined') { // eslint-d

//#region ++++++++++ Start of setup ++++++++++ //

self.version = '6.7.0-old'
self.version = '6.8.1-old'
self.moduleName = 'uibuilder' // Must match moduleName in uibuilder.js on the server
// @ts-expect-error ts(2345) Tests loaded ver of lib to see if minified
self.isUnminified = (/param/).test(function(param) {}) // eslint-disable-line no-unused-vars
Expand Down
2 changes: 1 addition & 1 deletion front-end/uibuilderfe.min.js

Large diffs are not rendered by default.

13 changes: 11 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const stdio = 'inherit'
// @ts-ignore Find the module version in the package.json
const { version } = JSON.parse(fs.readFileSync('package.json'))
// Desired release version
const release = '6.8.0'
const release = '6.8.1'
// Wanted node.js version - used for ESBUILD
const nodeVersion = 'node14.14'

Expand Down Expand Up @@ -1176,6 +1176,7 @@ function setPackageVersion(cb) {
src('./package.json')
.pipe(jeditor({ 'version': release } ) )
.pipe(dest('.') )
console.log(`setPackageVersion: Setting version to ${release}` )
} else {
console.log('setPackageVersion: Requested version is same as current version - nothing will change')
}
Expand All @@ -1187,6 +1188,14 @@ function setPackageLockVersion(cb) {
src('./package-lock.json')
.pipe(jeditor({ 'version': release } ) )
.pipe(dest('.') )
console.log(`setPackageVersion: Setting version to ${release}` )
}
cb()
}
/** Set uibuilder version in src\front-end-module\ui.js */
function notifyOtherVersions(cb) {
if (version !== release) {
console.log(`Updating version to ${release}. Don't forget to run 'gulp watch' then change versions in: src/front-end-module/ui.js, src/components/uib-var.js, src/front-end-module/uibrouter.js. And template package.json files if updated.` )
}
cb()
}
Expand Down Expand Up @@ -1229,4 +1238,4 @@ exports.packfe = packfe
exports.packfeModule = packfeModule
exports.packfeIIFE = packfeIIFE
exports.createTag = createTag
exports.setVersion = series( setPackageVersion, setPackageLockVersion, setFeVersionDev, setFeVersion, setFeVersionMin )
exports.setVersion = series( setPackageVersion, setPackageLockVersion, setFeVersionDev, setFeVersion, setFeVersionMin, notifyOtherVersions )
2 changes: 1 addition & 1 deletion nodes/libs/ui.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const Ui = class Ui2 {
version = "6.8.0-node";
version = "6.8.1-node";
// List of tags and attributes not in sanitise defaults but allowed in uibuilder.
sanitiseExtraTags = ["uib-var"];
sanitiseExtraAttribs = ["variable", "report", "undefined"];
Expand Down
Loading

0 comments on commit eca90fe

Please sign in to comment.