From 3ae86a7b7713130211ceb3e413050e060246a199 Mon Sep 17 00:00:00 2001 From: Joe Pea Date: Mon, 6 Nov 2023 20:59:24 -0800 Subject: [PATCH] update lume cli version, update typescript version --- dist/index.d.ts | 8 +-- dist/index.d.ts.map | 2 +- dist/index.js | 2 +- dist/index.js.map | 2 +- dist/index.test.js | 129 ++++++++++++++++++----------------------- dist/index.test.js.map | 2 +- package.json | 4 +- tsconfig.json | 3 +- tsconfig2.json | 9 --- 9 files changed, 69 insertions(+), 92 deletions(-) delete mode 100644 tsconfig2.json diff --git a/dist/index.d.ts b/dist/index.d.ts index c47d2b3..0a8555d 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -15,13 +15,13 @@ export interface Variable extends Iterable | Variable [Symbol.iterator](): IterableIterator | VariableSetter>; } export declare function variable(value: T): [VariableGetter, VariableSetter] & Variable; -export declare type Computation = (previousValue?: unknown) => unknown; -export declare type StopFunction = () => void; +export type Computation = (previousValue?: unknown) => unknown; +export type StopFunction = () => void; export declare function autorun(f: Computation): StopFunction; export declare function reactive(protoOrClassElement: any, propName?: string, _descriptor?: PropertyDescriptor): any; export declare function _trackReactiveProperty(Class: AnyClassWithReactiveProps, propName: string): void; -declare type AnyClass = new (...args: any[]) => object; -declare type AnyClassWithReactiveProps = (new (...args: any[]) => object) & { +type AnyClass = new (...args: any[]) => object; +type AnyClassWithReactiveProps = (new (...args: any[]) => object) & { reactiveProperties?: string[]; __isReactive__?: true; }; diff --git a/dist/index.d.ts.map b/dist/index.d.ts.map index 886c5b1..ba63204 100644 --- a/dist/index.d.ts.map +++ b/dist/index.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,cAAc,CAAC,CAAC;IAChC,IAAI,CAAC,CAAA;CACL;AAED,MAAM,WAAW,cAAc,CAAC,CAAC;IAChC,CAAC,KAAK,EAAE,CAAC,GAAG,CAAC,CAAA;CACb;AAGD,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AQ,CAAC,CAAC,SAAS,QAAQ,EAAE,GAAG,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,GAAG,OAAO,GAAG,CAAA;AAyCvF,wBAAgB,QAAQ,CAAC,IAAI,EAC5B,KAAK,EAAE,cAAc,CAAC,IAAI,CAAC,EAC3B,QAAQ,EAAE,CAAC,CAAC,EAAE,IAAI,KAAK,IAAI,EAC3B,MAAM,EAAE,cAAc,CAAC,IAAI,CAAC,EAC5B,SAAS,EAAE,CAAC,CAAC,EAAE,IAAI,KAAK,IAAI,GAC1B,YAAY,CAmBd;AAED,eAAO,MAAM,OAAO,WAAW,CAAA"} \ No newline at end of file diff --git a/dist/index.js b/dist/index.js index ee74abc..84eeaba 100644 --- a/dist/index.js +++ b/dist/index.js @@ -65,6 +65,7 @@ function reactiveClassFinisher(Class) { if (Class.hasOwnProperty('__isReactive__')) return Class; return class ReactiveDecoratorFinisher extends Class { + static __isReactive__ = true; constructor(...args) { if (getListener()) { return untrack(() => { @@ -76,7 +77,6 @@ function reactiveClassFinisher(Class) { super(...args); reactify(this, Class); } - static { this.__isReactive__ = true; } }; } function _reactive(obj, propName) { diff --git a/dist/index.js.map b/dist/index.js.map index e26b42e..c226004 100644 --- a/dist/index.js.map +++ b/dist/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,sBAAsB,EAAC,MAAM,UAAU,CAAA;AAC/C,OAAO,EAAC,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,OAAO,EAAE,WAAW,EAAC,MAAM,UAAU,CAAA;AA2BrF,SAAS,YAAY;IACpB,OAAO,IAAI,EAAE,CAAA;AACd,CAAC;AACD,SAAS,aAAa,CAAuB,KAAQ;IACpD,OAAO,IAAI,CAAC,KAAK,CAAC,CAAA;AACnB,CAAC;AAaD,MAAM,UAAU,QAAQ,CAAI,KAAQ;IACnC,MAAM,CAAC,GAAG,EA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A;AAChC,CAAC;AAGD,SAAS,uBAAuB,CAAC,GAA2B,EAAE,KAAoB;IACjF,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;QACzB,IAAI,GAAG,CAAC,mBAAmB,EAAE,GAAG,CAAC,IAAI,CAAC;YAAE,SAAQ;QAEhD,MAAM,YAAY,GAAG,GAAG,CAAC,IAAI,CAAC,CAAA;QAC9B,SAAS,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;QACpB,GAAG,CAAC,IAAI,CAAC,GAAG,YAAY,CAAA;KACxB;AACF,CAAC;AASD,MAAM,UAAU,QAAQ,CACvB,KAA2B,EAC3B,QAA2B,EAC3B,MAA4B,EAC5B,SAA4B;IAE5B,IAAI,OAAO,GAAG,IAAI,CAAA;IAElB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,EAAE;QAC1B,MAAM,CAAC,GAAG,KAAK,EAAE,CAAA;QACjB,IAAI,OAAO,IAAI,CAAC,CAAC,OAAO,GAAG,KAAK,CAAC;YAAE,SAAS,CAAC,CAAC,CAAC,CAAA;;YAC1C,OAAO,GAAG,IAAI,CAAA;IACpB,CAAC,CAAC,CAAA;IAEF,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,EAAE;QAC1B,MAAM,CAAC,GAAG,MAAM,EAAE,CAAA;QAClB,IAAI,OAAO,IAAI,CAAC,CAAC,OAAO,GAAG,KAAK,CAAC;YAAE,QAAQ,CAAC,CAAC,CAAC,CAAA;;YACzC,OAAO,GAAG,IAAI,CAAA;IACpB,CAAC,CAAC,CAAA;IAEF,OAAO,SAAS,IAAI;QACnB,KAAK,EAAE,CAAA;QACP,KAAK,EAAE,CAAA;IACR,CAAC,CAAA;AACF,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAA"} \ No newline at end of file diff --git a/dist/index.test.js b/dist/index.test.js index 5b3e6fe..4ebe205 100644 --- a/dist/index.test.js +++ b/dist/index.test.js @@ -4,9 +4,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; import { untrack } from 'solid-js'; import { variable, autorun, reactive, reactify, circular } from './index.js'; describe('@lume/variable', () => { @@ -108,13 +105,13 @@ describe('@lume/variable', () => { }); it('does not prevent superclass constructor from receiving subclass constructor args', () => { let Insect = class Insect { + result; constructor(result) { this.result = result; } }; Insect = __decorate([ - reactive, - __metadata("design:paramtypes", [Number]) + reactive ], Insect); class Butterfly extends Insect { constructor(arg) { @@ -126,10 +123,8 @@ describe('@lume/variable', () => { }); it('makes class properties reactive, using class and property/accessor decorators', () => { let Butterfly = class Butterfly { - constructor() { - this.colors = 3; - this._wingSize = 2; - } + colors = 3; + _wingSize = 2; get wingSize() { return this._wingSize; } @@ -138,13 +133,10 @@ describe('@lume/variable', () => { } }; __decorate([ - reactive, - __metadata("design:type", Object) + reactive ], Butterfly.prototype, "colors", void 0); __decorate([ - reactive, - __metadata("design:type", Number), - __metadata("design:paramtypes", [Number]) + reactive ], Butterfly.prototype, "wingSize", null); Butterfly = __decorate([ reactive @@ -154,15 +146,15 @@ describe('@lume/variable', () => { }); it('show that reactify makes an infinite reactivity loop when used manually', () => { class Foo { + amount = 3; constructor() { - this.amount = 3; reactify(this, ['amount']); } } class Bar extends Foo { + double = 0; constructor() { super(); - this.double = 0; reactify(this, ['double']); this.double = this.amount * 2; } @@ -180,15 +172,15 @@ describe('@lume/variable', () => { }); it('show how to manually untrack constructors when not using decorators', () => { class Foo { + amount = 3; constructor() { - this.amount = 3; reactify(this, ['amount']); } } class Bar extends Foo { + double = 0; constructor() { super(); - this.double = 0; reactify(this, ['double']); untrack(() => { this.double = this.amount * 2; @@ -207,31 +199,26 @@ describe('@lume/variable', () => { }); it('automatically does not track reactivity in constructors when using decorators', () => { let Foo = class Foo { - constructor() { - this.amount = 3; - } + amount = 3; }; __decorate([ - reactive, - __metadata("design:type", Object) + reactive ], Foo.prototype, "amount", void 0); Foo = __decorate([ reactive ], Foo); let Bar = class Bar extends Foo { + double = 0; constructor() { super(); - this.double = 0; this.double = this.amount * 2; } }; __decorate([ - reactive, - __metadata("design:type", Object) + reactive ], Bar.prototype, "double", void 0); Bar = __decorate([ - reactive, - __metadata("design:paramtypes", []) + reactive ], Bar); let b; let count = 0; @@ -249,13 +236,10 @@ describe('@lume/variable', () => { }); it('automatically does not track reactivity in constructors when using decorators even when not the root most decorator', () => { let Foo = class Foo { - constructor() { - this.amount = 3; - } + amount = 3; }; __decorate([ - reactive, - __metadata("design:type", Object) + reactive ], Foo.prototype, "amount", void 0); Foo = __decorate([ reactive @@ -269,20 +253,18 @@ describe('@lume/variable', () => { }; } let Bar = class Bar extends Foo { + double = 0; constructor() { super(); - this.double = 0; this.double = this.amount * 2; } }; __decorate([ - reactive, - __metadata("design:type", Object) + reactive ], Bar.prototype, "double", void 0); Bar = __decorate([ someOtherDecorator, - reactive, - __metadata("design:paramtypes", []) + reactive ], Bar); let b; let count = 0; @@ -300,45 +282,45 @@ describe('@lume/variable', () => { }); it('makes class properties reactive, not using any decorators, specified in the constructor', () => { class Butterfly { - constructor() { - this.colors = 3; - this._wingSize = 2; - reactify(this, ['colors', 'wingSize']); - } + colors = 3; + _wingSize = 2; get wingSize() { return this._wingSize; } set wingSize(s) { this._wingSize = s; } + constructor() { + reactify(this, ['colors', 'wingSize']); + } } const b = new Butterfly(); testButterflyProps(b); }); it('makes class properties reactive, with properties defined in the constructor', () => { class Butterfly { - constructor() { - this.colors = 3; - this._wingSize = 2; - reactify(this, ['colors', 'wingSize']); - } + colors; + _wingSize; get wingSize() { return this._wingSize; } set wingSize(s) { this._wingSize = s; } + constructor() { + this.colors = 3; + this._wingSize = 2; + reactify(this, ['colors', 'wingSize']); + } } const b = new Butterfly(); testButterflyProps(b); }); it('makes class properties reactive, using only class decorator, specified via static prop', () => { let Butterfly = class Butterfly { - constructor() { - this.colors = 3; - this._wingSize = 2; - } - static { this.reactiveProperties = ['colors', 'wingSize']; } + static reactiveProperties = ['colors', 'wingSize']; + colors = 3; + _wingSize = 2; get wingSize() { return this._wingSize; } @@ -354,57 +336,60 @@ describe('@lume/variable', () => { }); it('makes class properties reactive, using only class decorator, specified via static prop, properties defined in the constructor', () => { let Butterfly = class Butterfly { - constructor() { - this.colors = 3; - this._wingSize = 2; - } - static { this.reactiveProperties = ['colors', 'wingSize']; } + static reactiveProperties = ['colors', 'wingSize']; + colors; + _wingSize; get wingSize() { return this._wingSize; } set wingSize(s) { this._wingSize = s; } + constructor() { + this.colors = 3; + this._wingSize = 2; + } }; Butterfly = __decorate([ - reactive, - __metadata("design:paramtypes", []) + reactive ], Butterfly); const b = new Butterfly(); testButterflyProps(b); }); it('makes class properties reactive, not using any decorators, specified via static prop', () => { class Butterfly { - constructor() { - this.colors = 3; - this._wingSize = 2; - reactify(this, Butterfly); - } - static { this.reactiveProperties = ['colors', 'wingSize']; } + static reactiveProperties = ['colors', 'wingSize']; + colors = 3; + _wingSize = 2; get wingSize() { return this._wingSize; } set wingSize(s) { this._wingSize = s; } + constructor() { + reactify(this, Butterfly); + } } const b = new Butterfly(); testButterflyProps(b); }); it('makes class properties reactive, not using any decorators, specified via static prop, properties defined in the constructor', () => { class Butterfly { - constructor() { - this.colors = 3; - this._wingSize = 2; - reactify(this, Butterfly); - } - static { this.reactiveProperties = ['colors', 'wingSize']; } + static reactiveProperties = ['colors', 'wingSize']; + colors; + _wingSize; get wingSize() { return this._wingSize; } set wingSize(s) { this._wingSize = s; } + constructor() { + this.colors = 3; + this._wingSize = 2; + reactify(this, Butterfly); + } } const b = new Butterfly(); testButterflyProps(b); diff --git a/dist/index.test.js.map b/dist/index.test.js.map index c7a1047..b1dd36c 100644 --- a/dist/index.test.js.map +++ b/dist/index.test.js.map @@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AAA;IAEZ,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;IAC1B,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;IAC3B,MAAM,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;AACtB,CAAC"} \ No newline at end of file diff --git a/package.json b/package.json index 84887f5..0d00419 100644 --- a/package.json +++ b/package.json @@ -30,9 +30,9 @@ "solid-js": "<1.5.0" }, "devDependencies": { - "@lume/cli": "^0.9.0", + "@lume/cli": "^0.10.0", "prettier": "3.0.3", - "typescript": "4.4.3" + "typescript": "^5.0.0" }, "repository": { "type": "git", diff --git a/tsconfig.json b/tsconfig.json index f7092f3..146a46a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,7 @@ { "extends": "./node_modules/@lume/cli/config/ts.config.json", "compilerOptions": { - "useDefineForClassFields": false + // legacy decorators until we switch to classy-solid and standard (non-legacy) decorators + "experimentalDecorators": true } } diff --git a/tsconfig2.json b/tsconfig2.json deleted file mode 100644 index db85080..0000000 --- a/tsconfig2.json +++ /dev/null @@ -1,9 +0,0 @@ -// The sole purpose of this file is for when testing the decorators against all -// decorator build configurations of TypeScript and Babel (with TypeScript we -// need to test with both values of "useDefineForClassFields"). -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "useDefineForClassFields": true - } -}