Skip to content

Commit

Permalink
chore: update all package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
manudeli committed Aug 24, 2024
1 parent c403372 commit 73c322e
Show file tree
Hide file tree
Showing 27 changed files with 80 additions and 75 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ Key features: Read, useRead, Cache, useCache, CacheProvider, and more.

<br/>

## Contributing
## Contributors

Read our [Contributing Guide](./CONTRIBUTING.md) to familiarize yourself with Suspensive's development process, how to suggest bug fixes and improvements, and the steps for building and testing your changes.

### Contributors

[![contributors](https://contrib.rocks/image?repo=toss/suspensive)](https://github.com/toss/suspensive/graphs/contributors)
<a href="https://github.com/toss/suspensive/graphs/contributors">
<img src="https://contrib.rocks/image?repo=toss/suspensive" />
</a>

<br/>

Expand Down
1 change: 1 addition & 0 deletions configs/eslint-config-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@suspensive/eslint-config-js",
"version": "0.0.0",
"private": true,
"author": "Jonghyeon Ko <[email protected]>",
"main": "index.js",
"files": [
"no-import.js"
Expand Down
1 change: 1 addition & 0 deletions configs/eslint-config-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@suspensive/eslint-config-ts",
"version": "0.0.0",
"private": true,
"author": "Jonghyeon Ko <[email protected]>",
"main": "index.js",
"files": [
"./no-import.js"
Expand Down
1 change: 1 addition & 0 deletions configs/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@suspensive/eslint-config",
"version": "0.0.0",
"private": true,
"author": "Jonghyeon Ko <[email protected]>",
"files": [
"react-js.js",
"react-ts.js",
Expand Down
1 change: 1 addition & 0 deletions configs/tsconfig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@suspensive/tsconfig",
"version": "0.0.0-development",
"private": true,
"author": "Jonghyeon Ko <[email protected]>",
"files": [
"base.json",
"nextjs.json",
Expand Down
1 change: 1 addition & 0 deletions configs/tsup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@suspensive/tsup",
"version": "0.0.0",
"private": true,
"author": "Jonghyeon Ko <[email protected]>",
"sideEffects": false,
"type": "module",
"exports": {
Expand Down
3 changes: 2 additions & 1 deletion docs/suspensive.org/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@suspensive/suspensive.org",
"version": "0.0.0-development",
"version": "0.0.0",
"private": true,
"description": "Suspensive Official Docs",
"keywords": [
Expand All @@ -10,6 +10,7 @@
],
"homepage": "https://suspensive.org",
"bugs": "https://github.com/toss/suspensive/issues",
"license": "MIT",
"author": "Jonghyeon Ko <[email protected]>",
"type": "commonjs",
"scripts": {
Expand Down
63 changes: 33 additions & 30 deletions docs/suspensive.org/src/components/Sandpack/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
type SandpackProviderProps,
} from '@codesandbox/sandpack-react'
import { atomDark } from '@codesandbox/sandpack-themes'
import { ClientOnly } from '@suspensive/react'
import { baseTemplate } from './baseTemplate'
import { CustomPreset } from './CustomPreset'

Expand All @@ -24,35 +25,37 @@ interface SandpackProps extends Omit<SandpackProviderProps, 'template' | 'custom

export const Sandpack = (props: SandpackProps) => {
return (
<SandpackProvider
template="react-ts"
theme={atomDark}
{...props}
files={{
...baseTemplate.files,
...(props.files || {}),
}}
customSetup={{
dependencies: {
...baseTemplate.dependencies,
...props.dependencies,
},
devDependencies: {
...baseTemplate.devDependencies,
...props.devDependencies,
},
}}
options={{
initMode: 'user-visible',
initModeObserverOptions: { rootMargin: '1400px 0px' },
...props.providerOptions,
}}
>
<CustomPreset
layoutOptions={props.layoutOptions}
editorOptions={props.editorOptions}
previewOptions={props.previewOptions}
/>
</SandpackProvider>
<ClientOnly>
<SandpackProvider
template="react-ts"
theme={atomDark}
{...props}
files={{
...baseTemplate.files,
...(props.files || {}),
}}
customSetup={{
dependencies: {
...baseTemplate.dependencies,
...props.dependencies,
},
devDependencies: {
...baseTemplate.devDependencies,
...props.devDependencies,
},
}}
options={{
initMode: 'user-visible',
initModeObserverOptions: { rootMargin: '1400px 0px' },
...props.providerOptions,
}}
>
<CustomPreset
layoutOptions={props.layoutOptions}
editorOptions={props.editorOptions}
previewOptions={props.previewOptions}
/>
</SandpackProvider>
</ClientOnly>
)
}
1 change: 1 addition & 0 deletions examples/next-streaming-react-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@suspensive/next-streaming-react-query",
"version": "0.0.0",
"private": true,
"author": "Jonghyeon Ko <[email protected]>",
"scripts": {
"build": "next build",
"ci:eslint": "next lint",
Expand Down
15 changes: 0 additions & 15 deletions examples/react-native-playground/CHANGELOG.md

This file was deleted.

3 changes: 2 additions & 1 deletion examples/react-native-playground/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "@suspensive/react-native-playground",
"version": "1.0.2",
"version": "0.0.0",
"private": true,
"author": "Jonghyeon Ko <[email protected]>",
"main": "index.js",
"scripts": {
"android": "expo start --android",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@suspensive/react-query-next-experimental-4-example",
"version": "0.0.0",
"private": true,
"author": "Jonghyeon Ko <[email protected]>",
"scripts": {
"build": "next build",
"ci:eslint": "next lint",
Expand Down
2 changes: 0 additions & 2 deletions examples/visualization/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
"name": "@suspensive/visualization",
"version": "0.0.0",
"private": true,
"homepage": "https://visualization.suspensive.org",
"bugs": "https://github.com/toss/suspensive/issues",
"author": "Jonghyeon Ko <[email protected]>",
"scripts": {
"build": "next build",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,19 @@
"name": "@suspensive/vite-react-18-suspense-prerender-siblings-problem",
"version": "0.0.0",
"private": true,
"author": "Jonghyeon Ko <[email protected]>",
"type": "module",
"scripts": {
"build": "tsc -b && vite build",
"dev": "vite",
"ci:eslint": "eslint .",
"dev": "vite",
"preview": "vite preview"
},
"dependencies": {
"react": "catalog:",
"react-dom": "catalog:",
"@tanstack/react-query": "^5.52.1",
"@tanstack/react-query-devtools": "^5.52.1"
"@tanstack/react-query-devtools": "^5.52.1",
"react": "catalog:",
"react-dom": "catalog:"
},
"devDependencies": {
"@suspensive/eslint-config": "workspace:*",
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@
"bugs": "https://github.com/toss/suspensive/issues",
"repository": {
"type": "git",
"url": "https://github.com/toss/suspensive.git"
"url": "git+https://github.com/toss/suspensive.git"
},
"license": "MIT",
"author": "Jonghyeon Ko <[email protected]>",
"packageManager": "[email protected]",
"type": "module",
"scripts": {
Expand Down
5 changes: 3 additions & 2 deletions packages/cache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
"description": "Useful interfaces for React Suspense",
"keywords": [
"suspensive",
"react"
"react",
"cache"
],
"homepage": "https://suspensive.org",
"bugs": "https://github.com/toss/suspensive/issues",
"repository": {
"type": "git",
"url": "https://github.com/toss/suspensive.git",
"url": "git+https://github.com/toss/suspensive.git",
"directory": "packages/cache"
},
"license": "MIT",
Expand Down
3 changes: 2 additions & 1 deletion packages/jotai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
"description": "Useful helpers for jotai with suspense",
"keywords": [
"suspensive",
"react",
"jotai"
],
"homepage": "https://suspensive.org",
"bugs": "https://github.com/toss/suspensive/issues",
"repository": {
"type": "git",
"url": "https://github.com/toss/suspensive.git",
"url": "git+https://github.com/toss/suspensive.git",
"directory": "packages/jotai"
},
"license": "MIT",
Expand Down
5 changes: 3 additions & 2 deletions packages/react-dom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
"description": "Useful interfaces for React Suspense",
"keywords": [
"suspensive",
"react"
"react",
"react-dom"
],
"homepage": "https://suspensive.org",
"bugs": "https://github.com/toss/suspensive/issues",
"repository": {
"type": "git",
"url": "https://github.com/toss/suspensive.git",
"url": "git+https://github.com/toss/suspensive.git",
"directory": "packages/react-dom"
},
"license": "MIT",
Expand Down
5 changes: 3 additions & 2 deletions packages/react-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
"description": "Useful image interfaces for React Suspense",
"keywords": [
"suspensive",
"react"
"react",
"react-image"
],
"homepage": "https://suspensive.org",
"bugs": "https://github.com/toss/suspensive/issues",
"repository": {
"type": "git",
"url": "https://github.com/toss/suspensive.git",
"url": "git+https://github.com/toss/suspensive.git",
"directory": "packages/react-image"
},
"license": "MIT",
Expand Down
5 changes: 3 additions & 2 deletions packages/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
"description": "Useful interfaces for React Suspense",
"keywords": [
"suspensive",
"react"
"react",
"react-native"
],
"homepage": "https://suspensive.org",
"bugs": "https://github.com/toss/suspensive/issues",
"repository": {
"type": "git",
"url": "https://github.com/toss/suspensive.git",
"url": "git+https://github.com/toss/suspensive.git",
"directory": "packages/react-native"
},
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-query-4/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"bugs": "https://github.com/toss/suspensive/issues",
"repository": {
"type": "git",
"url": "https://github.com/toss/suspensive.git",
"url": "git+https://github.com/toss/suspensive.git",
"directory": "packages/react-query-4"
},
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-query-5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"bugs": "https://github.com/toss/suspensive/issues",
"repository": {
"type": "git",
"url": "https://github.com/toss/suspensive.git",
"url": "git+https://github.com/toss/suspensive.git",
"directory": "packages/react-query-5"
},
"license": "MIT",
Expand Down
3 changes: 2 additions & 1 deletion packages/react-query-next-experimental-4/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
"description": "React Query Next Experimental for Streaming SSR",
"keywords": [
"suspensive",
"react-query",
"react-query-next-experimental"
],
"homepage": "https://suspensive.org",
"bugs": "https://github.com/toss/suspensive/issues",
"repository": {
"type": "git",
"url": "https://github.com/toss/suspensive.git",
"url": "git+https://github.com/toss/suspensive.git",
"directory": "packages/react-query-next-experimental-4"
},
"license": "MIT",
Expand Down
3 changes: 2 additions & 1 deletion packages/react-query-next-experimental/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
"description": "React Query Next Experimental for Streaming SSR",
"keywords": [
"suspensive",
"react-query",
"react-query-next-experimental"
],
"homepage": "https://suspensive.org",
"bugs": "https://github.com/toss/suspensive/issues",
"repository": {
"type": "git",
"url": "https://github.com/toss/suspensive.git",
"url": "git+https://github.com/toss/suspensive.git",
"directory": "packages/react-query-next-experimental"
},
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"bugs": "https://github.com/toss/suspensive/issues",
"repository": {
"type": "git",
"url": "https://github.com/toss/suspensive.git",
"url": "git+https://github.com/toss/suspensive.git",
"directory": "packages/react-query"
},
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"bugs": "https://github.com/toss/suspensive/issues",
"repository": {
"type": "git",
"url": "https://github.com/toss/suspensive.git",
"url": "git+https://github.com/toss/suspensive.git",
"directory": "packages/react"
},
"license": "MIT",
Expand Down
Loading

0 comments on commit 73c322e

Please sign in to comment.