New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eclipsefdn-solstice-assets

Package Overview
Dependencies
Maintainers
0
Versions
276
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eclipsefdn-solstice-assets

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

  • 0.1.8
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

solstice-assets

Assets for the Eclipse Foundation look and feel called Solstice.

Getting started

Requirements

ProgramVersion
node.js18.13.0
npm8.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 2018-2023 the Eclipse Foundation, Inc. and the solstice-assets authors. Code released under the Eclipse Public License Version 2.0 (EPL-2.0).

FAQs

Package last updated on 29 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc