Giter Site home page Giter Site logo

pecan-waffle's People

Contributors

peterblazejewicz avatar sayedihashimi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pecan-waffle's Issues

Clarify project envisioned purpose in README

The project seems to be multi-purpose tool:

  • scaffold an item (consuming content)
  • scaffold a project (consuming content)
  • install/add new item/project (consuming content)
  • develop and install new item/new project (enhancing content)
    and it could be better documented in project header and rest of documentation. By consuming I mean using tool by end-user, just like in VS studio to create new project/new item from templates. While enhancing means adding new value to content, just like when adding new template for Item/Project to Side Waffle.
    Thanks!

SolutionFolders

In VSTemplate files it is possible to define SolutionFolder nodes. Would it be possible to add this option to Pecan waffle also?

Create a POC IWizard for usage in VS

We should create a POC custom IWizard in VS to call into pecan-waffle to create project(s) and then add them to the solution. This is just a POC to see the end-to-end. Later we can improve the UI. Here are some ideas.

pecan-waffle-poc

Project structure changed from flat in template src to bouble root in generated solution

The template source project has a flat folder structure where the .sln file, packages folder, .vs folder, and all project folders (Droid, iOS, Win, etc) are all live in the root folder of the solution. The problem is that in the generated solution has a generated folder structure where the .sln file, packages folder, and .vs folder are in the root folder but the project folders are pushed down a level under a second root folder.

Why isn’t that source folder structure translating "as is" to generated folder structure?

List main feature commands in README

I've found it hard to find out available features of pecan-waffle module - list of cmdlets that actually are core features of module, one directly related to Project and Item (Show-Templates, Add-Project, etc)
The good source of these core cmdlets is test script btw.
I think this is crucial to help people play with this module.

Expose include/exclude in replace shorthand

Expose include/exclude in replace shorthand, currently to use include/exclude you have to call the actual replace function instead of the helper.

Also the same for update_filename.

Nuget dependencies not installed by default

I've created a new pecan project (0.0.22-beta - testing #37 and #38). When installing pecan-waffle nuget package, the pecan-waffle-vs, file-replacer and nuget-powershell dependencies is not installed by default. Nuget installation output does not show any errors.

screenshot_1

Allow -noNewFolder to be specified in the template

Today the caller is responsible for passing in -noNewFolder. We should make an update to allow this behavior to be defaulted by the template in the pw-templateInfo file.This is useful when you're creating a multi-project template.

For example.

$templateInfo = New-Object -TypeName psobject -Property @{
    Name = 'template-name'
    Type = 'ProjectTemplate'
    CreateNewFolder = $false
}

Does not exclude folders

First let me say thank you. I know this is still just a POC but I really like where you guys are headed with this. It is simple and straight forward, and makes creating a new project out of any existing project a snap. I have been looking for something just like this.

Anyway, I just tried to create a project from my first project template and ran into the long file name issue. I noticed that the long file names were for node modules which I don't want to copy anyway. I added node_modules and bowerPackages to the excluded-folder list, but it is still trying to copy those folders.

Issue when using pecan-waffle-vs in VS2013

Hi,
i have created a template according to the youtube Video...

After startup the experimental Instance of VS2013 i can select the project, but i got this error
image

Is pecan-waffle not compatible with VS2013 ?

KR

Error on package replace

For the contents below the package replacement is not working.

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    <Reference Include="GalaSoft.MvvmLight, Version=5.2.0.37222, Culture=neutral, PublicKeyToken=e7570ab207bcb616, processorArchitecture=MSIL">
      <HintPath>..\..\packages\MvvmLightLibs.5.2.0.0\lib\portable-net45+wp8+wpa81+netcore45+monoandroid1+xamarin.ios10\GalaSoft.MvvmLight.dll</HintPath>
      <Private>True</Private>
    </Reference>
    <None Include="packages.config" />
    <None Include="Views\packages.config" />
  </ItemGroup>
  <ItemGroup>
  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
  <Import Project="..\..\packages\Xamarin.Forms.2.2.0.31\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets" Condition="Exists('..\..\packages\Xamarin.Forms.2.2.0.31\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets')" />
</Project>

The issue here is the views\packages.config is being matched which results in an extra replacement of packages being defined. The replacement regex that's used to pick up the packages needs to be more specific.

add-project PathTooLongException

Hi!
I really like pecan-waffle and planning to use it on all of my template projects, but today I ran into this "path is too long"-exception (Windows has never been a fan of long paths).
I could easily build a workaround by excluding my jspm-package folder but i think this kind of tool should be able to handle even the craziest of paths so I'll report it as an issue. :)

*Error message: *
Get-ChildItem : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the d
irectory name must be less than 248 characters.
At C:\Users\x\Documents\WindowsPowerShell\Modules\pecan-waffle\pecan-waffle.psm1:1232 char:18

  • ... (Get-ChildItem $mappedTempWorkDir $excludeStr -Recurse -Fi ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ReadError: (C:\Users\x...nternal-plugins:String) [Get-ChildItem], PathTooLongException
    • FullyQualifiedErrorId : DirIOError,Microsoft.PowerShell.Commands.GetChildItemCommand

Project folder when using template

When using pacan template, the project will be placed in a sub-folder containing the project name. This results in the following folder structure:

Projects folder: C:\Projects
Project name: SampleProject

C:\Projects\SampleProject\SampleProject\

When creating projects in VS, they are placed in the first folder ex. no sub-folder created.
I could uncheck "Create directory for solution", this then results in packages folder in:

C:\projects\packages

This is also a common problem with VSTemplates. Could this be changed with pacan waffle templates?

Possible solution on Stackoverflow
http://stackoverflow.com/questions/3882764/issue-with-visual-studio-template-directory-creation

Changing pwTemplateZipRelDir multiple times

When changing pwTemplateZipRelDir in pecan-waffle-settings.props multiple times, the VSIX (zip) contains "VsTemplateProj1.project.zip" in every previously defined location.

I haven't been able to find where this information is stored.

Configure Startup project

Most multi-projects would need a specific Startup project (ex. web project). Would it be possible to make this configurable ex. by $ProjectId (guid)?

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.