neutrinojs / neutrino

Create and build modern JavaScript projects with zero initial configuration.
https://neutrinojs.org
Mozilla Public License 2.0
3.94k stars 213 forks source link

@neutrinojs/babel-minify v8.2.2 is not on the npm registry, breaking `yarn create @neutrinojs/project` #783

Closed gordlea closed 6 years ago

gordlea commented 6 years ago

Bug

When bootstrapping a new project with yarn create @neutrinojs/project, this missing package causes it fail silently while installing devDependencies so you end up with a project that has no devDependencies.

When I then manually install the devDependencies, i get prompted to choose a version of @neutrinojs/babel-minify.

yarn add v1.5.1 info No lockfile found. [1/5] Validating package.json... [2/5] Resolving packages... Couldn't find any versions for "@neutrinojs/babel-minify" that matches "^8.2.2" ? Please choose a version of "@neutrinojs/babel-minify" from this list: (Use arrow keys) ❯ 8.2.1 8.2.0 8.1.2 8.1.1 ? Please choose a version of "@neutrinojs/babel-minify" from this list: 8.2.1

Running: npm info @neutrinojs/babel-minify

I get:

{ name: '@neutrinojs/babel-minify',
  description: 'Neutrino middleware for minifying source code',
  'dist-tags': { next: '8.0.8-next.3', latest: '8.2.1' },
  versions: 
   [ '8.0.0-next.0',
     '8.0.0-next.1',
     '8.0.0-next.2',
     '8.0.0',
     '8.0.1',
     '8.0.2',
     '8.0.3',
     '8.0.4-next.1',
     '8.0.4-next.2',
     '8.0.4-next.3',
     '8.0.4-next.4',
     '8.0.4',
     '8.0.5',
     '8.0.6-next.1',
     '8.0.6',
     '8.0.7',
     '8.0.8-next.1',
     '8.0.8-next.2',
     '8.0.8-next.3',
     '8.0.8',
     '8.0.9',
     '8.0.10',
     '8.0.11',
     '8.0.12',
     '8.0.13',
     '8.0.14',
     '8.0.15',
     '8.0.16',
     '8.0.17',
     '8.0.18',
     '8.1.0',
     '8.1.1',
     '8.1.2',
     '8.2.0',
     '8.2.1' ],
  maintainers: 
   [ 'edmorley <edmorley@users.noreply.github.com>',
     'eliperelman <eli@eliperelman.com>',
     'helfi92 <helfi92@gmail.com>',
     'timkelty <timkelty@gmail.com>' ],
  time: 
   { modified: '2018-03-26T23:02:48.235Z',
     created: '2017-12-07T16:10:45.473Z',
     '8.0.0-next.0': '2017-12-07T16:10:45.473Z',
     '8.0.0-next.1': '2017-12-07T16:20:43.962Z',
     '8.0.0-next.2': '2017-12-07T16:27:14.514Z',
     '8.0.0': '2017-12-08T14:53:46.440Z',
     '8.0.1': '2017-12-08T17:47:02.197Z',
     '8.0.2': '2017-12-08T19:13:31.005Z',
     '8.0.3': '2017-12-08T19:21:54.081Z',
     '8.0.4-next.1': '2017-12-08T19:41:21.170Z',
     '8.0.4-next.2': '2017-12-08T19:51:10.137Z',
     '8.0.4-next.3': '2017-12-08T19:54:34.973Z',
     '8.0.4-next.4': '2017-12-08T19:56:47.209Z',
     '8.0.4': '2017-12-08T20:06:38.194Z',
     '8.0.5': '2017-12-08T20:09:29.715Z',
     '8.0.6-next.1': '2017-12-08T20:28:34.423Z',
     '8.0.6': '2017-12-08T20:32:02.909Z',
     '8.0.7': '2017-12-08T20:41:48.309Z',
     '8.0.8-next.1': '2017-12-08T20:53:03.116Z',
     '8.0.8-next.2': '2017-12-08T22:15:49.070Z',
     '8.0.8-next.3': '2017-12-08T22:22:07.496Z',
     '8.0.8': '2017-12-08T22:30:17.760Z',
     '8.0.9': '2017-12-09T21:56:01.836Z',
     '8.0.10': '2017-12-10T16:23:30.284Z',
     '8.0.11': '2017-12-12T03:10:52.650Z',
     '8.0.12': '2017-12-13T14:20:09.242Z',
     '8.0.13': '2017-12-14T15:10:37.077Z',
     '8.0.14': '2017-12-21T22:31:45.908Z',
     '8.0.15': '2018-01-08T13:49:51.892Z',
     '8.0.16': '2018-01-09T14:56:05.777Z',
     '8.0.17': '2018-01-14T23:48:08.538Z',
     '8.0.18': '2018-01-15T03:21:56.896Z',
     '8.1.0': '2018-01-29T20:10:06.694Z',
     '8.1.1': '2018-01-30T00:25:47.565Z',
     '8.1.2': '2018-02-26T16:19:22.738Z',
     '8.2.0': '2018-03-23T23:35:09.978Z',
     '8.2.1': '2018-03-26T23:02:47.400Z' },
  homepage: 'https://neutrino.js.org',
  keywords: 
   [ 'neutrino',
     'neutrino-middleware',
     'minify',
     'babel',
     'uglify',
     'babili',
     'compress' ],
  repository: 
   { type: 'git',
     url: 'https://github.com/mozilla-neutrino/neutrino-dev/tree/master/packages/babel-minify' },
  author: 'Eli Perelman <eli@eliperelman.com>',
  bugs: 
   { url: 'https://github.com/mozilla-neutrino/neutrino-dev/issues' },
  license: 'MPL-2.0',
  readmeFilename: 'README.md',
  version: '8.2.1',
  main: 'index.js',
  publishConfig: { access: 'public' },
  engines: { node: '^6.9.0 || ^8 || >=9', npm: '>=5.4.0', yarn: '>=1.2.1' },
  dependencies: { '@neutrinojs/babel-minify-webpack-plugin': '^0.2.0' },
  devDependencies: { webpack: '^3.10.0' },
  peerDependencies: { neutrino: '^8.0.0' },
  dist: 
   { integrity: 'sha512-XvivScO/pHO241dv296i4NWLW3AHG243DJwLtI4zmnhQJVibbIbQaWKQCAIqH0GKsGViNCaidoManKdFe4makg==',
     shasum: 'ca64c3d4ec73697ecab01651931b9e6012d9b144',
     tarball: 'https://registry.npmjs.org/@neutrinojs/babel-minify/-/babel-minify-8.2.1.tgz',
     fileCount: 4,
     unpackedSize: 3777 },
  directories: {} }
eliperelman commented 6 years ago

Thanks for finding this, not sure what happening during the publish process. There may be one more missing, I'll get this fixed ASAP.

gordlea commented 6 years ago

@eliperelman Thank you, and not a problem. It was caught by the integration tests for our internal neutrino presets.

eliperelman commented 6 years ago

Ah, that's great! OK, I published 8.2.2 manually, can you check that it's OK now?

gordlea commented 6 years ago

Looks like that fixed it, thanks for the quick response :+1:

eliperelman commented 6 years ago

My pleasure, sorry for the trouble, and thanks again for the report!