@hugomrdias/foxer 0.0.2 → 0.0.4

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hugomrdias/foxer",
3
3
  "description": "Foxer is a all-in-one application server for Filecoin.",
4
- "version": "0.0.2",
4
+ "version": "0.0.4",
5
5
  "author": "Hugo Dias <hugomrdias@gmail.com>",
6
6
  "license": "Apache-2.0 OR MIT",
7
7
  "type": "module",
package/src/bin/create.ts CHANGED
@@ -149,7 +149,10 @@ export const create: Command = command(
149
149
  p.log.step(`Scaffolding project in ${root}...`)
150
150
 
151
151
  const pkg = JSON.parse(
152
- readFileSync(resolve(__dirname, `../../template/package.json`), 'utf-8')
152
+ readFileSync(
153
+ resolve(__dirname, `../../../template/package.json`),
154
+ 'utf-8'
155
+ )
153
156
  )
154
157
 
155
158
  pkg.name = packageName
@@ -161,17 +164,17 @@ export const create: Command = command(
161
164
 
162
165
  if (pm === 'pnpm') {
163
166
  copy(
164
- resolve(__dirname, `../../template/pnpm-workspace.yaml`),
167
+ resolve(__dirname, `../../../template/pnpm-workspace.yaml`),
165
168
  resolve(root, 'pnpm-workspace.yaml')
166
169
  )
167
170
  }
168
171
 
169
172
  copy(
170
- resolve(__dirname, `../../template/biome.json`),
173
+ resolve(__dirname, `../../../template/biome.json`),
171
174
  resolve(root, 'biome.json')
172
175
  )
173
176
  copy(
174
- resolve(__dirname, `../../template/tsconfig.json`),
177
+ resolve(__dirname, `../../../template/tsconfig.json`),
175
178
  resolve(root, 'tsconfig.json')
176
179
  )
177
180