Skip to content

Commit

Permalink
Move to kiota-community (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaTP authored Oct 2, 2024
1 parent 4ef0ab8 commit e11bb0f
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ We do maintain working examples up to date to make sure that it's feasible to le

1. Add this dependency to your project:

`npm install -D @redhat-developer/kiota-wasm`
`npm install -D @kiota-community/kiota-wasm`

2. Unpack the resources in the public assets folder of your project (and we suggest to add it to your `.gitignore`):

Expand All @@ -21,7 +21,7 @@ npm install -D copyfiles rimraf
```json
"scripts": {
...
"postinstall": "rimraf ./public/kiota-wasm && copyfiles -u 4 'node_modules/@redhat-developer/kiota-wasm/dist/**/*.*' 'public/kiota-wasm'"
"postinstall": "rimraf ./public/kiota-wasm && copyfiles -u 4 'node_modules/@kiota-community/kiota-wasm/dist/**/*.*' 'public/kiota-wasm'"
}
...
```
Expand Down Expand Up @@ -90,7 +90,7 @@ yalc publish
In the example application folder:

```bash
yalc add @redhat-developer/[email protected]
yalc add @kiota-community/[email protected]
npm install
npm run dev
```
Expand Down
12 changes: 6 additions & 6 deletions examples/vite-react-app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions examples/vite-react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"postinstall": "rimraf ./public/kiota-wasm && copyfiles -u 4 'node_modules/@redhat-developer/kiota-wasm/dist/**/*.*' 'public/kiota-wasm'"
"postinstall": "rimraf ./public/kiota-wasm && copyfiles -u 4 'node_modules/@kiota-community/kiota-wasm/dist/**/*.*' 'public/kiota-wasm'"
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@redhat-developer/kiota-wasm": "file:.yalc/@redhat-developer/kiota-wasm",
"@kiota-community/kiota-wasm": "file:.yalc/@kiota-community/kiota-wasm",
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.0.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/vite-react-app/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useState } from 'react'
import reactLogo from './assets/react.svg'
import viteLogo from '/vite.svg'
import './App.css'
// import { generate } from '@redhat-developer/kiota-wasm'
// import { generate } from '@kiota-community/kiota-wasm'
// import mainUrl from './wasm-kiota/main.js?url'

function App() {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@redhat-developer/kiota-wasm",
"name": "@kiota-community/kiota-wasm",
"type": "module",
"version": "0.0.1",
"description": "Kiota compiled in a native WASM module.",
Expand Down

0 comments on commit e11bb0f

Please sign in to comment.