Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-353] Swift Package Manager "npm init"-style new project creation #5438

swift-ci opened this issue Dec 23, 2015 · 2 comments

[SR-353] Swift Package Manager "npm init"-style new project creation #5438

swift-ci opened this issue Dec 23, 2015 · 2 comments


Copy link

Previous ID SR-353
Radar None
Original Reporter joeiachievedit (JIRA User)
Type Improvement
Status Closed
Resolution Done
Additional Detail from JIRA
Votes 6
Component/s Package Manager
Labels Improvement
Assignee None
Priority Medium

md5: e7761834596189b625f8570ffec1a687

Issue Description:

npm init is a quick way to create a Package.json file filled out with enough information to bootstrap a new NodeJS application. I typically start my Swift projects by copying an existing Package.swift and editing, this could be bootstrapped as well with something like swift build init or swift build --create, etc.

Copy link
Contributor Author

swift-ci commented Jan 3, 2016

Comment by Joe (JIRA)

I'll toss in if Swift Package Manager will truly be "tied" to git, you might as well create a .gitignore file that includes things like:


I know I find myself typing that over and over.

Copy link
Contributor Author

Comment by Bastian Rinsche (JIRA)

I took a shot at implementing this here.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

1 participant