Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit 81a1a03

Browse files
authored
v1.1.7
A release cleaning up the codebase and adding new keywords.
1 parent 409ff99 commit 81a1a03

22 files changed

Lines changed: 208 additions & 179 deletions

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 53 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -5,57 +5,57 @@ title: "[BUG] Title"
55
labels: bug
66

77
body:
8-
- type: checkboxes
9-
id: existing-issue
10-
attributes:
11-
label: Is there an existing issue for this?
12-
description: Search for an existing issue to avoid duplicates.
13-
options:
14-
- label: I have searched for an [existing issue](https://github.com/EasyScriptJS/EasyScript/issues).
8+
- type: checkboxes
9+
id: existing-issue
10+
attributes:
11+
label: Is there an existing issue for this?
12+
description: Search for an existing issue to avoid duplicates.
13+
options:
14+
- label: I have searched for an [existing issue](https://github.com/EasyScriptJS/EasyScript/issues).
15+
required: true
16+
- type: input
17+
id: what
18+
attributes:
19+
label: What module?
20+
description: What module is affected by this error?
21+
validations:
22+
required: true
23+
- type: textarea
24+
id: expected-behavior
25+
attributes:
26+
label: Expected Behavior
27+
description: What should happen?
28+
validations:
29+
required: true
30+
- type: textarea
31+
id: actual-behavior
32+
attributes:
33+
label: Actual Behavior
34+
description: What happens instead?
35+
validations:
36+
required: true
37+
- type: textarea
38+
id: how-to-reproduce
39+
attributes:
40+
label: How to Reproduce
41+
description: How can we reproduce this bug?
42+
validations:
43+
required: true
44+
- type: markdown
45+
attributes:
46+
value: |
47+
### Environment Details
48+
- type: input
49+
id: node-version
50+
attributes:
51+
label: Node.js Version
52+
description: Which version of Node.js are you using?
53+
validations:
54+
required: true
55+
- type: input
56+
id: package-version
57+
attributes:
58+
label: Package Version
59+
description: What is the version of Easy Script you are using?
60+
validations:
1561
required: true
16-
- type: input
17-
id: what
18-
attributes:
19-
label: What module?
20-
description: What module is affected by this error?
21-
validations:
22-
required: true
23-
- type: textarea
24-
id: expected-behavior
25-
attributes:
26-
label: Expected Behavior
27-
description: What should happen?
28-
validations:
29-
required: true
30-
- type: textarea
31-
id: actual-behavior
32-
attributes:
33-
label: Actual Behavior
34-
description: What happens instead?
35-
validations:
36-
required: true
37-
- type: textarea
38-
id: how-to-reproduce
39-
attributes:
40-
label: How to Reproduce
41-
description: How can we reproduce this bug?
42-
validations:
43-
required: true
44-
- type: markdown
45-
attributes:
46-
value: |
47-
### Environment Details
48-
- type: input
49-
id: node-version
50-
attributes:
51-
label: Node.js Version
52-
description: Which version of Node.js are you using?
53-
validations:
54-
required: true
55-
- type: input
56-
id: package-version
57-
attributes:
58-
label: Package Version
59-
description: What is the version of Easy Script you are using?
60-
validations:
61-
required: true

.github/ISSUE_TEMPLATE/feature-request.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -5,32 +5,32 @@ title: "[FEATURE] Title"
55
labels: feature
66

77
body:
8-
- type: checkboxes
9-
id: existing-issue
10-
attributes:
11-
label: Is there an existing issue for this?
12-
description: Search for an existing issue to avoid duplicates.
13-
options:
14-
- label: I have searched for an [existing issue](https://github.com/EasyScriptJS/EasyScript/issues).
8+
- type: checkboxes
9+
id: existing-issue
10+
attributes:
11+
label: Is there an existing issue for this?
12+
description: Search for an existing issue to avoid duplicates.
13+
options:
14+
- label: I have searched for an [existing issue](https://github.com/EasyScriptJS/EasyScript/issues).
15+
required: true
16+
- type: input
17+
id: what
18+
attributes:
19+
label: What?
20+
description: What feature do you want to be added?
21+
validations:
1522
required: true
16-
- type: input
17-
id: what
18-
attributes:
19-
label: What?
20-
description: What feature do you want to be added?
21-
validations:
22-
required: true
23-
- type: textarea
24-
id: description
25-
attributes:
26-
label: Description
27-
description: Provide a description of the feature you want added.
28-
validations:
29-
required: true
30-
- type: textarea
31-
id: why
32-
attributes:
33-
label: Why?
34-
description: Why should this feature be added?
35-
validations:
36-
required: false
23+
- type: textarea
24+
id: description
25+
attributes:
26+
label: Description
27+
description: Provide a description of the feature you want added.
28+
validations:
29+
required: true
30+
- type: textarea
31+
id: why
32+
attributes:
33+
label: Why?
34+
description: Why should this feature be added?
35+
validations:
36+
required: false

.github/ISSUE_TEMPLATE/question.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ title: "[QUESTION] Title"
55
labels: question
66

77
body:
8-
- type: checkboxes
9-
id: existing-issue
10-
attributes:
11-
label: Is there an existing issue for this?
12-
description: Search for an existing issue to avoid duplicates.
13-
options:
14-
- label: I have searched for an [existing issue](https://github.com/EasyScriptJS/EasyScript/issues).
8+
- type: checkboxes
9+
id: existing-issue
10+
attributes:
11+
label: Is there an existing issue for this?
12+
description: Search for an existing issue to avoid duplicates.
13+
options:
14+
- label: I have searched for an [existing issue](https://github.com/EasyScriptJS/EasyScript/issues).
15+
required: true
16+
- type: textarea
17+
id: question
18+
attributes:
19+
label: Question
20+
description: Provide a description of the your question.
21+
validations:
1522
required: true
16-
- type: textarea
17-
id: question
18-
attributes:
19-
label: Question
20-
description: Provide a description of the your question.
21-
validations:
22-
required: true

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,27 @@
11
# Requirements
2+
23
<!-- To check a box, remove the spaces and put a "x" in between the brackets. e.g: [x] -->
34

45
- [ ] The base branch is pointing to the correct branch. <!-- If you are updating the code base, the base branch should be pointing to the latest release branch, otherwise point it to the "main" branch. -->
56

67
## Codebase
8+
79
<!-- These requirements are only needed to be met if you are updating the codebase. -->
810

911
- [ ] This code has been tested with the [latest release](https://github.com/EasyScriptJS/EasyScript/releases/latest) of Easy Script.
1012
- [ ] This code works with the [latest release](https://github.com/EasyScriptJS/EasyScript/releases/latest) of Easy Script.
1113
- [ ] This code has been run through [Prettier](https://prettier.io).
1214

1315
### Modules
16+
1417
<!-- If you are updating or adding a module, your code needs to meet these extra requirements. -->
1518

1619
- [ ] I have provided documentation of how this code works. <!-- Only required if you are adding a feature to an existing module, or are adding a new module. -->
1720

1821
# Description
19-
<!-- Provide a description of the changes made in this pull request below. -->
2022

23+
<!-- Provide a description of the changes made in this pull request below. -->
2124

2225
# Reason
26+
2327
<!-- Provide a reason of why these changes should be made. -->

README.md

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,24 @@
11
<p align="center">
2-
<img src="https://images.easyscript.dev/cover.png">
2+
<img src="https://images.easyscript.dev/banner.png" />
33
</p>
44

5-
<h1 align="center">Easy Script</h1>
6-
7-
<h3 align="center"><code>npm install easyscriptjs</code></p></h3>
8-
95
<p align="center">
10-
<img alt="Lastest Release" src="https://img.shields.io/github/v/release/easyscriptjs/easyscript?style=for-the-badge">
11-
<img alt="GitHub Issues" src="https://img.shields.io/github/issues-raw/easyscriptjs/easyscript?label=Issues&style=for-the-badge">
12-
<img alt="GitHub Pull Requests" src="https://img.shields.io/github/issues-pr-raw/easyscriptjs/easyscript?label=Pull%20Requests&style=for-the-badge">
6+
<img
7+
alt="Lastest Release"
8+
src="https://img.shields.io/github/v/release/easyscriptjs/easyscript?style=for-the-badge"
9+
/>
10+
<img
11+
alt="GitHub Issues"
12+
src="https://img.shields.io/github/issues-raw/easyscriptjs/easyscript?label=Issues&style=for-the-badge"
13+
/>
14+
<img
15+
alt="GitHub Pull Requests"
16+
src="https://img.shields.io/github/issues-pr-raw/easyscriptjs/easyscript?label=Pull%20Requests&style=for-the-badge"
17+
/>
1318
</p>
1419

20+
<h1 align="center">Easy Script</h1>
1521
<p align="center">Easy Script is a npm package which makes coding in JavaScript easy!</p>
1622

1723
<h2 align="center">Documentation</h2>
18-
<p align="center">If you want to learn how to use Easy Script, you can find all of the information you need on the <a href="https://docs.easyscript.dev">docs</a>.</p>
24+
<p align="center">You can find information about installing, using modules and more on the <a href="https://docs.easyscript.dev">docs</a>.</p>

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "easyscriptjs",
3-
"version": "1.1.6",
3+
"version": "1.1.7",
44
"description": "Easy Script is a npm package which makes coding in JavaScript easy!",
55
"main": "src/index.js",
66
"scripts": {},
@@ -9,10 +9,20 @@
99
"url": "git+https://github.com/EasyScriptJS/EasyScript.git"
1010
},
1111
"keywords": [
12+
"backend",
13+
"beginners",
14+
"converter",
1215
"easy",
16+
"easy-to-use",
1317
"easyscript",
18+
"frontend",
19+
"id",
20+
"python",
21+
"random",
1422
"type-converter",
1523
"types",
24+
"util",
25+
"utility",
1626
"uuid"
1727
],
1828
"author": "Easy Script <packages@easyscript.dev>",

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
const modules = require("./modules");
22

3-
module.exports = modules;
3+
module.exports = modules;

src/modules.js

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
module.exports = {
2-
"flip": require("./modules/flip"),
3-
"id": require("./modules/id"),
4-
"log": require("./modules/log"),
5-
"print": require("./modules/print"),
6-
"random": require("./modules/random"),
7-
"types": {
8-
"boolToNum": require("./modules/types/boolToNum"),
9-
"boolToStr": require("./modules/types/boolToStr"),
10-
"numToStr": require("./modules/types/numToStr"),
11-
"strToBool": require("./modules/types/strToBool"),
12-
"strToNum": require("./modules/types/strToNum")
2+
flip: require("./modules/flip"),
3+
id: require("./modules/id"),
4+
log: require("./modules/log"),
5+
print: require("./modules/print"),
6+
random: require("./modules/random"),
7+
types: {
8+
boolToNum: require("./modules/types/boolToNum"),
9+
boolToStr: require("./modules/types/boolToStr"),
10+
numToStr: require("./modules/types/numToStr"),
11+
strToBool: require("./modules/types/strToBool"),
12+
strToNum: require("./modules/types/strToNum"),
1313
},
14-
"util": {
15-
"removeDuplicates": require("./modules/util/removeDuplicates")
14+
util: {
15+
removeDuplicates: require("./modules/util/removeDuplicates"),
1616
},
17-
"uuid": require("./modules/uuid")
18-
}
17+
uuid: require("./modules/uuid"),
18+
};

src/modules/flip.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/**
2-
*
3-
* @function `flip` - Quickly execute a heads or tails decision randomly
4-
* @returns {string} Returns "heads" or "tails" (*as string*)
2+
* @function `flip` - Quickly execute a heads or tails decision randomly
3+
* @returns { String } - Returns "heads" or "tails" (*as a string*)
54
*/
65

76
function flip() {

0 commit comments

Comments
 (0)