-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #102 from 201flaviosilva-labs/96-test-all-function…
…-and-the-code Organize files and folders, test some vanilla functions
- Loading branch information
Showing
236 changed files
with
53,264 additions
and
13,224 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Test code | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [17.x] | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Change Directory | ||
run: cd ./lib/Vanilla | ||
|
||
- name: Install | ||
run: npm install | ||
|
||
- name: Test | ||
run: npm run test:all |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"liveServer.settings.port": 5501 | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# 201flaviosilva-utils-css | ||
|
||
## Description | ||
Just some simple JavaScript Utils. | ||
|
||
## Usage | ||
|
||
### Using NPM (Recommend) | ||
#### Install Package | ||
```sh | ||
npm i 201flaviosilva-utils | ||
``` | ||
|
||
or | ||
```sh | ||
npm i https://github.com/201flaviosilva-labs/javascript-utils#v1.2.10 | ||
``` | ||
|
||
#### Import to the project | ||
```js | ||
import { randomNumber } from "201flaviosilva-utils"; | ||
|
||
console.log(randomNumber(1, 20)); | ||
``` | ||
|
||
### Using CDN (jsdelivr) | ||
```html | ||
<script src="https://cdn.jsdelivr.net/npm/201flaviosilva-utils@1.2.9/build/utils.min.js"></script> | ||
<script src="./your-js-file.js"></script> | ||
``` | ||
|
||
```js | ||
// ./your-js-file.js | ||
console.log(randomNumber(1, 20)); | ||
``` | ||
|
||
## Available Commands | ||
|
||
| Command | Description | | ||
| ----------------- | ----------------------------------------------------------------- | | ||
| `npm install` | Install project dependencies | | ||
| `npm run clear` | Delete the "build" and "types" and "docs" folder | | ||
| `npm run jsDoc` | Build a docs page based in the jsdoc | | ||
| `npm run types` | Build the types | | ||
| `npm run compile` | Builds code bundle with production settings (minification, etc..) | | ||
| `npm run build` | Bundle the code, create the types and teh docs folder | | ||
| `npm run bump` | Update lib in the npm | | ||
|
||
## Links | ||
- [WebPage (Documentation)](https://201flaviosilva-labs.github.io/javascript-utils/); | ||
- [Package](https://www.npmjs.com/package/201flaviosilva-utils); | ||
- [GitHub](https://github.com/201flaviosilva-labs/javascript-utils); | ||
- [Wiki](https://github.com/201flaviosilva-labs/javascript-utils/wiki); | ||
- [Issues](https://github.com/201flaviosilva-labs/javascript-utils/issues); | ||
- [Snippets (More Utils)](https://github.com/201flaviosilva-labs/javascript-utils/tree/main/snippets); | ||
- [Releases](https://github.com/201flaviosilva-labs/javascript-utils/releases); | ||
|
||
## Examples | ||
- [Code Sandbox](https://codesandbox.io/examples/package/201flaviosilva-utils); | ||
- [GitHub Repositories](https://github.com/201flaviosilva-labs/javascript-utils/network/dependents); |
File renamed without changes.
File renamed without changes.
Oops, something went wrong.