@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
@@ -1,5 +1,11 @@
1
1
  # @pikku/cli
2
2
 
3
+ ## 0.7.7
4
+
5
+ ### Patch Changes
6
+
7
+ - a5e3903: fix: PikkuFetch import fix
8
+
3
9
  ## 0.7.6
4
10
 
5
11
  ### Patch Changes
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pikku/cli",
3
- "version": "0.7.6",
3
+ "version": "0.7.7",
4
4
  "author": "yasser.fadl@gmail.com",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -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
  *