Skip to content

Commit 1f75a84

Browse files
Merge branch 'main' of github.com:dzangolab/react into refactor/change-password
2 parents 1341ba1 + 6a1233c commit 1f75a84

207 files changed

Lines changed: 742 additions & 681 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/demo-deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ jobs:
3434
run: pnpm install
3535

3636
- name: Build packages
37-
run: pnpm build --filter=@dzangolab/demo
37+
run: pnpm build --filter=@prefabs.tech/demo
3838
env:
39-
VITE_API_BASE_URL: "https://api.monorepo.dzangolab.org"
39+
VITE_API_BASE_URL: "https://api.monorepo.prefabs.tech"
4040
VITE_APP_TITLE: 'React Demo'
4141
VITE_APP_VERSION: ${{ steps.package-version.outputs.current-version}}
4242
VITE_APP_BUILD: 'develop'
43-
VITE_APP_COPYRIGHT_HOLDER: 'Dzango'
44-
VITE_APP_COPYRIGHT_HOLDER_URL: 'https://dzango.com'
43+
VITE_APP_COPYRIGHT_HOLDER: 'Prefabs Tech'
44+
VITE_APP_COPYRIGHT_HOLDER_URL: 'https://prefabs.tech'
4545

4646
- name: Deploy 🚀
4747
uses: JamesIves/github-pages-deploy-action@v4

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "@dzangolab/react Test"
1+
name: "@prefabs.tech/react Test"
22

33
on: push
44

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
# @dzangolab/react
2-
A set of React libraries to be used in our monorepo apps.
1+
# @prefabs.tech/react
2+
A set of React libraries to be used in monorepo apps.
33

