mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-08 16:05:05 -04:00
Fixed npm installation and moved to types folder.
This commit is contained in:
parent
a57b13d319
commit
d2cbe1b4b2
15 changed files with 11 additions and 9 deletions
2
.github/workflows/windows.yml
vendored
2
.github/workflows/windows.yml
vendored
|
@ -116,6 +116,8 @@ jobs:
|
||||||
-
|
-
|
||||||
name: Install Cypress
|
name: Install Cypress
|
||||||
run: cd etherpad && cd src && npm install cypress --legacy-peer-deps
|
run: cd etherpad && cd src && npm install cypress --legacy-peer-deps
|
||||||
|
- name: Install npm@6
|
||||||
|
run: npm install npm@6 -g
|
||||||
-
|
-
|
||||||
name: Run Etherpad
|
name: Run Etherpad
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
import {DeriveModel} from "../models/DeriveModel";
|
import {DeriveModel} from "../types/DeriveModel";
|
||||||
import {LegacyParams} from "../models/LegacyParams";
|
import {LegacyParams} from "../types/LegacyParams";
|
||||||
|
|
||||||
const {Buffer} = require('buffer');
|
const {Buffer} = require('buffer');
|
||||||
const crypto = require('./crypto');
|
const crypto = require('./crypto');
|
||||||
|
|
|
@ -24,8 +24,8 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import {PluginType} from "./models/Plugin";
|
import {PluginType} from "./types/Plugin";
|
||||||
import {ErrorCaused} from "./models/ErrorCaused";
|
import {ErrorCaused} from "./types/ErrorCaused";
|
||||||
import {PromiseHooks} from "node:v8";
|
import {PromiseHooks} from "node:v8";
|
||||||
|
|
||||||
const log4js = require('log4js');
|
const log4js = require('log4js');
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import {ChildProcess} from "node:child_process";
|
import {ChildProcess} from "node:child_process";
|
||||||
import {AsyncQueueTask} from "../models/AsyncQueueTask";
|
import {AsyncQueueTask} from "../types/AsyncQueueTask";
|
||||||
|
|
||||||
const spawn = require('child_process').spawn;
|
const spawn = require('child_process').spawn;
|
||||||
const async = require('async');
|
const async = require('async');
|
||||||
|
|
|
@ -19,8 +19,8 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import {AText, PadType} from "../models/PadType";
|
import {AText, PadType} from "../types/PadType";
|
||||||
import {MapType} from "../models/MapType";
|
import {MapType} from "../types/MapType";
|
||||||
|
|
||||||
const Changeset = require('../../static/js/Changeset');
|
const Changeset = require('../../static/js/Changeset');
|
||||||
const attributes = require('../../static/js/attributes');
|
const attributes = require('../../static/js/attributes');
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
import {ErrorExtended, RunCMDOptions, RunCMDPromise} from "../models/RunCMDOptions";
|
import {ErrorExtended, RunCMDOptions, RunCMDPromise} from "../types/RunCMDOptions";
|
||||||
import {ChildProcess} from "node:child_process";
|
import {ChildProcess} from "node:child_process";
|
||||||
import {PromiseWithStd} from "../models/PromiseWithStd";
|
import {PromiseWithStd} from "../types/PromiseWithStd";
|
||||||
import {Readable} from "node:stream";
|
import {Readable} from "node:stream";
|
||||||
|
|
||||||
const spawn = require('cross-spawn');
|
const spawn = require('cross-spawn');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue