Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update build process #111

Open
wants to merge 54 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
d02ab5e
utils.component) remove unused `jss` dependencies
brianmhunt Apr 19, 2020
176cfbf
utils.jsx) add some Typescript types to JsxObserver and alter iterabl…
brianmhunt Apr 19, 2020
35d449c
js) Update packages to latest, particularly the latest @rollup packages
brianmhunt Apr 19, 2020
f66ab4e
ts/karma) fix rollup imports and path config
brianmhunt Apr 19, 2020
d76dcd9
ts) add initial ambient types from @types/knockout (for 3.4)
brianmhunt Apr 19, 2020
66a47f2
@types) add some of the TKO types
brianmhunt Apr 19, 2020
d5c8c6c
build) add more refinement for the tsconfig and rollup.config
brianmhunt Apr 19, 2020
465425a
utils.jsx) add some of the types to JsxObserver
brianmhunt Apr 19, 2020
371e820
Fix local TS importing strategy
brianmhunt Apr 21, 2020
52bf4c7
utils.jsx) add more types
brianmhunt Apr 21, 2020
c3e8113
ts/types) fix anchorTo and addDisposable types
brianmhunt Apr 22, 2020
12319ef
ts) add ambient types as build stop-gap
brianmhunt Apr 22, 2020
fbc0b99
observable) update subscribable types
brianmhunt Apr 24, 2020
a713c1c
observable) update extenders types
brianmhunt Apr 24, 2020
c11ceb4
observable) update subscribable import/extender type
brianmhunt Apr 24, 2020
ae5fa16
tsconfig) set target to ES5, so we can use getters
brianmhunt Apr 25, 2020
eb1c005
observable) add types for extenders and subscribable
brianmhunt Apr 25, 2020
f2ef579
app/observable) add to observable, extenders, other types
brianmhunt Apr 25, 2020
4e49192
observable) break out `limit` and add more types
brianmhunt Apr 25, 2020
11f454b
observable) type the rate limiting; some observable/subscribable
brianmhunt Apr 26, 2020
e352812
observable) re-order prototype property for proper typing
brianmhunt Apr 26, 2020
5b485d4
observable) fix KnockoutObservable types
brianmhunt Apr 26, 2020
53d89c6
observable) begin typing of observableArray
brianmhunt Apr 26, 2020
f18444c
ts) target ES2020 modules
brianmhunt Apr 26, 2020
af8a340
observable) add more observableArray functionality
brianmhunt Apr 27, 2020
9084550
computed) add `arrayProperties` extender
brianmhunt Apr 28, 2020
21fd69b
observable) finish observableArray types
brianmhunt Apr 29, 2020
983bf6e
observable) add typing to the changeTracking
brianmhunt Apr 29, 2020
11f0395
computed) add some computed types
brianmhunt Apr 29, 2020
5f00475
computed) rename to .ts file
brianmhunt Apr 29, 2020
a021267
computed) more typing of the `computed`
brianmhunt Apr 29, 2020
2562e60
observable) expose the `RateLimitFunction`
brianmhunt Apr 29, 2020
f645ff8
utils) convert `options` to ts
brianmhunt Apr 30, 2020
d3adfc5
observable) fix some types
brianmhunt Apr 30, 2020
fc2980c
options) add a `__ko_proto__` type
brianmhunt May 1, 2020
f46cb9b
computed) add more typing of the ko-computed
brianmhunt May 1, 2020
b625594
observable) fix observableArray inheritance
brianmhunt May 8, 2020
6f8bde1
npm) update packages to latest
brianmhunt May 8, 2020
c4d4d06
npm) change prepublish script to prepublishOnly
brianmhunt May 8, 2020
08c9f13
observable) fix trackArrayChanges params
brianmhunt May 9, 2020
70e5311
make) add `lint` target
brianmhunt May 9, 2020
3961955
ts) narrow the tsconfig for building all files
brianmhunt May 9, 2020
443bcd3
observable/ts) various minor type updates
brianmhunt May 9, 2020
746b0cc
utils.jsx) numerous types
brianmhunt May 9, 2020
3041499
observable) update some key types (unwrap, peek)
brianmhunt May 10, 2020
c0a593f
provider.native) convert to TS
brianmhunt May 10, 2020
6b0efe1
utils.jsx) add more types to the JsxObservaber
brianmhunt May 10, 2020
a0ac02d
observable) fix isObservable type guard
brianmhunt May 10, 2020
bfd67ae
utils.jsx) fix attribute unwrapping type
brianmhunt May 10, 2020
5c30a5c
tsconfig) add support for Object.fromEntries
brianmhunt May 10, 2020
98c5904
provider) type Provider; add types for NativeProvider
brianmhunt May 10, 2020
a1c9e06
observable) fix some observable types & array tracking types
brianmhunt May 10, 2020
74be7a2
observable) add some proto types
brianmhunt May 11, 2020
1c799db
computed) add more typings of the computed
brianmhunt May 11, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,7 @@ node_modules: bootstrap
$(NODE) yarn install

