Skip to content

Commit

Permalink
sync rv2, rback
Browse files Browse the repository at this point in the history
  • Loading branch information
pratyagarwal committed Feb 9, 2025
1 parent 3e462ad commit 7789925
Show file tree
Hide file tree
Showing 135 changed files with 14,465 additions and 296 deletions.
12 changes: 8 additions & 4 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@
"plugin:react-hooks/recommended",
"plugin:jsx-a11y/recommended",
"plugin:react/jsx-runtime",
"prettier"
"prettier",
],
"settings": {
"react": {
"version": "detect"
}
"version": "detect",
},
},
"parser": "@typescript-eslint/parser",
"rules": {
"react/prop-types": "off",
"@typescript-eslint/ban-ts-comment": "off"
},
"parser": "@typescript-eslint/parser"
}
17 changes: 11 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# Define variables
COMPONENTS_DIR := ./src/components
ORIGINAL_DIR := ../core/components/@mercoa/react/src/components
FILES := $(shell find $(COMPONENTS_DIR) -type f)
REACT_SRC_DIR := ./src
CORE_SRC_DIR := ../core/components/@mercoa/react/src
FILES = $(shell find $(REACT_SRC_DIR) -type f)

# Copy Components
copy_components:
@echo "Copying Components..."
rsync -av $(ORIGINAL_DIR) ./src/
rsync -av $(CORE_SRC_DIR)/components ./src/
rsync -av $(CORE_SRC_DIR)/modules ./src/
rsync -av $(CORE_SRC_DIR)/lib ./src/

## rsync -av --exclude='Mercoa.tsx' $(ORIGINAL_DIR) ./src/

Expand Down Expand Up @@ -34,6 +36,9 @@ prettier:
npm run prettier

# Define phony targets
.PHONY: replace_string
.PHONY: replace_string copy_components prettier

sync: copy_components replace_import prettier



sync: copy_components replace_import prettier
Loading

0 comments on commit 7789925

Please sign in to comment.