Skip to content

Commit

Permalink
build: update deps, scripts (#1399)
Browse files Browse the repository at this point in the history
  • Loading branch information
bigopon committed Apr 25, 2022
1 parent 84bd37b commit a19ed3a
Show file tree
Hide file tree
Showing 75 changed files with 26,701 additions and 37,521 deletions.
29 changes: 17 additions & 12 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,14 +205,23 @@ jobs:

unit_test_esm_node:
executor: docker-circleci
parallelism: 4
steps:
- checkout_install
- checkout
- run: echo 'export PREFERRED_WORKSPACE_MANAGER=yarn' >> $BASH_ENV
- run: npm ci
- run: npm run build:test
- run:
name: "Split test glob"
command: |
cd packages/__tests__
echo $(circleci tests glob "dist/**/*.spec.js" | circleci tests split)
echo $(circleci tests glob "dist/**/*.spec.js" | circleci tests split) > tests.txt
- run:
name: "Run unit tests"
command: |
cd packages/__tests__
npm run test-node
npm run ::mocha -- $(cat tests.txt)
unit_test_cjs:
parameters:
Expand Down Expand Up @@ -317,7 +326,9 @@ jobs:
- run:
name: "Authenticate with registry"
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
- run: npm run publish:<< parameters.channel >>
- run: |
npm ci
npm run publish:<< parameters.channel >>
# Standalone playwright test jobs
e2e_playwright:
Expand Down Expand Up @@ -481,12 +492,12 @@ jobs:
echo "Non doc file changes: $(git diff --name-only $COMMIT_RANGE | grep -v '^doc' -c)"
if [[ $(git diff --name-only $COMMIT_RANGE | grep -v '*' -c) -gt 0 ]] && [[ $(git diff --name-only $COMMIT_RANGE | grep -v '^doc' -c) -eq 0 ]]; then
echo "Branch is only doc work, cancelling..."
echo "There is only doc work, cancelling workflow..."
curl --request POST \
--url https://circleci.com/api/v2/workflow/$CIRCLE_WORKFLOW_ID/cancel?circle-token=$CIRCLE_API_TOKEN
else
echo "Branch contains more than doc, running workflow $CIRCLE_WORKFLOW_ID..."
echo "There are more than doc changes, running workflow $CIRCLE_WORKFLOW_ID..."
fi
# # # # # # # # # # # # # # # #
Expand Down Expand Up @@ -576,13 +587,7 @@ workflows:
<<: *filter_only_topic
name: merge_and_dist_topic
requires:
- unit_test_esm_chrome
- unit_test_esm_firefox
- unit_test_esm_node
- unit_test_cjs
# - lint_packages
- jit-webpack-conventions-ts
- jit-webpack-vanilla-ts
- check_doc_abort
from: master
to: develop
channel: dev
Expand Down
6 changes: 3 additions & 3 deletions examples/1kcomponents/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
},
"devDependencies": {
"@aurelia/http-server": "2.0.0-alpha.28",
"webpack": "^5.10.3",
"webpack-bundle-analyzer": "^4.4.2",
"webpack-cli": "^4.2.0"
"webpack": "^5.72.0",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.9.2"
}
}
26 changes: 13 additions & 13 deletions examples/base-url/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,25 @@
"devDependencies": {
"@aurelia/testing": "latest",
"@aurelia/webpack-loader": "latest",
"@types/node": "^14.14.35",
"@typescript-eslint/eslint-plugin": "^4.19.0",
"@typescript-eslint/parser": "^4.19.0",
"autoprefixer": "^10.2.5",
"css-loader": "^5.1.3",
"eslint": "^7.22.0",
"@types/node": "^14.18.14",
"@typescript-eslint/eslint-plugin": "^5.20.0",
"@typescript-eslint/parser": "^5.20.0",
"autoprefixer": "^10.4.5",
"css-loader": "^6.7.1",
"eslint": "^8.14.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.3.1",
"html-webpack-plugin": "^5.5.0",
"htmlhint": "^0.14.2",
"postcss": "^8.2.8",
"postcss-loader": "^5.2.0",
"postcss-loader": "^6.2.1",
"rimraf": "^3.0.2",
"style-loader": "^2.0.0",
"ts-loader": "^8.0.18",
"style-loader": "^3.3.1",
"ts-loader": "^9.2.8",
"typescript": "^4.2.3",
"url-loader": "^4.1.1",
"webpack": "^5.27.2",
"webpack-bundle-analyzer": "^4.4.0",
"webpack-cli": "^4.5.0",
"webpack": "^5.72.0",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^3.11.2"
},
"scripts": {
Expand Down
22 changes: 10 additions & 12 deletions examples/doc-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,22 @@
"@aurelia/route-recognizer": "2.0.0-alpha.28",
"@aurelia/router-lite": "2.0.0-alpha.28",
"@aurelia/runtime": "2.0.0-alpha.28",
"@aurelia/runtime-html": "2.0.0-alpha.28",
"promise-polyfill": "^8.1.3"
"@aurelia/runtime-html": "2.0.0-alpha.28"
},
"devDependencies": {
"@aurelia/http-server": "2.0.0-alpha.28",
"@aurelia/webpack-loader": "2.0.0-alpha.28",
"@types/node": "^14.11.5",
"@types/node": "^14.18.14",
"babel-eslint": "^10.1.0",
"css-loader": "^5.2.7",
"eslint": "^8.11.0",
"html-webpack-plugin": "^5.0.0-beta.1",
"css-loader": "^6.7.1",
"html-webpack-plugin": "^5.5.0",
"rimraf": "^3.0.0",
"style-loader": "^2.0.0",
"ts-loader": "^8.0.12",
"typescript": "^4.6.2",
"webpack": "^5.10.3",
"webpack-cli": "^4.2.0",
"webpack-dev-server": "^4.0.0-rc.0"
"style-loader": "^3.3.1",
"ts-loader": "^9.2.8",
"typescript": "^4.6.3",
"webpack": "^5.72.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.8.1"
},
"scripts": {
"start": "webpack-dev-server",
Expand Down
6 changes: 3 additions & 3 deletions examples/fractals-tree/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
},
"devDependencies": {
"@aurelia/http-server": "2.0.0-alpha.28",
"webpack-cli": "^4.2.0",
"webpack": "^5.10.3",
"webpack-bundle-analyzer": "^4.4.2"
"webpack-cli": "^4.9.2",
"webpack": "^5.72.0",
"webpack-bundle-analyzer": "^4.5.0"
}
}
6 changes: 3 additions & 3 deletions examples/helloworld/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
},
"devDependencies": {
"@aurelia/http-server": "2.0.0-alpha.15",
"webpack-cli": "^4.2.0",
"webpack": "^5.10.3",
"webpack-bundle-analyzer": "^4.4.2"
"webpack-cli": "^4.9.2",
"webpack": "^5.72.0",
"webpack-bundle-analyzer": "^4.5.0"
}
}
15 changes: 7 additions & 8 deletions examples/jit-webpack-conventions-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"version": "0.8.0",
"scripts": {
"watch": "webpack-dev-server",
"watch": "webpack serve",
"build": "rimraf dist && webpack",
"serve": "au-http-server au.conf.js"
},
Expand All @@ -25,13 +25,12 @@
"devDependencies": {
"@aurelia/http-server": "dev",
"rimraf": "^3.0.0",
"webpack": "^5.10.3",
"webpack-cli": "^4.2.0",
"webpack-dev-server": "^4.0.0-beta.0",
"html-webpack-plugin": "^5.0.0-beta.1",
"webpack": "^5.72.0",
"webpack-cli": "^4.9.2",
"html-webpack-plugin": "^5.5.0",
"@aurelia/webpack-loader": "dev",
"ts-loader": "^8.0.12",
"@types/node": "^14.11.5",
"typescript": "^4.0.3"
"ts-loader": "^9.2.8",
"@types/node": "^14.18.14",
"typescript": "^4.6.3"
}
}
6 changes: 3 additions & 3 deletions examples/jit-webpack-conventions-ts/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ module.exports = function (env, { mode }) {
mainFields: ['module', 'main'],
// sadly these fallbacks are required to run the app via webpack-dev-server
fallback: {
'html-entities': require.resolve('html-entities/'),
'url': require.resolve('url/'),
'events': require.resolve('events/'),
'html-entities': require.resolve('html-entities'),
'url': require.resolve('url'),
'events': require.resolve('events'),
},
},
devServer: {
Expand Down
15 changes: 7 additions & 8 deletions examples/jit-webpack-vanilla-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"version": "0.8.0",
"scripts": {
"watch": "webpack-dev-server",
"watch": "webpack serve",
"build": "rimraf dist && webpack",
"serve": "au-http-server au.conf.js"
},
Expand All @@ -24,14 +24,13 @@
},
"devDependencies": {
"@aurelia/http-server": "dev",
"@types/node": "^14.11.5",
"@types/node": "^14.18.14",
"html-loader": "^1.3.2",
"html-webpack-plugin": "^5.0.0-beta.1",
"html-webpack-plugin": "^5.5.0",
"rimraf": "^3.0.0",
"ts-loader": "^8.0.12",
"typescript": "^4.0.3",
"webpack-cli": "^4.2.0",
"webpack-dev-server": "^4.0.0-beta.0",
"webpack": "^5.10.3"
"ts-loader": "^9.2.8",
"typescript": "^4.6.3",
"webpack-cli": "^4.9.2",
"webpack": "^5.72.0"
}
}
6 changes: 3 additions & 3 deletions examples/jit-webpack-vanilla-ts/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ module.exports = function (env, { mode }) {
mainFields: ['module', 'main'],
// sadly these fallbacks are required to run the app via webpack-dev-server
fallback: {
'html-entities': require.resolve('html-entities/'),
'url': require.resolve('url/'),
'events': require.resolve('events/'),
'html-entities': require.resolve('html-entities'),
'url': require.resolve('url'),
'events': require.resolve('events'),
},
},
devServer: {
Expand Down
22 changes: 11 additions & 11 deletions examples/lazy-loading-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,24 @@
"@aurelia/testing": "latest",
"@aurelia/webpack-loader": "latest",
"@types/node": "^15.12.4",
"@typescript-eslint/eslint-plugin": "^4.27.0",
"@typescript-eslint/parser": "^4.27.0",
"autoprefixer": "^10.2.6",
"css-loader": "^5.2.6",
"eslint": "^7.29.0",
"@typescript-eslint/eslint-plugin": "^5.20.0",
"@typescript-eslint/parser": "^5.20.0",
"autoprefixer": "^10.4.5",
"css-loader": "^6.7.1",
"eslint": "^8.14.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.3.1",
"html-webpack-plugin": "^5.5.0",
"htmlhint": "^0.15.1",
"postcss": "^8.3.5",
"postcss-loader": "^6.1.0",
"postcss-loader": "^6.2.1",
"rimraf": "^3.0.2",
"style-loader": "^2.0.0",
"style-loader": "^3.3.1",
"ts-loader": "^9.2.3",
"typescript": "^4.3.4",
"url-loader": "^4.1.1",
"webpack": "^5.39.1",
"webpack-bundle-analyzer": "^4.4.2",
"webpack-cli": "^4.7.2",
"webpack": "^5.72.0",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^3.11.2"
},
"scripts": {
Expand Down
18 changes: 9 additions & 9 deletions examples/navigation-skeleton/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,19 @@
},
"devDependencies": {
"@aurelia/http-server": "2.0.0-alpha.28",
"@types/node": "^14.11.5",
"css-loader": "^5.2.7",
"@types/node": "^14.18.14",
"css-loader": "^6.7.1",
"file-loader": "^6.2.0",
"html-loader": "^1.3.2",
"html-webpack-plugin": "^5.0.0-beta.1",
"html-webpack-plugin": "^5.5.0",
"rimraf": "^3.0.0",
"style-loader": "^2.0.0",
"ts-loader": "^8.0.12",
"typescript": "^4.6.2",
"style-loader": "^3.3.1",
"ts-loader": "^9.2.8",
"typescript": "^4.6.3",
"url-loader": "^4.1.1",
"webpack": "^5.10.3",
"webpack-cli": "^4.2.0",
"webpack-dev-server": "^4.0.0-rc.0"
"webpack": "^5.72.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.8.1"
},
"engines": {
"node": ">=14.15.0",
Expand Down
4 changes: 2 additions & 2 deletions examples/rainbow-spiral/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"devDependencies": {
"@aurelia/http-server": "2.0.0-alpha.28",
"webpack-cli": "^4.2.0",
"webpack": "^5.10.3"
"webpack-cli": "^4.9.2",
"webpack": "^5.72.0"
}
}
26 changes: 13 additions & 13 deletions examples/realworld-advanced/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,24 @@
"license": "MIT",
"dependencies": {
"aurelia": "2.0.0-alpha.28",
"marked": "^4.0.10"
"marked": "^4.0.14"
},
"type": "module",
"devDependencies": {
"@aurelia/testing": "2.0.0-alpha.28",
"@types/mocha": "^8.0.3",
"@types/node": "^14.11.5",
"css-loader": "^5.2.7",
"html-webpack-plugin": "^5.0.0-beta.1",
"mocha": "^8.4.0",
"playwright": "^1.14.0",
"@types/mocha": "^9.1.1",
"@types/node": "^14.18.14",
"css-loader": "^6.7.1",
"html-webpack-plugin": "^5.5.0",
"mocha": "^9.2.2",
"playwright": "^1.21.1",
"rimraf": "^3.0.0",
"style-loader": "^2.0.0",
"ts-loader": "^8.0.12",
"typescript": "^4.6.2",
"webpack": "^5.10.3",
"webpack-cli": "^4.2.0",
"webpack-dev-server": "^4.0.0-rc.0"
"style-loader": "^3.3.1",
"ts-loader": "^9.2.8",
"typescript": "^4.6.3",
"webpack": "^5.72.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.8.1"
},
"scripts": {
"start": "webpack-dev-server",
Expand Down

0 comments on commit a19ed3a

Please sign in to comment.