Giter Site home page Giter Site logo

Comments (5)

ghaiklor avatar ghaiklor commented on May 27, 2024

@redoc123 it does. When you're choosing additional services, it modifies dependencies list which are installing via yeoman.

from generator-sails-rest-api.

redoc123 avatar redoc123 commented on May 27, 2024

@ghaiklor thanks for quick response for my "impatient" question. I am not seeing any of the packages being added to package.json. please advise.

I created a project with following options:

Application questions:
? Application name sails-rest-api

Configuration questions:
? Database adapter Mongo
? Database host localhost
? Database name sails-rest-api
? Database username
? Database password [hidden]
? Enable CORS? Yes

Logger questions:
? Choose which logger you want to configure Winston

Blueprint questions:
? Use overridden blueprints? Yes

Controller questions:
? Choose which predefined controllers you want to copy PingController, SearchController

Hook questions:
? Choose which predefined hooks you want to copy CountHook, PluralizeHook

Cron questions:
? Do you need cron? Yes

Swagger questions:
? Do you need Swagger UI Explorer? Yes

Authentication questions:
? Do you need authentication layer? Yes
? Secret key 74a13d37f8bf44138c564b02d8bbb48dc555d2ee0fd9a78594c16f5d8135f22d

Service questions:
? Select which services you want to use CipherService, HashService, ImageService, LocationService, MailerService, PusherService, SmsService
? Image provider IM
? Location provider Google
? Mailer provider SendGrid
? SMS provider Twilio

This is my package.json

{
"name": "sails-rest-api",
"version": "0.1.0",
"main": "app.js",
"dependencies": {
"rc": "1.1.6",
"sails": "0.12.14"
},
"devDependencies": {
"esdoc": "0.4.3",
"chai": "3.4.1",
"istanbul": "0.4.2",
"mocha": "2.3.4",
"sails-memory": "0.10.5",
"sinon": "1.17.2"
},
"scripts": {
"clean": "rm -rf ./.tmp",
"debug": "node debug app.js",
"docs": "esdoc -c esdoc.json",
"start": "node app.js",
"test": "istanbul cover _mocha"
}
}

from generator-sails-rest-api.

ghaiklor avatar ghaiklor commented on May 27, 2024

hm... it should add sails-service packages... Seems like a bug and needs investigation why this is happening. Do you want to try debug it?

from generator-sails-rest-api.

nastil avatar nastil commented on May 27, 2024

Hi, I just used your generator and I have the same problem - package.json was empty and I had to install all dependencies manually

from generator-sails-rest-api.

nastil avatar nastil commented on May 27, 2024

By empty I mean most dependencies where missing

from generator-sails-rest-api.

Related Issues (20)

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.