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

Npm modules #578

Closed
wants to merge 4 commits into from
Closed

Npm modules #578

wants to merge 4 commits into from

Conversation

gpleiss
Copy link

@gpleiss gpleiss commented May 13, 2015

cc/ @stubbornella @vinsonchuong

This PR makes publishing NPM modules programmatic. It publishes the following packages to NPM

  • prismjs containing all of the JavaScript
  • prismjs-THEMENAME-theme one package per theme:
    • prismjs-coy-theme
    • prismjs-dark-theme
    • prismjs-default-theme
    • prismjs-funky-theme
    • prismjs-okaidia-theme
    • prismjs-tomorrow-theme
    • prismjs-twilight-theme

Run gulp createPackages --version X.X.X to create the packages. The theme packages are added to the dist/ folder. The version number in the main package.json is updated as well.

If all looks good, run gulp publishPackages to publish to npm.

We published v0.0.1 of all the packages to NPM and added you as an owner

…sion

Signed-off-by: Geoff Pleiss <gpleiss@pivotal.io>
Signed-off-by: Geoff Pleiss <gpleiss@pivotal.io>
Signed-off-by: Geoff Pleiss <gpleiss@pivotal.io>
Signed-off-by: Geoff Pleiss <gpleiss@pivotal.io>
@stubbornella
Copy link

Hi @LeaVerou,

This is the PR I was telling you about. It makes a gulp task for publishing your packages to npm. We made you an owner of all of the Prism packages, does it look like it's working on your end?

Cheers,
Nicole

@valorkin
Copy link
Contributor

valorkin commented Sep 2, 2015

@Golmote please take a look at this PR

@Golmote
Copy link
Contributor

Golmote commented Sep 3, 2015

I'm not sure about the dist directory containing only themes (i.e. not a usable distribution of Prism). Couldn't it have a name that reflects better its content?

@quantuminformation
Copy link

What is the status of this?

@Golmote
Copy link
Contributor

Golmote commented Dec 5, 2017

Our configuration for travis-ci now publishes automatically to npm on every new release.

@Golmote Golmote closed this Dec 5, 2017
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

6 participants