Skip to content

Commit 3fc1102

Browse files
authored
Refactor/www (#18)
* refactor: Wrote meta tags to improve SEO * chore: Updated package name references from @paska/ovo to @egamagz/paska-ovo in configuration and documentation * refactor: Deleted www/ directory * feat: created new vite project * Revert "feat: created new vite project" This reverts commit e8bc045.
1 parent 65a2588 commit 3fc1102

21 files changed

+11
-8085
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
A simple javascript library for adding easter eggs to web pages
66

7-
[![JSR](https://jsr.io/badges/@paska/ovo)](https://jsr.io/@paska/ovo)
8-
[![JSR Score](https://jsr.io/badges/@paska/ovo/score)](https://jsr.io/@paska/ovo/score)
7+
[![JSR](https://jsr.io/badges/@egamagz/paska-ovo)](https://jsr.io/@egamagz/paska-ovo)
8+
[![JSR Score](https://jsr.io/badges/@egamagz/paska-ovo/score)](https://jsr.io/@egamagz/paska-ovo/score)
99
![GitHub License](https://img.shields.io/github/license/egamagz/paska-ovo)
1010
![GitHub Release](https://img.shields.io/github/v/release/egamagz/paska-ovo)
1111

@@ -14,29 +14,29 @@ A simple javascript library for adding easter eggs to web pages
1414
### For Deno
1515

1616
```bash
17-
deno add @paska/ovo
17+
deno add @egamagz/paska-ovo
1818
```
1919

2020
### For Node.js
2121

2222
```bash
23-
npx jsr add @paska/ovo
23+
npx jsr add @egamagz/paska-ovo
2424
```
2525

2626
### For Bun
2727

2828
```bash
29-
bunx jsr add @paska/ovo
29+
bunx jsr add @egamagz/paska-ovo
3030
```
3131

3232
### For other package managers
3333

34-
Check the [JSR page for more details](https://jsr.io/@paska/ovo).
34+
Check the [JSR page for more details](https://jsr.io/@egamagz/paska-ovo).
3535

3636
## Example
3737

3838
```typescript
39-
import { HistoricalCodes, PaskaOvo } from "@paska/ovo";
39+
import { HistoricalCodes, PaskaOvo } from "@egamagz/paska-ovo";
4040

4141
const paskaOvo = new PaskaOvo()
4242
.addEasterEgg({
@@ -84,7 +84,7 @@ document
8484
Alternatively, it's possible to define the easter egg using the constructor:
8585

8686
```typescript
87-
import { HistoricalCodes, PaskaOvo } from "@paska/ovo";
87+
import { HistoricalCodes, PaskaOvo } from "@egamagz/paska-ovo";
8888

8989
const paskaOvo = new PaskaOvo({
9090
code: HistoricalCodes.Konami,

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@paska/ovo",
2+
"name": "@egamagz/paska-ovo",
33
"version": "1.0.8",
44
"exports": "./mod.ts",
55
"lock": false,

src/paska-ovo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { isInputElement } from "./util/dom.ts";
1515
*
1616
* @example
1717
* ```typescript
18-
* import { HistoricalCodes, PaskaOvo } from "@paska/ovo";
18+
* import { HistoricalCodes, PaskaOvo } from "@egamagz/paska-ovo";
1919
*
2020
* const paskaOvo = new PaskaOvo()
2121
* .addEasterEgg({

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* @example
1010
* A simple easter egg:
1111
* ```typescript
12-
* import { EasterEgg } from "@paska/ovo";
12+
* import { EasterEgg } from "@egamagz/paska-ovo";
1313
*
1414
* const easterEgg: EasterEgg = {
1515
* code: ["up", "up", "down", "down", "left", "right", "left", "right", "b", "a"],

www/.gitignore

Lines changed: 0 additions & 24 deletions
This file was deleted.

www/.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

www/.vscode/extensions.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

www/.vscode/launch.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

www/.vscode/settings.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

www/astro.config.mjs

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)