Skip to content

Commit

Permalink
Adjust version
Browse files Browse the repository at this point in the history
  • Loading branch information
anamone26 committed Oct 1, 2024
1 parent 580dbf3 commit cc7f436
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gulp-tasks/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ async function bundle() {
}).then(() => {
const fileData = fs.readFileSync(`${location}/spcd3.${conf.extension}`, 'utf8');
const formatString = format === 'iife' ? 'IIFE' : format === 'esm' ? 'ESM' : format === 'cjs' ? 'CommonJS' : '';
const dataWithHeaderLine = `// SPCD3 version 2.0.0 ${formatString}\n` + fileData;
const dataWithHeaderLine = `// SPCD3 version 1.0.0 ${formatString}\n` + fileData;
fs.writeFileSync(`${location}/spcd3.${conf.extension}`, dataWithHeaderLine, 'utf8');
}))
}
Expand All @@ -57,7 +57,7 @@ async function bundle() {
sourcemap: true,
}).then(() => {
const fileData = fs.readFileSync(`${location}/spcd3.${conf.extension}`, 'utf8');
const dataWithHeaderLine = `// SPCD3 version 2.0.0 ${format}\n` + fileData;
const dataWithHeaderLine = `// SPCD3 version 1.0.0 ${format}\n` + fileData;
fs.writeFileSync(`${location}/spcd3.${conf.extension}`, dataWithHeaderLine, 'utf8');
}))
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "spcd3",
"version": "2.0.0",
"version": "1.0.0",
"description": "Steerable Parallel Coordinates in D3",
"main": "./dist/library/cjs/spcd3.js",
"module": "./dist/library/esm/spcd3.js",
Expand Down

0 comments on commit cc7f436

Please sign in to comment.