install hopscotch from npm (#6323)
parent
d990d68828
commit
cc5ce29798
|
@ -6,6 +6,7 @@ logs
|
|||
project/project
|
||||
project/target
|
||||
public/compiled
|
||||
public/vendor/hopscotch
|
||||
public/vendor/stockfish.wasm
|
||||
public/vendor/stockfish-mv.wasm
|
||||
public/vendor/stockfish.js
|
||||
|
|
|
@ -4,9 +4,6 @@
|
|||
[submodule "public/vendor/multiple-select"]
|
||||
path = public/vendor/multiple-select
|
||||
url = https://github.com/ornicar/multiple-select
|
||||
[submodule "public/vendor/hopscotch"]
|
||||
path = public/vendor/hopscotch
|
||||
url = https://github.com/linkedin/hopscotch
|
||||
[submodule "public/vendor/shepherd"]
|
||||
path = public/vendor/shepherd
|
||||
url = https://github.com/HubSpot/shepherd
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 3dfea3d4caa01716bf78fe6e1bae72dbf246873f
|
|
@ -11,6 +11,7 @@ const tsify = require('tsify');
|
|||
const concat = require('gulp-concat');
|
||||
const exec = require('child_process').exec;
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
|
||||
require('@build/cssProject')(__dirname);
|
||||
|
||||
|
@ -41,6 +42,15 @@ const ab = () => {
|
|||
}
|
||||
};
|
||||
|
||||
const hopscotch = () => gulp.src([
|
||||
'dist/js/hopscotch.min.js',
|
||||
'dist/**/*.min.css',
|
||||
'dist/img/*'
|
||||
], {
|
||||
cwd: path.dirname(require.resolve('hopscotch/package.json')),
|
||||
cwdbase: true
|
||||
}).pipe(gulp.dest('../../public/vendor/hopscotch/'));
|
||||
|
||||
const stockfishJs = () => gulp.src([
|
||||
require.resolve('stockfish.js/stockfish.wasm.js'),
|
||||
require.resolve('stockfish.js/stockfish.wasm'),
|
||||
|
@ -132,7 +142,7 @@ const clas = singlePackage('./src/clas.js', 'clas.js');
|
|||
|
||||
const deps = makeDependencies('lichess.deps.js');
|
||||
|
||||
const tasks = [gitSha, jqueryFill, ab, standalonesJs, userMod, clas, stockfishWasm, stockfishMvWasm, stockfishJs, deps];
|
||||
const tasks = [gitSha, jqueryFill, ab, standalonesJs, userMod, clas, stockfishWasm, stockfishMvWasm, stockfishJs, deps, hopscotch];
|
||||
|
||||
const dev = gulp.series(tasks.concat([devSource]));
|
||||
|
||||
|
|
|
@ -8,20 +8,21 @@
|
|||
"devDependencies": {
|
||||
"@build/cssProject": "2.0.0",
|
||||
"browserify": "^16",
|
||||
"gulp": "^4",
|
||||
"gulp-terser": "^1",
|
||||
"gulp-size": "^3",
|
||||
"gulp-concat": "^2.6",
|
||||
"fancy-log": "^1",
|
||||
"tsify": "^4.0.0",
|
||||
"vinyl-source-stream": "^2",
|
||||
"vinyl-buffer": "^1",
|
||||
"watchify": "^3",
|
||||
"request": "^2",
|
||||
"gulp": "^4",
|
||||
"gulp-concat": "^2.6",
|
||||
"gulp-download-stream": "^0.0",
|
||||
"typescript": "^3"
|
||||
"gulp-size": "^3",
|
||||
"gulp-terser": "^1",
|
||||
"request": "^2",
|
||||
"tsify": "^4.0.0",
|
||||
"typescript": "^3",
|
||||
"vinyl-buffer": "^1",
|
||||
"vinyl-source-stream": "^2",
|
||||
"watchify": "^3"
|
||||
},
|
||||
"dependencies": {
|
||||
"hopscotch": "^0.3.1",
|
||||
"stockfish-mv.wasm": "^0.2.0",
|
||||
"stockfish.js": "^10.0.2",
|
||||
"stockfish.wasm": "^0.6.1",
|
||||
|
|
|
@ -2249,6 +2249,11 @@ homedir-polyfill@^1.0.1:
|
|||
dependencies:
|
||||
parse-passwd "^1.0.0"
|
||||
|
||||
hopscotch@^0.3.1:
|
||||
version "0.3.1"
|
||||
resolved "https://registry.yarnpkg.com/hopscotch/-/hopscotch-0.3.1.tgz#0663a5a9b42d4307666a9404c02c6f1eac0a6584"
|
||||
integrity sha1-BmOlqbQtQwdmapQEwCxvHqwKZYQ=
|
||||
|
||||
hosted-git-info@^2.1.4:
|
||||
version "2.8.8"
|
||||
resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.8.tgz#7539bd4bc1e0e0a895815a2e0262420b12858488"
|
||||
|
|
Loading…
Reference in New Issue