Skip to content

Commit 823f38e

Browse files
author
Andrea Aramini, INI-MBM-BNC (EXT)
committed
🚀 deploy(deployment): fix deploy
1 parent 5ee7e09 commit 823f38e

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

package-lock.json

-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "portfolio-frontend",
33
"version": "0.1.0",
44
"private": true,
5+
"type": "module",
56
"scripts": {
67
"dev": "next dev",
78
"build": "next build",
@@ -37,7 +38,6 @@
3738
"@semantic-release/github": "^10.0.2",
3839
"@semantic-release/npm": "^12.0.0",
3940
"@semantic-release/release-notes-generator": "^12.1.0",
40-
"@types/dateformat": "^5.0.2",
4141
"autoprefixer": "^10.0.1",
4242
"commitizen": "^4.3.0",
4343
"commitlint": "^19.2.0",

release.config.js

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
/* eslint-disable no-template-curly-in-string */
22

3-
const dateFormat = require('dateformat');
4-
const promisify = require('util');
5-
const readFile = require('fs');
3+
import dateFormat from 'dateformat';
4+
import promisify from 'util';
5+
import readFile from 'fs';
6+
67
const readFileAsync = promisify(readFile);
78

89
// the *.hbs template and partials should be passed as strings of contents
@@ -18,7 +19,7 @@ if (process.env.GITHUB_ACTIONS) {
1819
':construction_worker: chore(release): ${nextRelease.version} [skip ci]';
1920
}
2021

21-
const config = {
22+
module.exports = {
2223
release: {
2324
defaultBranch: 'main',
2425
branches: [

0 commit comments

Comments
 (0)