Skip to content

Commit 7d6595f

Browse files
authored
chore: update json import assertion to use with syntax (#5)
* chore: update json import assertion to use with syntax * 0.3.18
1 parent 289d711 commit 7d6595f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

cli.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env node
22

33
import { createEnv } from 'yeoman-environment';
4-
import npm from './package.json' assert { type: 'json' };
4+
import npm from './package.json' with { type: 'json' };
55

66
console.log(`generator-bitloops v${npm.version}`);
77

@@ -19,7 +19,7 @@ const env = createEnv();
1919
(async () => {
2020
// Dynamically import the subgenerator path
2121
const generatorPath = await import(`./${subgenerator}/index.js`);
22-
22+
2323
// Register your generator
2424
env.register(generatorPath.default, `bitloops:${subgenerator}`);
2525

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "generator-bitloops",
3-
"version": "0.3.17",
3+
"version": "0.3.18",
44
"description": "Next.js with TypeScript, Tailwind, Storybook and Cypress generator by Bitloops",
55
"license": "MIT",
66
"author": "Bitloops S.A.",

0 commit comments

Comments
 (0)