open-index/open-npm huggingface dataset:
npm package: @real_ate/fake-embroider-addon-dev
Description: Utilities for addon authors
Author: Edward Faulkner
Latest version: 3.2.0

# @embroider/addon-dev

Utilities for working on v2 addons.

For a guide on porting a V1 addon to V2, see https://github.com/embroider-build/embroider/blob/main/docs/porting-addons-to-v2.md

## Rollup Utilities

`@embroider/addon-dev/rollup` exports utilities for building addons with rollup. To use them:

1. Add the following `devDependencies` to your addon:

   - @embroider/addon-dev
   - rollup
   - @babel/core
   - @rollup/plugin-babel

2. Copy the `./sample-rollup.config.js` in this repo to your own `rollup.config.js`.
3. Copy the `./sample-babel.config.json` in this repo to your own `babel.config.json`.

## addon-dev command

The `addon-dev` command helps with common tasks in v2 addons.

- linking up a test application that is embedded within your addon's repo
- synchronizing `devDependencies` from an embedded test application out into
  your addon's actual package.json

(You can avoid the need for both of these if you keep your addon and its test app as separate packages in a monorepo instead.)

## Contributing

See the top-level CONTRIBUTING.md in this monorepo.

## License

This project is licensed under the MIT License.
npm package: @real_ate/fake-embroider-util
Description: Utilities for app and addon authors.
Latest version: 1.12.0

# @embroider/util

Utilities to help apps and addons with Embroider support.

## Compatibility

- Ember.js v3.13 or above
- Ember CLI v2.13 or above
- Node.js v10 or above

## Installation

```
ember install @embroider/util
```

## The Utilities

### `ensureSafeComponent`

**This function is intended to help addon authors who still need to support Ember < 3.25**. In all other cases, instead of using this you should directly pass components around as values (not as strings) and invoke them directly with angle brackets (not the `{{component}}` helper).

For the full explanation of why and how you would use this, see [the Addon Author Guide](https://github.com/embroider-build/embroider/blob/main/docs/replacing-component-helper.md).

Example usage in Javascript:

```js
import { ensureSafeComponent } from '@embroider/util';
import Component from '@glimmer/component';
import DefaultTitleComponent from './default-title';

export default class extends Component {
  get title() {
    return ensureSafeComponent(this.args.title || DefaultTitleComponent, this);
  }
}
```

```hbs
<this.title />
```

Example usage in a template:

```hbs
{{#let
  (ensure-safe-component (or @title (component 'default-title')))
  as |Title|
}}
  <Title />
{{/let}}
```

The first argument is allowed to be:

- a string. If we see a string, we will emit a deprecation warning because passing components-as-strings doesn't work safely under Embroider with `staticComponents` enabled. We will return a value that is safe to invoke (via angle brackets) on your current Ember version.
- a curried component definition (which is the kind of value you receive when someone does `<YourComponent @customThing={{component "fancy"}}/>`). These are returned unchanged, because they're always safe to invoke.
- a component class, in which case if your ember version does not yet support directly invoking component classes, we will convert it to a curried component definition for you.

In the Javascript version, you must pass a second argument that is any object with an owner (a `Component` instance works great).

## Glint usage
If you are using [Glint](https://typed-ember.gitbook.io/glint/) and `environment-ember-loose`, you can add all the macros to your app at once by adding

```ts
import type { EmbroiderUtilRegistry } from "@embroider/util";
```
to your app's e.g. `types/glint.d.ts` file, and making sure your registry extends from EmbroiderMacrosRegistry:

```ts
declare module '@glint/environment-ember-loose/registry' {
  export default interface Registry
    extends EmbroiderUtilRegistry, /* other registries here */ {
      // ...
    }
}
```

## Contributing

See the [Contributing](CONTRIBUTING.md) guide for details.

## License

This project is licensed under the [MIT License](LICENSE.md).
npm package: @real_food_ui/accordions
Description: ## This accordion have 2 behavious.
Latest version: 1.0.1

# Accordions

## This accordion have 2 behavious.

1. Can be used as general accordion(data has to be supplied)

2. Can be used as footer accordion specific to tesco page(data need not be provided. but if provided, its schema should be inline with the original tesco footer accordion schema(ie there should be only 5 elements). This will be responsive)
npm package: @real_food_ui/tabs
Description: ## Tabs List
Latest version: 1.0.1

# Tabs

## Tabs List

### props

* items: array of tab items

* transparent: background of tab(bool)

* icon: display icon(bool)

## Tab item

### props

* name: name of tab item

* transparent: background of tab(bool)

* icon: display icon(bool)
npm package: @realastrox11/bunql
Description: A minimal high performance ORM for Bun using bun:sqlite
Author: astrox11
Latest version: 1.2.0

### BunQL

A simple, lightweight Object-Relational Mapper designed for Bun’s native SQLite integration. It provides a comprehensive API for database operations, predictable SQL generation, cached prepared statements, and high performance.

### Capabilities

- Zero dependencies, small footprint.

- Built directly on `bun:sqlite` module with cached prepared statements.

- SQL-first approach with no decorators or reflection.

- Automatic table creation from schema definitions.

- Full transaction support.

- Advanced query operators such as: `comparison`, `IN`, `BETWEEN`, `LIKE`.

### Getting Started

##### Install
```bash
bun add @realastrox11/bunql
```

##### Create Model
```javascript
import { BunQL } from "@realastrox11/bunql";

const ql = new BunQL({ filename: ":memory:" });

const User = ql.define("user", {
  id: { type: "INTEGER", primary: true, autoIncrement: true },
  email: { type: "TEXT", unique: true },
  username: { type: "TEXT" },
  created_at: { type: "INTEGER" }
});

// Insert
const user = User.insert({
  email: "a@mail.com",
  username: "alice",
  created_at: Date.now()
});

// Query
const found = User.find({ email: "a@mail.com" }).first();
const allUsers = User.all();

// Fluent Select Query Builder
const users = User.select()
  .where("email", "LIKE", "%@mail.com")
  .orderBy("username", "ASC")
  .limit(10)
  .get();

// Chained conditions
const activeAdmins = User.select()
  .where("status", "=", "active")
  .where("role", "=", "admin")
  .get();

// OR conditions
const results = User.select()
  .where("status", "=", "inactive")
  .orWhere("role", "=", "guest")
  .get();

// Update
User.updateById(1, { username: "alice_updated" });

// Delete
User.deleteById(1);
```

### License

MIT License
Copyright (c) 2024 astrox11
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software.