Skip to content

Commit

Permalink
Updated the project with @mobilabs/es6kadoo v2.1.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
jclo committed Jan 20, 2024
1 parent 58fdb49 commit d6d729a
Show file tree
Hide file tree
Showing 21 changed files with 115 additions and 64 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -3,7 +3,7 @@ name: CI pipeline

on:
push:
branches: [ master ]
branches: [ master, main ]

jobs:
build:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -8,3 +8,4 @@ _dist-*
coverage
node_modules
private_repo
npm_private_repo
2 changes: 1 addition & 1 deletion .npmignore
Expand Up @@ -4,8 +4,8 @@
!.github/**/*
!.husky/pre-commit
!bin
!scripts/**/*
!src/**/*
!tasks/**/*
!test/**/*
!.eslintignore
!.eslintrc
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,11 @@
### HEAD

### 2.1.x (January 20, 2024)

* Updated the project with @mobilabs/es6kadoo v2.1.0,
* ...,


### 2.0.1 (January 11, 2024)

* Updated the project with @mobilabs/es6kadoo v2.0.2,
Expand Down
8 changes: 4 additions & 4 deletions _dist/lib/es6pakket.js
@@ -1,5 +1,5 @@
/*! ****************************************************************************
* ES6Pakket v2.0.1
* ES6Pakket v2.0.1x
*
* A boilerplate for building Javascript ES6 libraries with Pakket.
* (you can download it from npm or github repositories)
Expand All @@ -8,7 +8,7 @@
* at: http://www.opensource.org/licenses/mit-license.php).
* Built from {{boiler:name}} v{{boiler:name:version}}.
* ************************************************************************** */
/*! Generated by Pakket v1.1.0 */
/*! Generated by Pakket v1.2.0 */
/* global define */
/* eslint no-shadow: ['error', { 'allow': ['root'] }] */
/* eslint strict: ["error", "function"] */
Expand Down Expand Up @@ -112,14 +112,14 @@
const obj = Object.create(methods);
obj._library = {
name: 'ES6Pakket',
version: '2.0.1',
version: '2.0.1x',
};
return obj;
};

// Attaches constants to ES6Pakket that provide name and version of the lib.
ES6Pakket.NAME = 'ES6Pakket';
ES6Pakket.VERSION = '2.0.1';
ES6Pakket.VERSION = '2.0.1x';


// -- Private Static Methods -----------------------------------------------
Expand Down
6 changes: 3 additions & 3 deletions _dist/lib/es6pakket.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions _dist/lib/es6pakket.min.mjs
@@ -1,5 +1,5 @@
/*! ****************************************************************************
* ES6Pakket v2.0.1
* ES6Pakket v2.0.1x
*
* A boilerplate for building Javascript ES6 libraries with Pakket.
* (you can download it from npm or github repositories)
Expand All @@ -8,5 +8,5 @@
* at: http://www.opensource.org/licenses/mit-license.php).
* Built from {{boiler:name}} v{{boiler:name:version}}.
* ************************************************************************** */
/*! Generated by Pakket v1.1.0 */
const $__ES6GLOB={};!function(t,e){"use strict";"function"==typeof define&&define.amd?define([""],e):"object"==typeof exports?module.exports=e(t):t.ES6Pakket=e(t)}($__ES6GLOB,(t=>{"use strict";return function t(e,r,n){function o(i){function u(t){return o(e[i][2][t]||t)}if(!r[i]){if(!e[i])throw new Error(`Cannot find module "${i}"`);r[i]={exports:{}};const o=r[i];e[i][1].call(o.exports,u,o,o.exports,t,e,r,n)}return r[i].exports}for(let t=0;t<n.length;t++)o(n[t]);return o}({1:["./src/prototypal",function(e,r,n){const o=e("./util/util"),i=t.ES6Pakket;let u;const s=function(){const t=Object.create(u);return t._library={name:"ES6Pakket",version:"2.0.1"},t};s.NAME="ES6Pakket",s.VERSION="2.0.1",s._setTestMode=function(){return[]},s.noConflict=function(){return t.ES6Pakket=i,this},u={whoami(){return this._library},getString:()=>o.getString(),getArray:()=>o.getArray()},r.exports=s},{"./util/util":2}],2:["./src/util/util",function(t,e,r){const n={getString:()=>"I am a string!",getArray:()=>[1,2,3]};e.exports=n},{}]},{},[1])(1)}));export default $__ES6GLOB.ES6Pakket;
/*! Generated by Pakket v1.2.0 */
const $__ES6GLOB={};!function(t,e){"use strict";"function"==typeof define&&define.amd?define([""],e):"object"==typeof exports?module.exports=e(t):t.ES6Pakket=e(t)}($__ES6GLOB,(t=>{"use strict";return function t(e,r,n){function o(i){function u(t){return o(e[i][2][t]||t)}if(!r[i]){if(!e[i])throw new Error(`Cannot find module "${i}"`);r[i]={exports:{}};const o=r[i];e[i][1].call(o.exports,u,o,o.exports,t,e,r,n)}return r[i].exports}for(let t=0;t<n.length;t++)o(n[t]);return o}({1:["./src/prototypal",function(e,r,n){const o=e("./util/util"),i=t.ES6Pakket;let u;const s=function(){const t=Object.create(u);return t._library={name:"ES6Pakket",version:"2.0.1x"},t};s.NAME="ES6Pakket",s.VERSION="2.0.1x",s._setTestMode=function(){return[]},s.noConflict=function(){return t.ES6Pakket=i,this},u={whoami(){return this._library},getString:()=>o.getString(),getArray:()=>o.getArray()},r.exports=s},{"./util/util":2}],2:["./src/util/util",function(t,e,r){const n={getString:()=>"I am a string!",getArray:()=>[1,2,3]};e.exports=n},{}]},{},[1])(1)}));export default $__ES6GLOB.ES6Pakket;
8 changes: 4 additions & 4 deletions _dist/lib/es6pakket.mjs
@@ -1,5 +1,5 @@
/*! ****************************************************************************
* ES6Pakket v2.0.1
* ES6Pakket v2.0.1x
*
* A boilerplate for building Javascript ES6 libraries with Pakket.
* (you can download it from npm or github repositories)
Expand All @@ -8,7 +8,7 @@
* at: http://www.opensource.org/licenses/mit-license.php).
* Built from {{boiler:name}} v{{boiler:name:version}}.
* ************************************************************************** */
/*! Generated by Pakket v1.1.0 */
/*! Generated by Pakket v1.2.0 */
/* global define */
/* eslint no-shadow: ['error', { 'allow': ['root'] }] */
/* eslint strict: ["error", "function"] */
Expand Down Expand Up @@ -113,14 +113,14 @@ const $__ES6GLOB = {};
const obj = Object.create(methods);
obj._library = {
name: 'ES6Pakket',
version: '2.0.1',
version: '2.0.1x',
};
return obj;
};

