bfg-common 1.1.27 → 1.1.29

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.
@@ -28,7 +28,7 @@ const npmGenerate = (): void => {
28
28
  'runtime',
29
29
  'legacy',
30
30
  'composables',
31
- 'query.mjs'
31
+ 'query.js'
32
32
  )
33
33
  const searchString = '/query/${hash(params)}'
34
34
  const replacementString = 'cache'
@@ -88,6 +88,7 @@ export const replaceFileContent = async (
88
88
  searchString: string | RegExp,
89
89
  replacementString: any
90
90
  ): Promise<void> => {
91
+ console.log(filePath, 333, 'replaceFileContent');
91
92
  return new Promise((resolve, reject) => {
92
93
  fs.readFile(filePath, 'utf8', (err: any, data: string) => {
93
94
  if (err) {
@@ -103,6 +104,7 @@ export const replaceFileContent = async (
103
104
  }
104
105
 
105
106
  const updatedContent = data.replace(searchString, replacementString)
107
+ console.log(updatedContent, 333, 'updatedContent');
106
108
 
107
109
  fs.writeFile(filePath, updatedContent, 'utf8', (err: any) => {
108
110
  if (err) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.1.27",
4
+ "version": "1.1.29",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",