chore: remove deprecated instrumentationHook config and bump to v1.3.2
Remove the `experimental.instrumentationHook` option from the generated `next.config.mjs` template, as it is no longer needed in newer versions of Next.js. Bump package version from 1.3.1 to 1.3.2.
This commit is contained in:
@@ -90,9 +90,6 @@ async function initProject() {
|
|||||||
fs.writeFileSync('./next.config.mjs', `/** @type {import('next').NextConfig} */
|
fs.writeFileSync('./next.config.mjs', `/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
\tdevIndicators: false,
|
\tdevIndicators: false,
|
||||||
\texperimental: {
|
|
||||||
\t\tinstrumentationHook: true,
|
|
||||||
\t},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export default nextConfig;
|
export default nextConfig;
|
||||||
|
|||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "@zen/start",
|
"name": "@zen/start",
|
||||||
"version": "1.3.0",
|
"version": "1.3.2",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@zen/start",
|
"name": "@zen/start",
|
||||||
"version": "1.3.0",
|
"version": "1.3.2",
|
||||||
"license": "GPL-3.0-only",
|
"license": "GPL-3.0-only",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fs-extra": "^11.2.0"
|
"fs-extra": "^11.2.0"
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@zen/start",
|
"name": "@zen/start",
|
||||||
"version": "1.3.1",
|
"version": "1.3.2",
|
||||||
"description": "CLI pour créer un projet Next.js avec le CMS @zen/core",
|
"description": "CLI pour créer un projet Next.js avec le CMS @zen/core",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
Reference in New Issue
Block a user