Skip to content

Commit

Permalink
JavaScript: Naming things
Browse files Browse the repository at this point in the history
The package intends to be published as `@cratedb/cratedb-sqlparse`.
  • Loading branch information
amotl committed May 30, 2024
1 parent 514cf80 commit bd6cda7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions cratedb_sqlparse_js/package-lock.json

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

2 changes: 1 addition & 1 deletion cratedb_sqlparse_js/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "cratedb-sqlparse",
"name": "@cratedb/cratedb-sqlparse",
"version": "0.0.2",
"type": "module",
"files": [
Expand Down
4 changes: 2 additions & 2 deletions cratedb_sqlparse_js/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ export default defineConfig({
build: {
lib: {
// Could also be a dictionary or array of multiple entry points
entry: resolve(__dirname, 'parser/index.js'),
name: 'cratedb_sqlparse', // the proper extensions will be added
entry: resolve(__dirname, 'cratedb_sqlparse/index.js'),
name: '@cratedb/cratedb-sqlparse', // the proper extensions will be added
fileName: 'sqlparse',
}, rollupOptions: {
// make sure to externalize deps that shouldn't be bundled
Expand Down

0 comments on commit bd6cda7

Please sign in to comment.