Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release v5.0.1 @W-14455228 #3856

Merged
merged 5 commits into from
Nov 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 77 additions & 2 deletions .github/workflows/karma.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ on:
env:
SAUCE_USERNAME: ${{secrets.SAUCE_USERNAME}}
SAUCE_ACCESS_KEY: ${{secrets.SAUCE_ACCESS_KEY}}
SAUCE_TUNNEL_ID: github-action-tunnel-integration-${{github.run_id}}
PUPPETEER_SKIP_DOWNLOAD: "true" # only needed for @best/runner-local, unused here
COVERAGE: "1"

jobs:
run-karma-tests:
run-karma-tests-group-1:
runs-on: ubuntu-22.04
env:
SAUCE_TUNNEL_ID: github-action-tunnel-integration-${{github.run_id}}-group-1
defaults:
run:
working-directory: ./packages/@lwc/integration-karma
Expand Down Expand Up @@ -57,6 +58,40 @@ jobs:
- run: ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE=1 DISABLE_SYNTHETIC=1 yarn sauce:ci
- run: API_VERSION=58 yarn sauce:ci
- run: API_VERSION=58 DISABLE_SYNTHETIC=1 yarn sauce:ci

- name: Upload coverage results
uses: actions/upload-artifact@v3
with:
name: coverage-report-group-1
path: ./packages/@lwc/integration-karma/coverage

run-karma-tests-group-2:
runs-on: ubuntu-22.04
env:
SAUCE_TUNNEL_ID: github-action-tunnel-integration-${{github.run_id}}-group-2
defaults:
run:
working-directory: ./packages/@lwc/integration-karma
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "18.18.0"
cache: 'yarn'

- name: Install dependencies
run: yarn install --frozen-lockfile
working-directory: ./

- uses: saucelabs/sauce-connect-action@v2
with:
username: ${{ secrets.SAUCE_USERNAME }}
accessKey: ${{ secrets.SAUCE_ACCESS_KEY }}
tunnelName: ${{ env.SAUCE_TUNNEL_ID }}

- run: API_VERSION=59 yarn sauce:ci
- run: API_VERSION=59 DISABLE_SYNTHETIC=1 yarn sauce:ci
- run: ENABLE_ARIA_REFLECTION_GLOBAL_POLYFILL=1 yarn sauce:ci
Expand All @@ -67,4 +102,44 @@ jobs:
- run: NODE_ENV_FOR_TEST=production yarn sauce:ci
- run: NODE_ENV_FOR_TEST=production DISABLE_SYNTHETIC=1 yarn sauce:ci
- run: yarn hydration:sauce:ci

- name: Upload coverage results
uses: actions/upload-artifact@v3
with:
name: coverage-report-group-2
path: ./packages/@lwc/integration-karma/coverage

run-karma-tests:
runs-on: ubuntu-22.04
defaults:
run:
working-directory: ./packages/@lwc/integration-karma
needs:
- run-karma-tests-group-1
- run-karma-tests-group-2
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "18.18.0"
cache: 'yarn'

- name: Install dependencies
run: yarn install --frozen-lockfile
working-directory: ./

- name: Download coverage results - group 1
uses: actions/download-artifact@v3
with:
name: coverage-report-group-1
path: ./packages/@lwc/integration-karma/coverage
- name: Download coverage results - group 2
uses: actions/download-artifact@v3
with:
name: coverage-report-group-2
path: ./packages/@lwc/integration-karma/coverage

