Skip to content

Commit

Permalink
added some yarn plugins
Browse files Browse the repository at this point in the history
trying to fix cicd build
  • Loading branch information
npenin committed Jul 19, 2021
1 parent 3cc892f commit ed185f0
Show file tree
Hide file tree
Showing 24 changed files with 279 additions and 115 deletions.
32 changes: 32 additions & 0 deletions .akala/.build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages

name: build

on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- name: Install yarn
run: |
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update
sudo apt-get install yarn
- name: Install Packages
run: yarn install
- name: Compile
run: yarn tsc -b packages
77 changes: 77 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-version.cjs

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions .yarn/versions/01ae2eee.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
undecided:
- "@akala/authentication"
- "@akala/automate"
- automate-yamlloader
- "@akala/cli"
- "@akala/client"
- "@akala/commands"
- "@akala/config"
- "@akala/core"
- "@akala/cron"
- "@akala/dashboard"
- akala-docker
- "@akala/json-rpc-ws"
- "@akala/pages"
- "@akala/pm"
- "@akala/server"
- "@akala/storage"
11 changes: 9 additions & 2 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
yarnPath: ".yarn/releases/yarn-berry.cjs"
nodeLinker: node-modules
nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-version.cjs
spec: "@yarnpkg/plugin-version"
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"

