{projectState.projects.value
- .filter((project) => project.name !== '@etherealengine/default-project' && project.repositoryPath)
+ .filter((project) => project.name !== 'etherealengine/default-project' && project.repositoryPath)
.map((project) => (
{
const userAvatar = useFind(userAvatarPath, {
diff --git a/packages/common/tests/regex.test.ts b/packages/common/tests/regex.test.ts
index c9fa4e83ce..0b7e9603dc 100644
--- a/packages/common/tests/regex.test.ts
+++ b/packages/common/tests/regex.test.ts
@@ -252,23 +252,23 @@ describe('regex.test', () => {
it('should match static asset URLs', () => {
const positiveCases = [
{
- url: 'https://example.com/projects/@etherealengine/default-project/assets/images/logo.png',
- projectName: '@etherealengine/default-project',
+ url: 'https://example.com/projects/etherealengine/default-project/assets/images/logo.png',
+ projectName: 'etherealengine/default-project',
assetPath: 'assets/images/logo.png'
},
{
- url: 'https://example.com/static-resources/@etherealengine/default-project/assets/images/logo.png',
- projectName: '@etherealengine/default-project',
+ url: 'https://example.com/static-resources/etherealengine/default-project/assets/images/logo.png',
+ projectName: 'etherealengine/default-project',
assetPath: 'assets/images/logo.png'
},
{
- url: 'https://example.com/projects/@etherealengine/default-project/assets/animations/emotes.glb',
- projectName: '@etherealengine/default-project',
+ url: 'https://example.com/projects/etherealengine/default-project/assets/animations/emotes.glb',
+ projectName: 'etherealengine/default-project',
assetPath: 'assets/animations/emotes.glb'
},
{
- url: 'https://example.com/projects/@etherealengine/default-project/assets/animations/locomotion.glb',
- projectName: '@etherealengine/default-project',
+ url: 'https://example.com/projects/etherealengine/default-project/assets/animations/locomotion.glb',
+ projectName: 'etherealengine/default-project',
assetPath: 'assets/animations/locomotion.glb'
}
]
@@ -284,7 +284,7 @@ describe('regex.test', () => {
const negativeCases = [
'https://example.com/static-resources/',
'https://example.com/project/subdir/assets',
- 'https://example.com/@etherealengine/default-project/assets/animations/emotes.glb'
+ 'https://example.com/etherealengine/default-project/assets/animations/emotes.glb'
]
negativeCases.forEach((url) => {
assert.doesNotMatch(url, STATIC_ASSET_REGEX, `Expected '${url}' to not match STATIC_ASSET_REGEX`)
@@ -581,9 +581,9 @@ describe('regex.test', () => {
describe('ASSETS_REGEX', () => {
it('should match assets URLs', () => {
const positiveCases = [
- 'https://example.com/projects/@etherealengine/default-project/assets/images/logo.png',
- 'https://example.com/projects/@etherealengine/default-project/assets/animations/emotes.glb',
- 'https://example.com/projects/@etherealengine/default-project/assets/animations/locomotion.glb'
+ 'https://example.com/projects/etherealengine/default-project/assets/images/logo.png',
+ 'https://example.com/projects/etherealengine/default-project/assets/animations/emotes.glb',
+ 'https://example.com/projects/etherealengine/default-project/assets/animations/locomotion.glb'
]
positiveCases.forEach((url) => {
assert.match(url, ASSETS_REGEX, `Expected '${url}' to match ASSETS_REGEX`)
@@ -592,9 +592,9 @@ describe('regex.test', () => {
it('should not match non-assets URLs', () => {
const negativeCases = [
- 'https://example.com/projects/@etherealengine/default-project/scene.json',
- 'https://example.com/projects/@etherealengine/default-project/assets',
- 'https://example.com/@etherealengine/default-project/assets/animations/emotes.glb'
+ 'https://example.com/projects/etherealengine/default-project/scene.json',
+ 'https://example.com/projects/etherealengine/default-project/assets',
+ 'https://example.com/etherealengine/default-project/assets/animations/emotes.glb'
]
negativeCases.forEach((url) => {
assert.doesNotMatch(url, ASSETS_REGEX, `Expected '${url}' to not match ASSETS_REGEX`)
@@ -605,9 +605,9 @@ describe('regex.test', () => {
describe('PROJECT_REGEX', () => {
it('should match valid project paths', () => {
const positiveCases = [
- 'projects/@etherealengine/project123',
- 'projects/@etherealengine/project-name',
- 'projects/@etherealengine/project_name',
+ 'projects/etherealengine/project123',
+ 'projects/etherealengine/project-name',
+ 'projects/etherealengine/project_name',
'projects/project/123',
'projects/project/abc_def'
]
@@ -630,9 +630,9 @@ describe('regex.test', () => {
describe('PROJECT_PUBLIC_REGEX', () => {
it('should match valid project paths', () => {
const positiveCases = [
- 'projects/@etherealengine/project123/public/',
- 'projects/@etherealengine/project-name/public/',
- 'projects/@etherealengine/project_name/public/',
+ 'projects/etherealengine/project123/public/',
+ 'projects/etherealengine/project-name/public/',
+ 'projects/etherealengine/project_name/public/',
'projects/project/123/public/',
'projects/project/abc_def/public/'
]
@@ -643,10 +643,10 @@ describe('regex.test', () => {
it('should not match invalid project paths', () => {
const negativeCases = [
- 'projects/@etherealengine/project123/public', // (missing trailing slash)
- 'projects/@etherealengine/project-name/private/', // (incorrect folder private instead of public)
- 'projects/@etherealengine/project$name/public/', // (contains invalid character $)
- 'projects/@etherealengine/project-@name/public/', // (contains invalid character @)
+ 'projects/etherealengine/project123/public', // (missing trailing slash)
+ 'projects/etherealengine/project-name/private/', // (incorrect folder private instead of public)
+ 'projects/etherealengine/project$name/public/', // (contains invalid character $)
+ 'projects/etherealengine/project-@name/public/', // (contains invalid character @)
'projects/' // (missing project name and /public/)
]
negativeCases.forEach((value) => {
@@ -658,9 +658,9 @@ describe('regex.test', () => {
describe('PROJECT_THUMBNAIL_REGEX', () => {
it('should match valid project thumbnail paths', () => {
const positiveCases = [
- 'projects/@etherealengine/project123/thumbnails/',
- 'projects/@etherealengine/project-name/thumbnails/',
- 'projects/@etherealengine/project_name/thumbnails/',
+ 'projects/etherealengine/project123/thumbnails/',
+ 'projects/etherealengine/project-name/thumbnails/',
+ 'projects/etherealengine/project_name/thumbnails/',
'projects/project/123/thumbnails/',
'projects/project/abc_def/thumbnails/'
]
@@ -671,10 +671,10 @@ describe('regex.test', () => {
it('should not match invalid project thumbnail paths', () => {
const negativeCases = [
- 'projects/@etherealengine/project123/thumbnails', // (missing trailing slash)
- 'projects/@etherealengine/project-name/private/', // (incorrect folder private instead of public)
- 'projects/@etherealengine/project$name/thumbnails/', // (contains invalid character $)
- 'projects/@etherealengine/project-@name/thumbnails/', // (contains invalid character @)
+ 'projects/etherealengine/project123/thumbnails', // (missing trailing slash)
+ 'projects/etherealengine/project-name/private/', // (incorrect folder private instead of public)
+ 'projects/etherealengine/project$name/thumbnails/', // (contains invalid character $)
+ 'projects/etherealengine/project-@name/thumbnails/', // (contains invalid character @)
'projects/' // (missing project name and /thumbnail/)
]
negativeCases.forEach((value) => {
diff --git a/packages/editor/src/components/prefabs/PrefabEditors.tsx b/packages/editor/src/components/prefabs/PrefabEditors.tsx
index 9c1de23f35..21c319662c 100644
--- a/packages/editor/src/components/prefabs/PrefabEditors.tsx
+++ b/packages/editor/src/components/prefabs/PrefabEditors.tsx
@@ -41,106 +41,106 @@ export const PrefabShelfState = defineState({
[
{
name: '3D Model',
- url: `${config.client.fileServer}/projects/@etherealengine/default-project/assets/prefabs/3d-model.prefab.gltf`,
+ url: `${config.client.fileServer}/projects/etherealengine/default-project/assets/prefabs/3d-model.prefab.gltf`,
category: 'Geo',
detail: 'Blank 3D model ready for your own assets'
},
{
name: 'Primitive Geometry',
- url: `${config.client.fileServer}/projects/@etherealengine/default-project/assets/prefabs/geo.prefab.gltf`,
+ url: `${config.client.fileServer}/projects/etherealengine/default-project/assets/prefabs/geo.prefab.gltf`,
category: 'Geo'
},
{
name: 'Ground Plane',
- url: `${config.client.fileServer}/projects/@etherealengine/default-project/assets/prefabs/ground-plane.prefab.gltf`,
+ url: `${config.client.fileServer}/projects/etherealengine/default-project/assets/prefabs/ground-plane.prefab.gltf`,
category: 'Geo'
},
{
name: 'Point Light',
- url: `${config.client.fileServer}/projects/@etherealengine/default-project/assets/prefabs/point-light.prefab.gltf`,
+ url: `${config.client.fileServer}/projects/etherealengine/default-project/assets/prefabs/point-light.prefab.gltf`,
category: 'Lighting'
},
{
name: 'Spot Light',
- url: `${config.client.fileServer}/projects/@etherealengine/default-project/assets/prefabs/spot-light.prefab.gltf`,
+ url: `${config.client.fileServer}/projects/etherealengine/default-project/assets/prefabs/spot-light.prefab.gltf`,
category: 'Lighting'
},
{
name: 'Directional Light',
- url: `${config.client.fileServer}/projects/@etherealengine/default-project/assets/prefabs/directional-light.prefab.gltf`,
+ url: `${config.client.fileServer}/projects/etherealengine/default-project/assets/prefabs/directional-light.prefab.gltf`,
category: 'Lighting'
},
{
name: 'Ambient Light',
- url: `${config.client.fileServer}/projects/@etherealengine/default-project/assets/prefabs/ambient-light.prefab.gltf`,
+ url: `${config.client.fileServer}/projects/etherealengine/default-project/assets/prefabs/ambient-light.prefab.gltf`,
category: 'Lighting'
},
{
name: 'Hemisphere Light',
- url: `${config.client.fileServer}/projects/@etherealengine/default-project/assets/prefabs/hemisphere-light.prefab.gltf`,
+ url: `${config.client.fileServer}/projects/etherealengine/default-project/assets/prefabs/hemisphere-light.prefab.gltf`,
category: 'Lighting'
},
{
name: 'Box Collider',
- url: `${config.client.fileServer}/projects/@etherealengine/default-project/assets/prefabs/box-collider.prefab.gltf`,
+ url: `${config.client.fileServer}/projects/etherealengine/default-project/assets/prefabs/box-collider.prefab.gltf`,
category: 'Collider',
detail: 'Simple box collider'
},
{
name: 'Sphere Collider',
- url: `${config.client.fileServer}/projects/@etherealengine/default-project/assets/prefabs/sphere-collider.prefab.gltf`,
+ url: `${config.client.fileServer}/projects/etherealengine/default-project/assets/prefabs/sphere-collider.prefab.gltf`,
category: 'Collider',
detail: 'Simple sphere collider'
},
{
name: 'Cylinder Collider',
- url: `${config.client.fileServer}/projects/@etherealengine/default-project/assets/prefabs/cylinder-collider.prefab.gltf`,
+ url: `${config.client.fileServer}/projects/etherealengine/default-project/assets/prefabs/cylinder-collider.prefab.gltf`,
category: 'Collider',
detail: 'Simple cylinder collider'
},
{
name: 'Text',
- url: `${config.client.fileServer}/projects/@etherealengine/default-project/assets/prefabs/text.prefab.gltf`,
+ url: `${config.client.fileServer}/projects/etherealengine/default-project/assets/prefabs/text.prefab.gltf`,
category: 'Text'
},
{
name: 'Title',
- url: `${config.client.fileServer}/projects/@etherealengine/default-project/assets/prefabs/title.prefab.gltf`,
+ url: `${config.client.fileServer}/projects/etherealengine/default-project/assets/prefabs/title.prefab.gltf`,
category: 'Text'
},
{
name: 'Body',
- url: `${config.client.fileServer}/projects/@etherealengine/default-project/assets/prefabs/body.prefab.gltf`,
+ url: `${config.client.fileServer}/projects/etherealengine/default-project/assets/prefabs/body.prefab.gltf`,
category: 'Text'
},
{
name: 'Image',
- url: `${config.client.fileServer}/projects/@etherealengine/default-project/assets/prefabs/image.prefab.gltf`,
+ url: `${config.client.fileServer}/projects/etherealengine/default-project/assets/prefabs/image.prefab.gltf`,
category: 'Image'
},
{
name: 'Video',
- url: `${config.client.fileServer}/projects/@etherealengine/default-project/assets/prefabs/video.prefab.gltf`,
+ url: `${config.client.fileServer}/projects/etherealengine/default-project/assets/prefabs/video.prefab.gltf`,
category: 'Video'
},
{
name: 'Skybox',
- url: `${config.client.fileServer}/projects/@etherealengine/default-project/assets/prefabs/skybox.prefab.gltf`,
+ url: `${config.client.fileServer}/projects/etherealengine/default-project/assets/prefabs/skybox.prefab.gltf`,
category: 'Lookdev'
},
{
name: 'Postprocessing',
- url: `${config.client.fileServer}/projects/@etherealengine/default-project/assets/prefabs/postprocessing.prefab.gltf`,
+ url: `${config.client.fileServer}/projects/etherealengine/default-project/assets/prefabs/postprocessing.prefab.gltf`,
category: 'Lookdev'
},
{
name: 'Fog',
- url: `${config.client.fileServer}/projects/@etherealengine/default-project/assets/prefabs/fog.prefab.gltf`,
+ url: `${config.client.fileServer}/projects/etherealengine/default-project/assets/prefabs/fog.prefab.gltf`,
category: 'Lookdev'
},
{
name: 'Camera',
- url: `${config.client.fileServer}/projects/@etherealengine/default-project/assets/prefabs/camera.prefab.gltf`,
+ url: `${config.client.fileServer}/projects/etherealengine/default-project/assets/prefabs/camera.prefab.gltf`,
category: 'Camera'
}
] as PrefabShelfItem[],
diff --git a/packages/editor/src/components/projects/ProjectsPage.tsx b/packages/editor/src/components/projects/ProjectsPage.tsx
index 9e95a6c5a3..9318401f56 100644
--- a/packages/editor/src/components/projects/ProjectsPage.tsx
+++ b/packages/editor/src/components/projects/ProjectsPage.tsx
@@ -367,7 +367,7 @@ const ProjectsPage = ({ studioPath }: { studioPath: string }) => {
) : null} */}
- {activeProjectValue?.name !== '@etherealengine/default-project' && (
+ {activeProjectValue?.name !== 'etherealengine/default-project' && (