Skip to content

Releases: gabrielcsapo/sweeney

1.4.1

31 Mar 20:19
Compare
Choose a tag to compare
  • removes unnecessary console.log
  • fixes help formatting

1.4.0

03 Sep 04:00
Compare
Choose a tag to compare
  • add support for parsing of .sweeney.js and .sweeney file paths.
  • adds a plugin interface
  • fix issue with generating unneeded files to disk

1.3.2

23 May 07:43
Compare
Choose a tag to compare
  • cleans up timing logic

1.3.1

12 Apr 05:40
Compare
Choose a tag to compare
  • fixes issue with development-toast being hidden behind page text
    • abstracts development-toast styles into serve.css
  • makes sure that files that are not html are served as binary assets
    • fixes issue with .woff and other binary files not being read properly

1.3.0

12 Apr 05:10
Compare
Choose a tag to compare
  • css files can now be interpreted by the editable plugin when they change their extension to sy and set the type to css
  • includes now outputs css styles with proper type tag (type='text/css')
  • the editable plugin now allows type color to be passed
  • the save action for form submission in serve is now actually async (it wasn't before, sometimes it would write sometimes it wouldn't)
  • get and set now support mixed object access forms such as obj.name or obj['name'] or obj["name"]

1.2.2

12 Apr 01:36
Compare
Choose a tag to compare
  • if you edit something using editable view, it will write the wrong template to disk (this is fixed)
    • makes sure that templateToString outputs the right content
      • exports rawContent on page when parsed which ensures plugins did not alter the content
  • makes sure if the user had quotes on a variable in .sweeney that same quote / or not quote is persisted if updated.
    • this ensures if the value was a number it will be properly written
  • templateToString does not write type unless it was in options

1.2.1

11 Apr 21:15
Compare
Choose a tag to compare
  • removes makeSearchable migrates to get instead
  • moves get, set and getEditable to utils with tests

1.2.0

11 Apr 00:51
Compare
Choose a tag to compare
  • plugins don't have to have a parse or render method to be interpreted.
  • makes sure content, type and collection is always returned even if no options block is parsed from string
  • crawl will inject outputPath into all pages that are rendered
  • inMemory is now an option on Site that doesn't build the site to disk but rather to memory
  • onBuild can now be set on Site that will trigger after a build has been finished
  • reduces the complexity of bin operations. All Site based functionality is done at the top level instead of each function having its own instance, it is shared.
  • when the server fails it will throw the stack output not the error.toString() this is not really helpful
  • moves linting to standard

1.1.0

02 Mar 23:43
Compare
Choose a tag to compare
  • fixes new command (the path to the example/new project directory was wrong)
  • fixes and tests copyDirectory to ensure files and sub directories are copied before completed
  • removes dead code getConfig
  • removes getRenderedDepends method as it does nothing.
    • fixes and tests renderSubDepends to work with the default behavior of template linking
  • removes includes business logic to new plugins architecture!
  • parseString is now async, because plugins can parse async
  • ms now truncates milliseconds to the 4th decimal place if displaying milliseconds only

1.0.2

27 Feb 01:00
Compare
Choose a tag to compare
  • makes sure if you change .sweeney during watch, it will rebuild and uncache the old config.
  • outputs build metrics per file and its dependencies

before

site built at /Users/gcsapo/Documents/sweeney/docs/example [23.516861ms]

after

site built at /Users/gcsapo/Documents/sweeney/docs/example [23.516861ms]

        
 about.sy [1.446816ms]
    - layouts/default.sy [0.970805ms]
 index.sy [0.719043ms]
    - layouts/default.sy [0.529544ms]
 posts/2017-11-20-welcome-to-sweeney.sy [1.450899ms]
    - layouts/post.sy [1.315149ms]
        - layouts/default.sy [1.197341ms]
 posts.sy [0.557258ms]
    - layouts/default.sy [0.301331ms]
 projects.sy [0.391244ms]
    - layouts/default.sy [0.255869ms]