Skip to content

Commit

Permalink
Remove yalc from the depenencies of the build test projects
Browse files Browse the repository at this point in the history
  • Loading branch information
fulopkovacs committed Apr 25, 2022
1 parent 37610ee commit cf52385
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 18 deletions.
22 changes: 9 additions & 13 deletions build_tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,34 +66,30 @@ yarn start
touch yarn.lock
```

5. Add `yalc` to the new project's dependencies:
```sh
yarn add yalc
```
6. Install the dependencies
5. Install the dependencies

```sh
yarn
```

7. Install `@theatre/core` and `@theatre/studio` from the local registry:
6. Install `@theatre/core` and `@theatre/studio` from the local registry:

```sh
npx yalc link @theatre/core @theatre/studio
```

8. Use the
7. Use the
[Hello world](https://docs.theatrejs.com/getting-started/install/#install-theatre)
example from the docs for creating a `Theatre.js` project in it

9. Make sure that you add a `yarn build` script to the repo, because the it will
8. Make sure that you add a `yarn build` script to the repo, because the it will
be used to build the project in the CI.

10. Test your config by starting a dev server in the new project's root. In
`parcel_v2`' you can do it with the following command:
```sh
yarn start
```
9. Test your config by starting a dev server in the new project's root. In
`parcel_v2`' you can do it with the following command:
```sh
yarn start
```

Feel free to check out the existing workspaces in `build_tests` if you get
stuck.
3 changes: 1 addition & 2 deletions build_tests/parcel_v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
"dependencies": {
"deasync": "^0.1.26",
"node-gyp": "^9.0.0",
"parcel-bundler": "^1.6.1",
"yalc": "^1.0.0-pre.53"
"parcel-bundler": "^1.6.1"
},
"devDependencies": {
"@babel/core": "7.2.0",
Expand Down
3 changes: 0 additions & 3 deletions build_tests/rollup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,5 @@
"watch-prod": "rollup -c -w --environment NODE_ENV:'production'",
"dev": "yarn watch-dev & serve public",
"start": "serve public"
},
"dependencies": {
"yalc": "^1.0.0-pre.53"
}
}

0 comments on commit cf52385

Please sign in to comment.