Skip to content

Commit de9b53e

Browse files
committed
chore: hoist devDependencies
1 parent 95d0c54 commit de9b53e

File tree

7 files changed

+487
-5161
lines changed

7 files changed

+487
-5161
lines changed

.github/workflows/main.yml

+7-16
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,19 @@
1-
# This is a basic workflow to help you get started with Actions
2-
31
name: Tests
42

5-
# Controls when the action will run.
63
on:
7-
# Triggers the workflow on push or pull request events but only for the master branch
84
push:
9-
branches: [ master ]
5+
branches:
6+
- master
7+
- main
108
pull_request:
11-
branches: [ master ]
12-
13-
# Allows you to run this workflow manually from the Actions tab
14-
workflow_dispatch:
9+
branches:
10+
- master
11+
- main
1512

16-
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1713
jobs:
18-
# This workflow contains a single job called "build"
1914
test:
20-
# The type of runner that the job will run on
2115
runs-on: ubuntu-latest
2216

23-
# Steps represent a sequence of tasks that will be executed as part of the job
2417
steps:
2518
- uses: actions/checkout@v2
2619
- uses: actions/setup-node@v2-beta
@@ -32,6 +25,4 @@ jobs:
3225
run: yarn --frozen-lockfile
3326

3427
- name: Run Tests
35-
run: |
36-
npm test --prefix packages/analyzer
37-
npm test --prefix packages/to-markdown
28+
run: yarn test

package.json

+20-2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,31 @@
22
"name": "@custom-elements-manifest/root",
33
"private": true,
44
"license": "MIT",
5+
"type": "module",
56
"repository": {
67
"type": "git",
78
"url": "https://github.com/open-wc/custom-elements-manifest.git"
89
},
9-
"scripts": {},
10+
"scripts": {
11+
"test": "yarn workspaces run test"
12+
},
1013
"dependencies": {},
11-
"devDependencies": {},
14+
"devDependencies": {
15+
"@rollup/plugin-commonjs": "^19.0.0",
16+
"@rollup/plugin-node-resolve": "^13.0.0",
17+
"@rollup/plugin-replace": "^2.4.2",
18+
"@small-tech/esm-tape-runner": "^1.0.3",
19+
"custom-elements-manifest": "^1.0.0",
20+
"esbuild": "^0.12.15",
21+
"nodemon": "^2.0.4",
22+
"npm-run-all": "^4.1.5",
23+
"rollup": "^2.50.5",
24+
"rollup-plugin-terser": "^7.0.2",
25+
"tap-spec": "^5.0.0",
26+
"tape": "^5.2.2",
27+
"uvu": "^0.5.1",
28+
"watchexec-bin": "^1.0.0"
29+
},
1230
"workspaces": [
1331
"packages/*"
1432
]

0 commit comments

Comments
 (0)