mirror of
https://github.com/c8r/x0.git
synced 2024-09-11 21:57:26 +03:00
Rename package dependencies
This commit is contained in:
parent
835794e44b
commit
c061708125
@ -4,7 +4,7 @@
|
||||
Zero-config React renderer and CLI
|
||||
|
||||
```sh
|
||||
npm install rx0
|
||||
npm install @compositor/x0
|
||||
```
|
||||
|
||||
## Features
|
||||
@ -147,7 +147,7 @@ const App = props => (
|
||||
// root component
|
||||
import React from 'react'
|
||||
import { StaticRouter } from 'react-router'
|
||||
import { Html } from 'rx0'
|
||||
import { Html } from '@compositor/x0'
|
||||
|
||||
const Root = props => (
|
||||
<StaticRouter location={props.pathname}>
|
||||
|
@ -7,6 +7,6 @@
|
||||
"test": "x0 build App.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"rx0": "^1.0.6"
|
||||
"@compositor/x0": "^1.0.9"
|
||||
}
|
||||
}
|
||||
|
@ -8,7 +8,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"refunk": "^1.0.0-2",
|
||||
"rx0": "^1.0.6"
|
||||
"@compositor/x0": "^1.0.9"
|
||||
},
|
||||
"x0": {
|
||||
"title": "x0 Bundle Example",
|
||||
|
@ -7,7 +7,7 @@
|
||||
"test": "x0 build App.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"rx0": "^1.0.6"
|
||||
"@compositor/x0": "^1.0.9"
|
||||
},
|
||||
"x0": {
|
||||
"title": "x0 Configuration Example",
|
||||
|
@ -1,5 +1,5 @@
|
||||
import React from 'react'
|
||||
import { Html } from 'rx0'
|
||||
import { Html } from '@compositor/x0'
|
||||
|
||||
const css = `*{box-sizing:border-box}
|
||||
body{font-family:-apple-system,BlinkMacSystemFont,sans-serif;margin:0}`
|
||||
|
@ -8,7 +8,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"refunk": "^1.0.0-2",
|
||||
"rx0": "^1.0.6"
|
||||
"@compositor/x0": "^1.0.9"
|
||||
},
|
||||
"x0": {
|
||||
"title": "x0 HTML Example",
|
||||
|
@ -1,5 +1,5 @@
|
||||
import React from 'react'
|
||||
import { Html } from 'rx0'
|
||||
import { Html } from '@compositor/x0'
|
||||
import cxs from 'cxs'
|
||||
|
||||
const basecss = `*{box-sizing:border-box}
|
||||
|
@ -8,6 +8,6 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"cxs": "^6.0.0",
|
||||
"rx0": "^1.0.6"
|
||||
"@compositor/x0": "^1.0.9"
|
||||
}
|
||||
}
|
||||
|
2
examples/react-router/Root.js
vendored
2
examples/react-router/Root.js
vendored
@ -1,5 +1,5 @@
|
||||
import React from 'react'
|
||||
import { Html } from 'rx0'
|
||||
import { Html } from '@compositor/x0'
|
||||
|
||||
const css = `*{box-sizing:border-box}
|
||||
body{font-family:-apple-system,BlinkMacSystemFont,sans-serif;margin:0}`
|
||||
|
@ -8,7 +8,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"react-router-dom": "^4.2.2",
|
||||
"rx0": "^1.0.6"
|
||||
"@compositor/x0": "^1.0.9"
|
||||
},
|
||||
"x0": {
|
||||
"title": "x0 react-router",
|
||||
|
@ -1,5 +1,5 @@
|
||||
import React from 'react'
|
||||
import { Html } from 'rx0'
|
||||
import { Html } from '@compositor/x0'
|
||||
import { ServerStyleSheet } from 'styled-components'
|
||||
|
||||
// Used for styled-components rerendering
|
||||
|
@ -7,7 +7,7 @@
|
||||
"test": "x0 build App.js --html Root.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"rx0": "^1.0.6",
|
||||
"@compositor/x0": "^1.0.9",
|
||||
"styled-components": "^2.1.2"
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,5 @@
|
||||
{
|
||||
"name": "rx0",
|
||||
"_name": "@compositor/x0",
|
||||
"name": "@compositor/x0",
|
||||
"version": "1.0.8",
|
||||
"description": "Zero-config React renderer and CLI",
|
||||
"main": "index.js",
|
||||
|
Loading…
Reference in New Issue
Block a user