Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix package.json config #5

Closed
wants to merge 1 commit into from
Closed

Fix package.json config #5

wants to merge 1 commit into from

Conversation

jeetiss
Copy link

@jeetiss jeetiss commented Mar 1, 2019

Thanks for great work ✨

NPM throws errors about absence of fields because the version is not specified by semver

I added the correct version, plus configured everything in order that it was possible to publish a package on NPM

Copy link
Owner

@rsms rsms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@@ -1,7 +1,14 @@
{
"name": "raster",
"version": "4",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you make this match https://github.com/rsms/raster/blob/master/_data/info.yml and also update https://github.com/rsms/raster/blob/master/misc/dist.sh to rewrite the version number in package.json (so I don’t have to change the version number in two places.)

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alt make the Jekyll website setup read the version from the package.json (also update the shell scripts in misc in that case as they read the yaml file currently)

Comment on lines +5 to +11
"style": "raster.grid.css",
"main": "raster.grid.css",
"files": [
"raster.grid.css",
"raster.css",
"raster.debug.css"
],
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since version 20 some of the files have changed names.

  • raster.grid.css — only the grid CSS
  • raster2.css — full version of Raster (include the grid CSS; no need for raster.grid.css)
  • raster2-react.d.ts — React type defs (includes HTML type defs)
  • raster2-react.js - HTML runtime code (identical to raster2.js)
  • raster2.d.ts - HTML type defs
  • raster2.js - HTML runtime code

I think you’ll also want to include LICENSE.txt and template.html

@jeetiss jeetiss closed this Feb 16, 2023
@jeetiss jeetiss deleted the fix/version branch February 16, 2023 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants