jvandemo / jvandemo/generator-angular2-library

Wrong filenames in src/package.json?

Open
#299 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
740
Forks
116
PR merge metrics
No merged PRs in 30d

Description

In the template for `src/package.json`, you have these lines:

```
"module": "<%= props.libraryName.kebabCase %>.js",
"jsnext:main": "<%= props.libraryName.kebabCase %>.js",
"typings": "<%= props.libraryName.kebabCase %>.d.ts",
```

but, in the output to `dist/`, these files are all named `index` rather than the library name. Or have I misunderstood something?

Contributor guide

No contributing guide indexed for this repository

Research direction

Compare the filename references in src/package.json with the files produced in dist/. Trace the generator output path and determine whether the package metadata should use the library name or index; done means the generated metadata consistently points to the actual output files.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, javascript
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.