mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-22 22:28:11 +08:00
Update links from graphite.rs to graphite.art
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"name": "graphite-web-frontend",
|
||||
"private": true,
|
||||
"description": "Graphite's web app frontend.",
|
||||
"author": "Graphite Authors <contact@graphite.rs>",
|
||||
"author": "Graphite Authors <contact@graphite.art>",
|
||||
"browserslist": "> 1.5%, last 2 versions, not dead, not ie 11, not op_mini all, not ios_saf < 13",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
@@ -65,7 +65,7 @@
|
||||
"vite": "^5.4.19",
|
||||
"vite-multiple-assets": "2.2.5"
|
||||
},
|
||||
"homepage": "https://graphite.rs",
|
||||
"homepage": "https://graphite.art",
|
||||
"license": "Apache-2.0",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
@@ -30,7 +30,7 @@ export function githubUrl(panicDetails: string): string {
|
||||
|
||||
**Steps To Reproduce**
|
||||
Describe precisely how the crash occurred, step by step, starting with a new editor window.
|
||||
1. Open the Graphite editor at https://editor.graphite.rs
|
||||
1. Open the Graphite editor at https://editor.graphite.art
|
||||
2.
|
||||
3.
|
||||
4.
|
||||
|
||||
@@ -79,7 +79,7 @@ export function createDialogState(editor: Editor) {
|
||||
editor.subscriptions.subscribeJsMessage(DisplayDialogDismiss, dismissDialog);
|
||||
|
||||
editor.subscriptions.subscribeJsMessage(TriggerDisplayThirdPartyLicensesDialog, async () => {
|
||||
const BACKUP_URL = "https://editor.graphite.rs/third-party-licenses.txt";
|
||||
const BACKUP_URL = "https://editor.graphite.art/third-party-licenses.txt";
|
||||
let licenseText = `Content was not able to load. Please check your network connection and try again.\n\nOr visit ${BACKUP_URL} for the license notices.`;
|
||||
if (editor.handle.inDevelopmentMode()) licenseText = `Third-party licenses are not available in development builds.\n\nVisit ${BACKUP_URL} for the license notices.`;
|
||||
|
||||
|
||||
@@ -98,7 +98,7 @@ export function createFontsState(editor: Editor) {
|
||||
}
|
||||
export type FontsState = ReturnType<typeof createFontsState>;
|
||||
|
||||
const fontListAPI = "https://api.graphite.rs/font-list";
|
||||
const fontListAPI = "https://api.graphite.art/font-list";
|
||||
|
||||
// From https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight#common_weight_name_mapping
|
||||
const weightNameMapping = new Map([
|
||||
|
||||
@@ -197,7 +197,7 @@ function formatThirdPartyLicenses(jsLicenses: Dependency[]): string {
|
||||
!(packageInfo.repository && packageInfo.repository.toLowerCase().includes("github.com/GraphiteEditor/Graphite".toLowerCase())) &&
|
||||
!(
|
||||
packageInfo.author &&
|
||||
packageInfo.author.toLowerCase().includes("contact@graphite.rs") &&
|
||||
packageInfo.author.toLowerCase().includes("contact@graphite.art") &&
|
||||
// Exclude a comma which indicates multiple authors, which we need to not filter out
|
||||
!packageInfo.author.toLowerCase().includes(",")
|
||||
),
|
||||
|
||||
@@ -3,10 +3,10 @@ name = "graphite-wasm"
|
||||
publish = false
|
||||
version = "0.0.0"
|
||||
rust-version = "1.88"
|
||||
authors = ["Graphite Authors <contact@graphite.rs>"]
|
||||
authors = ["Graphite Authors <contact@graphite.art>"]
|
||||
edition = "2024"
|
||||
readme = "../../README.md"
|
||||
homepage = "https://graphite.rs"
|
||||
homepage = "https://graphite.art"
|
||||
repository = "https://github.com/GraphiteEditor/Graphite"
|
||||
license = "Apache-2.0"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user