Преглед на файлове

Minor fix in svg-renderer

master
Palash Bansal преди 2 години
родител
ревизия
476a39d898
No account linked to committer's email address
променени са 4 файла, в които са добавени 37 реда и са изтрити 12 реда
  1. 29
    5
      plugins/svg-renderer/package-lock.json
  2. 5
    4
      plugins/svg-renderer/package.json
  3. 1
    1
      plugins/svg-renderer/typedoc.json
  4. 2
    2
      plugins/svg-renderer/vite.config.js

+ 29
- 5
plugins/svg-renderer/package-lock.json Целия файл

@@ -18,10 +18,37 @@
"fast-triangle-triangle-intersection": "^1.0.7",
"flatbush": "^4.4.0",
"isect": "^3.0.2",
"three": "file:./../../node_modules/three",
"three-mesh-bvh": "^0.7.4",
"xml-formatter": "^2.6.1"
}
},
"../../node_modules/three": {
"version": "0.153.1003",
"dev": true,
"license": "MIT",
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-terser": "^0.4.0",
"chalk": "^5.2.0",
"concurrently": "^8.0.1",
"eslint": "^8.37.0",
"eslint-config-mdcs": "^5.0.0",
"eslint-plugin-compat": "^4.1.2",
"eslint-plugin-html": "^7.1.0",
"eslint-plugin-import": "^2.27.5",
"failonlyreporter": "^1.0.0",
"jimp": "^0.22.7",
"magic-string": "^0.30.0",
"pixelmatch": "^5.3.0",
"puppeteer-core": "^19.8.1",
"qunit": "^2.19.4",
"rollup": "^3.20.2",
"rollup-plugin-filesize": "^10.0.0",
"rollup-plugin-visualizer": "^5.9.0",
"servez": "^1.14.2"
}
},
"../../src": {},
"node_modules/@svgdotjs/svg.js": {
"version": "3.2.0",
@@ -93,11 +120,8 @@
"dev": true
},
"node_modules/three": {
"version": "0.164.1",
"resolved": "https://registry.npmjs.org/three/-/three-0.164.1.tgz",
"integrity": "sha512-iC/hUBbl1vzFny7f5GtqzVXYjMJKaTPxiCxXfrvVdBi1Sf+jhd1CAkitiFwC7mIBFCo3MrDLJG97yisoaWig0w==",
"dev": true,
"peer": true
"resolved": "../../node_modules/three",
"link": true
},
"node_modules/three-mesh-bvh": {
"version": "0.7.4",

+ 5
- 4
plugins/svg-renderer/package.json Целия файл

@@ -1,7 +1,7 @@
{
"name": "@threepipe/plugin-svg-renderer",
"description": "Plugins for SVG Rendering of 3d objects for Threepipe",
"version": "0.2.0",
"version": "0.2.1",
"devDependencies": {
"@svgdotjs/svg.js": "^3.2.0",
"@svgdotjs/svg.topath.js": "^2.0.3",
@@ -10,7 +10,8 @@
"flatbush": "^4.4.0",
"isect": "^3.0.2",
"three-mesh-bvh": "^0.7.4",
"xml-formatter": "^2.6.1"
"xml-formatter": "^2.6.1",
"three": "file:./../../node_modules/three"
},
"dependencies": {
"threepipe": "file:./../../src/"
@@ -26,7 +27,7 @@
"replace": {
"dependencies": {},
"peerDependencies": {
"threepipe": "^0.0.26"
"threepipe": "^0.0.30"
}
}
},
@@ -41,7 +42,7 @@
"scripts": {
"new:pack": "npm run prepare && clean-package && npm pack && clean-package restore",
"new:publish": "npm run prepare && clean-package && npm publish --access public && clean-package restore",
"prepare": "npm run build",
"prepare": "npm run build && npm run docs",
"build": "rimraf dist && vite build",
"dev": "NODE_ENV=development vite build --watch",
"docs": "rimraf docs && npx typedoc"

+ 1
- 1
plugins/svg-renderer/typedoc.json Целия файл

@@ -5,6 +5,6 @@
"entryPoints": [
"src/index.ts"
],
"name": "Threepipe Gaussian Splatting Plugin",
"name": "Threepipe SVG Rendering Plugins",
"readme": "none"
}

+ 2
- 2
plugins/svg-renderer/vite.config.js Целия файл

@@ -19,7 +19,7 @@ const globals = {

export default defineConfig({
optimizeDeps: {
exclude: ['uiconfig.js', 'ts-browser-helpers', 'three-mesh-bvh'],
exclude: ['uiconfig.js', 'ts-browser-helpers', 'three-mesh-bvh', 'three'],
},
base: '',
// define: {
@@ -42,7 +42,7 @@ export default defineConfig({
outDir: 'dist',
emptyOutDir: isProd,
commonjsOptions: {
exclude: [/uiconfig.js/, /ts-browser-helpers/, /three-mesh-bvh/],
exclude: [/uiconfig.js/, /ts-browser-helpers/, /three-mesh-bvh/, /three/],
},
rollupOptions: {
output: {

Loading…
Отказ
Запис