Skip to content

Commit c4499a3

Browse files
committed
refactor: move sources to lib
BREAKING CHANGE: moved sources Sources have been moved to the `lib` folder. If you're referencing files directly (`require(sql-highlight/index.js)`) you should instead reference the new lib directory (`require(sql-highlight/lib/index.js)`)
1 parent 8444b79 commit c4499a3

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

index.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { highlight } = require('./index')
1+
const { highlight } = require('./lib')
22

33
const OPTIONS = {
44
colors: {

index.js renamed to lib/index.js

File renamed without changes.
File renamed without changes.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
"type": "git",
88
"url": "https://github.com/scriptcoded/sql-highlight.git"
99
},
10+
"files": [
11+
"/lib"
12+
],
1013
"scripts": {
1114
"pretest": "npm run lint",
1215
"test": "jest",

0 commit comments

Comments
 (0)