diff --git a/.gitignore b/.gitignore index 0d06ceaa..9dd52854 100644 --- a/.gitignore +++ b/.gitignore @@ -7,7 +7,3 @@ yarn-error.log .volumes/ package-lock.json .next/ - -# Symbolic links for moduleResolution: node projects -app.d.ts -pages.d.ts diff --git a/.npmignore b/.npmignore deleted file mode 100644 index 0095f217..00000000 --- a/.npmignore +++ /dev/null @@ -1,14 +0,0 @@ -.dependabot/ -.env -.github/ -.husky/ -.next/ -.volumes/ -**/*.test.ts -coverage/ -cypress/ -next-env.d.ts -src/ -tsconfig.* -useQueryState.gif -yarn-error.log diff --git a/app.d.ts b/app.d.ts new file mode 100644 index 00000000..0b3dee29 --- /dev/null +++ b/app.d.ts @@ -0,0 +1 @@ +export * from './dist/app' diff --git a/package.json b/package.json index a94ac669..415261f6 100644 --- a/package.json +++ b/package.json @@ -74,10 +74,7 @@ "cypress:run": "cypress run --headless", "ci": "run-s build test:types", "e2e": "run-s cypress:install test:e2e:next:build test:e2e:ci", - "prepare": "husky install", - "prepack": "run-p link:*", - "link:app": "echo \"export * from './dist/app'\" > app.d.ts", - "link:pages": "echo \"export * from './dist/pages'\" > pages.d.ts" + "prepare": "husky install" }, "peerDependencies": { "next": "^13", diff --git a/pages.d.ts b/pages.d.ts new file mode 100644 index 00000000..481de92d --- /dev/null +++ b/pages.d.ts @@ -0,0 +1 @@ +export * from './dist/pages'