Skip to content

Commit

Permalink
2.1.0 - include compiled library
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew8088 committed Dec 15, 2023
1 parent fe9ff33 commit b7f6d43
Show file tree
Hide file tree
Showing 5 changed files with 442 additions and 6 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ test:
$(MAKE) lint
@NODE_ENV=test ./node_modules/.bin/jest

lib: index.ts
./node_modules/.bin/tsc

.PHONY: test
6 changes: 4 additions & 2 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -466,10 +466,12 @@ UrlGrey.prototype.params = function(inUrl){
// TODO relative() // takes an absolutepath and returns a relative one
// TODO absolute() // takes a relative path and returns an absolute one.

export default (url: string) => {
return new UrlGrey(url)
export default function urlgrey(url: string) {
return new UrlGrey(url);
}

urlgrey.UrlGrey = UrlGrey;

// function addPropertyGetterSetter(propertyName: string, methodName?: string) {
// if (!methodName) {
// methodName = propertyName;
Expand Down
Loading

0 comments on commit b7f6d43

Please sign in to comment.