Giter Club home page Giter Club logo

trailpack's Issues

Deprecate trailpack-datastore/webserver now

We should set trailpack-datastore/webserver and redirect users to use trailpack/server and trailpack/datastore now
Also we should retrieve tests from those two module and add them here to test those here.

Cannot set property 'smokesignals' of undefined

Issue Description

With last version of Trailpack and smoke signals I have this error :

TypeError: Cannot set property 'smokesignals' of undefined
    at SmokesignalsTrailpack.Trailpack (/Users/jaumard/IdeaProjects/trailpack-annotations/node_modules/trailpack/index.js:51:31)
    at SmokesignalsTrailpack (/Users/jaumard/IdeaProjects/trailpack-annotations/node_modules/smokesignals/lib/trailpack.js:7:10)
    at /Users/jaumard/IdeaProjects/trailpack-annotations/node_modules/trails/index.js:64:59
    at Array.map (native)

Environment

  • node version: all
  • trails version: all
  • operating system: all

Publish latest version to npm

Hello!

I've realised that we have the version 2.1.0 in NPM which uses [email protected], and it's giving me this error: 1:1 error Definition for rule 'no-global-assign' was not found no-global-assign

It's reported here already: trailsjs/eslint-config-trails#17

I think this would fix it.

Thank you!

UPDATE: Nevermind, there are a lots of packages with eslint@2 so probably this won't fix it, although any help will be appreciated, I could submit a PR if needed :)

Remove conflict log except for Arrays

It can be confusing for the user to see this king of log :

debug: The config setting web.middlewares is defined by both trailpack-express4 and the application. The middlewares config defined in trailpack-express4 will be ignored.
debug: The config setting web.port is defined by both trailpack-express4 and the application. The port config defined in trailpack-express4 will be ignored.
debug: The config setting middlewares.order is defined by both trailpack-express4 and the application. The order config defined in trailpack-express4 will be ignored.

web.middlewares will not be ignored, it's an object so it will be merged.
web.middlewares.order is an array so the log is good
web.port is only an integer so it will be replaced/ignored

Maybe it will be great to only show conflicts logs for Arrays cause it's the only things who matters when merging configs. Other types user know (or don't need to know) there a default config in the trailpack.

Views and assets capabilities

It would be nice if assets can be import into trails project from traipacks. For example if I want to create a trailpack who add a generic back office, I want my trailpack to contains views, routes and assets that will be load into my project to have a back office.

static trailpack dependency analysis

Using the trailpack lifecycle configuration it is possible to statically determine which trailpacks are compatible which each other, as well as the order of execution of a set of compatible trailpacks.

Some analysis of this sort can be done after npm install and/or during the trails boot process.

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.