mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-11 09:43:58 +02:00
fix ci, remove bootstrap command
This commit is contained in:
@@ -21,7 +21,9 @@ env:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
# Run bootstrap first so that the proper workspaces links are created.
|
# 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.
|
# Build all of the packages so they are resolvable by each other.
|
||||||
- yarn build
|
- yarn build
|
||||||
# Run testing or linting depending on the environment.
|
# 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
|
## 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 install
|
||||||
yarn bootstrap
|
yarn build
|
||||||
```
|
```
|
||||||
|
|
||||||
Then run the tests with:
|
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
|
## 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 install
|
||||||
yarn bootstrap
|
yarn build
|
||||||
```
|
```
|
||||||
|
|
||||||
Then start the watcher and examples server:
|
Then start the watcher and examples server:
|
||||||
|
@@ -80,7 +80,6 @@
|
|||||||
"scripts": {
|
"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": "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",
|
"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": "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",
|
"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",
|
"clean": "lerna run clean && rm -rf ./node_modules ./dist ./build",
|
||||||
|
Reference in New Issue
Block a user