mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-07-27 19:57:02 +00:00
npm/ide-docs: move npm packaging to separate directory
This makes a clean separation between the packaging and the docs.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
# build directory
|
||||
html/
|
||||
|
||||
# yarn pack output
|
||||
*.tgz
|
||||
@@ -0,0 +1,8 @@
|
||||
# Changelog
|
||||
|
||||
<!-- refer to https://keepachangelog.com/en/1.0.0/ for guidance -->
|
||||
|
||||
## Unreleased
|
||||
|
||||
### Changed
|
||||
- Changed package directory structure.
|
||||
@@ -5,7 +5,7 @@
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/pybricks/pybricks-api",
|
||||
"directory": "doc/main"
|
||||
"directory": "npm/ide-docs"
|
||||
},
|
||||
"publishConfig": {
|
||||
"registry": "https://registry.npmjs.org",
|
||||
@@ -14,11 +14,10 @@
|
||||
"author": "The Pybricks Authors",
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
"build/html/**"
|
||||
"html"
|
||||
],
|
||||
"types": "index.d.ts",
|
||||
"scripts": {
|
||||
"clean": "poetry run make -C .. clean",
|
||||
"build": "poetry run make -C .. TAG=ide html"
|
||||
"clean": "poetry run make -C ../../doc clean",
|
||||
"build": "poetry run make -C ../../doc TAG=ide html && rm -rf html && cp -R ../../doc/main/build/html html"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user