From f7caccca0f19c336b200081c9f201bfa8d85eb32 Mon Sep 17 00:00:00 2001 From: Jonghyeon Ko Date: Tue, 12 Sep 2023 03:51:43 +0900 Subject: [PATCH] ci(changeset): add jsdoc for test releaser (#6) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Test Versioning add jsdoc for test auto-version --------- Co-authored-by: tommy(정충일) --- .changeset/config.json | 2 +- .changeset/itchy-cougars-mix.md | 5 +++ .vscode/settings.json | 2 +- package.json | 1 - packages/image/src/index.ts | 4 ++- pnpm-lock.yaml | 32 +++++++++--------- pnpm-workspace.yaml | 1 - {demo => websites/demo-image}/index.html | 0 {demo => websites/demo-image}/package.json | 0 .../demo-image}/public/information_resize.png | Bin .../public/information_resize.webp | Bin .../demo-image}/public/options_resize.png | Bin {demo => websites/demo-image}/src/main.ts | 0 .../demo-image}/src/vite-env.d.ts | 0 {demo => websites/demo-image}/tsconfig.json | 0 15 files changed, 26 insertions(+), 21 deletions(-) create mode 100644 .changeset/itchy-cougars-mix.md rename {demo => websites/demo-image}/index.html (100%) rename {demo => websites/demo-image}/package.json (100%) rename {demo => websites/demo-image}/public/information_resize.png (100%) rename {demo => websites/demo-image}/public/information_resize.webp (100%) rename {demo => websites/demo-image}/public/options_resize.png (100%) rename {demo => websites/demo-image}/src/main.ts (100%) rename {demo => websites/demo-image}/src/vite-env.d.ts (100%) rename {demo => websites/demo-image}/tsconfig.json (100%) diff --git a/.changeset/config.json b/.changeset/config.json index ab848d1..03691a3 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -7,5 +7,5 @@ "access": "restricted", "baseBranch": "main", "updateInternalDependencies": "patch", - "ignore": [] + "ignore": ["@fepack/demo-image"] } diff --git a/.changeset/itchy-cougars-mix.md b/.changeset/itchy-cougars-mix.md new file mode 100644 index 0000000..d1053e5 --- /dev/null +++ b/.changeset/itchy-cougars-mix.md @@ -0,0 +1,5 @@ +--- +"@fepack/image": patch +--- + +ci(changeset): add jsdoc for test releaser diff --git a/.vscode/settings.json b/.vscode/settings.json index c4969d6..cdf1b39 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,5 +2,5 @@ "editor.defaultFormatter": "esbenp.prettier-vscode", "eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact"], "typescript.tsdk": "node_modules/typescript/lib", - "cSpell.words": ["packlint", "codecov"] + "cSpell.words": ["packlint", "codecov", "fepack"] } diff --git a/package.json b/package.json index e608c90..8a33f41 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,6 @@ "type": "module", "workspaces": [ "configs/*", - "demo/*", "packages/*", "websites/*" ], diff --git a/packages/image/src/index.ts b/packages/image/src/index.ts index cc3b273..55eed5d 100644 --- a/packages/image/src/index.ts +++ b/packages/image/src/index.ts @@ -1,4 +1,6 @@ -// https://developers.google.com/speed/webp/faq?hl=ko#in_your_own_javascript +/** + * @see https://developers.google.com/speed/webp/faq?hl=ko#in_your_own_javascript + */ function isSupportWebP(): Promise { return new Promise((resolve) => { const image = new Image(); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1baca21..0d862e9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -68,22 +68,6 @@ importers: configs/tsconfig: {} - demo: - dependencies: - '@fepack/image': - specifier: workspace:^ - version: link:../packages/image - devDependencies: - '@fepack/eslint-config': - specifier: workspace:* - version: link:../configs/eslint-config - '@fepack/tsconfig': - specifier: workspace:* - version: link:../configs/tsconfig - vite: - specifier: ^4.4.5 - version: 4.4.9(@types/node@20.5.9) - packages/image: devDependencies: '@fepack/tsconfig': @@ -108,6 +92,22 @@ importers: specifier: ^0.34.3 version: 0.34.3(@vitest/browser@0.34.4)(jsdom@22.1.0)(playwright@1.37.1) + websites/demo-image: + dependencies: + '@fepack/image': + specifier: workspace:^ + version: link:../../packages/image + devDependencies: + '@fepack/eslint-config': + specifier: workspace:* + version: link:../../configs/eslint-config + '@fepack/tsconfig': + specifier: workspace:* + version: link:../../configs/tsconfig + vite: + specifier: ^4.4.5 + version: 4.4.9(@types/node@20.5.9) + websites/documentation: dependencies: '@docusaurus/core': diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index d89fab3..44a5a5a 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,5 +1,4 @@ packages: - "configs/*" - - "demo" - "packages/*" - "websites/*" diff --git a/demo/index.html b/websites/demo-image/index.html similarity index 100% rename from demo/index.html rename to websites/demo-image/index.html diff --git a/demo/package.json b/websites/demo-image/package.json similarity index 100% rename from demo/package.json rename to websites/demo-image/package.json diff --git a/demo/public/information_resize.png b/websites/demo-image/public/information_resize.png similarity index 100% rename from demo/public/information_resize.png rename to websites/demo-image/public/information_resize.png diff --git a/demo/public/information_resize.webp b/websites/demo-image/public/information_resize.webp similarity index 100% rename from demo/public/information_resize.webp rename to websites/demo-image/public/information_resize.webp diff --git a/demo/public/options_resize.png b/websites/demo-image/public/options_resize.png similarity index 100% rename from demo/public/options_resize.png rename to websites/demo-image/public/options_resize.png diff --git a/demo/src/main.ts b/websites/demo-image/src/main.ts similarity index 100% rename from demo/src/main.ts rename to websites/demo-image/src/main.ts diff --git a/demo/src/vite-env.d.ts b/websites/demo-image/src/vite-env.d.ts similarity index 100% rename from demo/src/vite-env.d.ts rename to websites/demo-image/src/vite-env.d.ts diff --git a/demo/tsconfig.json b/websites/demo-image/tsconfig.json similarity index 100% rename from demo/tsconfig.json rename to websites/demo-image/tsconfig.json