Skip to content

Commit

Permalink
refactor: remove pascalcase
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Jan 13, 2024
1 parent 2f2caa7 commit fdc400a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@
"@rollup/plugin-terser": "^0.4.4",
"@size-limit/preset-small-lib": "^11.0.1",
"@vitest/coverage-v8": "^1.2.0",
"camelcase": "^8.0.0",
"conventional-changelog-cli": "^4.1.0",
"happy-dom": "^13.0.6",
"pascalcase": "^1.0.0",
"prettier": "^3.2.1",
"rimraf": "^5.0.5",
"rollup": "^4.9.5",
Expand Down
16 changes: 8 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import ts from 'rollup-plugin-typescript2'
import alias from '@rollup/plugin-alias'
import terser from '@rollup/plugin-terser'
import path from 'path'
import {rimraf} from 'rimraf'
import pascalcase from 'pascalcase'
import pkg from './package.json' assert { type: "json" }
import { rimraf } from 'rimraf'
import camelCase from 'camelcase'
import pkg from './package.json' assert { type: 'json' }

const cwd = process.cwd()

Expand All @@ -19,7 +19,7 @@ const banner = `/*!
* @license MIT
*/`

const exportName = pascalcase(pkg.name)
const exportName = camelCase(pkg.name, { pascalCase: true })

function createEntry(
{
Expand Down

0 comments on commit fdc400a

Please sign in to comment.