mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 11:10:54 +00:00
Setup turborepo
This commit is contained in:
parent
3cc1ba3368
commit
6f2613cc5c
1
.gitignore
vendored
1
.gitignore
vendored
@ -10,3 +10,4 @@ coverage/
|
|||||||
.vscode/
|
.vscode/
|
||||||
dist.zip
|
dist.zip
|
||||||
packages/jspsych/README.md
|
packages/jspsych/README.md
|
||||||
|
.turbo
|
||||||
|
43
package-lock.json
generated
43
package-lock.json
generated
@ -14,7 +14,8 @@
|
|||||||
"import-sort-style-module": "^6.0.0",
|
"import-sort-style-module": "^6.0.0",
|
||||||
"lint-staged": "^11.1.2",
|
"lint-staged": "^11.1.2",
|
||||||
"prettier": "^2.3.2",
|
"prettier": "^2.3.2",
|
||||||
"prettier-plugin-import-sort": "^0.0.7"
|
"prettier-plugin-import-sort": "^0.0.7",
|
||||||
|
"turbo": "^1.0.6"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=14.0.0",
|
"node": ">=14.0.0",
|
||||||
@ -14763,6 +14764,19 @@
|
|||||||
"node": ">=8"
|
"node": ">=8"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/turbo": {
|
||||||
|
"version": "1.0.6",
|
||||||
|
"resolved": "https://registry.npmjs.org/turbo/-/turbo-1.0.6.tgz",
|
||||||
|
"integrity": "sha512-sAbPHCm8usX3a27WHfWmAqt+wHxk/5Z6tqLqqI1MIzFoSEtmLZWyXOTxpi+60fwfwivOdW97cTsrZbkezVhGyw==",
|
||||||
|
"dev": true,
|
||||||
|
"hasInstallScript": true,
|
||||||
|
"dependencies": {
|
||||||
|
"zlib": "^1.0.5"
|
||||||
|
},
|
||||||
|
"bin": {
|
||||||
|
"turbo": "bin/turbo"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/type": {
|
"node_modules/type": {
|
||||||
"version": "1.2.0",
|
"version": "1.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz",
|
||||||
@ -15817,6 +15831,16 @@
|
|||||||
"url": "https://github.com/sponsors/sindresorhus"
|
"url": "https://github.com/sponsors/sindresorhus"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/zlib": {
|
||||||
|
"version": "1.0.5",
|
||||||
|
"resolved": "https://registry.npmjs.org/zlib/-/zlib-1.0.5.tgz",
|
||||||
|
"integrity": "sha1-bnyXL8NxxkWmr7A6sUdp3vEU/MA=",
|
||||||
|
"dev": true,
|
||||||
|
"hasInstallScript": true,
|
||||||
|
"engines": {
|
||||||
|
"node": ">=0.2.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"packages/config": {
|
"packages/config": {
|
||||||
"name": "@jspsych/config",
|
"name": "@jspsych/config",
|
||||||
"version": "1.1.0",
|
"version": "1.1.0",
|
||||||
@ -15947,7 +15971,6 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^1.1.0",
|
"@jspsych/config": "^1.1.0",
|
||||||
"@jspsych/test-utils": "^1.1.1",
|
|
||||||
"@types/dom-mediacapture-record": "^1.0.11"
|
"@types/dom-mediacapture-record": "^1.0.11"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -24542,7 +24565,6 @@
|
|||||||
"version": "file:packages/jspsych",
|
"version": "file:packages/jspsych",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@jspsych/config": "^1.1.0",
|
"@jspsych/config": "^1.1.0",
|
||||||
"@jspsych/test-utils": "^1.1.1",
|
|
||||||
"@types/dom-mediacapture-record": "^1.0.11",
|
"@types/dom-mediacapture-record": "^1.0.11",
|
||||||
"auto-bind": "^4.0.0",
|
"auto-bind": "^4.0.0",
|
||||||
"random-words": "^1.1.1"
|
"random-words": "^1.1.1"
|
||||||
@ -28158,6 +28180,15 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"turbo": {
|
||||||
|
"version": "1.0.6",
|
||||||
|
"resolved": "https://registry.npmjs.org/turbo/-/turbo-1.0.6.tgz",
|
||||||
|
"integrity": "sha512-sAbPHCm8usX3a27WHfWmAqt+wHxk/5Z6tqLqqI1MIzFoSEtmLZWyXOTxpi+60fwfwivOdW97cTsrZbkezVhGyw==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"zlib": "^1.0.5"
|
||||||
|
}
|
||||||
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"version": "1.2.0",
|
"version": "1.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz",
|
||||||
@ -28995,6 +29026,12 @@
|
|||||||
"resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
|
||||||
"integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
|
"integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
|
||||||
"dev": true
|
"dev": true
|
||||||
|
},
|
||||||
|
"zlib": {
|
||||||
|
"version": "1.0.5",
|
||||||
|
"resolved": "https://registry.npmjs.org/zlib/-/zlib-1.0.5.tgz",
|
||||||
|
"integrity": "sha1-bnyXL8NxxkWmr7A6sUdp3vEU/MA=",
|
||||||
|
"dev": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
23
package.json
23
package.json
@ -7,10 +7,10 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"test:watch": "npm test -- --watch",
|
"test:watch": "npm test -- --watch",
|
||||||
"build": "npm run build -w jspsych && npm run build -ws",
|
"build": "turbo run build",
|
||||||
"build:archive": "gulp createCoreDistArchive",
|
"build:archive": "gulp createCoreDistArchive",
|
||||||
"prepare": "husky install && npm run build",
|
"prepare": "husky install && npm run build",
|
||||||
"tsc": "npm run tsc -ws",
|
"tsc": "turbo tsc",
|
||||||
"changeset": "changeset",
|
"changeset": "changeset",
|
||||||
"release": "changeset publish"
|
"release": "changeset publish"
|
||||||
},
|
},
|
||||||
@ -25,7 +25,8 @@
|
|||||||
"import-sort-style-module": "^6.0.0",
|
"import-sort-style-module": "^6.0.0",
|
||||||
"lint-staged": "^11.1.2",
|
"lint-staged": "^11.1.2",
|
||||||
"prettier": "^2.3.2",
|
"prettier": "^2.3.2",
|
||||||
"prettier-plugin-import-sort": "^0.0.7"
|
"prettier-plugin-import-sort": "^0.0.7",
|
||||||
|
"turbo": "^1.0.6"
|
||||||
},
|
},
|
||||||
"prettier": {
|
"prettier": {
|
||||||
"printWidth": 100
|
"printWidth": 100
|
||||||
@ -43,5 +44,21 @@
|
|||||||
"projects": [
|
"projects": [
|
||||||
"<rootDir>/packages/*/jest.config.cjs"
|
"<rootDir>/packages/*/jest.config.cjs"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"turbo": {
|
||||||
|
"baseBranch": "origin/main",
|
||||||
|
"pipeline": {
|
||||||
|
"build": {
|
||||||
|
"dependsOn": [
|
||||||
|
"^build"
|
||||||
|
],
|
||||||
|
"outputs": [
|
||||||
|
"dist/**"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"tsc": {
|
||||||
|
"outputs": []
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -27,10 +27,6 @@
|
|||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=14.0.0"
|
"node": ">=14.0.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
|
||||||
"build": "",
|
|
||||||
"tsc": ""
|
|
||||||
},
|
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/jspsych/jsPsych.git",
|
"url": "git+https://github.com/jspsych/jsPsych.git",
|
||||||
|
@ -44,7 +44,6 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^1.1.0",
|
"@jspsych/config": "^1.1.0",
|
||||||
"@jspsych/test-utils": "^1.1.1",
|
|
||||||
"@types/dom-mediacapture-record": "^1.0.11"
|
"@types/dom-mediacapture-record": "^1.0.11"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user