npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

eclipsefdn-solstice-assets

v0.1.1

Published

Solstice is a responsive look and feel for eclipse.org.

Downloads

942

Readme

solstice-assets

Assets for the Eclipse Foundation look and feel called Solstice.

Getting started

Requirements

| Program | Version | |---------|---------| | node.js | 18.13.0 | | npm | 8.19 |

Install dependencies, build assets and watch for changes:

yarn && yarn run drupal && yarn run watch

Code style

Solstice uses ESLint and Prettier to enforce Airbnb's JS style guide.

At the moment we need to run ESLint manually via the following command:

yarn run eslint path/to/file/or/dir

This will list out the lines of code which do not conform to the style guide.

Run the following to automatically fix errors:

yarn run eslint path/to/file/or/dir --fix

Note that this does not fix all of the errors.

Some ESLint errors must be fixed manually: https://eslint.org/docs/latest/rules/

How to use this project

Make sure to require ./node_modules/eclipsefdn-solstice-assets/webpack-solstice-assets.mix.js in you webpack.mix.js to load our default configurations. You are likely to run into issues building your project without it.

You also need to call mix.EclipseFdnSolsticeAssets() to load them.

require('./node_modules/eclipsefdn-solstice-assets/webpack-solstice-assets.mix.js');
let mix = require('laravel-mix');
mix.EclipseFdnSolsticeAssets();

We strongly recommend adding the following to your project package.json file in order to support IE11. However, we plan to drop IE11 support on June 15, 2022.

"browserslist": "last 5 version, > 0.2%, not dead, IE 11"

For more information, you can take a look at the browserslist module. Note that some version of babel does not support loading the config from package.json. To address this, we recommend creating a file named babel.config.json and copy the following content in that file:

{
  "extends": "./node_modules/eclipsefdn-solstice-assets/babel.config.json"
}

Contributing

  1. Fork the solstice-assets repository
  2. Clone repository: git clone https://gitlab.eclipse.org/[your_gitlab_username]/solstice-assets.git
  3. Create your feature branch: git checkout -b my-new-feature
  4. Write your patch
  5. View your change using Storybook using yarn storybook if applicable*
  6. Commit your changes: git commit -m 'Add some feature' -s
  7. Push feature branch: git push origin my-new-feature
  8. Submit a merge request

* You may want to use Storybook to manually test your changes if they affect base styles or a widget.

If you are creating a new widget, consider creating a new story for it!

Read more about Storybook here.

Bugs and feature requests

Have a bug or a feature request? Please search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.

Maintainers

Christopher Guindon (Eclipse Foundation)

Eric Poirier (Eclipse Foundation)

Browser Support

We transpile our code via the Babel plugin to ensure compatibility with older browsers where possible using polyfills. We target support for the latest 5 versions of the following browsers:

  • Firefox
  • Chrome
  • Opera (mini and standard)
  • Safari (iOS and desktop)
  • Edge

In addition, we also support the following browser versions:

  • IE 11
  • KaiOS 2.5
  • Opera Mobile 59
  • Baidu 7.12
  • Latest Android browser versions (Chrome, Firefox, QQ, UC, and base Android)

In development, we test in modern browsers to ensure the general use-case is met and make best efforts to fix any issues that arise with supported browsers.

Trademarks

  • Jakarta and Jakarta EE are Trademarks of the Eclipse Foundation, Inc.
  • Eclipse® is a Trademark of the Eclipse Foundation, Inc.
  • Eclipse Foundation is a Trademark of the Eclipse Foundation, Inc.

Copyright and license

Copyright 2018-2023 the Eclipse Foundation, Inc. and the solstice-assets authors. Code released under the Eclipse Public License Version 2.0 (EPL-2.0).