Skip to content

Commit 5563de2

Browse files
committed
rename package to match existing NPM org
Our npm organization is `nginx`, not `nginxinc`, renames across the board and a few incidental `devDependencies` updates.
1 parent f32abbb commit 5563de2

File tree

12 files changed

+23
-23
lines changed

12 files changed

+23
-23
lines changed

examples/autocomplete/highlight.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getDirectives, Directive } from '@nginxinc/reference-lib'
1+
import { getDirectives, Directive } from '@nginx/reference-lib'
22

33
/** kinds of tokens used for highlighting */
44
type token =

examples/autocomplete/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getDirectives, Format, Directive } from '@nginxinc/reference-lib'
1+
import { getDirectives, Format, Directive } from '@nginx/reference-lib'
22
type autocomplete = {
33
/** name of the NGINX module */
44
m: string

examples/autocomplete/package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/autocomplete/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"highlight": "mkdir -p dist && node --loader=ts-node/esm highlight.ts > dist/highlight.ts"
1010
},
1111
"dependencies": {
12-
"@nginxinc/reference-lib": "file:../../reference-lib",
12+
"@nginx/reference-lib": "file:../../reference-lib",
1313
"@types/node": "^20.14.0",
1414
"ts-node": "^10.9.2",
1515
"typescript": "^5.4.5"

examples/ref-browser/package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/ref-browser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"preview": "vite preview"
1111
},
1212
"dependencies": {
13-
"@nginxinc/reference-lib": "file:../../reference-lib",
13+
"@nginx/reference-lib": "file:../../reference-lib",
1414
"react": "^18.3.1",
1515
"react-dom": "^18.3.1",
1616
"react-router-dom": "^6.23.1"

examples/ref-browser/src/Description.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { useState } from 'react'
2-
import { Format, find } from '@nginxinc/reference-lib'
2+
import { Format, find } from '@nginx/reference-lib'
33

44
type DescriptionProps = {
55
module: string

examples/ref-browser/src/Directive.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Format, getDirectives } from '@nginxinc/reference-lib'
1+
import { Format, getDirectives } from '@nginx/reference-lib'
22
import Description from './Description'
33

44
type Dir = {

examples/ref-browser/src/Tree.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'use client'
2-
import { getDirectives } from '@nginxinc/reference-lib'
2+
import { getDirectives } from '@nginx/reference-lib'
33
import { useCallback, useState } from 'react'
44
import { SearchBox } from './SearchBox'
55
import { Link } from 'react-router-dom'

reference-lib/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@ NGINX directive reference in Markdown and HTML format
1111
```
1212
3. Run
1313
```bash
14-
npm install --save @nginxinc/[email protected]
14+
npm install --save @nginx/[email protected]
1515
```
1616

1717
# Usage
1818
1. find
1919
```javascript
20-
import { find, Format } from '@nginxinc/reference-lib'
20+
import { find, Format } from '@nginx/reference-lib'
2121
const content = find('listen', undefined, Format.HTML)
2222
```
2323

2424
2. getDirectives
2525
```javascript
26-
import { getDirectives, Format } from '@nginxinc/reference-lib'
26+
import { getDirectives, Format } from '@nginx/reference-lib'
2727
const directive = getDirectives(Format.HTML)
2828
```

0 commit comments

Comments
 (0)