Lucas Vallenet
a11e98e31e
Fix js FONT var error
2023-05-22 09:48:34 +02:00
Deven Caron
6ef90dbe11
Merge pull request #149 from locomotivemtl/dependabot/npm_and_yarn/engine.io-6.4.2
...
Bump engine.io from 6.4.0 to 6.4.2
2023-05-12 10:41:24 -04:00
Deven Caron
6726d665f2
Merge pull request #148 from locomotivemtl/feature/scss-colors
...
Color as list
2023-05-12 10:39:38 -04:00
Deven Caron
dca6c5de1d
Merge branch 'master' into feature/scss-colors
2023-05-12 10:39:10 -04:00
Deven Caron
05a00c4258
Merge pull request #146 from locomotivemtl/feature/css-math
...
Replace fractions with math.div in scss files
2023-05-12 10:36:33 -04:00
Deven Caron
7517be0e76
Merge pull request #147 from locomotivemtl/feature/js-config
...
Feature/js config
2023-05-12 10:36:08 -04:00
dependabot[bot]
dcec21adf4
Bump engine.io from 6.4.0 to 6.4.2
...
Bumps [engine.io](https://github.com/socketio/engine.io ) from 6.4.0 to 6.4.2.
- [Release notes](https://github.com/socketio/engine.io/releases )
- [Changelog](https://github.com/socketio/engine.io/blob/main/CHANGELOG.md )
- [Commits](https://github.com/socketio/engine.io/compare/6.4.0...6.4.2 )
---
updated-dependencies:
- dependency-name: engine.io
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-04 01:31:42 +00:00
Lucas Vallenet
297e0b4ec8
Update color function
2023-04-21 11:34:15 +02:00
Lucas Vallenet
9a2083d894
Color as list with function
2023-04-19 15:37:52 +02:00
Lucas Vallenet
1a81c865ae
Config namespaces
2023-04-05 15:06:51 -04:00
Lucas Vallenet
d6b5784cdd
Replace fractions with math.div in scss files
2023-04-05 14:40:28 +02:00
Lucas Vallenet
8894664743
Update js config values and use it within whole app
2023-04-05 12:23:25 +02:00
Deven Caron
8aac2ffea6
Merge pull request #132 from locomotivemtl/feature/build-task-chores
...
Various fixes and changes to build utilities
2023-03-06 09:07:04 -05:00
Chauncey McAskill
349d110dee
Revert merging of usrconfig to use let declaration
2023-03-03 13:13:31 -05:00
Chauncey McAskill
7be5e48f22
Fix import of merge util in 'watch.js'
...
The `merge` function is provided by 'utils/index.js'.
2023-03-03 13:07:47 -05:00
Chauncey McAskill
1ee315663e
Fix glob.js and improve documentation
...
Documented API inconsistencies between supported glob libraries (expected/supported parameters and return types).
Fixed API inconsistencies between 'tiny-glob', 'globby', and 'glob', to match 'fast-glob'.
Fixed broken support for preset options for 'tiny-glob'.
2023-03-03 13:04:22 -05:00
Chauncey McAskill
89bb00790f
Update postcss.js documentation
2023-03-03 13:04:22 -05:00
Chauncey McAskill
9db0c71a82
Move helpers/utils exports to end of file
...
Improves readability by always expecting exports at the end of the file.
2023-03-03 13:04:22 -05:00
Chauncey McAskill
7742bbb9d0
Add block comments to task iteratees
2023-03-03 13:04:22 -05:00
Chauncey McAskill
c9a9209b4b
Refactor build utilities
...
Separated generic functions from build helpers.
Changed:
- Moved 'utils/*.js' to 'helpers/*.js'
- From 'utils/config.js':
- Moved function `merge` to 'utils/index.js'.
- Moved function `isObjectLike` to 'utils/index.js'.
- From 'utils/template.js':
- Moved function `flatten` to 'utils/index.js'.
- Moved function `escapeRegExp` to 'utils/index.js'.
- From 'tasks/styles.js':
- Moved function `createPostCSSProcessor` to 'helpers/postcss.js' as `createProcessor`.
- Replaced function `Object.assign` with `merge` for task options parsing in all tasks.
2023-03-03 13:04:22 -05:00
Chauncey McAskill
9d758f3b2c
Improve postcss.js
...
Added constant `supportsPostCSS` to provide a boolean to check if PostCSS is available.
2023-03-03 13:04:22 -05:00
Chauncey McAskill
0738dd6491
Improve glob.js
...
Added constant `supportsGlob` to provide a boolean to check if a glob function is available.
2023-03-03 13:04:22 -05:00
Chauncey McAskill
a4656f59ed
Improve concats.js, scripts.js, svgs.js
...
Added:
- Condition to cast `includes` into an array.
Removed:
- Variable `files` in favour of reusing `includes` in 'concats.js'.
2023-03-03 13:04:20 -05:00
Deven Caron
7ff6094e40
Move sass to dev dependencies
2023-03-03 10:49:57 -05:00
Chauncey McAskill
3fee6f4888
Update NPM depdencies
...
Updated:
- browser-sync v2.27.5 → v2.27.11
- esbuild v0.16.17 → v0.17.6
- engine.io v3.5.0 → v6.4.0
- qs v6.2.3 → v6.11.0
Changed:
- Overrode ua-parser-js constraint in browser-sync from `1.0.2` to `~1.0.33` to fix security notice.
2023-02-09 10:52:26 -05:00
Deven Caron
f774482255
Update README node version
2023-02-09 10:21:39 -05:00
Deven Caron
b7d9311ac6
Remove container width; replace with padding
2023-02-09 10:18:47 -05:00
Deven Caron
c22a006079
Merge pull request #139 from locomotivemtl/feature/update-node-version
...
Update node version to v17.9 and switch from node-sass to sass
2023-02-09 10:15:42 -05:00
Deven Caron
af57ebd9cb
Merge branch 'master' into feature/update-node-version
2023-02-09 10:11:24 -05:00
Deven Caron
c82e9916d0
Merge branch 'master' into feature/update-node-version
2023-02-09 10:05:25 -05:00
Deven Caron
943324220a
Downgrade to node v17.9
2023-02-09 10:00:31 -05:00
Deven Caron
477cec7763
Merge pull request #141 from locomotivemtl/feature/optimize-grid
...
Optimise grid-column loops / Use css vars for grid columns
2023-02-09 09:08:35 -05:00
Deven Caron
5d38685460
Merge branch 'master' into feature/optimize-grid
2023-02-09 09:07:35 -05:00
Deven Caron
9079d735bc
Merge pull request #138 from locomotivemtl/feature/css-variables
...
Feature / CSS Variables
2023-02-09 09:02:59 -05:00
Deven Caron
87238fcdd5
Merge branch 'master' into feature/css-variables
2023-02-09 09:01:24 -05:00
Deven Caron
2f75d8f3d2
Merge pull request #142 from locomotivemtl/dependabot/npm_and_yarn/http-cache-semantics-4.1.1
...
Bump http-cache-semantics from 4.1.0 to 4.1.1
2023-02-07 09:30:26 -05:00
dependabot[bot]
0346a15b57
Bump http-cache-semantics from 4.1.0 to 4.1.1
...
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases )
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1 )
---
updated-dependencies:
- dependency-name: http-cache-semantics
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-04 05:43:43 +00:00
Deven Caron
a2d658bc13
Remove log to prevent throwing unwanted errors
2023-02-02 10:14:48 -05:00
Deven Caron
7c1b61eda9
Add build config dynamic import assertation type
2023-02-02 10:00:20 -05:00
Lucas Vallenet
1fe30a9837
Optimize grid-column loops / Use css vars for grid columns
2023-02-01 10:23:43 +01:00
Deven Caron
e4ae03a94c
Remove unused sass env function
2023-01-31 15:37:40 -05:00
Deven Caron
3cde7d40ee
Update readme
2023-01-31 14:15:56 -05:00
Deven Caron
d1d4fb5fe5
Bump node-version & upgrade node-sass to sass
2023-01-31 13:57:51 -05:00
Chauncey McAskill
3cd81bdb3e
Improve asset versioning task
...
Improved logic for replacing the value to allow for simpler regular expression patterns. Lookbehinds and lookaheads are no longer required.
2023-01-13 16:42:47 -05:00
Chauncey McAskill
b6970832a3
Improve asset versioning task
...
Added support for replacing a string in a file using a regular expression.
The routine uses Node's Readline and Stream modules.
The `outfile` will be renamed with a `~` suffix, then stream each line, writing to a new `outfile`.
On success, the backup file (with `~`) is deleted.
On error, any new file is deleted, then the backup file is renamed without a `~` suffix.
Usage:
```json
"versions": [
{
"format": "timestamp",
"key": "regexp:(?<=\bdefine\('ASSETS_VERSION', )[^\)]+(?=\);)",
"outfile": "src/bootstrap.php"
}
]
```
```php
<?php
define( 'ASSETS_VERSION', 1665071717350 );
```
2023-01-13 15:08:50 -05:00
Chauncey McAskill
b8f0a24cdc
Update NPM dependencies
...
Updated:
- esbuild v0.16.13 → v0.16.17
- postcss v8.4.20 → v8.4.21
2023-01-13 14:55:01 -05:00
Chauncey McAskill
0c718a2644
Update Development documentation
...
Changed:
- Bumped NPM requirement.
- Added note about benefits of using NVM.
- Added note about support for PurgeCSS to Styles task.
- Added details about Versions task.
2023-01-05 10:37:52 -05:00
Lucas Vallenet
be71474633
Remove duplicate / Update functions descriptions
2023-01-05 09:58:01 +01:00
Chauncey McAskill
56d255eac8
Fix NPM dependency constraints on svg-mixer
...
Changed:
- Fixed svg-mixer constraint from `^2.3.14` to `~2.3.14` to stay within `2.3` range since `2.4.0` appears to be an anomaly.
- Overrode postcss constraint in svg-mixer from `^6.0.21` to `^8.4.20` to fix security notice.
2023-01-04 11:01:40 -05:00
Chauncey McAskill
e7e343e62c
Bump NPM requirement to 8+
...
To take advantage of NPM dependency overrides.
2023-01-04 11:01:40 -05:00