linkeddata / rdflib.js

Linked Data API for JavaScript
http://linkeddata.github.io/rdflib.js/doc/
Other
562 stars 142 forks source link

Ts tweaks #595

Closed timbl closed 1 year ago

timbl commented 1 year ago

When compiling profile-pane, tsc objects unless these changes are made to rdflib. Clearly flagging things as ReadOnly can be a bit of a trap as you have to then propagate it all over your code. So here we just tweak one file and stop it spreading to the store.

timbl commented 1 year ago

Don't understand the CI errors.

$ grep "@babel/cli" package*
package-lock.json:        "@babel/cli": "^7.17.6",
package-lock.json:    "node_modules/@babel/cli": {
package-lock.json:      "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.17.6.tgz",
package-lock.json:    "@babel/cli": {
package-lock.json:      "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.17.6.tgz",
package.json:    "@babel/cli": "^7.17.6",
timbl commented 1 year ago

.... but the CI tests say

npm ERR! `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.

and many errors like

npm ERR! Missing: @babel/cli@7.20.7 from lock file