Skip to content

Commit

Permalink
chore(deps): update
Browse files Browse the repository at this point in the history
  • Loading branch information
Airkro committed Sep 19, 2024
1 parent 5fff312 commit b653b70
Show file tree
Hide file tree
Showing 9 changed files with 317 additions and 300 deletions.
15 changes: 9 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,20 @@
"workspaces": [
"packages/*"
],
"dependencies": {
"playwright-core": "^1.47.1"
},
"devDependencies": {
"@nice-move/cli": "^0.11.14",
"@nice-move/eslint-config-base": "^0.11.13",
"@nice-move/cli": "^0.11.16",
"@nice-move/eslint-config-base": "^0.11.21",
"@nice-move/prettier-config": "^0.12.5",
"@nice-move/syncpack-config": "^0.2.6",
"@nice-move/syncpack-config": "^0.2.8",
"@nice-move/tsconfig": "^0.2.5",
"best-shot": "0.7.2",
"eslint": "^8.57.0",
"best-shot": "0.7.4",
"eslint": "^8.57.1",
"garou": "^0.7.8",
"prettier": "^3.3.3",
"syncpack": "^12.4.0",
"syncpack": "^13.0.0",
"typescript": "~5.5.4"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/.best-shot/config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const config = {
target: 'node16',
target: 'node18',
output: {
path: 'dist',
module: true,
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bring-it/cli",
"version": "0.9.8",
"version": "0.9.9",
"description": "Common command line interface of 'bring-it'",
"license": "MIT",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion packages/npm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"prepublishOnly": "pnpm run build"
},
"devDependencies": {
"execa": "^9.3.1",
"execa": "^9.4.0",
"ini": "^4.1.3",
"is-url": "^1.2.4",
"semver": "^7.6.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/sample/.best-shot/config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const config = {
target: 'node16',
target: 'node18',
output: {
path: 'dist',
module: true,
Expand Down
10 changes: 5 additions & 5 deletions packages/sample/lib/lib/pdf.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ function html([string]) {
const style = html`<style>
header {
display: flex;
font-family: 'Noto Sans Mono CJK SC', monospace;
margin: 0 5%;
width: 92%;
font-size: 8pt;
font-family: 'Noto Sans Mono CJK SC', monospace;
text-align: center;
width: 92%;
margin: 0 5%;
}
.title {
margin-right: auto;
Expand All @@ -28,7 +28,7 @@ const style = html`<style>

export async function pdf(data, config) {
const { chromium: instance } = await import(
/* webpackIgnore: true */ // eslint-disable-next-line import/no-unresolved
/* webpackIgnore: true */
'playwright-core'
);

Expand All @@ -50,7 +50,7 @@ export async function pdf(data, config) {
footerTemplate: ' ',
};

await page.waitForFunction(() => globalThis.document.title);
await page.waitForFunction(() => globalThis.document.title, 50 * 1000);

await page.pdf({
path: join(
Expand Down
2 changes: 1 addition & 1 deletion packages/sample/lib/lib/picker.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export async function picker(lists, config) {
export function scan(config) {
return globby(config.pattern, {
cwd: config.cwd,
ignore: [...defaultIgnore, ...config.ignore],
ignore: [...defaultIgnore, ...config.ignore, '**/.bring-it/**'],
gitignore: true,
onlyFiles: true,
dot: true,
Expand Down
10 changes: 8 additions & 2 deletions packages/sample/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bring-it/sample",
"version": "0.4.8",
"version": "0.4.9",
"description": "Generate code sample files",
"license": "MIT",
"author": {
Expand Down Expand Up @@ -42,7 +42,13 @@
"globby": "^14.0.2"
},
"peerDependencies": {
"@bring-it/cli": "workspace:~"
"@bring-it/cli": "workspace:~",
"playwright-core": ">=1.46.0"
},
"peerDependenciesMeta": {
"playwright-core": {
"optional": true
}
},
"engines": {
"node": ">=22.0.0 || ^18.20.0 || ^20.4.0"
Expand Down
Loading

0 comments on commit b653b70

Please sign in to comment.