@babylonjs/post-processes 5.0.0-rc.0 → 5.0.0-rc.11

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.
@@ -1,13 +1,14 @@
1
- import * as postProcessLibrary from "../asciiArt/index.js";
2
- /**
3
- * This is the entry point for the UMD module.
4
- * The entry point for a future ESM package should be index.ts
5
- */
6
- var globalObject = (typeof global !== 'undefined') ? global : ((typeof window !== 'undefined') ? window : undefined);
7
- if (typeof globalObject !== "undefined") {
8
- for (var key in postProcessLibrary) {
9
- globalObject.BABYLON[key] = postProcessLibrary[key];
10
- }
11
- }
12
- export * from "../asciiArt/index.js";
1
+ /* eslint-disable import/no-internal-modules */
2
+ import * as postProcessLibrary from "../asciiArt/index";
3
+ /**
4
+ * This is the entry point for the UMD module.
5
+ * The entry point for a future ESM package should be index.ts
6
+ */
7
+ var globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
8
+ if (typeof globalObject !== "undefined") {
9
+ for (var key in postProcessLibrary) {
10
+ globalObject.BABYLON[key] = postProcessLibrary[key];
11
+ }
12
+ }
13
+ export * from "../asciiArt/index";
13
14
  //# sourceMappingURL=legacy-asciiArt.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"legacy-asciiArt.js","sourceRoot":"","sources":["../../../sourceES6/postProcessesLibrary/src/legacy/legacy-asciiArt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,kBAAkB,MAAM,mBAAmB,CAAC;AAExD;;;GAGG;AACH,IAAI,YAAY,GAAG,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;AACrH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IACrC,KAAK,IAAI,GAAG,IAAI,kBAAkB,EAAE;QAC1B,YAAa,CAAC,OAAO,CAAC,GAAG,CAAC,GAAS,kBAAmB,CAAC,GAAG,CAAC,CAAC;KACrE;CACJ;AAED,cAAc,mBAAmB,CAAC","sourcesContent":["import * as postProcessLibrary from \"../asciiArt/index\";\r\n\r\n/**\r\n * This is the entry point for the UMD module.\r\n * The entry point for a future ESM package should be index.ts\r\n */\r\nvar globalObject = (typeof global !== 'undefined') ? global : ((typeof window !== 'undefined') ? window : undefined);\r\nif (typeof globalObject !== \"undefined\") {\r\n for (var key in postProcessLibrary) {\r\n (<any>globalObject).BABYLON[key] = (<any>postProcessLibrary)[key];\r\n }\r\n}\r\n\r\nexport * from \"../asciiArt/index\";"]}
