lean4monaco 1.0.28 → 1.0.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -136,7 +136,10 @@ export default {
136
136
 
137
137
  `lean4monaco` contains a sample project `lean4monaco/demo/` which you can use for comparison.
138
138
 
139
- If you cloned `lean4monaco`, you can run the demo with
139
+ Ideally you clone this repo using `git clone --recurse-submodules <ssh/https address>` to load the included submodule.
140
+ (alternatively, call `git submodule init && git submodule update` inside the cloned the repo).
141
+
142
+ Afterwards, you can run the demo with
140
143
 
141
144
  ```
142
145
  cd lean4monaco
@@ -160,4 +163,4 @@ Some random errors we encountered. If you have more, please share them.
160
163
  ### Warnings on `npm install`
161
164
 
162
165
  * Warnings about `glob` and `inflight` come from `copyfiles`: see [copyfiles#132](https://github.com/calvinmetcalf/copyfiles/pull/132)
163
- * Warning about ` @types/cypress` comes from `cypress-iframe`
166
+ * Warning about ` @types/cypress` comes from `cypress-iframe`
@@ -181,7 +181,7 @@ export class LeanMonaco {
181
181
  ...packageJson,
182
182
  contributes: {
183
183
  ...packageJson.contributes,
184
- configuration: packageJson.contributes.configuration,
184
+ configuration: packageJson.contributes.configuration, // Apparently `IExtensionContributions.configuration` has type `any`
185
185
  // TODO: This is suspect, the thrid entry does not have "language", yet it doesn't complain
186
186
  // look into that.
187
187
  grammars: packageJson.contributes.grammars,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lean4monaco",
3
- "version": "1.0.28",
3
+ "version": "1.0.29",
4
4
  "description": "Monaco Editor support for the Lean 4 theorem prover.",
5
5
  "keywords": [
6
6
  "lean",
@@ -33,11 +33,12 @@
33
33
  "url": "https://github.com/hhu-adam/lean4monaco"
34
34
  },
35
35
  "scripts": {
36
- "start": "concurrently \"tsc -w --preserveWatchOutput\" \"webpack --watch\" \"npm run watch:copyfiles\" \"cd demo && npm run start_client\" \"cd demo && npm run start_server\" -n tsc,webpack,copyfiles,vite,server -c \"bgGreen.bold,bgBlue.bold,bgCyan.bold,bgYellow.bold,bgMagenta.bold\"",
36
+ "setup_demo": "concurrently \"(cd demo && npm install)\" \"npm run build\" -n install,build -c \"bgCyan.bold,bgBlue.bold\"",
37
+ "start": "npm run setup_demo && concurrently \"tsc -w --preserveWatchOutput\" \"webpack --watch\" \"npm run watch:copyfiles\" \"cd demo && npm run start_client\" \"cd demo && npm run start_server\" -n tsc,webpack,copyfiles,vite,server -c \"bgGreen.bold,bgBlue.bold,bgCyan.bold,bgYellow.bold,bgMagenta.bold\"",
37
38
  "watch:copyfiles": "nodemon --watch ./src --exec \"npm run build:copyfiles\"",
38
39
  "build": "tsc && webpack && npm run build:copyfiles",
39
40
  "build:copyfiles": "cd src && copyfiles \"**/*.json\" \"**/*.css\" \"**/*.ttf\" \"**/*.otf\" \"**/*.svg\" ../dist/",
40
- "test": "(cd demo && npm install && npm run build_server) && concurrently --kill-others \"npm start 1> /dev/null\" \"wait-on http://localhost:5173 && cypress run\" -n server,cypress -s command-cypress"
41
+ "test": "concurrently --hide 0 --kill-others \"npm start\" \"wait-on http://localhost:5173 && cypress run\" -n server,cypress -s command-cypress"
41
42
  },
42
43
  "dependencies": {
43
44
  "@leanprover/infoview": "^0.7.3",