all: build test


lint:
node_modules/.bin/tsc --noEmit -w
53 changes: 27 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/knockout/tko.git"
},
"scripts": {
"prepublish": "yarn build",
"prepublishOnly": "yarn build",
"test": "lerna exec --concurrency=1 --loglevel=warn -- yarn test",
"build": "lerna exec --concurrency=6 --loglevel=warn -- yarn build"
},
Expand All @@ -34,33 +34,34 @@
]
},
"devDependencies": {
"@lerna/version": "^3.13.1",
"chai": "^4.1.2",
"electron": "^2.0.0",
"fs-extra": "^7.0.0",
"jquery": "^3.3.1",
"karma": "^2.0.2",
"@lerna/version": "^3.20.2",
"@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-node-resolve": "^7.1.3",
"@rollup/plugin-replace": "^2.3.2",
"@rollup/plugin-typescript": "^4.1.1",
"chai": "^4.2.0",
"electron": "^8.2.3",
"fs-extra": "^9.0.0",
"jquery": "^3.5.0",
"karma": "^5.0.2",
"karma-chai": "^0.1.0",
"karma-electron-launcher": "^0.2.0",
"karma-jasmine": "^0.1.0",
"karma-mocha": "^1.3.0",
"karma-rollup-preprocessor": "^6.0.0",
"karma-sauce-launcher": "^2.0.2",
"karma-electron-launcher": "^0.3.0",
"karma-jasmine": "^3.1.1",
"karma-mocha": "^2.0.0",
"karma-rollup-preprocessor": "^7.0.5",
"karma-sauce-launcher": "^4.1.3",
"karma-sinon": "^1.0.5",
"karma-typescript-preprocessor": "^0.3.1",
"lerna": "^3.13.1",
"mocha": "^5.1",
"rollup": "^0.58",
"rollup-plugin-babel-minify": "^4.0.0",
"rollup-plugin-commonjs": "^9.1.3",
"rollup-plugin-license": "^0.6.0",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-replace": "^2.0",
"rollup-plugin-typescript2": "^0.14.0",
"rollup-plugin-visualizer": "^0.6.0",
"sinon": "^5.0",
"standard": "^11.0.1",
"typescript": "^2.8.3"
"karma-typescript-preprocessor": "^0.4.0",
"lerna": "^3.20.2",
"mocha": "^7.1",
"rollup": "^2.6",
"rollup-plugin-license": "^2.0.0",
"rollup-plugin-terser": "^5.3.0",
"rollup-plugin-visualizer": "^4.0.4",
"sinon": "^9.0",
"standard": "^14.3.3",
"tslib": "^1.11.1",
"typescript": "^3.8.3"
},
"workspaces": [
"packages/*"
Expand Down
1 change: 1 addition & 0 deletions packages/@types/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This file contains ambient types, as a temporary stop-gap on the path to full Typescriptification (see e.g. issue #62).
Loading