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

View file

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

View file

@ -8,4 +8,4 @@ cd $(dirname $(dirname $0))
./scripts/setup.sh || exit 1 ./scripts/setup.sh || exit 1
log "running semantic-release" 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 ] if [ -d node_modules ]
then then
log "node_modules exists, not installing Yarn packages" log "node_modules exists, not installing Node packages"
else else
log "installing Yarn packages" log "installing Node packages"
yarn install --frozen-lockfile npm install --ci
fi fi

4599
yarn.lock

File diff suppressed because it is too large Load diff