Renamed @theatre/plugin-r3f to @theatre/r3f

This commit is contained in:
Aria Minaei 2021-09-06 10:19:10 +02:00
parent 03a2f26686
commit 4f66d57cf8
42 changed files with 19 additions and 19 deletions

View file

@ -16,7 +16,7 @@
"@react-three/drei": "^7.2.2",
"@react-three/fiber": "^7.0.6",
"@theatre/core": "workspace:*",
"@theatre/plugin-r3f": "workspace:*",
"@theatre/r3f": "workspace:*",
"@theatre/studio": "workspace:*",
"@types/jest": "^26.0.23",
"@types/lodash-es": "^4.17.4",

View file

@ -1,4 +1,4 @@
import {editable as e, SheetProvider} from '@theatre/plugin-r3f'
import {editable as e, SheetProvider} from '@theatre/r3f'
import {getProject} from '@theatre/core'
import * as THREE from 'three'
import React, {useState, useEffect, useRef} from 'react'

View file

@ -3,7 +3,7 @@ import {
RefreshSnapshot,
SheetProvider,
extension,
} from '@theatre/plugin-r3f'
} from '@theatre/r3f'
import {OrbitControls, Stars} from '@react-three/drei'
import {getProject} from '@theatre/core'
import React, {Suspense, useState} from 'react'

View file

@ -11,7 +11,7 @@
"references": [
{"path": "../../theatre"},
{"path": "../dataverse"},
{"path": "../plugin-r3f"}
{"path": "../r3f"}
],
"include": ["./src/**/*", "./devEnv/**/*"]
}

View file

@ -1,5 +1,5 @@
{
"name": "@theatre/plugin-r3f",
"name": "@theatre/r3f",
"version": "0.4.0-dev.14",
"license": "Apache-2.0",
"authors": [
@ -17,7 +17,7 @@
"repository": {
"type": "git",
"url": "https://github.com/AriaMinaei/theatre",
"directory": "packages/plugin-r3f"
"directory": "packages/r3f"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",

View file

@ -3,7 +3,7 @@ import type {IExtension} from '@theatre/studio'
import Toolbar from './components/Toolbar/Toolbar'
const r3fExtension: IExtension = {
id: '@theatre/plugin-r3f',
id: '@theatre/r3f',
globalToolbar: {
component: Toolbar,
},