Skip to content

Commit

Permalink
Merge b722040 into 9e10f95
Browse files Browse the repository at this point in the history
  • Loading branch information
rabisnaqvi committed May 20, 2023
2 parents 9e10f95 + b722040 commit adfcf2d
Show file tree
Hide file tree
Showing 8 changed files with 283 additions and 203 deletions.
5 changes: 2 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ To ensure a smooth collaboration and maintain a high-quality codebase, please fo
- [Contributing Guidelines](#contributing-guidelines)
- [Bug Reports](#bug-reports)
- [Feature Requests](#feature-requests)
- [Pull Requests](#pull-requests)
- [Code Style](#code-style)
- [License](#license)

Expand All @@ -23,7 +22,7 @@ To ensure a smooth collaboration and maintain a high-quality codebase, please fo
Before you start contributing to Astral.js, make sure you have it installed. You can install it using npm:

```bash
npm install astral
npm install astral.js
```

### Development Setup
Expand Down Expand Up @@ -89,7 +88,7 @@ If you have a suggestion for a new feature or improvement in Astral.js, we'd lov
4. If applicable, include any supporting information such as code snippets, diagrams, or examples.
5. Submit the issue, and we'll review it as soon as possible.

### Code Style
## Code Style

To maintain a consistent code style throughout the project, we use ESLint and Prettier. Before submitting a pull request, please ensure that your code adheres to the linting rules and passes all tests. You can run the following command to check your code:

Expand Down
Binary file added assets/astral-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
"scripts": {
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:verbose": "jest --verbose",
"test:debug": "jest --debug",
"test:watchAll": "jest --watchAll",
"docs": "jsdoc -c jsdoc.json",
"build": "webpack --config webpack.conf.js",
"lint": "eslint src",
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Astral.js
# ![Astral Icon](https://github.com/rabisnaqvi/Astral.js/blob/main/assets/astral-icon.png) Astral.js

[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
[![npm](https://img.shields.io/npm/v/your-library-name.svg)](https://www.npmjs.com/package/astral.js)
[![npm](https://img.shields.io/npm/v/astral.js.svg)](https://www.npmjs.com/package/astral.js)
[![Coverage Status](https://coveralls.io/repos/github/rabisnaqvi/Astral.js/badge.svg)](https://coveralls.io/github/rabisnaqvi/Astral.js)

Astral.js is a lightweight UI toolkit designed to empower JavaScript developers with powerful tools for building modern user interfaces. With Astral.js, you gain access to a comprehensive set of features including context and state management, event-driven architecture, and sophisticated JavaScript-powered media queries.
Expand Down
1 change: 0 additions & 1 deletion specs/context.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ describe('ContextService', () => {

it('getState should initialize and return the state', () => {
const stateKey = 'myState';
const stateValue = 'myValue';

const state = ContextService.getState(stateKey);

Expand Down
1 change: 1 addition & 0 deletions specs/event.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import eventService from './../src/event';
describe('EventService', () => {
afterEach(() => {
eventService.unsubscribeAll();
eventService.setDebugMode(false);
});

it('should publish a specific event and trigger subscribed callbacks', () => {
Expand Down
Loading

0 comments on commit adfcf2d

Please sign in to comment.