@pikku/cli 0.7.6 → 0.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -91,7 +91,7 @@ const _getPikkuCLIConfig = async (configFile = undefined, requiredFields, tags =
|
|
|
91
91
|
result.typesDeclarationFile = join(result.outDir, 'pikku-types.gen.ts');
|
|
92
92
|
}
|
|
93
93
|
if (!result.httpRoutesMapDeclarationFile) {
|
|
94
|
-
result.httpRoutesMapDeclarationFile = join(result.outDir, 'pikku-routes-map.gen.d.ts');
|
|
94
|
+
result.httpRoutesMapDeclarationFile = join(result.outDir, 'pikku-http-routes-map.gen.d.ts');
|
|
95
95
|
}
|
|
96
96
|
if (!result.channelsMapDeclarationFile) {
|
|
97
97
|
result.channelsMapDeclarationFile = join(result.outDir, 'pikku-channels-map.gen.d.ts');
|
|
@@ -7,11 +7,10 @@ export const serializeNextJsHTTPWrapper = (routesMapPath, pikkuFetchImport) => {
|
|
|
7
7
|
*/
|
|
8
8
|
import { CorePikkuFetchOptions } from '@pikku/fetch'
|
|
9
9
|
import type { RoutesMap, RouteHandlerOf, RoutesWithMethod } from '${routesMapPath}'
|
|
10
|
+
import { PikkuFetch } from '${pikkuFetchImport}'
|
|
10
11
|
|
|
11
12
|
let _pikku: PikkuFetch | undefined
|
|
12
13
|
|
|
13
|
-
${pikkuFetchImport}
|
|
14
|
-
|
|
15
14
|
/**
|
|
16
15
|
* Initializes and returns an instance of PikkuNextJS with helper methods for handling route requests.
|
|
17
16
|
*
|
package/package.json
CHANGED
package/src/pikku-cli-config.ts
CHANGED
|
@@ -196,7 +196,7 @@ const _getPikkuCLIConfig = async (
|
|
|
196
196
|
if (!result.httpRoutesMapDeclarationFile) {
|
|
197
197
|
result.httpRoutesMapDeclarationFile = join(
|
|
198
198
|
result.outDir,
|
|
199
|
-
'pikku-routes-map.gen.d.ts'
|
|
199
|
+
'pikku-http-routes-map.gen.d.ts'
|
|
200
200
|
)
|
|
201
201
|
}
|
|
202
202
|
if (!result.channelsMapDeclarationFile) {
|
|
@@ -10,11 +10,10 @@ export const serializeNextJsHTTPWrapper = (
|
|
|
10
10
|
*/
|
|
11
11
|
import { CorePikkuFetchOptions } from '@pikku/fetch'
|
|
12
12
|
import type { RoutesMap, RouteHandlerOf, RoutesWithMethod } from '${routesMapPath}'
|
|
13
|
+
import { PikkuFetch } from '${pikkuFetchImport}'
|
|
13
14
|
|
|
14
15
|
let _pikku: PikkuFetch | undefined
|
|
15
16
|
|
|
16
|
-
${pikkuFetchImport}
|
|
17
|
-
|
|
18
17
|
/**
|
|
19
18
|
* Initializes and returns an instance of PikkuNextJS with helper methods for handling route requests.
|
|
20
19
|
*
|