Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
w-okada committed Apr 30, 2022
1 parent 12c55ee commit f321336
Show file tree
Hide file tree
Showing 8 changed files with 1,232 additions and 1,145 deletions.
402 changes: 243 additions & 159 deletions 003_ascii-worker-js/package-lock.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions 003_ascii-worker-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dannadori/asciiart-worker-js",
"version": "1.0.34",
"version": "1.0.35",
"description": "",
"main": "dist/asciiart-worker.js",
"scripts": {
Expand All @@ -25,18 +25,18 @@
},
"homepage": "https://github.com/w-okada/image-analyze-workers",
"devDependencies": {
"@types/node": "^17.0.26",
"@types/node": "^17.0.30",
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.2",
"ts-loader": "^9.2.8",
"ts-loader": "^9.2.9",
"tsconfig-paths": "^3.14.1",
"typescript": "^4.6.3",
"typescript": "^4.6.4",
"webpack": "^5.72.0",
"webpack-cli": "^4.9.2",
"@types/offscreencanvas": "^2019.6.4",
"worker-loader": "^3.0.8"
},
"dependencies": {
"@dannadori/000_WorkerBase": "file:../000_WorkerBase"
"@dannadori/worker-base": "^1.0.1"
}
}
2 changes: 1 addition & 1 deletion 003_ascii-worker-js/src/asciiart-worker.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { AsciiConfig, AsciiFunctionTypes, AsciiOperationParams } from "./const";
export { AsciiConfig, AsciiOperationParams, AsciiFunctionTypes } from "./const";
import { getBrowserType, LocalWorker, WorkerManagerBase } from "@dannadori/000_WorkerBase";
import { getBrowserType, LocalWorker, WorkerManagerBase } from "@dannadori/worker-base";

export const generateAsciiArtDefaultConfig = (): AsciiConfig => {
const defaultConf: AsciiConfig = {
Expand Down
2 changes: 1 addition & 1 deletion 003_ascii-worker-js/src/const.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BrowserTypes } from "@dannadori/000_WorkerBase";
import { BrowserTypes } from "@dannadori/worker-base";

export const WorkerCommand = {
INITIALIZE: "initialize",
Expand Down
1,929 changes: 966 additions & 963 deletions 003demo_ascii-worker-js-demo/package-lock.json

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions 003demo_ascii-worker-js-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@
"author": "",
"license": "ISC",
"devDependencies": {
"@babel/core": "^7.17.9",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@babel/core": "^7.17.10",
"@babel/plugin-transform-runtime": "^7.17.10",
"@babel/preset-env": "^7.17.10",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@babel/runtime": "^7.17.9",
"@types/react": "^18.0.6",
"@types/react-dom": "^18.0.2",
"@typescript-eslint/eslint-plugin": "^5.20.0",
"@typescript-eslint/parser": "^5.20.0",
"daisyui": "^2.14.2",
"@types/react": "^18.0.8",
"@types/react-dom": "^18.0.3",
"@typescript-eslint/eslint-plugin": "^5.21.0",
"@typescript-eslint/parser": "^5.21.0",
"daisyui": "^2.14.3",
"babel-loader": "^8.2.5",
"eslint": "^8.14.0",
"eslint-config-prettier": "^8.5.0",
Expand All @@ -44,8 +44,8 @@
"npm-run-all": "^4.1.5",
"prettier": "^2.6.2",
"rimraf": "^3.0.2",
"ts-loader": "^9.2.8",
"typescript": "^4.6.3",
"ts-loader": "^9.2.9",
"typescript": "^4.6.4",
"webpack": "^5.72.0",
"style-loader": "^3.3.1",
"postcss-loader": "^6.2.1",
Expand All @@ -55,9 +55,9 @@
"webpack-dev-server": "^4.8.1"
},
"dependencies": {
"@dannadori/asciiart-worker-js": "^1.0.34",
"demo-base": "file:../000_DemoBase",
"react": "^18.0.0",
"react-dom": "^18.0.0"
"@dannadori/asciiart-worker-js": "^1.0.35",
"@dannadori/demo-base": "^1.0.1",
"react": "^18.1.0",
"react-dom": "^18.1.0"
}
}
2 changes: 1 addition & 1 deletion 003demo_ascii-worker-js-demo/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { AsciiArtWorkerManager } from "@dannadori/asciiart-worker-js";
import { useAppState } from "./provider/AppStateProvider";
import { AsciiArtDrawer } from "./AsciiArtDraw";
import { DataTypesOfDataURL, getDataTypeOfDataURL } from "./utils/urlReader";
import { CommonSlider, CommonSliderProps, CommonSwitch, CommonSwitchProps, Credit, VideoInputSelector, VideoInputSelectorProps } from "demo-base";
import { CommonSlider, CommonSliderProps, CommonSwitch, CommonSwitchProps, Credit, VideoInputSelector, VideoInputSelectorProps } from "@dannadori/demo-base";

let GlobalLoopID = 0;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useContext, useEffect, useState } from "react";
import { ReactNode } from "react";
import { useWindowStateChangeListener, WindowSize } from "demo-base";
import { useWindowStateChangeListener, WindowSize } from "@dannadori/demo-base";
import { loadURLAsDataURL } from "../utils/urlReader";
import { AsciiConfig, AsciiOperationParams, generateAsciiArtDefaultConfig, generateDefaultAsciiArtParams } from "@dannadori/asciiart-worker-js";

Expand Down

0 comments on commit f321336

Please sign in to comment.