Skip to content

Commit cb021a4

Browse files
Merge pull request #10 from userfrosting/develop
develop -> master (v3)
2 parents 78ef496 + da6ceb9 commit cb021a4

547 files changed

Lines changed: 5417 additions & 23866 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
package.json eol=lf
2+
package-lock.json eol=lf

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
node_modules/
22
npm-debug.log
3-
/coverage
3+
dist/

.jshintrc

Lines changed: 0 additions & 88 deletions
This file was deleted.

.npmignore

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
1-
/examples/
21
.travis.yml
3-
readme.md
4-
/gulpfile.js
5-
/test/
6-
.idea
7-
.DS_Store
8-
*.log
9-
*.orig
10-
/bin/bundleAllExamples.sh
11-
.jshintrc
12-
/coverage/
13-
.coveralls.yml
2+
src/
3+
!dist/
4+
**/*.test.js
5+
**/*.test.d.ts
6+
dist/index.d.ts
7+
tsconfig.json
8+
.gitattributes

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: node_js
22
node_js:
3-
- "0.10"
4-
- "0.12"
5-
- "4"
6-
- "5"
7-
- "6"
3+
- "8"
4+
- "9"
5+
- "10"
6+
- "11"
7+
- "lts/*"

CHANGELOG.md

Lines changed: 213 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,213 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
6+
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
7+
8+
## [Unreleased]
9+
10+
## [3.0.0-rc.1] - 2019-01-09
11+
12+
This release focuses on simplifying the package for UserFrosting 4 to improve maintainability. Features unsupported by UF4 are largely removed.
13+
14+
### Added
15+
- Raw configuration validation.
16+
- Raw configuration merging with collision logic (ported from UserFrosting `gulpfile`).
17+
- Path transformation with support for file replacement based on rule order (later rules superseed earlier ones).
18+
- Ability to specify base path for resolution of bundle resources and path transformations.
19+
- Support for comprehensive logging through a passed logger function.
20+
21+
### Changed
22+
- Functionality offered by results file has been replaced by `ResultsMap` property.
23+
- Reads stream chunks (`Vinyl` instances) instead of directly from file system.
24+
- As an internal `gulp` pipeline is no longer responsible for bundle generation, custom `Transform` streams (e.g. `gulp-concat-css`) must be provided.
25+
- Path transformations will no longer be applied to files due to complexity around how paths are managed in `gulp`. Instead this feature will be used for override logic alone.
26+
- Bundle results are now retrieved via a callback which is given a collection of `Vinyl` `NullFiles` to retain as much useful information as possible.
27+
- Moved package under `@userfrosting` organisation in NPM and removed superfluous `uf` from package name.
28+
29+
### Removed
30+
- Support for CSS sourcemaps (broken since 2.27.2).
31+
- Specification of pre-minified files (`minSrc`).
32+
- CoffeeScript, and LESS compilation (functionality can be implemented manually through provided `Bundlers`).
33+
- Glob paths.
34+
- Environment based build conditions (functionality can be implemented manually through provided `Bundlers`).
35+
- Incremental/watched builds.
36+
- Automatic HTML tag generation for results file (use results callback to implement this manually).
37+
- File copy support (use `gulp.dest` or an equivalent).
38+
- Result file support (replaced by callback).
39+
- Removed dependency on `gulp` as per best practises.
40+
41+
## [2.28.2] - 2018-02-10
42+
43+
### Changed
44+
- Removed some missed references to `gulp-util`.
45+
46+
## [2.28.1] - 2018-02-09
47+
48+
### Changed
49+
- Migrated from deprecated dependency `gulp-util`.
50+
51+
## [2.28.0] - 2017-11-17
52+
53+
### Added
54+
- Merged upstream 2.28.0 release.
55+
56+
### Changed
57+
- Unlocked dependencies to allow backwards compatible feature updates. (`^` vs. `~`).
58+
59+
## [2.27.2] - 2017-02-16
60+
61+
### Changed
62+
- Using `gulp-concat-css` for CSS bundles.
63+
64+
__Project Forked:__ Forked at 2.27.0, 2.28.0 release was backported.
65+
66+
## 2.28.0 - 2017-04-15 (backported)
67+
68+
### Added
69+
- Options to output src files in result [#90](https://github.com/dowjones/gulp-bundle-assets/issues/90) ([@PlasmaPower](https://github.com/PlasmaPower)).
70+
71+
## [2.27.1] - 2016-05-24
72+
73+
_Changes unknown_
74+
75+
## [2.27.0] 2016-05-23
76+
77+
### Added
78+
- Consistent `result.json` ordering [#71](https://github.com/dowjones/gulp-bundle-assets/issues/71) ([@PlasmaPower](https://github.com/PlasmaPower)).
79+
80+
## [2.26.0] - 2016-05-06
81+
82+
### Changed
83+
- Updated many deps including: `gulp-less` 3.1.0, `gulp-coffee` 2.3.2 and `gulp-if` 2.0.1.
84+
85+
## [2.25.0] - 2016-05-06
86+
87+
### Changed
88+
- Update to use `gulp-clean-css` 2.0.7 instead of deprecated `gulp-minify-css` module.
89+
90+
## [2.24.0] - 2016-03-17
91+
92+
### Changed
93+
- Updated to `gulp-less` 3.0.5 and `gulp-uglify` 1.5.3.
94+
95+
## [v.23.0] - 2015-09-16
96+
97+
### Added
98+
- Option to modify built-in sourcemaps [#65](https://github.com/dowjones/gulp-bundle-assets/issues/65) ([@narthollis](https://github.com/narthollis)).
99+
100+
## [2.22.0] - 2015-07-17
101+
102+
### Added
103+
- Config option for consistent file content ordering [#25](https://github.com/dowjones/gulp-bundle-assets/issues/25).
104+
105+
## [2.21.0] - 2015-06-11
106+
107+
### Changed
108+
- Updated all deps, including: `gulp-rev` 4.0.0, `gulp-less` 3.0.3, `gulp-sourcemaps` 1.5.2.
109+
110+
## [2.20.0] - 2015-05-07
111+
112+
### Added
113+
- pluginOptions config option [#50](https://github.com/dowjones/gulp-bundle-assets/issues/50).
114+
115+
## [2.19.2] - 2015-05-07
116+
117+
### Changed
118+
- Update to `gulp-minify-css` 1.1.1 ([@ZaleskiR](https://github.com/ZaleskiR)).
119+
120+
## [2.19.1] - 2015-04-24
121+
122+
### Fixed
123+
- `result.json` url separator on windows [#52](https://github.com/dowjones/gulp-bundle-assets/pull/52) ([@gregorymaertens](https://github.com/gregorymaertens)).
124+
125+
## [2.19.0] - 2015-03-01
126+
127+
### Fixed
128+
- Error handling for `bundle.watch` [#47](https://github.com/dowjones/gulp-bundle-assets/pull/47).
129+
130+
## [2.18.0] - 2015-02-08
131+
132+
### Added
133+
- Flag to disable sourcemaps [#45](https://github.com/dowjones/gulp-bundle-assets/pull/45) ([@21brains-zh](https://github.com/21brains-zh)).
134+
135+
## [2.17.5] - 2015-02-04
136+
137+
### Changed
138+
- Updated examples.
139+
140+
## [2.17.4] - 2015-02-04
141+
142+
### Added
143+
- Logging for errors from custom transforms [#41](https://github.com/dowjones/gulp-bundle-assets/issues/41).
144+
145+
## [2.17.3] - 2015-02-03
146+
147+
### Changed
148+
- Updated examples.
149+
150+
## [2.17.2] - 2015-02-03
151+
152+
### Added
153+
- Logging of bundle config parse errors.
154+
155+
## [2.17.1] - 2014-12-05
156+
157+
### Fixed
158+
- Custom result file name during `bundle.watch` ([@roberto](https://github.com/roberto)).
159+
160+
## [2.17.0] - 2014-12-05
161+
162+
### Added
163+
- Custom result file name [#36](https://github.com/dowjones/gulp-bundle-assets/issues/36) ([@roberto](https://github.com/roberto)).
164+
165+
## [2.16.1] - 2014-12-04
166+
167+
### Fixed
168+
- Unit tests.
169+
170+
## [2.16.0] - 2014-12-01
171+
172+
### Changed
173+
- Updated deps, including: `gulp-rev` 2.0.1, `gulp-sourcemaps` 1.2.8, `gulp-uglify` 1.0.1.
174+
175+
## [2.15.2] - 2014-10-21
176+
177+
### Added
178+
- Support for both minCSS and minCss [#34](https://github.com/dowjones/gulp-bundle-assets/issues/34)
179+
180+
## [2.15.1] - 2014-10-10
181+
182+
### Added
183+
- Example using 6to5 (aka [babel](https://babeljs.io/)).
184+
185+
## [2.15.0] - 2014-09-29
186+
187+
### Added
188+
- `bundle.watch` for copy files [#33](https://github.com/dowjones/gulp-bundle-assets/issues/33).
189+
190+
## [2.14.0] - 2014-09-29
191+
192+
### Added
193+
- Flag to disable logging [#16](https://github.com/dowjones/gulp-bundle-assets/issues/16).
194+
195+
## [2.13.1] - 2014-09-25
196+
197+
### Fixed
198+
- Issue where when bundleAllEnvironments: true, srcMin is always true [#32](https://github.com/dowjones/gulp-bundle-assets/issues/32).
199+
200+
## [2.13.0] - 2014-09-23
201+
202+
### Added
203+
- Allow different watch vs bundle targets [#30](https://github.com/dowjones/gulp-bundle-assets/issues/30).
204+
205+
## [2.12.1] - 2014-09-23
206+
207+
### Fixed
208+
- Only publish results during watch when opts defined.
209+
210+
## [2.12.0] - 2014-09-23
211+
212+
## Added
213+
- `bundle.watch` for bundles [#26](https://github.com/dowjones/gulp-bundle-assets/issues/26).

LICENSE

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
The MIT License (MIT)
22

3+
Copyright (c) 2018 - 2019 David Jordan Myles Mele
4+
35
Copyright (c) 2015 Dow Jones & Company
46

57
Permission is hereby granted, free of charge, to any person obtaining a copy

0 commit comments

Comments
 (0)