Skip to content

Commit

Permalink
Merge pull request #28 from trixtateam/feature/release_test
Browse files Browse the repository at this point in the history
docs: Updated package organization name
  • Loading branch information
jacqueswho authored Sep 17, 2021
2 parents a65fa0f + b93639a commit 15046bc
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 37 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ Any orgranization using Trixta for their javascript application.

Install the package with npm

`npm i @trixta/trixta-js` or yarn - whichever you prefer
`npm i @trixtateam/trixta-js` or yarn - whichever you prefer

`yarn add @trixta/trixta-js`
`yarn add @trixtateam/trixta-js`

## 1. Setup Reducer

Expand All @@ -48,7 +48,7 @@ Install the package with npm

import { combineReducers } from '@reduxjs/toolkit';
import { phoenixReducer } from '@trixta/phoenix-to-redux';
import { trixtaReducer } from '@trixta/trixta-js';
import { trixtaReducer } from '@trixtateam/trixta-js';
export default function createReducer() {
const rootReducer = combineReducers({
trixta: trixtaReducer,
Expand Down Expand Up @@ -109,7 +109,7 @@ export default function configureStore() {
import { configureStore, getDefaultMiddleware } from '@reduxjs/toolkit';
import { createPhoenixChannelMiddleware } from '@trixta/phoenix-to-redux';
import createSagaMiddleware from 'redux-saga';
import { setupTrixtaSaga } from '@trixta/trixta-js';
import { setupTrixtaSaga } from '@trixtateam/trixta-js';
import createReducer from './reducers';

export default function configureStore() {
Expand Down Expand Up @@ -150,7 +150,7 @@ export default function configureStore() {

```javascript
import { put, select, takeLatest, takeEvery, fork } from 'redux-saga/effects';
import { setupTrixtaSaga } from '@trixta/trixta-js';
import { setupTrixtaSaga } from '@trixtateam/trixta-js';

export default function* rootSaga() {
yield fork(setupTrixtaSaga);
Expand Down Expand Up @@ -202,7 +202,7 @@ export default function configureStore() {

```javascript
import { put, select, takeLatest, takeEvery, fork } from 'redux-saga/effects';
import { updateTrixtaRoles } from '@trixta/trixta-js';
import { updateTrixtaRoles } from '@trixtateam/trixta-js';
import { socketActionTypes,connectPhoenix } from '@trixta/phoenix-to-redux';

/**
Expand Down
12 changes: 6 additions & 6 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

Install the package with npm

`npm i @trixta/trixta-js` or yarn - whichever you prefer
`npm i @trixtateam/trixta-js` or yarn - whichever you prefer

`yarn add @trixta/trixta-js`
`yarn add @trixtateam/trixta-js`

## 1. Setup Reducer

Expand All @@ -27,7 +27,7 @@ Install the package with npm

import { combineReducers } from '@reduxjs/toolkit';
import { phoenixReducer } from '@trixta/phoenix-to-redux';
import { trixtaReducer } from '@trixta/trixta-js';
import { trixtaReducer } from '@trixtateam/trixta-js';
export default function createReducer() {
const rootReducer = combineReducers({
trixta: trixtaReducer,
Expand Down Expand Up @@ -88,7 +88,7 @@ export default function configureStore() {
import { configureStore, getDefaultMiddleware } from '@reduxjs/toolkit';
import { createPhoenixChannelMiddleware } from '@trixta/phoenix-to-redux';
import createSagaMiddleware from 'redux-saga';
import { setupTrixtaSaga } from '@trixta/trixta-js';
import { setupTrixtaSaga } from '@trixtateam/trixta-js';
import createReducer from './reducers';

export default function configureStore() {
Expand Down Expand Up @@ -129,7 +129,7 @@ export default function configureStore() {

```javascript
import { put, select, takeLatest, takeEvery, fork } from 'redux-saga/effects';
import { setupTrixtaSaga } from '@trixta/trixta-js';
import { setupTrixtaSaga } from '@trixtateam/trixta-js';

export default function* rootSaga() {
yield fork(setupTrixtaSaga);
Expand Down Expand Up @@ -181,7 +181,7 @@ export default function configureStore() {

```javascript
import { put, select, takeLatest, takeEvery, fork } from 'redux-saga/effects';
import { updateTrixtaRoles } from '@trixta/trixta-js';
import { updateTrixtaRoles } from '@trixtateam/trixta-js';
import { socketActionTypes,connectPhoenix } from '@trixta/phoenix-to-redux';

/**
Expand Down
6 changes: 3 additions & 3 deletions docs/react/trixta/sagas.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
PutEffect,
takeEvery,
} from 'redux-saga/effects';
import { listenForTrixtaReactionResponse } from '@trixta/trixta-js';
import { listenForTrixtaReactionResponse } from '@trixtateam/trixta-js';

/**
* Listen for Trixta reaction for params.meta.roleName and params.meta.reactionName
Expand Down Expand Up @@ -59,7 +59,7 @@ import {
PutEffect,
takeLatest,
} from 'redux-saga/effects';
import { respondToTrixtaReactionEffectSaga } from '@trixta/trixta-js';
import { respondToTrixtaReactionEffectSaga } from '@trixtateam/trixta-js';


export default function* globalSaga() {
Expand All @@ -81,7 +81,7 @@ import {
PutEffect,
takeLatest,
} from 'redux-saga/effects';
import { respondToTrixtaReactionEffectSaga } from '@trixta/trixta-js';
import { respondToTrixtaReactionEffectSaga } from '@trixtateam/trixta-js';


export default function* globalSaga() {
Expand Down
14 changes: 7 additions & 7 deletions src/React/constants/actions/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
export const CLEAR_TRIXTA_ACTION_RESPONSE = `@trixta/trixta-js/CLEAR_TRIXTA_ACTION_RESPONSE`;
export const CLEAR_TRIXTA_ACTION_REQUEST_STATUS = `@trixta/trixta-js/CLEAR_TRIXTA_ACTION_REQUEST_STATUS`;
export const SUBMIT_TRIXTA_ACTION_RESPONSE = `@trixta/trixta-js/SUBMIT_TRIXTA_ACTION_RESPONSE`;
export const SUBMIT_TRIXTA_ACTION_RESPONSE_FAILURE = `@trixta/trixta-js/SUBMIT_TRIXTA_ACTION_RESPONSE_FAILURE`;
export const SUBMIT_TRIXTA_ACTION_RESPONSE_SUCCESS = `@trixta/trixta-js/SUBMIT_TRIXTA_ACTION_RESPONSE_SUCCESS`;
export const UPDATE_TRIXTA_ACTION_RESPONSE = `@trixta/trixta-js/UPDATE_TRIXTA_ACTION_RESPONSE`;
export const UPDATE_TRIXTA_ACTION = `@trixta/trixta-js/UPDATE_TRIXTA_ACTION`;
export const CLEAR_TRIXTA_ACTION_RESPONSE = `@trixtateam/trixta-js/CLEAR_TRIXTA_ACTION_RESPONSE`;
export const CLEAR_TRIXTA_ACTION_REQUEST_STATUS = `@trixtateam/trixta-js/CLEAR_TRIXTA_ACTION_REQUEST_STATUS`;
export const SUBMIT_TRIXTA_ACTION_RESPONSE = `@trixtateam/trixta-js/SUBMIT_TRIXTA_ACTION_RESPONSE`;
export const SUBMIT_TRIXTA_ACTION_RESPONSE_FAILURE = `@trixtateam/trixta-js/SUBMIT_TRIXTA_ACTION_RESPONSE_FAILURE`;
export const SUBMIT_TRIXTA_ACTION_RESPONSE_SUCCESS = `@trixtateam/trixta-js/SUBMIT_TRIXTA_ACTION_RESPONSE_SUCCESS`;
export const UPDATE_TRIXTA_ACTION_RESPONSE = `@trixtateam/trixta-js/UPDATE_TRIXTA_ACTION_RESPONSE`;
export const UPDATE_TRIXTA_ACTION = `@trixtateam/trixta-js/UPDATE_TRIXTA_ACTION`;
export const TRIXTA_ACTION = 'TRIXTA_ACTION';

export const trixtaActionLoadingStatus = ({
Expand Down
12 changes: 6 additions & 6 deletions src/React/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ import {
} from './reactions';
export * from './actions';
export * from './reactions';
export const UPDATE_TRIXTA_ROLES = `@trixta/trixta-js/UPDATE_TRIXTA_ROLES`;
export const UPDATE_TRIXTA_ROLE = `@trixta/trixta-js/UPDATE_TRIXTA_ROLE`;
export const JOIN_TRIXTA_ROLE = `@trixta/trixta-js/JOIN_TRIXTA_ROLE`;
export const REMOVE_TRIXTA_ROLE = `@trixta/trixta-js/REMOVE_TRIXTA_ROLE`;
export const SIGN_OUT_TRIXTA = `@trixta/trixta-js/SIGN_OUT_TRIXTA`;
export const UPDATE_TRIXTA_ERROR = `@trixta/trixta-js/UPDATE_TRIXTA_ERROR`;
export const UPDATE_TRIXTA_ROLES = `@trixtateam/trixta-js/UPDATE_TRIXTA_ROLES`;
export const UPDATE_TRIXTA_ROLE = `@trixtateam/trixta-js/UPDATE_TRIXTA_ROLE`;
export const JOIN_TRIXTA_ROLE = `@trixtateam/trixta-js/JOIN_TRIXTA_ROLE`;
export const REMOVE_TRIXTA_ROLE = `@trixtateam/trixta-js/REMOVE_TRIXTA_ROLE`;
export const SIGN_OUT_TRIXTA = `@trixtateam/trixta-js/SIGN_OUT_TRIXTA`;
export const UPDATE_TRIXTA_ERROR = `@trixtateam/trixta-js/UPDATE_TRIXTA_ERROR`;

export const trixtaActionTypes = {
SIGN_OUT_TRIXTA,
Expand Down
18 changes: 9 additions & 9 deletions src/React/constants/reactions/index.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
export const TRIXTA_REACTION_RESPONSE = `@trixta/trixta-js/TRIXTA_REACTION_RESPONSE`;
export const UPDATE_TRIXTA_REACTION_RESPONSE = `@trixta/trixta-js/UPDATE_TRIXTA_REACTION_RESPONSE`;
export const UPDATE_TRIXTA_REACTION = `@trixta/trixta-js/UPDATE_TRIXTA_REACTION`;
export const CLEAR_TRIXTA_REACTION_RESPONSE = `@trixta/trixta-js/CLEAR_TRIXTA_REACTION_RESPONSE`;
export const CLEAR_TRIXTA_REACTION_REQUEST_STATUS = `@trixta/trixta-js/CLEAR_TRIXTA_REACTION_REQUEST_STATUS`;
export const SUBMIT_TRIXTA_REACTION_RESPONSE = `@trixta/trixta-js/SUBMIT_TRIXTA_REACTION_RESPONSE`;
export const SUBMIT_TRIXTA_REACTION_RESPONSE_FAILURE = `@trixta/trixta-js/SUBMIT_TRIXTA_REACTION_RESPONSE_FAILURE`;
export const SUBMIT_TRIXTA_REACTION_RESPONSE_SUCCESS = `@trixta/trixta-js/SUBMIT_TRIXTA_REACTION_RESPONSE_SUCCESS`;
export const TRIXTA_REACTION = '@trixta/trixta-js/TRIXTA_REACTION';
export const TRIXTA_REACTION_RESPONSE = `@trixtateam/trixta-js/TRIXTA_REACTION_RESPONSE`;
export const UPDATE_TRIXTA_REACTION_RESPONSE = `@trixtateam/trixta-js/UPDATE_TRIXTA_REACTION_RESPONSE`;
export const UPDATE_TRIXTA_REACTION = `@trixtateam/trixta-js/UPDATE_TRIXTA_REACTION`;
export const CLEAR_TRIXTA_REACTION_RESPONSE = `@trixtateam/trixta-js/CLEAR_TRIXTA_REACTION_RESPONSE`;
export const CLEAR_TRIXTA_REACTION_REQUEST_STATUS = `@trixtateam/trixta-js/CLEAR_TRIXTA_REACTION_REQUEST_STATUS`;
export const SUBMIT_TRIXTA_REACTION_RESPONSE = `@trixtateam/trixta-js/SUBMIT_TRIXTA_REACTION_RESPONSE`;
export const SUBMIT_TRIXTA_REACTION_RESPONSE_FAILURE = `@trixtateam/trixta-js/SUBMIT_TRIXTA_REACTION_RESPONSE_FAILURE`;
export const SUBMIT_TRIXTA_REACTION_RESPONSE_SUCCESS = `@trixtateam/trixta-js/SUBMIT_TRIXTA_REACTION_RESPONSE_SUCCESS`;
export const TRIXTA_REACTION = '@trixtateam/trixta-js/TRIXTA_REACTION';

export const trixtaReactionLoadingStatus = ({
roleName,
Expand Down

0 comments on commit 15046bc

Please sign in to comment.