638969cd01
* yarn first go * fix frontend build cache loader * yarn workspaces built server Docker * build(yarn): add workspaces plugin config * chore(package defs): clean package*.json -s * chore(gitignore): ignore yarn error log * build(yarn): update yarn lock * build(preview-service webpack): add extra resolved path to preview service webpack config because of yarn package hoisting, there are no package level node_modules folder anymore. * build(docker): update dockerignore with yarn specific configs * build(docker): update Dockerfiles for yarn workspaces utilization * ci(circleci): update server test job to yarn * ci(circle): disable cache restore * ci(circleci): trying the node orb yarn-run * ci(circleci): yarn-run again * ci(circleci): disable node orb * ci(circleci): change base node image for tests * ci(circleci): add yarn cache * ci(circleci): remove node install step * ci(circleci): add server specific cache archives * ci(circleci): test build and publish * ci(circleci): change npm auth method to suit yarn * ci(circleci): trying new builder image * ci(circleci): another base image, maybe this works * ci(circleci): force a specific docker engine version * ci(circleci): add yarn version plugin and its changes * ci(circleci): cleanup and remove temp branch config * chore(package defs): moving from npm run to yarn * explicitly specifying webpack4 as a frontend dep * chore(package defs): replace npm with yarn everywhere * docs(root readme): update with some yarn specific docs * chore(root workspace): update dev scripts and package lock * ci(circleci): enable package publish step with yarn Co-authored-by: Fabians <fabis94@live.com>
46 lines
1.4 KiB
JSON
46 lines
1.4 KiB
JSON
{
|
|
"packageManager": "yarn@3.2.0",
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"name": "root",
|
|
"private": true,
|
|
"engines": {
|
|
"node": ">=14.0.0 <17.0.0"
|
|
},
|
|
"scripts": {
|
|
"build": "yarn workspaces foreach -ptv run build",
|
|
"build:public": "yarn workspaces foreach -ptv --no-private run build",
|
|
"lint": "eslint . --ext .js,.ts,.vue --max-warnings=0",
|
|
"prettier:check": "prettier --check .",
|
|
"prettier:fix": "prettier --write .",
|
|
"docker:deps:up": "docker-compose -f ./docker-compose-deps.yml up -d",
|
|
"docker:deps:down": "docker-compose -f ./docker-compose-deps.yml down",
|
|
"dev": "yarn workspaces foreach -piv -j unlimited run dev",
|
|
"dev:no-server": "yarn workspaces foreach --exclude @speckle/server -piv -j unlimited run dev",
|
|
"dev:minimal": "yarn workspaces foreach -piv -j unlimited --include '{@speckle/server,@speckle/frontend}' run dev",
|
|
"prepare": "husky install",
|
|
"postinstall": "husky install",
|
|
"cm": "cz"
|
|
},
|
|
"devDependencies": {
|
|
"@types/eslint": "^8.4.1",
|
|
"commitizen": "^4.2.4",
|
|
"cz-conventional-changelog": "^3.3.0",
|
|
"eslint": "^8.11.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"husky": "^7.0.4",
|
|
"lint-staged": "^12.3.7",
|
|
"prettier": "^2.5.1"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "cz-conventional-changelog"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts,vue}": "eslint --cache --max-warnings=0",
|
|
"*.**": "prettier --check --ignore-unknown"
|
|
}
|
|
}
|