Exemplo n.º 1
0
        public NodeModulesNode(NodejsProjectNode root)
            : base(root) {
            CreateNpmController();

            _globalModulesNode = new GlobalModulesNode(root, this);
            AddChild(_globalModulesNode);

            _devModulesNode = new LocalModulesNode(root, this, "dev", "DevelopmentModules", DependencyType.Development);
            AddChild(_devModulesNode);

            _optionalModulesNode = new LocalModulesNode(root, this, "optional", "OptionalModules", DependencyType.Optional);
            AddChild(_optionalModulesNode);
        }
        public NodeModulesNode(NodejsProjectNode root)
            : base(root) {
            _npmController = DefaultNpmController(_projectNode.ProjectHome, new NpmPathProvider(this));
            RegisterWithNpmController(_npmController);

            _globalModulesNode = new GlobalModulesNode(root, this);
            AddChild(_globalModulesNode);

            _devModulesNode = new LocalModulesNode(root, this, "dev", "DevelopmentModules", DependencyType.Development);
            AddChild(_devModulesNode);

            _optionalModulesNode = new LocalModulesNode(root, this, "optional", "OptionalModules", DependencyType.Optional);
            AddChild(_optionalModulesNode);
        }
Exemplo n.º 3
0
        public NodeModulesNode(NodejsProjectNode root)
            : base(root)
        {
            CreateNpmController();

            _globalModulesNode = new GlobalModulesNode(root, this);
            AddChild(_globalModulesNode);

            _devModulesNode = new LocalModulesNode(root, this, "dev", "DevelopmentModules", DependencyType.Development);
            AddChild(_devModulesNode);

            _optionalModulesNode = new LocalModulesNode(root, this, "optional", "OptionalModules", DependencyType.Optional);
            AddChild(_optionalModulesNode);
        }
Exemplo n.º 4
0
        public NodeModulesNode(NodejsProjectNode root)
            : base(root)
        {
            _npmController = DefaultNpmController(_projectNode.ProjectHome, new NpmPathProvider(this));
            RegisterWithNpmController(_npmController);

            _globalModulesNode = new GlobalModulesNode(root, this);
            AddChild(_globalModulesNode);

            _devModulesNode = new LocalModulesNode(root, this, "dev", "DevelopmentModules", DependencyType.Development);
            AddChild(_devModulesNode);

            _optionalModulesNode = new LocalModulesNode(root, this, "optional", "OptionalModules", DependencyType.Optional);
            AddChild(_optionalModulesNode);
        }