// Attaches constants to ES6Pakket that provide name and version of the lib.
ES6Pakket.NAME = 'ES6Pakket';
ES6Pakket.VERSION = '2.0.1';
ES6Pakket.VERSION = '2.0.1x';


// -- Private Static Methods -----------------------------------------------
Expand Down
12 changes: 6 additions & 6 deletions bin/es6pakket.js
Expand Up @@ -52,7 +52,7 @@ const defBoilerLib = 'ES6Pakket'
, { version } = require('../package.json')
, src = 'src'
, test = 'test'
, tasks = 'tasks'
, scripts = 'scripts'
, husky = '.husky'
, docs = 'docs'
// Command line Options
Expand Down Expand Up @@ -143,7 +143,6 @@ const index = [
const gitignore = [
'.DS_Store',
'',
'.nyc_output',
'coverage',
'node_modules',
''].join('\n');
Expand Down Expand Up @@ -315,6 +314,7 @@ function _customize(source, dest, app, owner, boilerlib) {
pack.scripts = obj.scripts;
pack.scripts['check:coverage'] = 'c8 check-coverage --statements 100 --branches 100 --functions 100 --lines 100';
delete pack.scripts['dep:private:package'];
delete pack.scripts['dep:npm:private:package'];

pack.repository = obj.repository;
pack.repository.url = `https://github.com/${owner.acronym}/${app.toLowerCase()}.git`;
Expand Down Expand Up @@ -378,7 +378,7 @@ function _addSrc(source, dest, folder, app, boilerlib) {
}

/**
* Adds the task files.
* Adds the script files.
*
* @function (arg1, arg2, arg3, arg4, arg5)
* @private
Expand All @@ -389,7 +389,7 @@ function _addSrc(source, dest, folder, app, boilerlib) {
* @param {String} the name of the boilerplate,
* @returns {} -,
*/
function _addTasks(source, dest, folder, app, boilerlib) {
function _addScripts(source, dest, folder, app, boilerlib) {
const exclude = []
, boiler = '{{boiler:name}}'
, ver = '{{boiler:name:version}}'
Expand Down Expand Up @@ -531,8 +531,8 @@ function _populate(options) {
// Copy the src files:
_addSrc(baseboiler, baseapp, src, app, boilerlib);

// Add tasks:
_addTasks(baseboiler, baseapp, tasks, app, boilerlib);
// Add scripts:
_addScripts(baseboiler, baseapp, scripts, app, boilerlib);

// Copy Test Files:
_addTest(baseboiler, baseapp, test, app, boilerlib);
Expand Down
6 changes: 3 additions & 3 deletions lib/es6pakket.js
@@ -1,4 +1,4 @@
/*! Generated by Pakket v1.1.0 */
/*! Generated by Pakket v1.2.0 */
/* global define */
/* eslint no-shadow: ['error', { 'allow': ['root'] }] */
/* eslint strict: ["error", "function"] */
Expand Down Expand Up @@ -102,14 +102,14 @@
const obj = Object.create(methods);
obj._library = {
name: 'ES6Pakket',
version: '2.0.1',
version: '2.0.1x',
};
return obj;
};

// Attaches constants to ES6Pakket that provide name and version of the lib.
ES6Pakket.NAME = 'ES6Pakket';
ES6Pakket.VERSION = '2.0.1';
ES6Pakket.VERSION = '2.0.1x';


// -- Private Static Methods -----------------------------------------------
Expand Down
6 changes: 3 additions & 3 deletions lib/es6pakket.mjs
@@ -1,4 +1,4 @@
/*! Generated by Pakket v1.1.0 */
/*! Generated by Pakket v1.2.0 */
/* global define */
/* eslint no-shadow: ['error', { 'allow': ['root'] }] */
/* eslint strict: ["error", "function"] */
Expand Down Expand Up @@ -103,14 +103,14 @@ const $__ES6GLOB = {};
const obj = Object.create(methods);
obj._library = {
name: 'ES6Pakket',
version: '2.0.1',
version: '2.0.1x',
};
return obj;
};

// Attaches constants to ES6Pakket that provide name and version of the lib.
ES6Pakket.NAME = 'ES6Pakket';
ES6Pakket.VERSION = '2.0.1';
ES6Pakket.VERSION = '2.0.1x';


// -- Private Static Methods -----------------------------------------------
Expand Down
59 changes: 30 additions & 29 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d6d729a

Please sign in to comment.