Skip to content

Commit f63cb05

Browse files
punitaraniclaude
andauthored
chore(npm): publish under scoped name @punitarani/fli (#185)
The unscoped names `fli` and `flights` are already owned by unrelated accounts on npm, so publishing under either returns 403. Switch to the author's personal scope `@punitarani/fli`, which is available and requires no org. `publishConfig.access: public` is already set, so the scoped package publishes publicly (installable via `npm install @punitarani/fli`). - fli-js/package.json: name fli -> @punitarani/fli - publish-npm.yml: environment url -> .../package/@punitarani/fli - fli-js/README.md: install command + import examples use the scoped name Co-authored-by: Claude <noreply@anthropic.com>
1 parent 44717de commit f63cb05

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/publish-npm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ jobs:
145145

146146
environment:
147147
name: npm
148-
url: https://www.npmjs.com/package/fli
148+
url: https://www.npmjs.com/package/@punitarani/fli
149149

150150
steps:
151151
- name: Setup Node.js

fli-js/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ filter encoding, same wire-format decoders.
99
## Install
1010

1111
```bash
12-
bun add fli # or: npm install fli / pnpm add fli
12+
bun add @punitarani/fli # or: npm install @punitarani/fli / pnpm add @punitarani/fli
1313
```
1414

1515
## Quick start
@@ -24,7 +24,7 @@ import {
2424
SearchFlights,
2525
SeatType,
2626
SortBy,
27-
} from "fli";
27+
} from "@punitarani/fli";
2828

2929
const filters = new FlightSearchFilters({
3030
passenger_info: { adults: 1, children: 0, infants_in_seat: 0, infants_on_lap: 0 },
@@ -47,7 +47,7 @@ console.log(results);
4747
### Date-range search
4848

4949
```ts
50-
import { Airport, DateSearchFilters, FlightSegment, SearchDates } from "fli";
50+
import { Airport, DateSearchFilters, FlightSegment, SearchDates } from "@punitarani/fli";
5151

5252
const filters = new DateSearchFilters({
5353
passenger_info: { adults: 1, children: 0, infants_in_seat: 0, infants_on_lap: 0 },
@@ -77,7 +77,7 @@ The TypeScript port uses native `fetch` (Bun's built-in) and replaces
7777
explicit `proxy` option on `new Client({...})`).
7878

7979
```ts
80-
import { Client, SearchFlights } from "fli";
80+
import { Client, SearchFlights } from "@punitarani/fli";
8181

8282
const search = new SearchFlights(
8383
new Client({ proxy: "http://user:pass@proxy.example.com:8080" }),

fli-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "fli",
2+
"name": "@punitarani/fli",
33
"version": "0.0.2",
44
"description": "TypeScript port of the fli library: programmatic access to Google Flights data through direct API interaction.",
55
"type": "module",

0 commit comments

Comments
 (0)