Git Product home page Git Product logo

Comments (8)

jameshollyergoogle avatar jameshollyergoogle commented on September 1, 2024 1

Uploaded.

from web-serial-polyfill.

D3VL-Jack avatar D3VL-Jack commented on September 1, 2024

For anyone wanting to compile to JS

  1. Install Typescript npm i -g typescript
  2. CD to the web-serial-polyfill folder cd node_modules/web-serial-polyfill
  3. Compile tsc -d
  4. Find the JS files in dist

from web-serial-polyfill.

reillyeon avatar reillyeon commented on September 1, 2024

James, can you upload a new version with the build artifacts in place?

from web-serial-polyfill.

ZZYSonny avatar ZZYSonny commented on September 1, 2024

Same problem in 1.0.8

from web-serial-polyfill.

jameshollyergoogle avatar jameshollyergoogle commented on September 1, 2024

My mistake. Dist folder should be included in 1.0.9.

from web-serial-polyfill.

ZZYSonny avatar ZZYSonny commented on September 1, 2024

Still no dist folder in 1.0.9

from web-serial-polyfill.

reillyeon avatar reillyeon commented on September 1, 2024

It looks like the issue is that dist/ is specified in the .gitignore file in the repo. npm publish will ignore files in .gitignore when packaging and so it doesn't package this directory. You should be able to use npm publish --dry-run to see what files have been packaged without actually uploading a new version to npm. From the documentation it seems like we want to add a "files" list to package.json and/or create a separate .npmignore file to specifically control packaging.

See https://docs.npmjs.com/cli/v7/commands/npm-publish for more details.

from web-serial-polyfill.

jameshollyergoogle avatar jameshollyergoogle commented on September 1, 2024

.npmignore file added. Sorry for all this trouble. Hopefully it is all working properly in 1.0.10. I created a new project and npm installed and I got the dist folder. If your experience is different please post back in here.

from web-serial-polyfill.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.