mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Bumps [@playwright/test](https://github.com/Microsoft/playwright) from 1.37.1 to 1.38.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Microsoft/playwright/releases"><code>@playwright/test</code>'s releases</a>.</em></p> <blockquote> <h2>v1.38.0</h2> <h2>UI Mode Updates</h2> <p><img src="https://github.com/microsoft/playwright/assets/746130/8ba27be0-58fd-4f62-8561-950480610369" alt="Playwright UI Mode" /></p> <ol> <li>Zoom into time range.</li> <li>Network panel redesign.</li> </ol> <h2>New APIs</h2> <ul> <li>[<code>browserContext.on('weberror')</code>]</li> <li>[<code>locator.pressSequentially()</code>]</li> <li>The [<code>reporter.onEnd()</code>] now reports <code>startTime</code> and total run <code>duration</code>.</li> </ul> <h2>Deprecations</h2> <ul> <li>The following methods were deprecated: [<code>page.type()</code>], [<code>frame.type()</code>], [<code>locator.type()</code>] and [<code>elementHandle.type()</code>]. Please use [<code>locator.fill()</code>] instead which is much faster. Use [<code>locator.pressSequentially()</code>] only if there is a special keyboard handling on the page, and you need to press keys one-by-one.</li> <li>The method [<code>expect(value).toMatchSnapshot()</code>] is deprecated in favor of [<code>expect(page).toHaveScreenshot()</code>] and [<code>expect(locator).toHaveScreenshot()</code>].</li> </ul> <h2>Breaking Changes: Playwright no longer downloads browsers automatically</h2> <blockquote> <p>[!NOTE] If you are using <code>@playwright/test</code> package, this change <strong>does not</strong> affect you.</p> </blockquote> <p>Playwright recommends to use <code>@playwright/test</code> package and download browsers via <code>npx playwright install</code> command. If you are following this recommendation, nothing has changed for you.</p> <p>However, up to v1.38, installing the <code>playwright</code> package instead of <code>@playwright/test</code> did automatically download browsers. This is no longer the case, and we recommend to explicitly download browsers via <code>npx playwright install</code> command.</p> <p><strong>v1.37 and earlier</strong></p> <p><code>playwright</code> package was downloading browsers during <code>npm install</code>, while <code>@playwright/test</code> was not.</p> <p><strong>v1.38 and later</strong></p> <p><code>playwright</code> and <code>@playwright/test</code> packages do not download browsers during <code>npm install</code>.</p> <p><strong>Recommended migration</strong></p> <p>Run <code>npx playwright install</code> to download browsers after <code>npm install</code>. For example, in your CI configuration:</p> <pre lang="yml"><code>- run: npm ci - run: npx playwright install --with-deps </code></pre> <p><strong>Alternative migration option - not recommended</strong></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="da997ee8c0"><code>da997ee</code></a> cherry-pick(<a href="https://redirect.github.com/Microsoft/playwright/issues/27067">#27067</a>): docs: fix line wrapping in release notes</li> <li><a href="94b6fe1bdb"><code>94b6fe1</code></a> chore: mark 1.38.0 (<a href="https://redirect.github.com/Microsoft/playwright/issues/27030">#27030</a>)</li> <li><a href="55cf8eae25"><code>55cf8ea</code></a> cherry-pick(<a href="https://redirect.github.com/Microsoft/playwright/issues/27028">#27028</a>): docs: add release notes for 1.38</li> <li><a href="a0a099fe4a"><code>a0a099f</code></a> cherry-pick(<a href="https://redirect.github.com/Microsoft/playwright/issues/27049">#27049</a>): feat(webkit): roll to r1908 (<a href="https://redirect.github.com/Microsoft/playwright/issues/27055">#27055</a>)</li> <li><a href="cd8b12c0d5"><code>cd8b12c</code></a> cherry-pick(<a href="https://redirect.github.com/Microsoft/playwright/issues/27041">#27041</a>): feat(chromium): roll to r1080 (<a href="https://redirect.github.com/Microsoft/playwright/issues/27045">#27045</a>)</li> <li><a href="9981f1418a"><code>9981f14</code></a> cherry-pick(<a href="https://redirect.github.com/Microsoft/playwright/issues/27008">#27008</a>): chore: polish ui mode for better mac appearance</li> <li><a href="5f78f27a7a"><code>5f78f27</code></a> cherry-pick(<a href="https://redirect.github.com/Microsoft/playwright/issues/27006">#27006</a>): chore: document new onEnd params</li> <li><a href="7c838653d6"><code>7c83865</code></a> chore: fix the split view, reset window on timeline click (<a href="https://redirect.github.com/Microsoft/playwright/issues/27007">#27007</a>)</li> <li><a href="d9eabda09d"><code>d9eabda</code></a> fix(locators): escape quotes in regular expressions (<a href="https://redirect.github.com/Microsoft/playwright/issues/27002">#27002</a>)</li> <li><a href="6bbc09c96c"><code>6bbc09c</code></a> chore: show channel name in trace viewer metadata (<a href="https://redirect.github.com/Microsoft/playwright/issues/26987">#26987</a>)</li> <li>Additional commits viewable in <a href="https://github.com/Microsoft/playwright/compare/v1.37.1...v1.38.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: ionitron <hi@ionicframework.com> Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>
116 lines
3.8 KiB
JSON
116 lines
3.8 KiB
JSON
{
|
|
"name": "@ionic/core",
|
|
"version": "7.4.0",
|
|
"description": "Base components for Ionic",
|
|
"keywords": [
|
|
"ionic",
|
|
"framework",
|
|
"stencil",
|
|
"mobile",
|
|
"app",
|
|
"webapp",
|
|
"capacitor",
|
|
"cordova",
|
|
"electron",
|
|
"progressive web app",
|
|
"pwa"
|
|
],
|
|
"main": "dist/index.cjs.js",
|
|
"module": "dist/index.js",
|
|
"es2015": "dist/esm/index.js",
|
|
"es2017": "dist/esm/index.js",
|
|
"jsnext:main": "dist/esm/index.js",
|
|
"collection:main": "dist/collection/index.js",
|
|
"collection": "dist/collection/collection-manifest.json",
|
|
"types": "dist/types/interface.d.ts",
|
|
"files": [
|
|
"components/",
|
|
"css/",
|
|
"dist/",
|
|
"hydrate/",
|
|
"loader/"
|
|
],
|
|
"dependencies": {
|
|
"@stencil/core": "^4.2.1",
|
|
"ionicons": "7.1.0",
|
|
"tslib": "^2.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@axe-core/playwright": "^4.7.3",
|
|
"@capacitor/core": "^5.3.0",
|
|
"@capacitor/haptics": "^5.0.6",
|
|
"@capacitor/keyboard": "^5.0.6",
|
|
"@capacitor/status-bar": "^5.0.6",
|
|
"@ionic/eslint-config": "^0.3.0",
|
|
"@ionic/prettier-config": "^2.0.0",
|
|
"@jest/core": "^27.5.1",
|
|
"@playwright/test": "^1.38.0",
|
|
"@rollup/plugin-node-resolve": "^8.4.0",
|
|
"@rollup/plugin-virtual": "^2.0.3",
|
|
"@stencil/angular-output-target": "^0.8.2",
|
|
"@stencil/react-output-target": "^0.5.3",
|
|
"@stencil/sass": "^3.0.5",
|
|
"@stencil/vue-output-target": "^0.8.6",
|
|
"@types/jest": "^27.5.2",
|
|
"@types/node": "^14.6.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.17.0",
|
|
"@typescript-eslint/parser": "^5.17.0",
|
|
"clean-css-cli": "^5.6.1",
|
|
"domino": "^2.1.6",
|
|
"eslint": "^7.32.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-custom-rules": "file:custom-rules",
|
|
"execa": "^5.0.0",
|
|
"fs-extra": "^9.0.1",
|
|
"jest": "^27.5.1",
|
|
"jest-cli": "^27.5.1",
|
|
"prettier": "^2.6.1",
|
|
"rollup": "^2.26.4",
|
|
"sass": "^1.26.10",
|
|
"serve": "^14.0.1",
|
|
"stylelint": "^13.13.1",
|
|
"stylelint-order": "^4.1.0",
|
|
"typescript": "^4.0.5"
|
|
},
|
|
"scripts": {
|
|
"build": "npm run clean && npm run build.css && stencil build --es5 --docs-json dist/docs.json",
|
|
"build.css": "npm run css.sass && npm run css.minify",
|
|
"build.debug": "npm run clean && stencil build --debug",
|
|
"build.docs.json": "stencil build --docs-json dist/docs.json",
|
|
"clean": "node scripts/clean.js",
|
|
"css.minify": "cleancss -O2 -o ./css/ionic.bundle.css ./css/ionic.bundle.css",
|
|
"css.sass": "sass --embed-sources src/css:./css",
|
|
"eslint": "eslint src",
|
|
"lint": "npm run lint.ts && npm run lint.sass && npm run prettier -- --write --cache",
|
|
"lint.fix": "npm run lint.ts.fix && npm run lint.sass.fix && npm run prettier -- --write --cache",
|
|
"lint.sass": "stylelint \"src/**/*.scss\"",
|
|
"lint.sass.fix": "npm run lint.sass -- --fix",
|
|
"lint.ts": "npm run eslint",
|
|
"lint.ts.fix": "npm run eslint -- --fix",
|
|
"prerelease": "npm run validate && np prerelease --yolo --any-branch --tag next",
|
|
"prerender.e2e": "node scripts/testing/prerender.js",
|
|
"prettier": "prettier \"./src/**/*.{html,ts,tsx,js,jsx}\"",
|
|
"start": "npm run build.css && stencil build --dev --watch --serve",
|
|
"test": "npm run test.spec && npm run test.e2e",
|
|
"test.spec": "stencil test --spec --max-workers=2",
|
|
"test.spec.debug": "npx --node-arg=\"--inspect-brk\" stencil test --spec",
|
|
"test.e2e": "npx playwright test",
|
|
"test.watch": "jest --watch --no-cache",
|
|
"test.treeshake": "node scripts/treeshaking.js dist/index.js",
|
|
"validate": "npm run lint && npm run test && npm run build && npm run test.treeshake"
|
|
},
|
|
"author": "Ionic Team",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/ionic-team/ionic-framework.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/ionic-team/ionic/issues"
|
|
},
|
|
"homepage": "https://ionicframework.com/",
|
|
"jest": {
|
|
"preset": "@stencil/core/testing"
|
|
}
|
|
}
|