yarnPath: .yarn/releases/yarn-berry.cjs
6 changes: 3 additions & 3 deletions packages/authentication/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"@akala/server": "*"
},
"dependencies": {
"@akala/storage": "workspace:packages/storage",
"@akala/storage": "workspace:*",
"co-body": "^6.1.0",
"connect-ensure-login": "^0.1.1",
"oauth2orize": "^1.11.0",
Expand All @@ -24,7 +24,7 @@
"homepage": "https://akala.js.org/authentication",
"main": "dist/server/index.js",
"devDependencies": {
"@akala/server": "workspace:packages/server",
"@akala/server": "workspace:*",
"@types/co-body": "^5.1.0",
"@types/connect-ensure-login": "^0.1.4",
"@types/debug": "^4.1.6",
Expand All @@ -38,7 +38,7 @@
"@types/uuid": "^8.3.1",
"typescript": "^4.3.5"
},
"version": "0.3.77",
"version": "0.4.0",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 0"
},
Expand Down
11 changes: 5 additions & 6 deletions packages/automate-yamlloader/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "automate-yamlloader",
"version": "0.0.0",
"name": "@akala/automate-yamlloader",
"version": "0.1.0",
"description": "> TODO: description",
"author": "npenin <[email protected]>",
"repository": {
Expand All @@ -11,13 +11,12 @@
"license": "BSD-3-Clause",
"main": "dist/index.js",
"commands": "commands.json",
"private": true,
"bugs": {
"url": "https://github.com/npenin/akala/issues"
},
"dependencies": {
"@akala/automate": "workspace:packages/automate",
"@akala/config": "workspace:packages/config",
"@akala/pm": "workspace:packages/pm"
"@akala/automate": "workspace:*",
"@akala/config": "workspace:*",
"@akala/pm": "workspace:*"
}
}
16 changes: 8 additions & 8 deletions packages/automate/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@akala/automate",
"version": "0.0.18",
"version": "0.1.0",
"main": "dist/automate.js",
"commands": {
"@akala/automate": "commands.json",
Expand All @@ -23,12 +23,12 @@
},
"gitHead": "afe8c192d4975f51ed95b2921da95b767be3879c",
"dependencies": {
"@akala/commands": "workspace:packages/commands",
"@akala/config": "workspace:packages/config",
"@akala/core": "workspace:packages/core",
"@akala/json-rpc-ws": "^9.1.44",
"@akala/pm": "workspace:packages/pm",
"@akala/server": "workspace:packages/server",
"@akala/commands": "workspace:*",
"@akala/config": "workspace:*",
"@akala/core": "workspace:*",
"@akala/json-rpc-ws": "^9.2.0",
"@akala/pm": "workspace:*",
"@akala/server": "workspace:*",
"orchestrator": "^0.3.8"
}
}
}
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@akala/cli",
"version": "1.0.29",
"version": "1.1.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"author": "Nicolas Penin <[email protected]>",
Expand All @@ -11,7 +11,7 @@
},
"homepage": "https://akala.js.org/cli",
"dependencies": {
"@akala/core": "workspace:packages/core",
"@akala/core": "workspace:*",
"mock-require": "^3.0.3",
"reflect-metadata": "^0.1.13"
},
Expand Down
8 changes: 4 additions & 4 deletions packages/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@akala/client",
"version": "5.0.47",
"version": "5.1.0",
"description": "",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand All @@ -18,9 +18,9 @@
"author": "npenin",
"license": "BSD-3-Clause",
"devDependencies": {
"@akala/commands": "workspace:packages/commands",
"@akala/core": "workspace:packages/core",
"@akala/json-rpc-ws": "^9.1.44",
"@akala/commands": "workspace:*",
"@akala/core": "workspace:*",
"@akala/json-rpc-ws": "^9.2.0",
"@types/content-type": "^1.1.3",
"@types/mime": "^2.0.1",
"@types/orchestrator": "0.3.2",
Expand Down
8 changes: 4 additions & 4 deletions packages/commands/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@akala/commands",
"version": "1.0.40",
"version": "2.1.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": "https://github.com/npenin/akala",
Expand Down Expand Up @@ -38,9 +38,9 @@
"instrument": true
},
"dependencies": {
"@akala/cli": "workspace:packages/cli",
"@akala/core": "workspace:packages/core",
"@akala/json-rpc-ws": "^9.1.44",
"@akala/cli": "workspace:*",
"@akala/core": "workspace:*",
"@akala/json-rpc-ws": "^9.2.0",
"debug": "^4.1.1",
"path-to-regexp": "^6.1.0",
"reflect-metadata": "^0.1.13",
Expand Down
8 changes: 4 additions & 4 deletions packages/config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@akala/config",
"version": "0.2.45",
"version": "0.3.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"author": "Nicolas Penin <[email protected]>",
Expand All @@ -12,11 +12,11 @@
},
"homepage": "https://akala.js.org/config",
"optionalDependencies": {
"@akala/pm": "workspace:packages/pm"
"@akala/pm": "workspace:*"
},
"dependencies": {
"@akala/commands": "workspace:packages/commands",
"@akala/core": "workspace:packages/core"
"@akala/commands": "workspace:*",
"@akala/core": "workspace:*"
},
"devDependencies": {
"typescript": "^4.3.5"
Expand Down
3 changes: 3 additions & 0 deletions packages/config/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"references": [
{
"path": "../commands"
},
{
"path": "../pm"
}
]
}
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@akala/core",
"version": "7.0.34",
"version": "7.1.0",
"description": "",
"main": "dist/index.js",
"scripts": {
Expand Down Expand Up @@ -32,7 +32,7 @@
},
"types": "dist/index.d.ts",
"dependencies": {
"@akala/json-rpc-ws": "^9.1.44",
"@akala/json-rpc-ws": "^9.2.0",
"browser-process-hrtime": "^1.0.0",
"debug": "^4.1.1",
"isomorphic-fetch": "^3.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/cron/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@akala/cron",
"version": "0.0.27",
"version": "0.1.0",
"main": "dist/index.js",
"author": "npenin",
"license": "BSD-3-Clause",
Expand All @@ -13,7 +13,7 @@
"generate": "ac generate dist/commands commands.json"
},
"dependencies": {
"@akala/commands": "workspace:packages/commands",
"@akala/commands": "workspace:*",
"debug": "^4.3.1"
},
"devDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions packages/dashboard/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@akala/dashboard",
"version": "1.2.77",
"version": "1.3.0",
"description": "",
"private": true,
"main": "dist/server/index.js",
Expand All @@ -23,15 +23,15 @@
"license": "BSD-3-Clause",
"types": "dist/server/index.d.ts",
"dependencies": {
"@akala/core": "workspace:packages/core",
"@akala/server": "workspace:packages/server",
"@akala/core": "workspace:*",
"@akala/server": "workspace:*",
"reflect-metadata": "^0.1.13"
},
"peerDependencies": {
"@akala/pages": "*"
},
"devDependencies": {
"@akala/client": "workspace:packages/client",
"@akala/client": "workspace:*",
"@fortawesome/fontawesome-common-types": "^0.2.19",
"@popperjs/core": "^2.8.4",
"@types/debug": "^4.1.6",
Expand Down
4 changes: 2 additions & 2 deletions packages/docker/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "akala-docker",
"version": "0.2.70",
"version": "0.3.0",
"private": true,
"dependencies": {
"@akala/pm": "workspace:packages/pm",
"@akala/pm": "workspace:*",
"yarn": "^1.22.4"
}
}
2 changes: 1 addition & 1 deletion packages/json-rpc-ws/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@akala/json-rpc-ws",
"version": "9.1.44",
"version": "9.2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/npenin/akala.git"
Expand Down
6 changes: 3 additions & 3 deletions packages/pages/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@akala/pages",
"version": "0.2.77",
"version": "0.3.0",
"main": "dist/server/index.js",
"types": "dist/server/index.d.ts",
"author": "npenin <[email protected]>",
Expand All @@ -13,8 +13,8 @@
},
"homepage": "https://akala.js.org/pages",
"dependencies": {
"@akala/core": "workspace:packages/core",
"@akala/server": "workspace:packages/server",
"@akala/core": "workspace:*",
"@akala/server": "workspace:*",
"reflect-metadata": "^0.1.13"
},
"devDependencies": {
Expand Down
10 changes: 5 additions & 5 deletions packages/pm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"pm": "dist/cli.js",
"pm-fork": "dist/fork.js"
},
"version": "2.1.69",
"version": "2.2.0",
"scripts": {
"test": "echo 1",
"ac": "ac generate dist/commands commands.json",
Expand All @@ -18,10 +18,10 @@
},
"homepage": "https://akala.js.org/pm",
"dependencies": {
"@akala/cli": "workspace:packages/cli",
"@akala/commands": "workspace:packages/commands",
"@akala/core": "workspace:packages/core",
"@akala/json-rpc-ws": "^9.1.44",
"@akala/cli": "workspace:*",
"@akala/commands": "workspace:*",
"@akala/core": "workspace:*",
"@akala/json-rpc-ws": "^9.2.0",
"debug": "^4.1.1",
"mock-require": "^3.0.3",
"reflect-metadata": "^0.1.13",
Expand Down
10 changes: 5 additions & 5 deletions packages/server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@akala/server",
"version": "6.1.77",
"version": "6.2.0",
"description": "",
"main": "dist/index.js",
"scripts": {
Expand Down Expand Up @@ -39,10 +39,10 @@
"typescript": "^4.3.5"
},
"dependencies": {
"@akala/commands": "workspace:packages/commands",
"@akala/core": "workspace:packages/core",
"@akala/json-rpc-ws": "^9.1.44",
"@akala/pm": "workspace:packages/pm",
"@akala/commands": "workspace:*",
"@akala/core": "workspace:*",
"@akala/json-rpc-ws": "^9.2.0",
"@akala/pm": "workspace:*",
"chokidar": "^3.5.2",
"co-body": "^6.1.0",
"cookie": "^0.4.1",
Expand Down
Loading

0 comments on commit ed185f0

Please sign in to comment.