Skip to content

Commit

Permalink
tweak: Minor changes from #2907 (#2910)
Browse files Browse the repository at this point in the history
  • Loading branch information
max-sixty committed Jun 22, 2023
1 parent bc0f810 commit abe85a9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
5 changes: 4 additions & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,10 @@ tasks:
- mkdir -p website/public
# Copy the book into the website path, using rsync so it only copies new files
- rsync -ai --checksum --delete book/book/ website/public/book/
- task: install-playground-npm-dependencies
# Must set `install-links=false` in the playground's `npm install` to
# install prql-js as the regular dependency, instead of creating a
# symlink. Refer to https://github.com/PRQL/prql/pull/1296.
- cd playground && npm install --install-links=false
- cd playground && npm run build
# We place the playground app in a nested path, because we want to use
# prql-lang.org/playground with an iframe containing the playground.
Expand Down
2 changes: 0 additions & 2 deletions bindings/prql-js/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// https://github.com/rustwasm/wasm-bindgen/pull/2984
#![allow(clippy::drop_non_drop)]
mod utils;

use std::str::FromStr;
Expand Down
10 changes: 4 additions & 6 deletions web/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,10 @@
"name": "prql-playground",
"private": true,
"scripts": {
"build": "npm run genBook && react-scripts build",
"eject": "npm run genBook && react-scripts eject",
"preinstall": "rsync -ai --checksum --delete ../../prql-compiler/tests/integration/data/ public/data/",
"start": "npm run genBook && react-scripts start",
"test": "npm run genBook && react-scripts test",
"genBook": "node generateBook.js"
"build": "react-scripts build",
"prepare": "rsync -ai --checksum --delete ../../prql-compiler/tests/integration/data/ public/data/ && node generateBook.js",
"start": "react-scripts start",
"test": "react-scripts test"
},
"version": "0.8.1"
}

0 comments on commit abe85a9

Please sign in to comment.