Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Update registry to NPM #39

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
registry=http://verdaccio.ds.io:4873
registry=https://registry.npmjs.org
2 changes: 1 addition & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Footer from './components/footer';

import './styles/index.scss';

import '@developmentseed/veda-ui/lib/main.css';
import '@teamimpact/veda-ui/lib/main.css';

const DevSeedUIThemeProvider = dynamic(
() => import('app/store/providers/theme'),
Expand Down
4 changes: 2 additions & 2 deletions app/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import {
Chart,
DatasetData,
VedaData,
} from '@developmentseed/veda-ui';
} from '@teamimpact/veda-ui';

/**
* This file is to...
Expand Down Expand Up @@ -72,7 +72,7 @@ export {
// State
timelineDatasetsAtom,
useTimelineDatasetAtom,
externalDatasetsAtom
externalDatasetsAtom,
};

export type { DatasetData, NavItem, InternalNavLink, VedaData };
2 changes: 1 addition & 1 deletion docs/ARCHITECTURE_OVERVIEW.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The project follows the modern Next.js file structure as documented in the [Next
- Holds structured content, such as datasets, stories, or other resources used by the app

### `lib/`
- Serves as a centralized module for importing and exporting components, hooks, and utilities from `@developmentseed/veda-ui` that are used across the application
- Serves as a centralized module for importing and exporting components, hooks, and utilities from `@teamimpact/veda-ui` that are used across the application

### `store/`
- **Purpose**: Manages application-level state using React context providers
Expand Down
4 changes: 2 additions & 2 deletions docs/CONFIGURATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ These variables are specific to each developer’s local environment and often c

### Using environment variables in code

The `VedaUIProvider` is part of the `@developmentseed/veda-ui` library and is used to pass environment variables to VEDA-UI components. This is needed so that VEDA components relying on configurations like API endpoints and Mapbox tokens can access these values.
The `VedaUIProvider` is part of the `@teamimpact/veda-ui` library and is used to pass environment variables to VEDA-UI components. This is needed so that VEDA components relying on configurations like API endpoints and Mapbox tokens can access these values.

#### Where to place it

Expand All @@ -34,7 +34,7 @@ The `VedaUIProvider` should wrap your application at a high level, such as in th
Below is an example of how to configure the `VedaUIProvider` with environment variables:

```tsx
import { VedaUIProvider } from '@developmentseed/veda-ui';
import { VedaUIProvider } from '@teamimpact/veda-ui';

export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
Expand Down
6 changes: 1 addition & 5 deletions docs/DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@ nvm install
```

2. **Register the VEDA-UI package**
The VEDA-UI package is hosted on a Verdaccio instance during its experimental phase. To install it, configure Yarn to use the Verdaccio instance:

```sh
yarn config set @developmentseed:veda-ui http://verdaccio.ds.io:4873/
```
The VEDA-UI package is now published on the public NPM registry under the @teamimpact scope. To install it, ensure your `.npmrc` or global npm configuration points to the public registry (default).

3. **Install dependencies**

Expand Down
2 changes: 1 addition & 1 deletion docs/STYLING.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ To use USWDS-based styles:

```tsx
import './styles/index.scss';
import '@developmentseed/veda-ui/lib/main.css';
import '@teamimpact/veda-ui/lib/main.css';
```

## Further customizing styles with USWDS
Expand Down
2 changes: 1 addition & 1 deletion docs/VEDA_UI_COMPONENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The most up-to-date list of components, hooks, and types offered by VEDA-UI can
To use a VEDA-UI component, import it from the library and include it in your application. For example:

```tsx
import { PageHero, CatalogView } from '@developmentseed/veda-ui';
import { PageHero, CatalogView } from '@teamimpact/veda-ui';

export default function ExamplePage() {
return (
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"fix": "yarn run format && yarn run lint:fix"
},
"dependencies": {
"@developmentseed/veda-ui": "v5.11.6-1402.0",
"@teamimpact/veda-ui": "v5.11.6",
"@devseed-ui/theme-provider": "^4.1.0",
"@types/node": "20.11.17",
"@types/react": "18.2.55",
Expand Down
240 changes: 120 additions & 120 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -229,126 +229,6 @@
style-mod "^4.1.0"
w3c-keyname "^2.2.4"

"@developmentseed/[email protected]":
version "5.11.6-1402.0"
resolved "http://verdaccio.ds.io:4873/@developmentseed%2fveda-ui/-/veda-ui-5.11.6-1402.0.tgz#dcd2a90c48327d0160fc75307e6367e4d674cd23"
integrity sha512-pQ4vbBC8pN60LUhoY6sL85V6B+DKIrYag9x5q8jyVrYYFhz3s4DRN2U83ZXvgwSZyZ6/5ztyKSbVgQYiKgthKA==
dependencies:
"@codemirror/lang-markdown" "^6.1.1"
"@codemirror/state" "^6.2.1"
"@codemirror/theme-one-dark" "^6.1.2"
"@codemirror/view" "^6.13.0"
"@devseed-ui/accordion" "4.1.0"
"@devseed-ui/animation" "4.1.0"
"@devseed-ui/button" "4.1.0"
"@devseed-ui/collecticons" "4.1.0"
"@devseed-ui/date-picker" "4.1.0"
"@devseed-ui/dropdown" "4.1.0"
"@devseed-ui/form" "4.1.0"
"@devseed-ui/global-loading" "4.1.0"
"@devseed-ui/modal" "^4.1.0"
"@devseed-ui/theme-provider" "4.1.0"
"@devseed-ui/toolbar" "4.1.0"
"@devseed-ui/typography" "4.1.0"
"@emotion/react" "^11.11.3"
"@floating-ui/react" "^0.25.1"
"@mapbox/mapbox-gl-draw" "^1.3.0"
"@mapbox/mapbox-gl-draw-static-mode" "^1.0.1"
"@mapbox/mapbox-gl-geocoder" "^5.0.1"
"@mdx-js/react" "^3.0.1"
"@parcel/transformer-postcss" "^2.12.0"
"@parcel/transformer-raw" "~2.7.0"
"@reactour/tour" "^3.6.1"
"@tanstack/react-query" "^4.3.9"
"@tanstack/react-query-devtools" "^4.3.9"
"@tanstack/react-table" "^8.9.3"
"@tippyjs/react" "^4.2.6"
"@trussworks/react-uswds" "^9.0.0"
"@turf/area" "^6.5.0"
"@turf/bbox" "^6.5.0"
"@turf/bbox-polygon" "^6.5.0"
"@turf/boolean-intersects" "^6.5.0"
"@turf/centroid" "^6.5.0"
"@turf/combine" "^6.5.0"
"@turf/difference" "^6.5.0"
"@turf/helpers" "^6.5.0"
"@turf/intersect" "^6.5.0"
"@turf/simplify" "^6.5.0"
"@turf/union" "^6.5.0"
"@types/geojson" "^7946.0.10"
"@types/he" "^1.2.3"
"@types/mdx" "^2.0.1"
"@types/react" "18.0.32"
"@types/react-dom" "18.0.11"
"@types/styled-components" "^5.1.26"
autoprefixer "^10.4.19"
axios "^0.25.0"
clipboard "^2.0.11"
codemirror "^6.0.1"
d3 "^7.6.1"
d3-scale-chromatic "^3.0.0"
date-fns "^2.28.0"
dotenv "^16.4.5"
file-saver "^2.0.5"
focus-trap-react "^10.2.3"
framer-motion "^10.12.21"
geojson-validation "^1.0.2"
google-polyline "^1.0.3"
gulp-postcss "^10.0.0"
gulp-sass "^6.0.0"
history "^5.1.0"
intersection-observer "^0.12.0"
jotai "^2.6.2"
jotai-devtools "^0.7.1"
jotai-location "^0.5.2"
jotai-optics "^0.3.1"
js-yaml "^4.1.0"
lodash "^4.17.21"
mapbox-gl "^2.15.0"
mapbox-gl-compare "^0.4.0"
mapbox-gl-draw-rectangle-mode "^1.0.4"
markdown-it "^14.0.0"
optics-ts "^2.4.1"
papaparse "^5.3.2"
pinst "^3.0.0"
polished "^4.1.3"
postcss "^8.4.39"
postcss-import "^16.1.0"
postcss-safe-parser "^7.0.0"
postcss-scss "^4.0.9"
postcss-url "^10.1.3"
prop-types "^15.7.2"
qs "^6.10.3"
qs-state-hook "^2.0.0"
react "^18.2.0"
react-calendar "^5.0.0"
react-compare-image "^3.1.0"
react-cool-dimensions "^2.0.7"
react-dom "^18.2.0"
react-draggable "^4.4.5"
react-error-boundary "^4.0.10"
react-gtm-module "^2.0.11"
react-helmet "^6.1.0"
react-indiana-drag-scroll "^2.2.0"
react-lazyload "^3.2.0"
react-map-gl "^7.1.5"
react-nl2br "^1.0.2"
react-range-slider-input "^3.0.7"
react-resizable-panels "^0.0.45"
react-router "^6.0.0"
react-router-dom "^6.0.0"
react-transition-group "^4.4.2"
react-virtual "^2.10.4"
recharts "2.1.12"
rodemirror "^2.0.0"
sass "^1.81.0"
scrollama "^3.1.0"
shpjs "^4.0.4"
styled-components "^5.3.3"
tippy.js "^6.3.7"
use-deep-compare "^1.1.0"
xlsx "^0.18.5"

"@devseed-ui/[email protected]":
version "4.1.0"
resolved "http://verdaccio.ds.io:4873/@devseed-ui%2faccordion/-/accordion-4.1.0.tgz#622483e69e553a4f1e8d4a8c44f61ad4cfa1395b"
Expand Down Expand Up @@ -1827,6 +1707,126 @@
resolved "http://verdaccio.ds.io:4873/@tanstack%2ftable-core/-/table-core-8.20.5.tgz#3974f0b090bed11243d4107283824167a395cf1d"
integrity sha512-P9dF7XbibHph2PFRz8gfBKEXEY/HJPOhym8CHmjF8y3q5mWpKx9xtZapXQUWCgkqvsK0R46Azuz+VaxD4Xl+Tg==

"@teamimpact/[email protected]":
version "5.11.6"
resolved "https://registry.yarnpkg.com/@teamimpact/veda-ui/-/veda-ui-5.11.6.tgz#6f237fb202f864326ba22ec7b31ea3a960bfce6c"
integrity sha512-RCPG/bWqYi25gpFjT+x/dMSfQnfUYrdkRsA9iXfCBrU97bMUaVqy8gGHpX36KeyW2/SvQP4KWYvUtOdveGls0w==
dependencies:
"@codemirror/lang-markdown" "^6.1.1"
"@codemirror/state" "^6.2.1"
"@codemirror/theme-one-dark" "^6.1.2"
"@codemirror/view" "^6.13.0"
"@devseed-ui/accordion" "4.1.0"
"@devseed-ui/animation" "4.1.0"
"@devseed-ui/button" "4.1.0"
"@devseed-ui/collecticons" "4.1.0"
"@devseed-ui/date-picker" "4.1.0"
"@devseed-ui/dropdown" "4.1.0"
"@devseed-ui/form" "4.1.0"
"@devseed-ui/global-loading" "4.1.0"
"@devseed-ui/modal" "^4.1.0"
"@devseed-ui/theme-provider" "4.1.0"
"@devseed-ui/toolbar" "4.1.0"
"@devseed-ui/typography" "4.1.0"
"@emotion/react" "^11.11.3"
"@floating-ui/react" "^0.25.1"
"@mapbox/mapbox-gl-draw" "^1.3.0"
"@mapbox/mapbox-gl-draw-static-mode" "^1.0.1"
"@mapbox/mapbox-gl-geocoder" "^5.0.1"
"@mdx-js/react" "^3.0.1"
"@parcel/transformer-postcss" "^2.12.0"
"@parcel/transformer-raw" "~2.7.0"
"@reactour/tour" "^3.6.1"
"@tanstack/react-query" "^4.3.9"
"@tanstack/react-query-devtools" "^4.3.9"
"@tanstack/react-table" "^8.9.3"
"@tippyjs/react" "^4.2.6"
"@trussworks/react-uswds" "^9.0.0"
"@turf/area" "^6.5.0"
"@turf/bbox" "^6.5.0"
"@turf/bbox-polygon" "^6.5.0"
"@turf/boolean-intersects" "^6.5.0"
"@turf/centroid" "^6.5.0"
"@turf/combine" "^6.5.0"
"@turf/difference" "^6.5.0"
"@turf/helpers" "^6.5.0"
"@turf/intersect" "^6.5.0"
"@turf/simplify" "^6.5.0"
"@turf/union" "^6.5.0"
"@types/geojson" "^7946.0.10"
"@types/he" "^1.2.3"
"@types/mdx" "^2.0.1"
"@types/react" "18.0.32"
"@types/react-dom" "18.0.11"
"@types/styled-components" "^5.1.26"
autoprefixer "^10.4.19"
axios "^0.25.0"
clipboard "^2.0.11"
codemirror "^6.0.1"
d3 "^7.6.1"
d3-scale-chromatic "^3.0.0"
date-fns "^2.28.0"
dotenv "^16.4.5"
file-saver "^2.0.5"
focus-trap-react "^10.2.3"
framer-motion "^10.12.21"
geojson-validation "^1.0.2"
google-polyline "^1.0.3"
gulp-postcss "^10.0.0"
gulp-sass "^6.0.0"
history "^5.1.0"
intersection-observer "^0.12.0"
jotai "^2.6.2"
jotai-devtools "^0.7.1"
jotai-location "^0.5.2"
jotai-optics "^0.3.1"
js-yaml "^4.1.0"
lodash "^4.17.21"
mapbox-gl "^2.15.0"
mapbox-gl-compare "^0.4.0"
mapbox-gl-draw-rectangle-mode "^1.0.4"
markdown-it "^14.0.0"
optics-ts "^2.4.1"
papaparse "^5.3.2"
pinst "^3.0.0"
polished "^4.1.3"
postcss "^8.4.39"
postcss-import "^16.1.0"
postcss-safe-parser "^7.0.0"
postcss-scss "^4.0.9"
postcss-url "^10.1.3"
prop-types "^15.7.2"
qs "^6.10.3"
qs-state-hook "^2.0.0"
react "^18.2.0"
react-calendar "^5.0.0"
react-compare-image "^3.1.0"
react-cool-dimensions "^2.0.7"
react-dom "^18.2.0"
react-draggable "^4.4.5"
react-error-boundary "^4.0.10"
react-gtm-module "^2.0.11"
react-helmet "^6.1.0"
react-indiana-drag-scroll "^2.2.0"
react-lazyload "^3.2.0"
react-map-gl "^7.1.5"
react-nl2br "^1.0.2"
react-range-slider-input "^3.0.7"
react-resizable-panels "^0.0.45"
react-router "^6.0.0"
react-router-dom "^6.0.0"
react-transition-group "^4.4.2"
react-virtual "^2.10.4"
recharts "2.1.12"
rodemirror "^2.0.0"
sass "^1.81.0"
scrollama "^3.1.0"
shpjs "^4.0.4"
styled-components "^5.3.3"
tippy.js "^6.3.7"
use-deep-compare "^1.1.0"
xlsx "^0.18.5"

"@tippyjs/react@^4.2.6":
version "4.2.6"
resolved "http://verdaccio.ds.io:4873/@tippyjs%2freact/-/react-4.2.6.tgz#971677a599bf663f20bb1c60a62b9555b749cc71"
Expand Down