Skip to content
This repository was archived by the owner on Feb 20, 2020. It is now read-only.

virtualidentityag/gulp-build-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-build-framework

Migration checklist

gulp-frontend-boilerplate 3.x to gulp-build-framework 4.x

  1. Install yarn globally https://yarnpkg.com/en/docs/install

  2. Remove devDependencies from local package.json

  3. Add devDependencies from frontend-frameworks' package.json

  4. Migrate bower.json to NPM

    Use Bower package search to search for the repositories behind the bower keys listed in your local bower.json. Double check if npm package name equals bower package name!!!!!

    Install repository with Yarn yarn add [repo-found-at-bower-search]#[version-number] --save. For example: yarn install https://github.com/janrembold/jquery-debouncedwidth#1.1.3

    In case the target repository doesn't have a (valid) package.json:

  • Add a package.json if you have access to that repository
  • Ask the developer to add one, or better send a pull request
  • See forked repositories in https://github.com/virtualidentityag, it's possible someone else already had that problem
  • Fork the repository and add a package.json yourself and install this repository
  1. Update script paths in scripts.html and maybe other relevant script-loading files, e.g. _mock/configuration.js or conditional-resource-loader paths.

  2. Add projectConfig.json: https://github.com/virtualidentityag/frontend-framework/blob/master/projectConfig.json

  1. Update "externalResources" in projectConfig.json to match old bower resources. This task copies only relevant files from node_modules to local vendor folders

  2. Rename folder app/resources/templates to app/resources/hbs

  3. Rename folder app/resources/jsx to app/resources/react (fix script paths accordingly)

  4. Rename folder app/resources/css to app/resources/sass

  5. Check global variable naming for handlebars namespace, default is global.configuration.data.tpl. Some older projects use customer name instead of global. Change namespace in project config.

  6. Load head.configuration.js in <head> BEFORE setting global configurations. Always use global.configuration getters and setters!

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 7