tools: 1.x projects not showing up in polymer init

As the subject line says, latest version of the CLI appears to be missing 1.x projects:

$ polymer --version
1.2.0
$ polymer init
? Which starter template would you like to use? (Use arrow keys)
❯ polymer-2-element - A simple Polymer 2.0 element template 
  polymer-2-application - A simple Polymer 2.0 application 
  polymer-2-starter-kit - A Polymer 2.x starter application template, with navigation and "PRPL patt
ern" loading 
  shop - The "Shop" Progressive Web App demo 

About this issue

  • Original URL
  • State: open
  • Created 7 years ago
  • Comments: 24 (14 by maintainers)

Most upvoted comments

Dang guys I feel bad I never got that application template posted. I will try to get to it today!

UPDATE: I got the repo built out. Let me know if you have any issues with it. https://github.com/Hackception/generator-polymer-init-polymer-1-application

It occurs to me that it would very nice if the polymer 1 options were kept/restored. I can imagine that they were removed because polymer engineers thought ‘polymer starter kit’ is only for people starting new projects, and they wanted people to start new projects with polymer 2. Unfortunately, that isn’t the only reason people use PSK. My suggestion would be to keep the options as part of polymer-cli but don’t show them in the list of options, meaning that the user has to know about it, and specifically request it in order to get it. WDYT?

@stramel exactly. That’s what I mean by a separate install

@stramel Any chance you have one for the application template as well?

Can we get these templates on npm any time soon? I’ve seen others clambering for an easier solution to this problem on the Polymer Slack and elsewhere.

@milesje I have one you can use but @justinfagnani wanted to publish under the same name so I left it open for him you can clone and then run npm i -g . from within that directory. Then run polymer init.

https://github.com/Hackception/generator-polymer-init-polymer-1-element