44
## Demo app
55
Please find our [demo app](https://app-5mgwtd.ws0.12deg.io/) for examples.
66

77
## Packages
8-
- @dzangolab/react-config (https://www.npmjs.com/package/@dzangolab/react-config)
9-
- @dzangolab/react-i18n (https://www.npmjs.com/package/@dzangolab/react-i18n)
10-
- @dzangolab/react-user (https://www.npmjs.com/package/@dzangolab/react-user)
11-
- @dzangolab/react-ui (https://www.npmjs.com/package/@dzangolab/react-ui)
12-
- @dzangolab/react-layout (https://www.npmjs.com/package/@dzangolab/react-layout)
8+
- @prefabs.tech/react-config (https://www.npmjs.com/package/@prefabs.tech/react-config)
9+
- @prefabs.tech/react-i18n (https://www.npmjs.com/package/@prefabs.tech/react-i18n)
10+
- @prefabs.tech/react-user (https://www.npmjs.com/package/@prefabs.tech/react-user)
11+
- @prefabs.tech/react-ui (https://www.npmjs.com/package/@prefabs.tech/react-ui)
12+
- @prefabs.tech/react-layout (https://www.npmjs.com/package/@prefabs.tech/react-layout)
1313

1414
# Installation & Usage
1515
## Install dependencies

apps/demo/.env.example

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
VITE_API_BASE_URL="http://localhost:20070"
22

33
VITE_APP_BUILD=local
4-
VITE_APP_COPYRIGHT_HOLDER=Dzango
5-
VITE_APP_COPYRIGHT_HOLDER_URL=https://dzango.com
4+
VITE_APP_COPYRIGHT_HOLDER="Prefabs Tech"
5+
VITE_APP_COPYRIGHT_HOLDER_URL=https://prefabs.tech
66
VITE_APP_NAME=$npm_package_name
77
VITE_APP_PORT=20083
8-
VITE_APP_TITLE="Dzangolab Demo App"
8+
VITE_APP_TITLE="Prefabs Tech Demo App"
99
VITE_APP_VERSION=$npm_package_version
1010

1111
VITE_FEATURE_SHOW_VERSION=1

apps/demo/.eslintrc.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
module.exports = {
22
root: true,
3-
extends: ["@12deg/eslint-config/react-app"],
3+
extends: ["@prefabs.tech/eslint-config/react-app"],
44
};

apps/demo/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# @dzangolab/demo-app
1+
# @prefabs.tech/demo-app
22
A Demo-app to showcase the UI component from React libraries.

apps/demo/docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ RUN pnpm install --frozen-lockfile
1919
FROM base as build
2020
ARG api_base_url=''
2121
ARG app_build=''
22-
ARG app_title='Dzangolab React Demo'
22+
ARG app_title='Prefabs.Tech React Demo'
2323
ARG app_version='0.60.0'
2424
ARG feature_show_version=1
2525
ARG locale_storage_namespace='demo-react__'
@@ -37,7 +37,7 @@ COPY apps/ apps/
3737
# COPY libs/core libs/core
3838

3939
RUN pnpm install -r --frozen-lockfile --ignore-scripts \
40-
&& pnpm --filter "@dzangolab/demo-..." build
40+
&& pnpm --filter "@prefabs.tech/demo-..." build
4141

4242
FROM nginx:1.27-alpine as production
4343

apps/demo/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "@dzangolab/demo",
2+
"name": "@prefabs.tech/demo",
33
"version": "0.60.0",
44
"private": true,
5-
"homepage": "https://dzangolab.github.io/react",
5+
"homepage": "https://prefabs-tech.github.io/react",
66
"type": "module",
77
"scripts": {
88
"build": "tsc && vite build",
@@ -17,13 +17,13 @@
1717
"typecheck": "tsc --noEmit -p tsconfig.vitest.json --composite false"
1818
},
1919
"dependencies": {
20-
"@12deg/tsconfig": "0.1.11",
21-
"@dzangolab/react-config": "workspace:*",
22-
"@dzangolab/react-form": "workspace:*",
23-
"@dzangolab/react-i18n": "workspace:*",
24-
"@dzangolab/react-layout": "workspace:*",
25-
"@dzangolab/react-ui": "workspace:*",
26-
"@dzangolab/react-user": "workspace:*",
20+
"@prefabs.tech/tsconfig": "0.2.0",
21+
"@prefabs.tech/react-config": "workspace:*",
22+
"@prefabs.tech/react-form": "workspace:*",
23+
"@prefabs.tech/react-i18n": "workspace:*",
24+
"@prefabs.tech/react-layout": "workspace:*",
25+
"@prefabs.tech/react-ui": "workspace:*",
26+
"@prefabs.tech/react-user": "workspace:*",
2727
"@reduxjs/toolkit": "1.9.7",
2828
"normalize.css": "8.0.1",
2929
"primeicons": "7.0.0",
@@ -36,7 +36,7 @@
3636
"zod": "3.23.8"
3737
},
3838
"devDependencies": {
39-
"@12deg/eslint-config": "0.1.11",
39+
"@prefabs.tech/eslint-config": "0.2.0",
4040
"@babel/core": "7.26.10",
4141
"@babel/plugin-syntax-flow": "7.26.0",
4242
"@babel/plugin-transform-react-jsx": "^7.21.0",

apps/demo/setup-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { vi } from "vitest";
22

33
// from i18n documentation https://react.i18next.com/misc/testing
4-
vi.mock("@dzangolab/react-i18n", () => ({
4+
vi.mock("@prefabs.tech/react-i18n", () => ({
55
useTranslation: () => {
66
return {
77
t: (string_) => string_,

apps/demo/src/Views/ErrorBoundary/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { useTranslation } from "@dzangolab/react-i18n";
2-
import { Page } from "@dzangolab/react-ui";
1+
import { useTranslation } from "@prefabs.tech/react-i18n";
2+
import { Page } from "@prefabs.tech/react-ui";
33
import { useRouteError } from "react-router-dom";
44
import "./ErrorBoundary.css";
55

0 commit comments

Comments
 (0)