1
+ {"version":3,"file":"legacy-asciiArt.js","sourceRoot":"","sources":["../../../../../lts/postProcesses/generated/legacy/legacy-asciiArt.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,OAAO,KAAK,kBAAkB,MAAM,mBAAmB,CAAC;AACxD;;;GAGG;AACH,IAAM,YAAY,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AACjH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IACrC,KAAK,IAAM,GAAG,IAAI,kBAAkB,EAAE;QAC5B,YAAa,CAAC,OAAO,CAAC,GAAG,CAAC,GAAS,kBAAmB,CAAC,GAAG,CAAC,CAAC;KACrE;CACJ;AACD,cAAc,mBAAmB,CAAC","sourcesContent":["/* eslint-disable import/no-internal-modules */\nimport * as postProcessLibrary from \"../asciiArt/index\";\n/**\n * This is the entry point for the UMD module.\n * The entry point for a future ESM package should be index.ts\n */\nconst globalObject = typeof global !== \"undefined\" ? global : typeof window !== \"undefined\" ? window : undefined;\nif (typeof globalObject !== \"undefined\") {\n for (const key in postProcessLibrary) {\n (<any>globalObject).BABYLON[key] = (<any>postProcessLibrary)[key];\n }\n}\nexport * from \"../asciiArt/index\";\n"]}
@@ -1 +1 @@
1
- export * from "../digitalRain/index";
1
+ export * from "../digitalRain/index";
@@ -1,13 +1,14 @@
1
- import * as postProcessLibrary from "../digitalRain/index.js";
2
- /**
3
- * This is the entry point for the UMD module.
4
- * The entry point for a future ESM package should be index.ts
5
- */
6
- var globalObject = (typeof global !== 'undefined') ? global : ((typeof window !== 'undefined') ? window : undefined);
7
- if (typeof globalObject !== "undefined") {
8
- for (var key in postProcessLibrary) {
9
- globalObject.BABYLON[key] = postProcessLibrary[key];
10
- }
11
- }
12
- export * from "../digitalRain/index.js";
1
+ /* eslint-disable import/no-internal-modules */
2
+ import * as postProcessLibrary from "../digitalRain/index";
3
+ /**
4
+ * This is the entry point for the UMD module.
5
+ * The entry point for a future ESM package should be index.ts
6
+ */
7
+ var globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
8
+ if (typeof globalObject !== "undefined") {
9
+ for (var key in postProcessLibrary) {
10
+ globalObject.BABYLON[key] = postProcessLibrary[key];
11
+ }
12
+ }
13
+ export * from "../digitalRain/index";
13
14
  //# sourceMappingURL=legacy-digitalRain.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"legacy-digitalRain.js","sourceRoot":"","sources":["../../../sourceES6/postProcessesLibrary/src/legacy/legacy-digitalRain.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,kBAAkB,MAAM,sBAAsB,CAAC;AAE3D;;;GAGG;AACH,IAAI,YAAY,GAAG,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;AACrH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IACrC,KAAK,IAAI,GAAG,IAAI,kBAAkB,EAAE;QAC1B,YAAa,CAAC,OAAO,CAAC,GAAG,CAAC,GAAS,kBAAmB,CAAC,GAAG,CAAC,CAAC;KACrE;CACJ;AAED,cAAc,sBAAsB,CAAC","sourcesContent":["import * as postProcessLibrary from \"../digitalRain/index\";\r\n\r\n/**\r\n * This is the entry point for the UMD module.\r\n * The entry point for a future ESM package should be index.ts\r\n */\r\nvar globalObject = (typeof global !== 'undefined') ? global : ((typeof window !== 'undefined') ? window : undefined);\r\nif (typeof globalObject !== \"undefined\") {\r\n for (var key in postProcessLibrary) {\r\n (<any>globalObject).BABYLON[key] = (<any>postProcessLibrary)[key];\r\n }\r\n}\r\n\r\nexport * from \"../digitalRain/index\";"]}
1
+ {"version":3,"file":"legacy-digitalRain.js","sourceRoot":"","sources":["../../../../../lts/postProcesses/generated/legacy/legacy-digitalRain.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,OAAO,KAAK,kBAAkB,MAAM,sBAAsB,CAAC;AAC3D;;;GAGG;AACH,IAAM,YAAY,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AACjH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IACrC,KAAK,IAAM,GAAG,IAAI,kBAAkB,EAAE;QAC5B,YAAa,CAAC,OAAO,CAAC,GAAG,CAAC,GAAS,kBAAmB,CAAC,GAAG,CAAC,CAAC;KACrE;CACJ;AACD,cAAc,sBAAsB,CAAC","sourcesContent":["/* eslint-disable import/no-internal-modules */\nimport * as postProcessLibrary from \"../digitalRain/index\";\n/**\n * This is the entry point for the UMD module.\n * The entry point for a future ESM package should be index.ts\n */\nconst globalObject = typeof global !== \"undefined\" ? global : typeof window !== \"undefined\" ? window : undefined;\nif (typeof globalObject !== \"undefined\") {\n for (const key in postProcessLibrary) {\n (<any>globalObject).BABYLON[key] = (<any>postProcessLibrary)[key];\n }\n}\nexport * from \"../digitalRain/index\";\n"]}
@@ -1 +1 @@
1
- export * from "../index";
1
+ export * from "../index";
package/legacy/legacy.js CHANGED
@@ -1,14 +1,15 @@
1
- import * as postProcessLibrary from "../index.js";
2
- /**
3
- *
4
- * This is the entry point for the UMD module.
5
- * The entry point for a future ESM package should be index.ts
6
- */
7
- var globalObject = (typeof global !== 'undefined') ? global : ((typeof window !== 'undefined') ? window : undefined);
8
- if (typeof globalObject !== "undefined") {
9
- for (var key in postProcessLibrary) {
10
- globalObject.BABYLON[key] = postProcessLibrary[key];
11
- }
12
- }
13
- export * from "../index.js";
1
+ /* eslint-disable import/no-internal-modules */
2
+ import * as postProcessLibrary from "../index";
3
+ /**
4
+ *
5
+ * This is the entry point for the UMD module.
6
+ * The entry point for a future ESM package should be index.ts
7
+ */
8
+ var globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
9
+ if (typeof globalObject !== "undefined") {
10
+ for (var key in postProcessLibrary) {
11
+ globalObject.BABYLON[key] = postProcessLibrary[key];
12
+ }
13
+ }
14
+ export * from "../index";
14
15
  //# sourceMappingURL=legacy.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"legacy.js","sourceRoot":"","sources":["../../../sourceES6/postProcessesLibrary/src/legacy/legacy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,kBAAkB,MAAM,UAAU,CAAC;AAE/C;;;;GAIG;AACH,IAAI,YAAY,GAAG,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;AACrH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IACrC,KAAK,IAAI,GAAG,IAAI,kBAAkB,EAAE;QAC1B,YAAa,CAAC,OAAO,CAAC,GAAG,CAAC,GAAS,kBAAmB,CAAC,GAAG,CAAC,CAAC;KACrE;CACJ;AAED,cAAc,UAAU,CAAC","sourcesContent":["import * as postProcessLibrary from \"../index\";\r\n\r\n/**\r\n *\r\n * This is the entry point for the UMD module.\r\n * The entry point for a future ESM package should be index.ts\r\n */\r\nvar globalObject = (typeof global !== 'undefined') ? global : ((typeof window !== 'undefined') ? window : undefined);\r\nif (typeof globalObject !== \"undefined\") {\r\n for (var key in postProcessLibrary) {\r\n (<any>globalObject).BABYLON[key] = (<any>postProcessLibrary)[key];\r\n }\r\n}\r\n\r\nexport * from \"../index\";"]}
1
+ {"version":3,"file":"legacy.js","sourceRoot":"","sources":["../../../../../lts/postProcesses/generated/legacy/legacy.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,OAAO,KAAK,kBAAkB,MAAM,UAAU,CAAC;AAC/C;;;;GAIG;AACH,IAAM,YAAY,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AACjH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IACrC,KAAK,IAAM,GAAG,IAAI,kBAAkB,EAAE;QAC5B,YAAa,CAAC,OAAO,CAAC,GAAG,CAAC,GAAS,kBAAmB,CAAC,GAAG,CAAC,CAAC;KACrE;CACJ;AACD,cAAc,UAAU,CAAC","sourcesContent":["/* eslint-disable import/no-internal-modules */\nimport * as postProcessLibrary from \"../index\";\n/**\n *\n * This is the entry point for the UMD module.\n * The entry point for a future ESM package should be index.ts\n */\nconst globalObject = typeof global !== \"undefined\" ? global : typeof window !== \"undefined\" ? window : undefined;\nif (typeof globalObject !== \"undefined\") {\n for (const key in postProcessLibrary) {\n (<any>globalObject).BABYLON[key] = (<any>postProcessLibrary)[key];\n }\n}\nexport * from \"../index\";\n"]}
package/package.json CHANGED
@@ -1,65 +1,31 @@
1
1
  {
2
- "author": {
3
- "name": "David CATUHE"
4
- },
5
2
  "name": "@babylonjs/post-processes",
6
- "description": "The Babylon.js materials library is a collection of advanced materials to be used in a Babylon.js scene.",
7
- "version": "5.0.0-rc.0",
8
- "repository": {
9
- "type": "git",
10
- "url": "https://github.com/BabylonJS/Babylon.js.git"
11
- },
3
+ "version": "5.0.0-rc.11",
12
4
  "main": "index.js",
5
+ "module": "index.js",
6
+ "types": "index.d.ts",
13
7
  "files": [
14
- "asciiArt/asciiart.fragment.d.ts",
15
- "asciiArt/asciiart.fragment.js",
16
- "asciiArt/asciiart.fragment.js.map",
17
- "asciiArt/asciiArtPostProcess.d.ts",
18
- "asciiArt/asciiArtPostProcess.js",
19
- "asciiArt/asciiArtPostProcess.js.map",
20
- "asciiArt/index.d.ts",
21
- "asciiArt/index.js",
22
- "asciiArt/index.js.map",
23
- "digitalRain/digitalrain.fragment.d.ts",
24
- "digitalRain/digitalrain.fragment.js",
25
- "digitalRain/digitalrain.fragment.js.map",
26
- "digitalRain/digitalRainPostProcess.d.ts",
27
- "digitalRain/digitalRainPostProcess.js",
28
- "digitalRain/digitalRainPostProcess.js.map",
29
- "digitalRain/index.d.ts",
30
- "digitalRain/index.js",
31
- "digitalRain/index.js.map",
32
- "index.d.ts",
33
- "index.js",
34
- "index.js.map",
35
- "legacy/legacy-asciiArt.d.ts",
36
- "legacy/legacy-asciiArt.js",
37
- "legacy/legacy-asciiArt.js.map",
38
- "legacy/legacy-digitalRain.d.ts",
39
- "legacy/legacy-digitalRain.js",
40
- "legacy/legacy-digitalRain.js.map",
41
- "legacy/legacy.d.ts",
42
- "legacy/legacy.js",
43
- "legacy/legacy.js.map",
8
+ "**/*.js",
9
+ "**/*.d.ts",
10
+ "**/*.map",
44
11
  "readme.md"
45
12
  ],
46
- "typings": "index.d.ts",
47
- "keywords": [
48
- "3D",
49
- "javascript",
50
- "html5",
51
- "webgl",
52
- "post process"
53
- ],
54
- "license": "Apache-2.0",
13
+ "scripts": {
14
+ "build": "npm run clean && npm run compile",
15
+ "clean": "rimraf dist && rimraf *.tsbuildinfo && rimraf \"./**/*.!(md|json|build.json)\"",
16
+ "compile": "tsc -b tsconfig.build.json",
17
+ "postcompile": "build-tools -c add-js-to-es6 --path ./dist/**/*.js",
18
+ "prepublishOnly": "build-tools -c prepare-es6-build"
19
+ },
55
20
  "dependencies": {
56
- "@babylonjs/core": "5.0.0-rc.0",
21
+ "@babylonjs/core": "^5.0.0-rc.11",
57
22
  "tslib": "^2.3.1"
58
23
  },
59
- "engines": {
60
- "node": "*"
24
+ "devDependencies": {
25
+ "@dev/build-tools": "^1.0.0",
26
+ "@lts/post-processes": "^1.0.0",
27
+ "rimraf": "^3.0.2",
28
+ "typescript": "^4.4.4"
61
29
  },
62
- "module": "index.js",
63
- "esnext": "index.js",
64
- "type": "module"
65
- }
30
+ "sideEffects": true
31
+ }
package/readme.md CHANGED
@@ -13,7 +13,7 @@ npm install --save @babylonjs/core @babylonjs/post-processes
13
13
 
14
14
  # How to use
15
15
 
16
- Afterwards it can be imported to the your project using:
16
+ Afterwards it can be imported to your project using:
17
17
 
18
18
  ```
19
19
  import { AsciiArtPostProcess } from '@babylonjs/post-processes/asciiArt';
@@ -28,4 +28,4 @@ let postProcess = new AsciiArtPostProcess("AsciiArt", camera);
28
28
  // Some more awesome code
29
29
  ```
30
30
 
31
- For more information you can have a look at our [our ES6 dedicated documentation](https://doc.babylonjs.com/features/es6_support).
31
+ For more information you can have a look at our [ES6 dedicated documentation](https://doc.babylonjs.com/features/es6_support).