@tko/build.reference 4.0.0-alpha9.0 → 4.0.0-beta1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js ADDED
@@ -0,0 +1,54 @@
1
+ // @tko/build.reference 🥊 4.0.0-beta1.0 ESM
2
+ import { Builder } from "@tko/builder";
3
+ import { VirtualProvider } from "@tko/provider.virtual";
4
+ import { DataBindProvider } from "@tko/provider.databind";
5
+ import { ComponentProvider } from "@tko/provider.component";
6
+ import { AttributeProvider } from "@tko/provider.attr";
7
+ import { MultiProvider } from "@tko/provider.multi";
8
+ import {
9
+ TextMustacheProvider,
10
+ AttributeMustacheProvider
11
+ } from "@tko/provider.mustache";
12
+ import {
13
+ NativeProvider
14
+ } from "@tko/provider.native";
15
+ import { bindings as coreBindings } from "@tko/binding.core";
16
+ import { bindings as templateBindings } from "@tko/binding.template";
17
+ import { bindings as ifBindings } from "@tko/binding.if";
18
+ import { bindings as foreachBindings } from "@tko/binding.foreach";
19
+ import { bindings as componentBindings } from "@tko/binding.component";
20
+ import { filters } from "@tko/filter.punches";
21
+ import components from "@tko/utils.component";
22
+ import { createElement, Fragment } from "utils.jsx";
23
+ const builder = new Builder({
24
+ filters,
25
+ provider: new MultiProvider({
26
+ providers: [
27
+ new ComponentProvider(),
28
+ new NativeProvider(),
29
+ new AttributeMustacheProvider(),
30
+ new TextMustacheProvider(),
31
+ new DataBindProvider(),
32
+ new VirtualProvider(),
33
+ new AttributeProvider()
34
+ ]
35
+ }),
36
+ bindings: [
37
+ coreBindings,
38
+ templateBindings,
39
+ ifBindings,
40
+ foreachBindings,
41
+ componentBindings,
42
+ { each: foreachBindings.foreach }
43
+ ]
44
+ });
45
+ const version = "4.0.0-beta1.0";
46
+ export default builder.create({
47
+ jsx: {
48
+ createElement,
49
+ Fragment
50
+ },
51
+ components,
52
+ version,
53
+ Component: components.ComponentABC
54
+ });
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/index.ts"],
4
+ "sourcesContent": ["import { Builder } from '@tko/builder'\n\nimport { VirtualProvider } from '@tko/provider.virtual'\nimport { DataBindProvider } from '@tko/provider.databind'\nimport { ComponentProvider } from '@tko/provider.component'\nimport { AttributeProvider } from '@tko/provider.attr'\nimport { MultiProvider } from '@tko/provider.multi'\nimport {\n TextMustacheProvider, AttributeMustacheProvider\n} from '@tko/provider.mustache'\nimport {\n NativeProvider\n} from '@tko/provider.native'\n\nimport { bindings as coreBindings } from '@tko/binding.core'\nimport { bindings as templateBindings } from '@tko/binding.template'\nimport { bindings as ifBindings } from '@tko/binding.if'\nimport { bindings as foreachBindings } from '@tko/binding.foreach'\nimport { bindings as componentBindings } from '@tko/binding.component'\n\nimport { filters } from '@tko/filter.punches'\n\nimport components from '@tko/utils.component'\nimport { createElement, Fragment } from 'utils.jsx'\n\nconst builder = new Builder({\n filters,\n provider: new MultiProvider({\n providers: [\n new ComponentProvider(),\n new NativeProvider(),\n new AttributeMustacheProvider(),\n new TextMustacheProvider(),\n new DataBindProvider(),\n new VirtualProvider(),\n new AttributeProvider(),\n ]\n }),\n bindings: [\n coreBindings,\n templateBindings,\n ifBindings,\n foreachBindings,\n componentBindings,\n { each: foreachBindings.foreach }\n ]\n})\n\nconst version = BUILD_VERSION\nexport default builder.create({\n jsx: {\n createElement,\n Fragment,\n },\n components,\n version,\n Component: components.ComponentABC,\n})\n"],
5
+ "mappings": ";AAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AAGA;AAAA;AAAA;AAIA;AACA;AACA;AACA;AACA;AAEA;AAEA;AACA;AAEA,MAAM,UAAU,IAAI,QAAQ;AAAA,EAC1B;AAAA,EACA,UAAU,IAAI,cAAc;AAAA,IAC1B,WAAW;AAAA,MACT,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA;AAAA;AAAA,EAGR,UAAU;AAAA,IACR;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,EAAE,MAAM,gBAAgB;AAAA;AAAA;AAI5B,MAAM,UAAU;AAChB,eAAe,QAAQ,OAAO;AAAA,EAC5B,KAAK;AAAA,IACH;AAAA,IACA;AAAA;AAAA,EAEF;AAAA,EACA;AAAA,EACA,WAAW,WAAW;AAAA;",
6
+ "names": []
7
+ }
package/package.json CHANGED
@@ -1,58 +1,58 @@
1
1
  {
2
+ "version": "4.0.0-beta1.0",
2
3
  "name": "@tko/build.reference",
3
- "version": "4.0.0-alpha9.0",
4
4
  "description": "The TKO Reference Build",
5
- "main": "dist/build.reference.js",
6
- "repository": "git@github.com:knockout/tko",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/knockout/tko.git"
8
+ },
7
9
  "author": "The Knockout Team",
