You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 25, 2025. It is now read-only.
Running npm init with rust-webpack yields a directory which is not what I expected.
Steps to Reproduce
Run npm init rust-webpack my-app
List directory ls -la my-app
Notice that this is not the template directory as expected.
Expected Behavior
When I init from rust-webpack I expect the newly created directory to have the contents of the template directory.
Actual Behavior
Running the npm init command with rust-webpack
npm init rust-webpack my-app
gives me the following my-app directory
drwxr-xr-x 13 kraenhansen staff 416 19 Jun 16:27 .
drwxr-xr-x 77 kraenhansen staff 2464 19 Jun 16:27 ..
drwxr-xr-x 3 kraenhansen staff 96 19 Jun 16:27 .bin
drwxr-xr-x 12 kraenhansen staff 384 19 Jun 16:27 .git
-rw-r--r-- 1 kraenhansen staff 82 19 Jun 16:27 .gitignore
-rw-r--r-- 1 kraenhansen staff 314 19 Jun 16:27 .travis.yml
-rw-r--r-- 1 kraenhansen staff 10847 19 Jun 16:27 LICENSE-APACHE
-rw-r--r-- 1 kraenhansen staff 1071 19 Jun 16:27 LICENSE-MIT
-rw-r--r-- 1 kraenhansen staff 1849 19 Jun 16:27 README.md
drwxr-xr-x 19 kraenhansen staff 608 19 Jun 16:27 node_modules
-rw-r--r-- 1 kraenhansen staff 4410 19 Jun 16:27 package-lock.json
-rw-r--r-- 1 kraenhansen staff 362 19 Jun 16:27 package.json
drwxr-xr-x 11 kraenhansen staff 352 19 Jun 16:27 template
Additional Context
As a comparison, calling npm init with react-app yields a directory with only the files needed to build an app (try running npm init react-app my-react-app).
I believe this is happening because #144 changes the structure of the repository and a release has not been made quickly thereafter. It would be awesome if this got released very soon as it's super confusing for a newcomer.