build: switched from yarn to npm
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Dylan R. E. Moonfire 2023-01-26 08:19:00 -06:00
parent 836e81edc8
commit 3975d553fe
7 changed files with 17514 additions and 4608 deletions

View file

@ -16,7 +16,6 @@
pkgs.nodejs-16_x
pkgs.nixfmt
pkgs.python39Full
pkgs.yarn
pkgs.nodePackages.lerna
];
};

17504
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -27,13 +27,13 @@
},
"scripts": {
"barrels": "barrelsby --delete --location all --directory src --exclude '(tests|cli|tools)'",
"prebuild": "yarn run barrels && yarn run lint && yarn run format && yarn run clean",
"prebuild": "run-s barrels lint format clean",
"build": "tsc",
"clean": "rimraf lib",
"commitmsg": "commitlint -E GIT_PARAMS",
"format": "prettier src --write \"**/*.ts\" --loglevel warn",
"lint": "eslint -c .eslintrc.yml src/**/*.ts --fix",
"prepack": "yarn run build",
"prepack": "npm run build",
"prepare": "husky install"
},
"dependencies": {
@ -48,6 +48,7 @@
"@commitlint/cli": "^17.4.2",
"@commitlint/config-conventional": "^17.4.2",
"@semantic-release/changelog": "^6.0.2",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^9.0.2",
"@types/lodash": "^4.14.116",
@ -61,6 +62,7 @@
"eslint": "^8.0.0",
"eslint-plugin-typescript": "^0.12.0",
"husky": "^8.0.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.3",
"rimraf": "^4.1.2",
"semantic-release": "^19.0.5",

View file

@ -7,5 +7,5 @@ cd $(dirname $(dirname $0))
./scripts/setup.sh || exit 1
log "running Yarn build"
yarn run build
log "running NPM build"
npm run build

View file

@ -8,4 +8,4 @@ cd $(dirname $(dirname $0))
./scripts/setup.sh || exit 1
log "running semantic-release"
yarn run semantic-release
npm run semantic-release

View file

@ -7,8 +7,8 @@ cd $(dirname $(dirname $0))
if [ -d node_modules ]
then
log "node_modules exists, not installing Yarn packages"
log "node_modules exists, not installing Node packages"
else
log "installing Yarn packages"
yarn install --frozen-lockfile
log "installing Node packages"
npm install --ci
fi

4599
yarn.lock

File diff suppressed because it is too large Load diff