@aakaar/global 0.0.1 → 0.0.3

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.
@@ -1,6 +1,6 @@
1
1
 
2
2
  
3
- > @aakaar/global@0.0.1 build /Users/navjotahuja/Projects/aakaar/packages/global
3
+ > @aakaar/global@0.0.3 build /Users/navjotahuja/Projects/aakaar/packages/global
4
4
  > tsup src/index.ts
5
5
 
6
6
  CLI Building entry: src/index.ts
@@ -9,4 +9,4 @@
9
9
  CLI Target: es2022
10
10
  CJS Build start
11
11
  CJS dist/index.js 1.77 KB
12
- CJS ⚡️ Build success in 22ms
12
+ CJS ⚡️ Build success in 26ms
@@ -1,6 +1,6 @@
1
1
 
2
2
  
3
3
  > @aakaar/global@0.0.1 lint /Users/navjotahuja/Projects/aakaar/packages/global
4
- > biome check . "--fix"
4
+ > biome check .
5
5
 
6
- Checked 3 files in 2ms. No fixes applied.
6
+ Checked 3 files in 3ms. No fixes applied.
@@ -1,5 +1,5 @@
1
1
 
2
2
  
3
- > @aakaar/global@0.0.1 ts /Users/navjotahuja/Projects/aakaar/packages/global
3
+ > @aakaar/global@0.0.2 ts /Users/navjotahuja/Projects/aakaar/packages/global
4
4
  > tsc --noEmit
5
5
 
@@ -0,0 +1,30 @@
1
+ type PackageManager = "npm" | "yarn" | "pnpm" | "bun" | "deno";
2
+ type RegistryFile = {
3
+ name: string;
4
+ content: string;
5
+ };
6
+ type ComponentRegistry = {
7
+ name: string;
8
+ dependencies?: string[];
9
+ files: RegistryFile[];
10
+ };
11
+ declare enum AakaarComponent {
12
+ accordion = "accordion",
13
+ avatar = "avatar",
14
+ breadcrumb = "breadcrumb",
15
+ button = "button",
16
+ card = "card",
17
+ checkbox = "checkbox",
18
+ dialog = "dialog",
19
+ input = "input",
20
+ label = "label",
21
+ popover = "popover",
22
+ radio = "radio",
23
+ select = "select",
24
+ switch = "switch",
25
+ tabs = "tabs",
26
+ textarea = "textarea"
27
+ }
28
+ type AakaarComponentName = keyof typeof AakaarComponent;
29
+
30
+ export { AakaarComponent, type AakaarComponentName, type ComponentRegistry, type PackageManager, type RegistryFile };
package/dist/index.mjs ADDED
@@ -0,0 +1,22 @@
1
+ // src/index.ts
2
+ var AakaarComponent = /* @__PURE__ */ ((AakaarComponent2) => {
3
+ AakaarComponent2["accordion"] = "accordion";
4
+ AakaarComponent2["avatar"] = "avatar";
5
+ AakaarComponent2["breadcrumb"] = "breadcrumb";
6
+ AakaarComponent2["button"] = "button";
7
+ AakaarComponent2["card"] = "card";
8
+ AakaarComponent2["checkbox"] = "checkbox";
9
+ AakaarComponent2["dialog"] = "dialog";
10
+ AakaarComponent2["input"] = "input";
11
+ AakaarComponent2["label"] = "label";
12
+ AakaarComponent2["popover"] = "popover";
13
+ AakaarComponent2["radio"] = "radio";
14
+ AakaarComponent2["select"] = "select";
15
+ AakaarComponent2["switch"] = "switch";
16
+ AakaarComponent2["tabs"] = "tabs";
17
+ AakaarComponent2["textarea"] = "textarea";
18
+ return AakaarComponent2;
19
+ })(AakaarComponent || {});
20
+ export {
21
+ AakaarComponent
22
+ };
package/package.json CHANGED
@@ -1,16 +1,10 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package",
3
3
  "name": "@aakaar/global",
4
- "version": "0.0.1",
4
+ "version": "0.0.3",
5
5
  "exports": {
6
6
  ".": "./src/index.ts"
7
7
  },
8
- "devDependencies": {
9
- "@biomejs/biome": "^1.9.4",
10
- "@types/node": "^20.0.0",
11
- "tsup": "^8.0.0",
12
- "typescript": "^5.0.0"
13
- },
14
8
  "scripts": {
15
9
  "build": "tsup src/index.ts",
16
10
  "clean": "rm -rf dist",
@@ -20,6 +14,6 @@
20
14
  "generate:component": "turbo gen react-component",
21
15
  "ts": "tsc --noEmit",
22
16
  "publish:internet": "pnpm publish --access public",
23
- "publish:local": "pnpm publish --registry http://localhost:4873"
17
+ "publish:local": "pnpm publish --registry http://localhost:4873 --git-checks=false"
24
18
  }
25
19
  }
package/tsconfig.json CHANGED
@@ -5,11 +5,6 @@
5
5
  "module": "ESNext",
6
6
  "moduleResolution": "bundler"
7
7
  },
8
- "include": [
9
- "src"
10
- ],
11
- "exclude": [
12
- "node_modules",
13
- "dist"
14
- ]
15
- }
8
+ "include": ["src"],
9
+ "exclude": ["node_modules", "dist"]
10
+ }