-
-
Notifications
You must be signed in to change notification settings - Fork 753
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: update stable docs * Adds prettier config * Fix wrong tab width * Brings back semis Co-authored-by: Prev Wong <prevwong@gmail.com>
- Loading branch information
Showing
161 changed files
with
1,742 additions
and
1,622 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,4 +24,4 @@ jobs: | |
run: yarn build | ||
|
||
- name: Run tests | ||
run: yarn test | ||
run: yarn test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,4 +20,4 @@ jobs: | |
node-version: 10.x | ||
|
||
- run: yarn install --frozen-lockfile | ||
- run: yarn release | ||
- run: yarn release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"trailingComma": "es5", | ||
"tabWidth": 2, | ||
"singleQuote": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
module.exports = { | ||
url: { | ||
production: { | ||
LANDING: "https://craft.js.org/", | ||
DOCUMENTATION: "https://craft.js.org/r/docs/overview/", | ||
BASIC_EXAMPLE: "https://craft.js.org/examples/basic/", | ||
LANDING: 'https://craft.js.org/', | ||
DOCUMENTATION: 'https://craft.js.org/r/docs/overview/', | ||
BASIC_EXAMPLE: 'https://craft.js.org/examples/basic/', | ||
}, | ||
staging: { | ||
LANDING: "https://craftjs.netlify.com/", | ||
DOCUMENTATION: "https://craftjs.netlify.com/r/docs/overview/", | ||
BASIC_EXAMPLE: "https://craftjs.netlify.com/examples/basic/", | ||
LANDING: 'https://craftjs.netlify.com/', | ||
DOCUMENTATION: 'https://craftjs.netlify.com/r/docs/overview/', | ||
BASIC_EXAMPLE: 'https://craftjs.netlify.com/examples/basic/', | ||
}, | ||
development: { | ||
LANDING: "http://localhost:3001/", | ||
DOCUMENTATION: "http://localhost:3000/r/docs/overview/", | ||
BASIC_EXAMPLE: "http://localhost:3002/", | ||
LANDING: 'http://localhost:3001/', | ||
DOCUMENTATION: 'http://localhost:3000/r/docs/overview/', | ||
BASIC_EXAMPLE: 'http://localhost:3002/', | ||
}, | ||
}[process.env.ENV || "development"], | ||
}[process.env.ENV || 'development'], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
const Enzyme = require("enzyme"); | ||
const Adapter = require("enzyme-adapter-react-16"); | ||
const Enzyme = require('enzyme'); | ||
const Adapter = require('enzyme-adapter-react-16'); | ||
|
||
Enzyme.configure({ adapter: new Adapter() }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
{ | ||
"npmClient": "yarn", | ||
"useWorkspaces": true, | ||
"packages": [ | ||
"packages/*", | ||
"packages/examples/*" | ||
], | ||
"packages": ["packages/*", "packages/examples/*"], | ||
"version": "0.1.0-beta.7" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import config from "../../rollup.config"; | ||
import config from '../../rollup.config'; | ||
|
||
export default { | ||
...config, | ||
input: "./src/index.tsx", | ||
input: './src/index.tsx', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { createContext } from "react"; | ||
import { EditorStore } from "./store"; | ||
import { createContext } from 'react'; | ||
import { EditorStore } from './store'; | ||
|
||
export type EditorContext = EditorStore; | ||
export const EditorContext = createContext<EditorContext>({} as EditorContext); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export * from "./Editor"; | ||
export * from './Editor'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.