Giter Site home page Giter Site logo

quatrocode / simplr-gulp Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 1.21 MB

Fully functional gulpfile.js implementation. Tailored for Single Page Application. Written in TypeScript

License: GNU Affero General Public License v3.0

JavaScript 45.21% TypeScript 54.44% CSS 0.06% HTML 0.29%
gulp nodejs simplr-gulp subtask typescript

simplr-gulp's People

Contributors

dovydasnavickas avatar giedriusgrabauskas avatar martynaszilinskas avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

simplr-gulp's Issues

Missing dependencies

When trying to run :build for the first time, gulp dependency missing:
gulp-sourcemaps

[Jspm.CdnPaths:Production] react-dom resolve wrong file

react-dom resolved with not minified file (react-dom.js).

[17:06:11] INFO JSPM [npm:react-dom@15.2.1]: Downloading https://api.cdnjs.com/libraries?fields=assets%2Cversion&search=react-dom
[17:06:12] INFO JSPM [npm:react-dom@15.2.1]: Response 200 (OK).
[17:06:12] INFO JSPM [npm:react-dom@15.2.1]: Downloaded and parsed 0 result.
[17:06:12] INFO JSPM [npm:react-dom@15.2.1]: Trying to use splited package name: react
[17:06:12] INFO JSPM [npm:react-dom@15.2.1]: Downloading https://api.cdnjs.com/libraries?fields=assets%2Cversion&search=react
[17:06:12] INFO JSPM [npm:react-dom@15.2.1]: Response 200 (OK).
[17:06:12] INFO JSPM [npm:react-dom@15.2.1]: Downloaded and parsed 78 results.
[17:06:12] INFO JSPM [npm:react-dom@15.2.1]: Not targeting the latest version 15.3.0, trying to find version 15.2.1
[17:06:12] INFO JSPM [npm:react-dom@15.2.1]: Version 15.2.1 found.
[17:06:12] INFO JSPM [npm:react-dom@15.2.1]: File react-dom.js found.
[17:06:12] INFO JSPM [npm:react-dom@15.2.1]: Cdn link successfully resolved.
[17:06:12] INFO JSPM [npm:react-dom@15.2.1]: https://cdnjs.cloudflare.com/ajax/libs/react/15.2.1/react-dom.js

Typescript error

Unhandled typescript error:

ERROR TS: src\app\routes\start\start-route.tsx[19, 7]:  { messageText: 'Class \'StartRoute\' incorrectly extends base class \'Component<Props, State>\'.',
  category: 1,
  code: 2415,
  next:
   { messageText: 'Property \'state\' is private in type \'StartRoute\' but not in type \'Component<Props, State>\'.',
     category: 1,
     code: 2325,
     next: undefined } }

JSPM install fails

When following instructions from the read-me, error occurs while trying to install JSPM dependencies by running "jspm install".
Error details below:

err Registry quatrodev not found.
err Unable to load registry quatrodev
warn Installation changes not saved.

[Jspm.CdnPaths:Production] Cannot resolve moment.js

Package: http://momentjs.com/

[17:06:24] INFO JSPM [npm:moment@2.14.1]: Downloading https://api.cdnjs.com/libraries?fields=assets%2Cversion&search=moment
[17:06:25] INFO JSPM [npm:moment@2.14.1]: Response 200 (OK).
[17:06:25] INFO JSPM [npm:moment@2.14.1]: Downloaded and parsed 12 results.
[17:06:25] WARNING JSPM [npm:moment@2.14.1]: Cannot resolve cdn link with version 2.14.1.

Roadmap

Roadmap

  • Minify .js files
  • Remove WebConfig from gulpconfig.json
  • Add more features in gulpconfig.json
    • Set uglify options
    • Set styles autoprefixer options
    • Set Bundle config (uglify, minify)
    • TsLint configuration
      • Use TsLint (true/false)
      • Custom TsLint config file name
      • Output errors types
    • CSS minification config
  • Remove zero number limt in Helpers.Pad() function
  • Handle if file already copied (Build.Assets, Build.Configs)
  • Update Typescript definitions
  • Files structure
    • Localhost server with live reload
    • Modules or plugins (?)
  • Watchers tasks handler
    • Handle unlink event for deleted folders
  • Localhost server
    • Live reload react rerender
  • Create 'Clean.Libs' task (Moved to Release 2.1.0)
  • Don't read package.json on start (return Promise).

Typescript error handler

ERROR TS: src\app\app.ts[12, 17]: [object Object] 
ERROR TS: undefined[14569, 6]: Duplicate identifier 'AlgorithmIdentifier'. 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.