forked from thi-ng/umbrella
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: prep api, atom, bench, binary, checks, equiv, errors, paths fo…
…r multi outputs - update tsconfig files for ES6 module output - update build scripts in these 8 modules - update atom: Cursor/View NEXT_ID, replace w/ nextID() helper fn - update various tests - update .*ignore files
- Loading branch information
1 parent
d1e275b
commit 4be67c5
Showing
48 changed files
with
476 additions
and
312 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
node_modules | ||
.cache | ||
.nyc_output | ||
coverage | ||
build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
.cache | ||
.nyc_output | ||
*.gz | ||
*.html | ||
*.tgz | ||
build | ||
coverage | ||
dev | ||
doc | ||
src* | ||
test | ||
.nyc_output | ||
*.tgz | ||
*.html | ||
tsconfig.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,8 @@ | |
"name": "@thi.ng/api", | ||
"version": "4.2.4", | ||
"description": "Common, generic types & interfaces for thi.ng projects", | ||
"main": "./index.js", | ||
"main": "./lib/index.js", | ||
"module": "./index.js", | ||
"typings": "./index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
|
@@ -12,12 +13,16 @@ | |
"author": "Karsten Schmidt <[email protected]>", | ||
"license": "Apache-2.0", | ||
"scripts": { | ||
"build": "yarn clean && tsc --declaration", | ||
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc decorators mixins", | ||
"build": "yarn clean && yarn build:es6 && yarn build:parcel && yarn build:parcel:min", | ||
"build:es6": "tsc --declaration", | ||
"build:parcel:min": "parcel build --global thing_api -o index.min.js -d lib --experimental-scope-hoisting src/index.ts", | ||
"build:parcel": "parcel build --global thing_api -d lib --no-minify --experimental-scope-hoisting src/index.ts && prettier --write lib/index.js", | ||
"build:gzip": "gzip -c lib/index.min.js > lib/index.min.js.gz", | ||
"clean": "rimraf *.js *.d.ts .cache .nyc_output build coverage doc lib", | ||
"test": "rimraf build && parcel build -d build --no-cache --no-minify --no-source-maps test/index.ts && nyc mocha build/index.js", | ||
"cover": "yarn test && nyc report --reporter=lcov", | ||
"doc": "node_modules/.bin/typedoc --mode modules --out doc src", | ||
"pub": "yarn build && yarn publish --access public", | ||
"test": "rimraf build && tsc -p test && nyc mocha build/test/*.js" | ||
"pub": "yarn build && yarn publish --access public" | ||
}, | ||
"devDependencies": { | ||
"@types/mocha": "^5.2.5", | ||
|
@@ -42,5 +47,12 @@ | |
], | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"browserslist": [ | ||
"since 2018-07" | ||
], | ||
"browser": { | ||
"process": false, | ||
"setTimeout": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from "./mixins"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
.cache | ||
.nyc_output | ||
*.gz | ||
*.html | ||
*.tgz | ||
build | ||
coverage | ||
dev | ||
doc | ||
src* | ||
test | ||
.nyc_output | ||
tsconfig.json | ||
*.tgz | ||
*.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
{ | ||
"name": "@thi.ng/atom", | ||
"version": "1.5.8", | ||
"description": "Mutable wrapper for immutable values", | ||
"main": "./index.js", | ||
"description": "Mutable wrappers for nested immutable values w/ optional undo/redo history", | ||
"module": "./index.js", | ||
"main": "./lib/index.js", | ||
"typings": "./index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
|
@@ -12,12 +13,16 @@ | |
"author": "Karsten Schmidt <[email protected]>", | ||
"license": "Apache-2.0", | ||
"scripts": { | ||
"build": "yarn clean && tsc --declaration", | ||
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc", | ||
"build": "yarn clean && yarn build:es6 && yarn build:parcel && yarn build:parcel:min", | ||
"build:es6": "tsc --declaration", | ||
"build:parcel:min": "parcel build --global thing_atom -o index.min.js -d lib --experimental-scope-hoisting src/index.ts", | ||
"build:parcel": "parcel build --global thing_atom -d lib --no-minify --experimental-scope-hoisting src/index.ts && prettier --write lib/index.js", | ||
"build:gzip": "gzip -c lib/index.min.js > lib/index.min.js.gz", | ||
"clean": "rimraf *.js *.d.ts .cache .nyc_output build coverage doc lib", | ||
"test": "rimraf build && parcel build -d build --no-cache --no-minify --no-source-maps test/index.ts && nyc mocha build/index.js", | ||
"cover": "yarn test && nyc report --reporter=lcov", | ||
"doc": "typedoc --mode modules --out doc src", | ||
"pub": "yarn build && yarn publish --access public", | ||
"test": "rimraf build && tsc -p test && nyc mocha build/test/*.js" | ||
"pub": "yarn build && yarn publish --access public" | ||
}, | ||
"devDependencies": { | ||
"@types/mocha": "^5.2.5", | ||
|
@@ -35,15 +40,24 @@ | |
"@thi.ng/paths": "^1.6.6" | ||
}, | ||
"keywords": [ | ||
"derived views", | ||
"cursor", | ||
"datastructure", | ||
"data structure", | ||
"ES6", | ||
"history", | ||
"immutable", | ||
"redo", | ||
"typescript", | ||
"undo" | ||
], | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"browserslist": [ | ||
"since 2018-07" | ||
], | ||
"browser": { | ||
"process": false, | ||
"setTimeout": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
let NEXT_ID = 0; | ||
|
||
export const nextID = () => NEXT_ID++; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export * from "./atom"; | ||
export * from "./cursor"; | ||
export * from "./history"; | ||
export * from "./view"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.