mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-02-01 05:16:10 +01:00
fix ci, remove bootstrap command
This commit is contained in:
parent
57638c857e
commit
ec10ab4d7d
@ -21,7 +21,9 @@ env:
|
||||
|
||||
script:
|
||||
# Run bootstrap first so that the proper workspaces links are created.
|
||||
- yarn bootstrap
|
||||
# HACK: Right now `upath` is broken to not work in latest node, so we need
|
||||
# to ignore the engines field here.
|
||||
- yarn install --ignore-engines
|
||||
# Build all of the packages so they are resolvable by each other.
|
||||
- yarn build
|
||||
# Run testing or linting depending on the environment.
|
||||
|
@ -47,11 +47,11 @@ Check out the [Examples readme](./examples) to see how to get the examples runni
|
||||
|
||||
## Running Tests
|
||||
|
||||
To run the tests, you need to have the Slate repository cloned to your computer. After that, you need to `cd` into the directory where you cloned it, and install the dependencies with `yarn` and bootstrap the monorepo:
|
||||
To run the tests, you need to have the Slate repository cloned to your computer. After that, you need to `cd` into the directory where you cloned it, and install the dependencies with `yarn` and build the monorepo:
|
||||
|
||||
```
|
||||
yarn install
|
||||
yarn bootstrap
|
||||
yarn build
|
||||
```
|
||||
|
||||
Then run the tests with:
|
||||
|
@ -20,11 +20,11 @@ If you have an idea for an example that shows a common use case, pull request it
|
||||
|
||||
## Running the Examples
|
||||
|
||||
To get the examples running on your machine, you need to have the Slate repository cloned to your computer. After that, you need to `cd` into the directory where you cloned it, and install the dependencies with `yarn` and bootstrap the monorepo:
|
||||
To get the examples running on your machine, you need to have the Slate repository cloned to your computer. After that, you need to `cd` into the directory where you cloned it, and install the dependencies with `yarn` and build the monorepo:
|
||||
|
||||
```
|
||||
yarn install
|
||||
yarn bootstrap
|
||||
yarn build
|
||||
```
|
||||
|
||||
Then start the watcher and examples server:
|
||||
|
@ -80,7 +80,6 @@
|
||||
"scripts": {
|
||||
"benchmark": "mkdir -p ./tmp && cross-env BABEL_ENV=test babel-node ./node_modules/.bin/_matcha --reporter ./support/benchmark/reporter ./packages/*/benchmark/index.js > ./tmp/benchmark-comparison.json && cross-env BABEL_ENV=test babel-node ./support/benchmark/compare",
|
||||
"benchmark:save": "mkdir -p ./tmp && cross-env BABEL_ENV=test babel-node ./node_modules/.bin/_matcha --reporter ./support/benchmark/reporter ./packages/*/benchmark/index.js > ./tmp/benchmark-baseline.json",
|
||||
"bootstrap": "lerna bootstrap && yarn build",
|
||||
"build": "rollup --config ./support/rollup/config.js",
|
||||
"build:gh-pages": "cross-env NODE_ENV=production rollup --config ./support/rollup/config.js && cross-env NODE_ENV=production webpack --config support/webpack/config.js",
|
||||
"clean": "lerna run clean && rm -rf ./node_modules ./dist ./build",
|
||||
|
Loading…
x
Reference in New Issue
Block a user