update name and repo everywhere

This commit is contained in:
Loren Norman 2025-07-18 15:23:11 -04:00
parent a9cf3f9bfd
commit cca6e61578
4 changed files with 8 additions and 8 deletions

View file

@ -61,7 +61,7 @@ jobs:
branchPrefix: ${{ matrix.branch != 'main' && matrix.branch || '' }}
run: |
npm ci
npm run build -- --base /blockly-tool/${branchPrefix}
npm run build -- --base /io-actions/${branchPrefix}
- name: Upload artifact
uses: actions/upload-artifact@v4

View file

@ -2,7 +2,7 @@ import { defineConfig } from 'vitepress'
import blocksSidebar from '../blocks/_blocks_sidebar.json'
const REPO = 'https://github.com/lorennorman/blockly-tool'
const REPO = 'https://github.com/adafruit/io-actions'
// https://vitepress.dev/reference/site-config
export default defineConfig({
@ -13,7 +13,7 @@ export default defineConfig({
['link', { rel: 'icon', href: "data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🧩</text></svg>" }]
],
base: "/blockly-tool/",
base: "/io-actions/",
lastUpdated: true,
@ -31,10 +31,10 @@ export default defineConfig({
// docs come from the js, md is not the true source
const jsPath = filePath.replace(/.md$/, '.js')
// and we want to link to the main branch, not docs
return `https://github.com/lorennorman/blockly-tool/edit/main/app/${jsPath}`
return `https://github.com/adafruit/io-actions/edit/main/app/${jsPath}`
}
return `https://github.com/lorennorman/blockly-tool/edit/docs/docs/${filePath}`
return `https://github.com/adafruit/io-actions/edit/docs/docs/${filePath}`
}
},

4
package-lock.json generated
View file

@ -1,11 +1,11 @@
{
"name": "blockly-tool",
"name": "io-actions",
"version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "blockly-tool",
"name": "io-actions",
"version": "1.0.0",
"dependencies": {
"@blockly/theme-modern": "^5.0.5",

View file

@ -1,5 +1,5 @@
{
"name": "blockly-tool",
"name": "io-actions",
"version": "1.0.0",
"description": "A Blockly tooling project",
"type": "module",