- run: yarn coverage
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lwc-monorepo",
"version": "5.0.0",
"version": "5.0.1",
"private": true,
"description": "Lightning Web Components",
"repository": {
Expand Down Expand Up @@ -62,7 +62,7 @@
"magic-string": "^0.30.4",
"nx": "16.9.1",
"prettier": "^2.8.8",
"rollup": "^3.29.4",
"rollup": "^4.2.0",
"terser": "^5.21.0",
"ts-jest": "^29.1.1",
"tslib": "^2.6.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/@lwc/aria-reflection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
],
"name": "@lwc/aria-reflection",
"version": "5.0.0",
"version": "5.0.1",
"description": "ARIA element reflection polyfill for strings",
"keywords": [
"aom",
Expand Down
6 changes: 3 additions & 3 deletions packages/@lwc/babel-plugin-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
],
"name": "@lwc/babel-plugin-component",
"version": "5.0.0",
"version": "5.0.1",
"description": "Babel plugin to transform a LWC module",
"keywords": [
"lwc"
Expand Down Expand Up @@ -43,8 +43,8 @@
},
"dependencies": {
"@babel/helper-module-imports": "7.22.15",
"@lwc/errors": "5.0.0",
"@lwc/shared": "5.0.0",
"@lwc/errors": "5.0.1",
"@lwc/shared": "5.0.1",
"line-column": "~1.0.2"
},
"devDependencies": {
Expand Down
12 changes: 6 additions & 6 deletions packages/@lwc/compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
],
"name": "@lwc/compiler",
"version": "5.0.0",
"version": "5.0.1",
"description": "LWC compiler",
"keywords": [
"lwc"
Expand Down Expand Up @@ -48,10 +48,10 @@
"@babel/plugin-proposal-object-rest-spread": "7.20.7",
"@babel/plugin-transform-async-to-generator": "7.22.5",
"@locker/babel-plugin-transform-unforgeables": "0.20.0",
"@lwc/babel-plugin-component": "5.0.0",
"@lwc/errors": "5.0.0",
"@lwc/shared": "5.0.0",
"@lwc/style-compiler": "5.0.0",
"@lwc/template-compiler": "5.0.0"
"@lwc/babel-plugin-component": "5.0.1",
"@lwc/errors": "5.0.1",
"@lwc/shared": "5.0.1",
"@lwc/style-compiler": "5.0.1",
"@lwc/template-compiler": "5.0.1"
}
}
6 changes: 3 additions & 3 deletions packages/@lwc/engine-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
],
"name": "@lwc/engine-core",
"version": "5.0.0",
"version": "5.0.1",
"description": "Core LWC engine APIs.",
"keywords": [
"lwc"
Expand Down Expand Up @@ -42,8 +42,8 @@
}
},
"dependencies": {
"@lwc/features": "5.0.0",
"@lwc/shared": "5.0.0"
"@lwc/features": "5.0.1",
"@lwc/shared": "5.0.1"
},
"devDependencies": {
"observable-membrane": "2.0.0"
Expand Down
6 changes: 3 additions & 3 deletions packages/@lwc/engine-dom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
],
"name": "@lwc/engine-dom",
"version": "5.0.0",
"version": "5.0.1",
"description": "Renders LWC components in a DOM environment.",
"keywords": [
"lwc"
Expand Down Expand Up @@ -42,8 +42,8 @@
}
},
"devDependencies": {
"@lwc/engine-core": "5.0.0",
"@lwc/shared": "5.0.0"
"@lwc/engine-core": "5.0.1",
"@lwc/shared": "5.0.1"
},
"lwc": {
"modules": [
Expand Down
8 changes: 4 additions & 4 deletions packages/@lwc/engine-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
],
"name": "@lwc/engine-server",
"version": "5.0.0",
"version": "5.0.1",
"description": "Renders LWC components in a server environment.",
"keywords": [
"lwc"
Expand Down Expand Up @@ -42,9 +42,9 @@
}
},
"devDependencies": {
"@lwc/engine-core": "5.0.0",
"@lwc/rollup-plugin": "5.0.0",
"@lwc/shared": "5.0.0",
"@lwc/engine-core": "5.0.1",
"@lwc/rollup-plugin": "5.0.1",
"@lwc/shared": "5.0.1",
"@rollup/plugin-virtual": "^3.0.1",
"parse5": "^7.1.2",
"@parse5/tools": "^0.3.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/@lwc/engine-server/src/__tests__/fixtures.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import fs from 'fs';
import path from 'path';

import { rollup, RollupWarning } from 'rollup';
import { rollup, RollupLog } from 'rollup';
// @ts-ignore
import lwcRollupPlugin from '@lwc/rollup-plugin';
import { isVoidElement, HTML_NAMESPACE } from '@lwc/shared';
Expand All @@ -30,7 +30,7 @@ async function compileFixture({ input, dirname }: { input: string; dirname: stri
const modulesDir = path.resolve(dirname, './modules');
const outputFile = path.resolve(dirname, './dist/compiled.js');
// TODO [#3331]: this is only needed to silence warnings on lwc:dynamic, remove in 246.
const warnings: RollupWarning[] = [];
const warnings: RollupLog[] = [];

const bundle = await rollup({
input,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import path from 'path';
import vm from 'vm';
import { parseFragment, serialize } from 'parse5';
import { rollup, RollupWarning } from 'rollup';
import { rollup, RollupLog } from 'rollup';
import replace from '@rollup/plugin-replace';
import virtual from '@rollup/plugin-virtual';
import lwcRollupPlugin from '@lwc/rollup-plugin';
Expand All @@ -31,7 +31,7 @@ async function compileComponent(tagName: string, componentName: string) {
componentName.split('/')[1] + '.js'
);

const warnings: RollupWarning[] = [];
const warnings: RollupLog[] = [];

const bundle = await rollup({
input: '__entry__',
Expand Down
2 changes: 1 addition & 1 deletion packages/@lwc/errors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
],
"name": "@lwc/errors",
"version": "5.0.0",
"version": "5.0.1",
"description": "LWC Error Utilities",
"keywords": [
"lwc"
Expand Down
4 changes: 2 additions & 2 deletions packages/@lwc/features/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
],
"name": "@lwc/features",
"version": "5.0.0",
"version": "5.0.1",
"description": "LWC Features Flags",
"keywords": [
"lwc"
Expand Down Expand Up @@ -42,6 +42,6 @@
}
},
"dependencies": {
"@lwc/shared": "5.0.0"
"@lwc/shared": "5.0.1"
}
}
12 changes: 6 additions & 6 deletions packages/@lwc/integration-karma/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@lwc/integration-karma",
"private": true,
"version": "5.0.0",
"version": "5.0.1",
"scripts": {
"start": "KARMA_MODE=watch karma start ./scripts/karma-configs/test/local.js",
"test": "karma start ./scripts/karma-configs/test/local.js --single-run --browsers ChromeHeadless",
Expand All @@ -18,11 +18,11 @@
"karma-sauce-launcher-fix-firefox": "using a fork to work around https://github.com/karma-runner/karma-sauce-launcher/issues/275"
},
"devDependencies": {
"@lwc/compiler": "5.0.0",
"@lwc/engine-dom": "5.0.0",
"@lwc/engine-server": "5.0.0",
"@lwc/rollup-plugin": "5.0.0",
"@lwc/synthetic-shadow": "5.0.0",
"@lwc/compiler": "5.0.1",
"@lwc/engine-dom": "5.0.1",
"@lwc/engine-server": "5.0.1",
"@lwc/rollup-plugin": "5.0.1",
"@lwc/synthetic-shadow": "5.0.1",
"chokidar": "^3.5.3",
"istanbul-lib-coverage": "^3.2.0",
"istanbul-lib-report": "^3.0.1",
Expand Down
6 changes: 3 additions & 3 deletions packages/@lwc/integration-tests/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@lwc/integration-tests",
"private": true,
"version": "5.0.0",
"version": "5.0.1",
"scripts": {
"build": "node scripts/build.js",
"build:dev": "MODE=dev yarn build",
Expand All @@ -16,7 +16,7 @@
"sauce:prod:ci": "MODE=prod yarn build:prod && MODE=prod ../../../scripts/ci/retry.sh wdio ./scripts/wdio.sauce.conf.js"
},
"devDependencies": {
"@lwc/rollup-plugin": "5.0.0",
"@lwc/rollup-plugin": "5.0.1",
"@wdio/cli": "^8.16.20",
"@wdio/local-runner": "^8.16.20",
"@wdio/mocha-framework": "^8.16.17",
Expand All @@ -25,7 +25,7 @@
"@wdio/static-server-service": "^8.16.17",
"deepmerge": "^4.3.0",
"dotenv": "^16.3.1",
"lwc": "5.0.0",
"lwc": "5.0.1",
"minimist": "^1.2.8",
"webdriverio": "^8.16.20"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/@lwc/module-resolver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
],
"name": "@lwc/module-resolver",
"version": "5.0.0",
"version": "5.0.1",
"description": "Resolves paths for LWC components",
"keywords": [
"lwc"
Expand Down
4 changes: 2 additions & 2 deletions packages/@lwc/perf-benchmarks-components/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "@lwc/perf-benchmarks-components",
"version": "5.0.0",
"version": "5.0.1",
"private": true,
"scripts": {
"build": "rm -fr dist && rollup -c ./rollup.config.mjs"
},
"devDependencies": {
"@lwc/rollup-plugin": "5.0.0"
"@lwc/rollup-plugin": "5.0.1"
},
"nx": {
"targets": {
Expand Down
3 changes: 1 addition & 2 deletions packages/@lwc/perf-benchmarks/best.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ module.exports = {
// https://github.com/salesforce/best/commit/6190687cce0559f1ed7678d70763c911a0f96610
metrics: ['script'],
plugins: [
// Best is currently using an older version of Rollup, so we use an older @rollup/plugin-node-resolve
'@lwc/rollup-plugin-node-resolve-legacy',
'@rollup/plugin-node-resolve',
[
'@rollup/plugin-replace',
{
Expand Down
Loading