10
+ "karma": {
11
+ "frameworks": [
12
+ "mocha",
13
+ "chai"
14
+ ]
15
+ },
8
16
  "license": "MIT",
9
- "devDependencies": {
10
- "@tko/binding.component": "^4.0.0-alpha9.0",
11
- "@tko/binding.core": "^4.0.0-alpha9.0",
12
- "@tko/binding.foreach": "^4.0.0-alpha9.0",
13
- "@tko/binding.if": "^4.0.0-alpha9.0",
14
- "@tko/binding.template": "^4.0.0-alpha9.0",
15
- "@tko/builder": "^4.0.0-alpha9.0",
16
- "@tko/filter.punches": "^4.0.0-alpha8.0",
17
- "@tko/provider.attr": "^4.0.0-alpha8.4",
18
- "@tko/provider.bindingstring": "^4.0.0-alpha9.0",
19
- "@tko/provider.component": "^4.0.0-alpha9.0",
20
- "@tko/provider.databind": "^4.0.0-alpha9.0",
21
- "@tko/provider.multi": "^4.0.0-alpha8.4",
22
- "@tko/provider.mustache": "^4.0.0-alpha9.0",
23
- "@tko/provider.native": "^4.0.0-alpha8.4a",
24
- "@tko/provider.virtual": "^4.0.0-alpha9.0",
25
- "@tko/utils.component": "^4.0.0-alpha9.0",
26
- "@tko/utils.jsx": "^4.0.0-alpha9.0",
27
- "tslib": "^1.8.0"
17
+ "dependencies": {
18
+ "@tko/binding.component": "^4.0.0-beta1.0",
19
+ "@tko/binding.core": "^4.0.0-beta1.0",
20
+ "@tko/binding.foreach": "^4.0.0-beta1.0",
21
+ "@tko/binding.if": "^4.0.0-beta1.0",
22
+ "@tko/binding.template": "^4.0.0-beta1.0",
23
+ "@tko/builder": "^4.0.0-beta1.0",
24
+ "@tko/filter.punches": "^4.0.0-beta1.0",
25
+ "@tko/provider.attr": "^4.0.0-beta1.0",
26
+ "@tko/provider.bindingstring": "^4.0.0-beta1.0",
27
+ "@tko/provider.component": "^4.0.0-beta1.0",
28
+ "@tko/provider.databind": "^4.0.0-beta1.0",
29
+ "@tko/provider.multi": "^4.0.0-beta1.0",
30
+ "@tko/provider.mustache": "^4.0.0-beta1.0",
31
+ "@tko/provider.native": "^4.0.0-beta1.0",
32
+ "@tko/provider.virtual": "^4.0.0-beta1.0",
33
+ "@tko/utils.component": "^4.0.0-beta1.0",
34
+ "@tko/utils.jsx": "^4.0.0-beta1.0",
35
+ "tslib": "^2.2.0"
28
36
  },
29
37
  "files": [
30
38
  "dist/",
31
39
  "helpers/"
32
40
  ],
33
- "__about__shared.package.json": "These properties are copied into all packages/*/package.json. Run `yarn repackage`",
34
- "standard": {
35
- "env": [
36
- "browser",
37
- "jasmine",
38
- "mocha"
39
- ]
40
- },
41
- "scripts": {
42
- "test": "npx karma start ../../karma.conf.js --once",
43
- "build": "npx rollup -c ../../rollup.config.js",
44
- "watch": "npx karma start ../../karma.conf.js",
45
- "prepare": "npx rollup -c ../../rollup.config.js"
46
- },
47
- "publishConfig": {
48
- "access": "public"
49
- },
50
41
  "homepage": "https://tko.io",
51
42
  "licenses": [
52
43
  {
53
44
  "type": "MIT",
54
- "url": "http://www.opensource.org/licenses/mit-license.php"
45
+ "url": "https://opensource.org/licenses/MIT"
55
46
  }
56
47
  ],
57
- "gitHead": "90cdb597db01d50725c567810af092e70a5b32d9"
48
+ "exports": {
49
+ ".": {
50
+ "require": "./dist/index.cjs",
51
+ "import": "./dist/index.js"
52
+ },
53
+ "./helpers/*": "./helpers/*"
54
+ },
55
+ "bugs": {
56
+ "url": "https://github.com/knockout/tko/issues"
57
+ }
58
58
  }
package/LICENSE DELETED
@@ -1,22 +0,0 @@
1
- The MIT License (MIT) - http://www.opensource.org/licenses/mit-license.php
2
-
3
- Copyright (c) Steven Sanderson, the Knockout.js team, and other contributors
4
- http://knockoutjs.com/
5
-
6
- Permission is hereby granted, free of charge, to any person obtaining a copy
7
- of this software and associated documentation files (the "Software"), to deal
8
- in the Software without restriction, including without limitation the rights
9
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- copies of the Software, and to permit persons to whom the Software is
11
- furnished to do so, subject to the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be included in
14
- all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
- THE SOFTWARE.