Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions wasm/example/package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
{
"name": "rustpython-wasm-example",
"version": "1.0.0",
"//1": "`dependencies.rustpython_wasm` would be the version of the npm",
"//2": "library in a real app",
"dependencies": {
"rustpython_wasm": "file:../lib/pkg/"
"rustpython_wasm": "0.1.0-pre-alpha.1"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why would you do this? Then we cannot test the current version, but always go through a deployment phase via npm?

Copy link
Member Author

@coolreader18 coolreader18 Mar 20, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is for the example, not the demo. If someone just wanted to copy/paste the example and use it as their own project, currently, they couldn't do so, as it has a file: dependency; they'd have to change it to the version from npm.

},
"devDependencies": {
"raw-loader": "1.0.0",
"webpack": "4.28.2",
"webpack-cli": "^3.1.2"
},
"scripts": {
"build": "webpack"
"build": "webpack",
"dist": "webpack --mode production"
},
"license": "MIT"
}