Giter VIP home page Giter VIP logo

bbcore's Introduction

bbcore

Rewrite of bobril-build to .Net Core. Mainly for speed reasons. Massive work in progress.

How to start

yarn global add bobril-build-core

bb2

What to do when bb2 failing to start for first time because Github rate limit

Github by default has limit of 60 anonymous requests per hour from one IP. So if it fails you have 2 options, wait or provide token to authenticate as yourself. First read [https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/] how to create your token. Token can have just read only rights, you don't need to select any scopes. Then you can either store it into your user profile directory in .github/token.txt file or set environment variable GITHUB_TOKEN.

How to override used version

In package.json create bobril section and set bbVersion to specific version you need. By setting tsVersion you can override used TypeScript for compilation.

"bobril": {
    "bbVersion": "0.9.0",
    "tsVersion": "2.7.1"
}

List of bobril-build specific warnings and errors

Number Severity Message
-1 Warn Local import has wrong casing
-2 Warn Module import has wrong casing
-3 Error Missing dependency
-5 Error First parameter of b.asset must be resolved as constant string
-6 Error b.sprite cannot have more than 6 parameters
-7 Warn Problem with translation message
-8 Error Translation message must be compile time resolvable constant string, use f instead if intended
-9 Error Hint message must be compile time resolvable constant string
-10 Error Absolute import name must be just simple module name
-11 Warn Fixing local import with two slashes

Package.json - bobril section features

How to enable generating of sprites.ts from all pngs in assets directory

"bobril": {
    "plugins": {
        "bb-assets-generator-plugin": {
            "generateSpritesFile": true
        }
    }
}

Environmental variables

Disable yarn creating links

Docker on Windows filesystem has limitation in creating links. To workaround this issue create environment variable BBCoreNoLinks with not empty value so bbcore will add --no-bin-links parameter to yarn command line.

bbcore's People

Contributors

bobris avatar janvargovsky avatar jakubjecminek avatar keeema avatar

Watchers

James Cloos avatar Josef Bačkovský avatar

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.