Skip to content

Commit

Permalink
deps(packemon): Update to v1. (#151)
Browse files Browse the repository at this point in the history
* Set to legacy.

* Fix formats.

* Change index.

* Ignore engines.

* Use newer version.
  • Loading branch information
milesj committed Jul 11, 2021
1 parent 4bb9cdf commit 7ffd612
Show file tree
Hide file tree
Showing 17 changed files with 44 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [10, 12, 14, 15]
node-version: [10, 12, 14, 16]
fail-fast: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: yarn install --ignore-engines --frozen-lockfile
- run: yarn global add packemon@0.14.3 --force
- run: yarn global add packemon@1.1.0 --force --ignore-engines
- run: yarn run build
- run: yarn run type
- run: yarn run coverage
Expand All @@ -31,7 +31,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- run: yarn install --ignore-engines --frozen-lockfile
- run: yarn global add packemon@0.14.3 --force
- run: yarn global add packemon@1.1.0 --force --ignore-engines
- run: yarn run pack
docs:
name: Docs
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ coverage/
dts/
esm/
lib/
mjs/
node_modules/

# Custom
Expand Down
2 changes: 2 additions & 0 deletions packages/args/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
"levenary": "^1.1.1"
},
"packemon": {
"format": "lib",
"support": "legacy",
"platform": "node"
}
}
2 changes: 2 additions & 0 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@
"index": "src/index.ts",
"test": "src/test.ts"
},
"format": "lib",
"support": "legacy",
"platform": "node"
}
}
2 changes: 2 additions & 0 deletions packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@
"url": "https://ko-fi.com/milesjohnson"
},
"packemon": {
"format": "lib",
"support": "legacy",
"platform": "node"
}
}
10 changes: 3 additions & 7 deletions packages/common/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,24 @@ import PackageGraph from './PackageGraph';
import Path from './Path';
import PathResolver from './PathResolver';
import Project from './Project';
import * as json from './serializers/json';
import * as yaml from './serializers/yaml';

export * from './constants';
export * from './helpers';
export * as json from './serializers/json';
export * as yaml from './serializers/yaml';
export * from './types';
export * from '@boost/decorators';

export {
Blueprint,
CommonError,
Contract,
ExitError,
json,
optimal,
PackageGraph,
Path,
PathResolver,
Predicates,
predicates,
Project,
yaml,
};

export type { CommonErrorCode };
export type { Blueprint, CommonErrorCode, Predicates };
2 changes: 2 additions & 0 deletions packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
"url": "https://ko-fi.com/milesjohnson"
},
"packemon": {
"format": "lib",
"support": "legacy",
"platform": "node"
}
}
2 changes: 2 additions & 0 deletions packages/debug/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@
"index": "src/index.ts",
"test": "src/test.ts"
},
"format": "lib",
"support": "legacy",
"platform": "node"
}
}
5 changes: 5 additions & 0 deletions packages/decorators/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@
"url": "https://ko-fi.com/milesjohnson"
},
"packemon": {
"format": [
"lib",
"esm"
],
"support": "legacy",
"platform": [
"browser",
"node"
Expand Down
5 changes: 5 additions & 0 deletions packages/event/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@
"url": "https://ko-fi.com/milesjohnson"
},
"packemon": {
"format": [
"lib",
"esm"
],
"support": "legacy",
"platform": [
"browser",
"node"
Expand Down
5 changes: 5 additions & 0 deletions packages/internal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
"url": "https://ko-fi.com/milesjohnson"
},
"packemon": {
"format": [
"lib",
"esm"
],
"support": "legacy",
"platform": [
"browser",
"node"
Expand Down
2 changes: 2 additions & 0 deletions packages/log/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@
"index": "src/index.ts",
"test": "src/test.ts"
},
"format": "lib",
"support": "legacy",
"platform": "node"
}
}
2 changes: 2 additions & 0 deletions packages/pipeline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@
"url": "https://ko-fi.com/milesjohnson"
},
"packemon": {
"format": "lib",
"support": "legacy",
"platform": "node"
}
}
2 changes: 2 additions & 0 deletions packages/plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@
"@types/pluralize": "^0.0.29"
},
"packemon": {
"format": "lib",
"support": "legacy",
"platform": "node"
}
}
2 changes: 2 additions & 0 deletions packages/terminal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@
"url": "https://ko-fi.com/milesjohnson"
},
"packemon": {
"format": "lib",
"support": "legacy",
"platform": "node"
}
}
2 changes: 2 additions & 0 deletions packages/test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
"url": "https://ko-fi.com/milesjohnson"
},
"packemon": {
"format": "lib",
"support": "legacy",
"platform": "node"
}
}
2 changes: 2 additions & 0 deletions packages/translate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
"url": "https://ko-fi.com/milesjohnson"
},
"packemon": {
"format": "lib",
"support": "legacy",
"platform": "node"
}
}

0 comments on commit 7ffd612

Please sign in to comment.