1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-22 00:43:01 +02:00

Migrate to Tailwind 4 + Editor Upgrade (#8465)

* wip

* fix: roadmap editor

* fix: padding

* wip

* fix: remove editor package

* wip

* fix: update pnpm lock

* Add contribution docs

* UI changes for TW4

* Update deployment workflow

---------

Co-authored-by: Arik Chakma <arikchangma@gmail.com>
This commit is contained in:
Kamran Ahmed
2025-04-07 12:53:25 +01:00
committed by GitHub
parent 09d8c709d4
commit 64a65fa2e9
239 changed files with 1167 additions and 1171 deletions

View File

@@ -1,23 +0,0 @@
#!/usr/bin/env bash
set -e
rm -rf .temp
rm -rf editor
git clone ssh://git@github.com/roadmapsh/web-draw.git .temp/web-draw --depth 1
cd .temp/web-draw
pnpm install
npm run build -- --filter=@roadmapsh/dummy-editor
# Copy new editor
cp -rf packages/dummy-editor ../../editor
# Remove temp directory
rm -rf .temp
# Reinstall so that the editor which was setup gets used
rm -rf node_modules
pnpm install

View File

@@ -9,24 +9,13 @@ if [ ! -d ".temp/web-draw" ]; then
git clone ssh://git@github.com/roadmapsh/web-draw.git .temp/web-draw --depth 1
fi
cd .temp/web-draw
pnpm install
npm run build -- --filter=@roadmapsh/editor
# Make dir
mkdir -p packages/editor
mkdir -p packages/editor/dist
cd ../../
# Copy new editor
cp -rf .temp/web-draw/packages/editor editor
editor_changed_files=$(git ls-files -m editor)
echo $editor_changed_files
# for each of the changed files, assume they are unchanged
for file in $editor_changed_files; do
echo "Assuming $file is unchanged"
git update-index --assume-unchanged $file
done
# Copy the editor dist, package.json
cp -rf .temp/web-draw/packages/editor/dist packages/editor
cp -rf .temp/web-draw/packages/editor/package.json packages/editor
# Remove temp directory
rm -rf .temp
@@ -34,5 +23,3 @@ rm -rf .temp
# Reinstall so that the editor which was setup gets used
rm -rf node_modules
pnpm install
git checkout -- pnpm-lock.yaml