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

@ -12,7 +12,7 @@ const packagesToBuild = [
'theatre',
'@theatre/dataverse',
'@theatre/react',
'@theatre/plugin-r3f',
'@theatre/r3f',
]
const packagesToPublish = [
@ -20,7 +20,7 @@ const packagesToPublish = [
'@theatre/studio',
'@theatre/dataverse',
'@theatre/react',
'@theatre/plugin-r3f',
'@theatre/r3f',
]
/**
@ -33,7 +33,7 @@ const packagesWhoseVersionsShouldBump = [
'theatre/studio',
'packages/dataverse',
'packages/react',
'packages/plugin-r3f',
'packages/r3f',
]
;(async function () {

View file

@ -9,6 +9,6 @@
{"path": "../../theatre"},
{"path": "../../packages/dataverse"},
{"path": "../../packages/playground"},
{"path": "../../packages/plugin-r3f"}
{"path": "../../packages/r3f"}
]
}

View file

@ -12,7 +12,7 @@
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@theatre/core": "workspace:*",
"@theatre/plugin-r3f": "workspace:*",
"@theatre/r3f": "workspace:*",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "4.0.3",

View file

@ -4,7 +4,7 @@ import {useState, useEffect, useRef} from 'react'
import {useFrame, Canvas} from '@react-three/fiber'
import {Shadow, softShadows} from '@react-three/drei'
import React from 'react'
import {editable as e, Wrapper} from '@theatre/plugin-r3f'
import {editable as e, Wrapper} from '@theatre/r3f'
// Soft shadows are expensive, comment and refresh when it's too slow
softShadows()

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,
},

View file

@ -32,7 +32,7 @@ export function createBundles(watch: boolean) {
* - ToolbarIconButton
* - IStudio['extend']({globalToolbar: {component}})
*
* These are further exposed by @theatre/plugin-r3f which provides `<Wrapper />`
* These are further exposed by @theatre/r3f which provides `<Wrapper />`
* as an API.
*
* It's probably possible to bundle our own react version and somehow share it

View file

@ -23,7 +23,7 @@
"@theatre/shared/*": ["./theatre/shared/src/*"],
"@theatre/dataverse": ["./packages/dataverse/src/index.ts"],
"@theatre/react": ["./packages/react/src/index.ts"],
"@theatre/plugin-r3f": ["./packages/plugin-r3f/src/index.tsx"],
"@theatre/r3f": ["./packages/r3f/src/index.tsx"],
"@theatre/dataverse2": ["./packages/dataverse2/src/index.ts"]
},
"forceConsistentCasingInFileNames": true

View file

@ -3157,7 +3157,7 @@ __metadata:
"@testing-library/react": ^11.1.0
"@testing-library/user-event": ^12.1.10
"@theatre/core": "workspace:*"
"@theatre/plugin-r3f": "workspace:*"
"@theatre/r3f": "workspace:*"
"@theatre/studio": "workspace:*"
react: ^17.0.2
react-dom: ^17.0.2
@ -5243,9 +5243,9 @@ __metadata:
languageName: unknown
linkType: soft
"@theatre/plugin-r3f@workspace:*, @theatre/plugin-r3f@workspace:packages/plugin-r3f":
"@theatre/r3f@workspace:*, @theatre/r3f@workspace:packages/r3f":
version: 0.0.0-use.local
resolution: "@theatre/plugin-r3f@workspace:packages/plugin-r3f"
resolution: "@theatre/r3f@workspace:packages/r3f"
dependencies:
"@react-three/drei": ^7.3.1
"@theatre/react": "workspace:*"
@ -18215,7 +18215,7 @@ fsevents@^1.2.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