Commit Graph

60 Commits

Author SHA1 Message Date
Fabians 1b963ee44d feat: smart text editor & integration into stream comments 2022-06-10 16:46:57 +03:00
Gergő Jedlicska 638969cd01 gergo/yarn (#753)
* yarn first go

* fix frontend build cache loader

* yarn workspaces built server Docker

* build(yarn): add workspaces plugin config

* chore(package defs): clean package*.json -s

* chore(gitignore): ignore yarn error log

* build(yarn): update yarn lock

* build(preview-service webpack): add extra resolved path to preview service webpack config

because of yarn package hoisting, there are no package level node_modules folder anymore.

* build(docker): update dockerignore with yarn specific configs

* build(docker): update Dockerfiles for yarn workspaces utilization

* ci(circleci): update server test job to yarn

* ci(circle): disable cache restore

* ci(circleci): trying the node orb yarn-run

* ci(circleci): yarn-run again

* ci(circleci): disable node orb

* ci(circleci): change base node image for tests

* ci(circleci): add yarn cache

* ci(circleci): remove node install step

* ci(circleci): add server specific cache archives

* ci(circleci): test build and publish

* ci(circleci): change npm auth method to suit yarn

* ci(circleci): trying new builder image

* ci(circleci): another base image, maybe this works

* ci(circleci): force a specific docker engine version

* ci(circleci): add yarn version plugin and its changes

* ci(circleci): cleanup and remove temp branch config

* chore(package defs): moving from npm run to yarn

* explicitly specifying webpack4 as a frontend dep

* chore(package defs): replace npm with yarn everywhere

* docs(root readme): update with some yarn specific docs

* chore(root workspace): update dev scripts and package lock

* ci(circleci): enable package publish step with yarn

Co-authored-by: Fabians <fabis94@live.com>
2022-05-19 19:53:07 +02:00
dependabot[bot] 9e82490204 chore(deps): bump async from 2.6.3 to 2.6.4 in /packages/objectloader
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-30 14:49:37 +00:00
AlexandruPopovici 48e085ceaf Revert "chore(release): publish to npm. Done by mistake with lerna"
This reverts commit 8b974d0db5.
2022-04-30 17:48:02 +03:00
AlexandruPopovici 8b974d0db5 chore(release): publish to npm
[skip ci]

 - @speckle/fileimport-service@2.3.17
 - @speckle/frontend@2.3.17
 - @speckle/objectloader@2.4.3
 - @speckle/preview-service@2.4.3
 - @speckle/server@2.3.17
 - @speckle/viewer-sandbox@1.0.1
 - @speckle/viewer@2.4.3
 - @speckle/webhook-service@2.3.17
2022-04-29 12:54:26 +03:00
Kristaps Fabians Geikins e8869e210c feat(frontend): build speed & chunk structure optimization (#690)
* feat(frontend): build speed & chunk structure optimization

* fix: attempting to work around precommit inconsistent eslint config

* chore(pre-commit config): ignore mocharc for eslint

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2022-04-13 10:21:24 +03:00
Gergő Jedlicska d0ce03cb91 Merge branch 'fabians/fix-viewer-build' of github.com:specklesystems/speckle-server into fabians/fix-viewer-build 2022-04-09 16:08:27 +02:00
Gergő Jedlicska b574817200 chore: re lernafy package version specks 2022-04-09 16:06:55 +02:00
Fabians b6d48e2f1c added missing babel deps to objectloader 2022-04-08 15:52:25 +03:00
Fabians 5627e490f9 fixing objectloader version in viewer deps 2022-04-08 13:41:40 +03:00
Fabians c91f0a4bba feat: fixed viewer & objectloader build configs 2022-04-08 12:46:34 +03:00
CI f5573dd59b chore(release): publish %v [skip ci]
- @speckle/fileimport-service@2.3.17-alpha.2889
 - @speckle/frontend@2.3.17-alpha.2889
 - @speckle/objectloader@2.3.17-alpha.2889
 - @speckle/preview-service@2.3.17-alpha.2889
 - @speckle/server@2.3.17-alpha.2889
 - @speckle/viewer@2.3.17-alpha.2889
 - @speckle/webhook-service@2.3.17-alpha.2889
2022-04-07 18:36:41 +00:00
CI ae1bae65de chore(release): publish %v [skip ci]
- @speckle/fileimport-service@2.3.17-alpha.2878
 - @speckle/frontend@2.3.17-alpha.2878
 - @speckle/objectloader@2.3.17-alpha.2878
 - @speckle/preview-service@2.3.17-alpha.2878
 - @speckle/server@2.3.17-alpha.2878
 - @speckle/viewer@2.3.17-alpha.2878
 - @speckle/webhook-service@2.3.17-alpha.2878
2022-04-07 18:22:45 +00:00
CI 826d4546ec chore(release): publish %v [skip ci]
- @speckle/fileimport-service@2.3.17-alpha.2867
 - @speckle/frontend@2.3.17-alpha.2867
 - @speckle/objectloader@2.3.17-alpha.2867
 - @speckle/preview-service@2.3.17-alpha.2867
 - @speckle/server@2.3.17-alpha.2867
 - @speckle/viewer@2.3.17-alpha.2867
 - @speckle/webhook-service@2.3.17-alpha.2867
2022-04-07 18:11:38 +00:00
CI 7e06f4b96c chore(release): publish %v [skip ci]
- @speckle/fileimport-service@2.3.17-alpha.2856
 - @speckle/frontend@2.3.17-alpha.2856
 - @speckle/objectloader@2.3.17-alpha.2856
 - @speckle/preview-service@2.3.17-alpha.2856
 - @speckle/server@2.3.17-alpha.2856
 - @speckle/viewer@2.3.17-alpha.2856
 - @speckle/webhook-service@2.3.17-alpha.2856
2022-04-07 17:53:00 +00:00
CI 963750e64a chore(release): publish %v [skip ci]
- @speckle/fileimport-service@2.3.17-alpha.2844
 - @speckle/frontend@2.3.17-alpha.2844
 - @speckle/objectloader@2.3.17-alpha.2844
 - @speckle/preview-service@2.3.17-alpha.2844
 - @speckle/server@2.3.17-alpha.2844
 - @speckle/viewer@2.3.17-alpha.2844
 - @speckle/webhook-service@2.3.17-alpha.2844
2022-04-07 16:14:33 +00:00
Gergő Jedlicska 55f658b04e Merge branch 'main' of github.com:specklesystems/speckle-server into CI/lernaPublish 2022-04-07 18:12:27 +02:00
CI cb03a52104 chore(release): publish %v [skip ci]
- @speckle/fileimport-service@2.3.17-alpha.2830
 - @speckle/frontend@2.3.17-alpha.2830
 - @speckle/objectloader@2.3.17-alpha.2830
 - @speckle/preview-service@2.3.17-alpha.2830
 - @speckle/server@2.3.17-alpha.2830
 - @speckle/viewer@2.3.17-alpha.2830
 - @speckle/webhook-service@2.3.17-alpha.2830
2022-04-07 15:58:04 +00:00
Fabians 084cf1585e chore: adding node version checks + migrating server lock back to new format 2022-04-07 13:05:25 +03:00
Gergő Jedlicska 89d0d9e0ed style: fix eslint warnings 2022-04-04 22:32:34 +02:00
Fabians 4699e6794c reformatting again for 88 width 2022-04-04 19:21:28 +03:00
Fabians 1c7436e7ff extra prefer-const & object-shorthand 2022-04-04 19:00:24 +03:00
Gergő Jedlicska 1355ddab6f style(all): some extra formatting fixes 2022-04-01 09:40:47 +02:00
Gergő Jedlicska 1dbb00b13f style(objectloader): fix eslint errors 2022-03-29 21:45:18 +02:00
Gergő Jedlicska 569b4688fa style(all): reformat with print width 88 2022-03-29 19:46:49 +02:00
Fabians aa5e94d640 chore: reformatting everything with prettier 2022-03-29 17:12:31 +03:00
Kristaps Fabians Geikins b157a98901 feat(server): simplified test running & IDE integrations 2022-03-16 17:31:53 +02:00
Kristaps Fabians Geikins 8010bf3c4c feat: Standardized & cleaned up formatting & linting across repo #617 (#618)
* feat: Standardized & cleaned up formatting & linting across repo

Co-authored-by: Kristaps Fabians Geikins <fabians@speckle.systems>
Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2022-03-16 10:10:30 +02:00
Dimitrie Stefanescu f4a903922e chore(objectloader): bumps version 2022-03-07 11:59:00 +00:00
Felix Deiters b5b14f8637 Update readme.md
Added an example for server-side usage.
2022-03-02 00:22:44 +01:00
Felix Deiters e427c7f2f2 Fix Web Workers 2022-02-28 17:22:49 +01:00
Felix Deiters 28aff364a3 Allow to inject fetch to objectloader constructor 2022-02-28 12:46:26 +01:00
Felix Deiters 2f19961a6a Add WHATWG fetch as dev dependency
This allows to test the loader server side. Node.js will adopt undici’s fetch implementation with v18
https://github.com/nodejs/node/commit/6ec225392675c92b102d3caad02ee3a157c9d1b7
2022-02-28 11:46:14 +01:00
Dimitrie Stefanescu af0af7a416 chore(objectloader): bumps version 2022-01-13 15:05:17 +00:00
izzylys 7b29861f55 fix(objectloader): check for nulls and continue
null type is an object, so nulls here were throwing:
`"TypeError: Cannot read property 'referencedId' of null"
`

checking and continuing when nulls are encountered instead
2022-01-12 12:02:31 -08:00
Dimitrie Stefanescu 5b957771e8 fix(deps): re-bootstrapped everything and ensured local build actually works 2021-11-24 11:12:33 +01:00
Dimitrie Stefanescu 77fa95b152 chore(objectloader): bumps version & removes console log 2021-11-23 23:26:14 +00:00
cristi8 9ea48e2a77 wip viewer 2021-11-11 20:39:11 +02:00
cristi8 580039d1a0 wip viewer - optimizations 2021-10-31 19:00:31 +02:00
cristi8 0c305f9deb wip viewer 2021-10-29 21:40:13 +03:00
cristi8 355301ae36 wip viewer 2021-10-29 11:05:38 +03:00
cristi8 4291652fe2 objectloader diff endpoints and cache 2021-10-12 13:23:33 +03:00
Alan Rynne 4690c9acbf fix(docker): Build viewer with local ObjectLoader
It was previously pulling from npm, which lead to build mismatches.
2021-09-09 12:38:49 +02:00
Alan Rynne 18eea01c29 feat(embed): Wrapped all localStorage access with try/catch statements 2021-08-26 16:27:53 +02:00
luz paz ad97cdf444 Fix various typos
Found via `codespell -q 3 -L optio,promisses,usera`
2021-07-22 09:23:21 -04:00
Dimitrie Stefanescu 38103269a4 fix(objectloader): bumps version 2021-05-26 13:54:56 +01:00
Dimitrie Stefanescu c6a80b7585 chore(objectloader): removed console.log from constructor 😬 2021-05-26 13:54:38 +01:00
Dimitrie Stefanescu 9188f40220 feat(objectloader): bumps version 2021-05-26 13:03:50 +01:00
Dimitrie Stefanescu 88f20d7e0d feat(objectloader): added example usage for new func in readme 2021-05-26 13:03:22 +01:00
Dimitrie Stefanescu 46e2cf7d53 feat(objectloader): restructuring examples folder 2021-05-26 12:26:37 +01:00