All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Memory leak with files being constantly recompiled when watching or running a dev-server.
- Cleaned up debug output of console on dev-server.
- Fixed output paths of watch and build commands.
- Fixed Twig compiler issue where layout files are not recompiled in dev server by removing its caching function.
- Context file detection for watch and dev-server are now self-maintaining within the builders.
- Context file detection for watch and dev-server is now an RXJS observable.
- Added root as option to optionally define the root of your project.
- Instantly 404ing request with unresolvable path on dev-server for performance gains.
- Added precss to dependencies.
- Added precss for scss syntax files to fix nesting.
- Moved
@puresamari/ts-bundler
to dependencies since it was missing from the package itself.
- Bumped version of ts-bundler to fix commonjs module imports.
[builder]
Fixed scss syntax compilation error by replacingprecss
withpostcss-scss
.
[builder]
Fixed issue with context files being absolute.
[builder]
now compiles into the relative directory from its source file.
[dev-server]
Added.html
andindex.html
resolving for urls.[init]
Added init command to easily initialize your spb website.
[compilers]
Added copy compiler for if no compiler is found for files.
[dev-server]
Fixed issue with double compiling files.[watch]
Fixed issue with double compiling files.
[config]
Option for not clearing dist dir when building
[tests]
Removed test files from npm tarball
[config]
Added postbuild script option to the configs
[compilers]
Addedjs
andscss
compilers.
[dev-server]
Fixed issue when output folder doesn't exist
[dev-server]
Added compile indication to html views
[dev-server]
Improved event propagation through rxjs
- Switch between explicit postcss plugin require for webpack and implicit for nodejs based applications.
- Dynamically add new dependencies while watching or running dev-server.
- PostCSS Module resolution is now relative to the initiating script (implemented for the
spb-app
).
- Added destroy function to
dev-server
- Upgraded
@puresamari/ts-bundler
tov0.0.7
for compatibility for the bundler application
- Upgraded
@puresamari/ts-bundler
to v0.0.6 - Compatibility for the bundler application
- Moved
@puresamari/ts-bundler
from devDependencies to normal dependencies
- Config file data aquiration from require to fs.readfilesync for the application
- Exposing native .ts files for now
- Deep dependency discovery for
.twig
,.pug
and.css
files
- Wildcard matching for file collection in configuration and
--files
cli option
- Moved dev-server to different path
- Dependency discovery for
.twig
,.pug
and.css
files
- Updated
@puresamari/ts-bundler
to@puresamari/[email protected]
- Watcher is now recompiling the correct file on change of a imported module
- Dev server export path detection for compiled files
- Compiler structure so that a compiler is instanciated when a spb builder option is loaded.
- Improved re-compilation for watcher and dev-server since the compilers are always instanciated.
- Switched from
fs.watchFile
tofs.watch
for performance improvements on change detection.
- Upgraded version of the typescript bundler
- ts module collection
- auto refresh for watcher and dev server when changing ts files
- Split file compilation and building into different functions
- Added a dynamic development server
- Added auto reload on file changes
- Pug compiler
- GH-Page now is compiled with pug
- GP-pages
- Watcher only compiles changed files
- spb-page compiles to dist
- Public folder
- Issue where watcher compiled 2 times initially
- Improved looks
- Using
@puresamari/ts-bundler
as ts-bundler.
- Compiler file discovery is now async.
- Removed webpack as typescript bundler.
- Import tree detection for twig files
- Compilers are now running as an instance
.js
and.ts
extensions are now automatically resolved intypescript
andjavascript
files- Postcss plugins can be customized with the config files
compilers.postcss.plugins
"compilers": {
"postcss": {
"plugins": [
...
"precss", // or other
...
]
}
}