diff --git a/.gitignore b/.gitignore index 62a5857a..0abf542c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,6 @@ .idea node_modules/ **/dist/ -**/lib/ packages/*/stats.html .eslintcache .DS_Store diff --git a/src/helpers/appendChild.js b/lib/helpers/appendChild.js similarity index 100% rename from src/helpers/appendChild.js rename to lib/helpers/appendChild.js diff --git a/src/helpers/applyProps.js b/lib/helpers/applyProps.js similarity index 100% rename from src/helpers/applyProps.js rename to lib/helpers/applyProps.js diff --git a/src/helpers/convertStringToPascalCase.js b/lib/helpers/convertStringToPascalCase.js similarity index 100% rename from src/helpers/convertStringToPascalCase.js rename to lib/helpers/convertStringToPascalCase.js diff --git a/src/helpers/createInstance.js b/lib/helpers/createInstance.js similarity index 100% rename from src/helpers/createInstance.js rename to lib/helpers/createInstance.js diff --git a/src/helpers/createTextInstance.js b/lib/helpers/createTextInstance.js similarity index 100% rename from src/helpers/createTextInstance.js rename to lib/helpers/createTextInstance.js diff --git a/src/helpers/pruneKeys.js b/lib/helpers/pruneKeys.js similarity index 100% rename from src/helpers/pruneKeys.js rename to lib/helpers/pruneKeys.js diff --git a/src/helpers/removeChild.js b/lib/helpers/removeChild.js similarity index 100% rename from src/helpers/removeChild.js rename to lib/helpers/removeChild.js diff --git a/src/hooks/useAsset.js b/lib/hooks/useAsset.js similarity index 100% rename from src/hooks/useAsset.js rename to lib/hooks/useAsset.js diff --git a/src/index.js b/lib/index.js similarity index 100% rename from src/index.js rename to lib/index.js diff --git a/src/reconciler.js b/lib/reconciler.js similarity index 100% rename from src/reconciler.js rename to lib/reconciler.js diff --git a/src/render.js b/lib/render.js similarity index 100% rename from src/render.js rename to lib/render.js diff --git a/src/types/AutoFilteredKeys.js b/lib/types/AutoFilteredKeys.js similarity index 100% rename from src/types/AutoFilteredKeys.js rename to lib/types/AutoFilteredKeys.js diff --git a/src/types/ConstructorParams.js b/lib/types/ConstructorParams.js similarity index 100% rename from src/types/ConstructorParams.js rename to lib/types/ConstructorParams.js diff --git a/src/types/HostConfig.js b/lib/types/HostConfig.js similarity index 100% rename from src/types/HostConfig.js rename to lib/types/HostConfig.js diff --git a/src/types/HostContainer.js b/lib/types/HostContainer.js similarity index 100% rename from src/types/HostContainer.js rename to lib/types/HostContainer.js diff --git a/src/types/Node.js b/lib/types/Node.js similarity index 100% rename from src/types/Node.js rename to lib/types/Node.js diff --git a/src/types/PixiElements.js b/lib/types/PixiElements.js similarity index 100% rename from src/types/PixiElements.js rename to lib/types/PixiElements.js diff --git a/src/types/PixiElementsImpl.js b/lib/types/PixiElementsImpl.js similarity index 100% rename from src/types/PixiElementsImpl.js rename to lib/types/PixiElementsImpl.js diff --git a/src/types/TargetKeys.js b/lib/types/TargetKeys.js similarity index 100% rename from src/types/TargetKeys.js rename to lib/types/TargetKeys.js diff --git a/package.json b/package.json index 7e376da9..5ab2e0ca 100644 --- a/package.json +++ b/package.json @@ -90,7 +90,7 @@ "extensionConfig": { "lint": [ "test", - "src" + "lib" ], "environments": ["node"], "docsName": "PixiJS React", diff --git a/tsconfig.eslint.json b/tsconfig.eslint.json index 739e1a08..30b7adba 100644 --- a/tsconfig.eslint.json +++ b/tsconfig.eslint.json @@ -4,5 +4,5 @@ ".eslintrc.js", "wallaby.js", ], - "include": ["src/**/*"] + "include": ["lib/**/*"] } diff --git a/types/index.d.ts b/types/index.d.ts index db15a629..96af7b48 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -1,4 +1,4 @@ -import type { PixiElementsImpl } from '../src/types/PixiElementsImpl'; +import type { PixiElementsImpl } from '../lib/types/PixiElementsImpl'; declare global {