michaeldoye / mat-progress-buttons

Very simple Angular6+ Material Design progress buttons
https://mat-progress-buttons.firebaseapp.com/
MIT License
110 stars 54 forks source link

mat-progress-buttons.es5.js is missing in final package #3

Closed maxfriedmann closed 6 years ago

maxfriedmann commented 6 years ago

Hi, great library!

When I use this library in angular projects, everything works as expected. If I use it in a meteor project, the angular-meteor compiler stumbles and produces unusable builds due the fact that the final package.json states a module version but the file cannot be found.

Can you either remove the module entry in the final package.json or provide the file? Both solutions would work for me (and meteor).

my node_modules/mat-progress-buttons/package.json

{
  "_from": "mat-progress-buttons@^1.2.9",
  "_id": "mat-progress-buttons@1.2.9",
  "_inBundle": false,
  "_integrity": "sha1-JR6a/fhXU4x+54PqKj9oaX/YJfA=",
  "_location": "/mat-progress-buttons",
  "_phantomChildren": {},
  "_requested": {
    "type": "range",
    "registry": true,
    "raw": "mat-progress-buttons@^1.2.9",
    "name": "mat-progress-buttons",
    "escapedName": "mat-progress-buttons",
    "rawSpec": "^1.2.9",
    "saveSpec": null,
    "fetchSpec": "^1.2.9"
  },
  "_requiredBy": [
    "/"
  ],
  "_resolved": "https://registry.npmjs.org/mat-progress-buttons/-/mat-progress-buttons-1.2.9.tgz",
  "_shasum": "251e9afdf857538c7ee783ea2a3f68697fd825f0",
  "_spec": "mat-progress-buttons@^1.2.9",
  "_where": "C:\\ws\\projects\\project-sata-loyalty\\meteor",
  "author": {
    "name": "Michael Doye",
    "email": "michaeldoye@gmail.com"
  },
  "bugs": {
    "url": "https://github.com/michaeldoye/mat-progress-buttons/issues"
  },
  "bundleDependencies": false,
  "deprecated": false,
  "description": "Very simple Angular4+ Material Design progress buttons",
  "es2015": "mat-progress-buttons.js",
  "homepage": "https://github.com/michaeldoye/mat-progress-buttons#readme",
  "license": "MIT",

  "module": "mat-progress-buttons.es5.js",  // <-- this is the faulty entry

  "name": "mat-progress-buttons",
  "peerDependencies": {
    "@angular/core": "^4.0.1",
    "rxjs": "^5.3.0",
    "zone.js": "^0.8.5"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/michaeldoye/mat-progress-buttons.git"
  },
  "typings": "mat-progress-buttons.d.ts",
  "version": "1.2.9"
}
michaeldoye commented 6 years ago

fixed in #4