billy-herrington-utils 1.0.9 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "billy-herrington-utils",
3
3
  "description": "daddy told us not to be ashamed of our utils",
4
- "version": "1.0.9",
4
+ "version": "1.1.1",
5
5
  "license": "MIT",
6
6
  "keywords": ["utils", "observer", "dom", "fetch", "arrays", "typescript"],
7
7
  "author": "smartacephale atm.mormon@protonmail.com (https://github.com/smartacephale)",
@@ -19,11 +19,12 @@
19
19
  "unpkg": "dist/billy-herrington-utils.es.js",
20
20
  "exports": {
21
21
  ".": {
22
- "import": "dist/billy-herrington-utils.es.js",
23
- "require": "dist/billy-herrington-utils.umd.js",
24
- "types": "dist/index.d.ts"
22
+ "import": "./dist/billy-herrington-utils.es.js",
23
+ "require": "./dist/billy-herrington-utils.umd.js",
24
+ "types": "./dist/index.d.ts"
25
25
  }
26
26
  },
27
+ "files": ["src/**/*", "dist/**/*"],
27
28
  "scripts": {
28
29
  "dev": "vite",
29
30
  "build": "tsc && vite build",
package/biome.json DELETED
@@ -1,35 +0,0 @@
1
- {
2
- "$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
3
- "organizeImports": {
4
- "enabled": true
5
- },
6
- "formatter": {
7
- "enabled": true,
8
- "indentWidth": 2,
9
- "indentStyle": "space",
10
- "lineWidth": 100,
11
- "lineEnding": "lf"
12
- },
13
- "javascript": {
14
- "formatter": {
15
- "quoteStyle": "single",
16
- "semicolons": "always"
17
- }
18
- },
19
- "linter": {
20
- "enabled": true,
21
- "rules": {
22
- "recommended": true,
23
- "style": {
24
- "useNumberNamespace": "off"
25
- },
26
- "complexity": {
27
- "noStaticOnlyClass": "off",
28
- "noForEach": "off"
29
- },
30
- "suspicious": {
31
- "noRedundantUseStrict": "off"
32
- }
33
- }
34
- }
35
- }
package/index.html DELETED
@@ -1,24 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
-
4
- <head>
5
- <meta charset="UTF-8">
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
- <title>Document</title>
8
- <style>
9
- body {
10
- background: radial-gradient(red, green, blue);
11
- height: 100vh;
12
- overflow: hidden;
13
- margin: 0;
14
- }
15
- </style>
16
- <script src="./dist/billy-herrington-utils.umd.js"></script>
17
- </head>
18
-
19
- <body>
20
- <script>
21
- </script>
22
- </body>
23
-
24
- </html>
package/tsconfig.json DELETED
@@ -1,25 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ES2020",
4
- "useDefineForClassFields": true,
5
- "module": "ESNext",
6
- "lib": ["ES2020", "DOM", "DOM.Iterable"],
7
- "skipLibCheck": true,
8
-
9
- /* Bundler mode */
10
- "moduleResolution": "bundler",
11
- "allowImportingTsExtensions": true,
12
- "isolatedModules": true,
13
- "moduleDetection": "force",
14
- "noEmit": true,
15
- "declaration": true,
16
- "typeRoots": ["./dist/index.d.ts"],
17
-
18
- /* Linting */
19
- "strict": true,
20
- "noUnusedLocals": true,
21
- "noUnusedParameters": true,
22
- "noFallthroughCasesInSwitch": true
23
- },
24
- "include": ["src"]
25
- }
package/vite.config.js DELETED
@@ -1,22 +0,0 @@
1
- import path from "node:path";
2
- import { defineConfig } from "vite";
3
- import dts from 'vite-plugin-dts'
4
-
5
- export default ({ mode }) => {
6
- return defineConfig({
7
- define: {
8
- "process.env": {},
9
- },
10
- build: {
11
- sourcemap: true,
12
- minify: false,
13
- lib: {
14
- // minify: false,
15
- entry: path.resolve(__dirname, "./src/index.ts"),
16
- name: "bhutils",
17
- fileName: (format) => `billy-herrington-utils.${format}.js`,
18
- }
19
- },
20
- plugins: [dts({ rollupTypes: true })]
21
- });
22
- };