From 65966901d45da6e3ea2c940cdf782f91360ba21b Mon Sep 17 00:00:00 2001 From: babayaga Date: Wed, 29 Oct 2025 13:43:08 +0100 Subject: [PATCH] cad | tasks | deps --- gre.sh | 31 +++++++ package-lock.json | 132 +++++++++++++++++++++++++++++ packages/osr-tasks/tasks/laser2.js | 3 - 3 files changed, 163 insertions(+), 3 deletions(-) create mode 100644 gre.sh create mode 100644 package-lock.json diff --git a/gre.sh b/gre.sh new file mode 100644 index 0000000..2d6e74a --- /dev/null +++ b/gre.sh @@ -0,0 +1,31 @@ +#!/bin/bash + +# Script to update git remote domain to git.polymech.info +# This script updates the origin remote URL from git.polymech.io to git.polymech.info + +echo "Updating git remote domain to git.polymech.info..." + +# Get current remote URL +current_url=$(git remote get-url origin) +echo "Current remote URL: $current_url" + +# Replace git.polymech.io with git.polymech.info +new_url=$(echo "$current_url" | sed 's/git\.polymech\.io/git.polymech.info/g') +echo "New remote URL: $new_url" + +# Update the remote URL +git remote set-url origin "$new_url" + +# Verify the change +updated_url=$(git remote get-url origin) +echo "Updated remote URL: $updated_url" + +# Test connectivity +echo "Testing connectivity to new remote..." +if git ls-remote origin > /dev/null 2>&1; then + echo "✅ Successfully connected to new remote!" +else + echo "❌ Warning: Could not connect to new remote. Please check the URL and your network connection." +fi + +echo "Git remote update completed!" \ No newline at end of file diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..851b6d0 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,132 @@ +{ + "name": "design-system", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "design-system", + "devDependencies": { + "prettier": "^3.4.2", + "turbo": "^2.3.4" + } + }, + "node_modules/prettier": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.6.2.tgz", + "integrity": "sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==", + "dev": true, + "license": "MIT", + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "node_modules/turbo": { + "version": "2.5.6", + "resolved": "https://registry.npmjs.org/turbo/-/turbo-2.5.6.tgz", + "integrity": "sha512-gxToHmi9oTBNB05UjUsrWf0OyN5ZXtD0apOarC1KIx232Vp3WimRNy3810QzeNSgyD5rsaIDXlxlbnOzlouo+w==", + "dev": true, + "license": "MIT", + "bin": { + "turbo": "bin/turbo" + }, + "optionalDependencies": { + "turbo-darwin-64": "2.5.6", + "turbo-darwin-arm64": "2.5.6", + "turbo-linux-64": "2.5.6", + "turbo-linux-arm64": "2.5.6", + "turbo-windows-64": "2.5.6", + "turbo-windows-arm64": "2.5.6" + } + }, + "node_modules/turbo-darwin-64": { + "version": "2.5.6", + "resolved": "https://registry.npmjs.org/turbo-darwin-64/-/turbo-darwin-64-2.5.6.tgz", + "integrity": "sha512-3C1xEdo4aFwMJAPvtlPqz1Sw/+cddWIOmsalHFMrsqqydcptwBfu26WW2cDm3u93bUzMbBJ8k3zNKFqxJ9ei2A==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/turbo-darwin-arm64": { + "version": "2.5.6", + "resolved": "https://registry.npmjs.org/turbo-darwin-arm64/-/turbo-darwin-arm64-2.5.6.tgz", + "integrity": "sha512-LyiG+rD7JhMfYwLqB6k3LZQtYn8CQQUePbpA8mF/hMLPAekXdJo1g0bUPw8RZLwQXUIU/3BU7tXENvhSGz5DPA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/turbo-linux-64": { + "version": "2.5.6", + "resolved": "https://registry.npmjs.org/turbo-linux-64/-/turbo-linux-64-2.5.6.tgz", + "integrity": "sha512-GOcUTT0xiT/pSnHL4YD6Yr3HreUhU8pUcGqcI2ksIF9b2/r/kRHwGFcsHgpG3+vtZF/kwsP0MV8FTlTObxsYIA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/turbo-linux-arm64": { + "version": "2.5.6", + "resolved": "https://registry.npmjs.org/turbo-linux-arm64/-/turbo-linux-arm64-2.5.6.tgz", + "integrity": "sha512-10Tm15bruJEA3m0V7iZcnQBpObGBcOgUcO+sY7/2vk1bweW34LMhkWi8svjV9iDF68+KJDThnYDlYE/bc7/zzQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/turbo-windows-64": { + "version": "2.5.6", + "resolved": "https://registry.npmjs.org/turbo-windows-64/-/turbo-windows-64-2.5.6.tgz", + "integrity": "sha512-FyRsVpgaj76It0ludwZsNN40ytHN+17E4PFJyeliBEbxrGTc5BexlXVpufB7XlAaoaZVxbS6KT8RofLfDRyEPg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/turbo-windows-arm64": { + "version": "2.5.6", + "resolved": "https://registry.npmjs.org/turbo-windows-arm64/-/turbo-windows-arm64-2.5.6.tgz", + "integrity": "sha512-j/tWu8cMeQ7HPpKri6jvKtyXg9K1gRyhdK4tKrrchH8GNHscPX/F71zax58yYtLRWTiK04zNzPcUJuoS0+v/+Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + } + } +} diff --git a/packages/osr-tasks/tasks/laser2.js b/packages/osr-tasks/tasks/laser2.js index 4782c02..8bc011c 100644 --- a/packages/osr-tasks/tasks/laser2.js +++ b/packages/osr-tasks/tasks/laser2.js @@ -146,9 +146,6 @@ const createLaserFiles = async (root, product, options, grunt) => { if (!Components) { return qty; } - if (filePath.includes('7_Side_x2_6mm_FERRO')) { - debugger; - } let count = 1; const chlidren = tree.root.Children; if (chlidren) {