We welcome contributions to Threepipe. Please read the following guidelines to start working on the code and creating pull request.
npm installsrc/ folder - Run npm run dev to start the development in watch modeplugins/ folder - cd to the plugin directory and run npm run dev to start the development in watch mode for the package.npm run dev-examples to start the examples build in watch modenpm run serve to start the development serverhttp://localhost:9229/index.html to see the examples and pick the one you are working on.For website(vitepress) development -
npm run website:dev to start the website server.TBD
npm run build to build the project, or in a specific package directory to build the packagenpm run build-examples to build the examplesnpm run website:build to build the websitenpm run docs to build only the API docsnpm run prepare to build the project, examples and pluginsnpm run docs-all to build API docs and websiteFor core and for each package -
package.json and run npm run new:publish to publish the package to npm.v0.0.1 or plugin-name-0.0.1 to the git repository.master on github.Checklist
./src/pluginsAViewerPluginSyncPluginType./src/plugins/index.ts./examples/tweakpane-editor/script.ts./examples/model-viewer/script.tsthreepipe-blueprint-editor./examples by duplicating any existing one./examples/index.htmltests/README.md./website/guide/core-plugins.md./website/plugin/PluginName.mdChecklist
plugins/ folder - plugin-template-vitename, description, repository.directory, dependencies and any other relevant fields in package.jsonname in typedoc.jsonglobals in vite.config.jsindex.ts./examples/tweakpane-editor/script.ts./examples/model-viewer/script.tsthreepipe-blueprint-editor./examples by duplicating any existing one. Ideally one example for each exported plugin/utility../examples/index.htmltests/README.md./website/guide/threepipe-packages.md./website/packages/PluginName.mdnpm run build and test with examplenpm run new:publish. Add tag to git like plugin-name-v0.0.1