@oliversalzburg/js-utils 0.0.5 → 0.0.6

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.
Files changed (79) hide show
  1. package/package.json +5 -8
  2. package/output/vector.d.ts +0 -10
  3. package/output/vector.js +0 -19
  4. package/output/vector.js.map +0 -1
  5. /package/{output → lib}/array.d.ts +0 -0
  6. /package/{output → lib}/array.js +0 -0
  7. /package/{output → lib}/array.js.map +0 -0
  8. /package/{output → lib}/core.d.ts +0 -0
  9. /package/{output → lib}/core.js +0 -0
  10. /package/{output → lib}/core.js.map +0 -0
  11. /package/{output → lib}/error-serializer.d.ts +0 -0
  12. /package/{output → lib}/error-serializer.js +0 -0
  13. /package/{output → lib}/error-serializer.js.map +0 -0
  14. /package/{output → lib}/errors/AbstractError.d.ts +0 -0
  15. /package/{output → lib}/errors/AbstractError.js +0 -0
  16. /package/{output → lib}/errors/AbstractError.js.map +0 -0
  17. /package/{output → lib}/errors/InternalError.d.ts +0 -0
  18. /package/{output → lib}/errors/InternalError.js +0 -0
  19. /package/{output → lib}/errors/InternalError.js.map +0 -0
  20. /package/{output → lib}/errors/InvalidArgumentError.d.ts +0 -0
  21. /package/{output → lib}/errors/InvalidArgumentError.js +0 -0
  22. /package/{output → lib}/errors/InvalidArgumentError.js.map +0 -0
  23. /package/{output → lib}/errors/InvalidOperationError.d.ts +0 -0
  24. /package/{output → lib}/errors/InvalidOperationError.js +0 -0
  25. /package/{output → lib}/errors/InvalidOperationError.js.map +0 -0
  26. /package/{output → lib}/errors/NotImplementedError.d.ts +0 -0
  27. /package/{output → lib}/errors/NotImplementedError.js +0 -0
  28. /package/{output → lib}/errors/NotImplementedError.js.map +0 -0
  29. /package/{output → lib}/errors/PermissionViolationError.d.ts +0 -0
  30. /package/{output → lib}/errors/PermissionViolationError.js +0 -0
  31. /package/{output → lib}/errors/PermissionViolationError.js.map +0 -0
  32. /package/{output → lib}/errors/ResourceConflictError.d.ts +0 -0
  33. /package/{output → lib}/errors/ResourceConflictError.js +0 -0
  34. /package/{output → lib}/errors/ResourceConflictError.js.map +0 -0
  35. /package/{output → lib}/errors/UnknownError.d.ts +0 -0
  36. /package/{output → lib}/errors/UnknownError.js +0 -0
  37. /package/{output → lib}/errors/UnknownError.js.map +0 -0
  38. /package/{output → lib}/errors/index.d.ts +0 -0
  39. /package/{output → lib}/errors/index.js +0 -0
  40. /package/{output → lib}/errors/index.js.map +0 -0
  41. /package/{output → lib}/graphics/canvas.d.ts +0 -0
  42. /package/{output → lib}/graphics/canvas.js +0 -0
  43. /package/{output → lib}/graphics/canvas.js.map +0 -0
  44. /package/{output → lib}/graphics/core.d.ts +0 -0
  45. /package/{output → lib}/graphics/core.js +0 -0
  46. /package/{output → lib}/graphics/core.js.map +0 -0
  47. /package/{output → lib}/graphics/index.d.ts +0 -0
  48. /package/{output → lib}/graphics/index.js +0 -0
  49. /package/{output → lib}/graphics/index.js.map +0 -0
  50. /package/{output → lib}/graphics/render-loop.d.ts +0 -0
  51. /package/{output → lib}/graphics/render-loop.js +0 -0
  52. /package/{output → lib}/graphics/render-loop.js.map +0 -0
  53. /package/{output → lib}/index.d.ts +0 -0
  54. /package/{output → lib}/index.js +0 -0
  55. /package/{output → lib}/index.js.map +0 -0
  56. /package/{output → lib}/math/core.d.ts +0 -0
  57. /package/{output → lib}/math/core.js +0 -0
  58. /package/{output → lib}/math/core.js.map +0 -0
  59. /package/{output → lib}/math/index.d.ts +0 -0
  60. /package/{output → lib}/math/index.js +0 -0
  61. /package/{output → lib}/math/index.js.map +0 -0
  62. /package/{output → lib}/math/vector.d.ts +0 -0
  63. /package/{output → lib}/math/vector.js +0 -0
  64. /package/{output → lib}/math/vector.js.map +0 -0
  65. /package/{output → lib}/nil.d.ts +0 -0
  66. /package/{output → lib}/nil.js +0 -0
  67. /package/{output → lib}/nil.js.map +0 -0
  68. /package/{output → lib}/random.d.ts +0 -0
  69. /package/{output → lib}/random.js +0 -0
  70. /package/{output → lib}/random.js.map +0 -0
  71. /package/{output → lib}/sleep.d.ts +0 -0
  72. /package/{output → lib}/sleep.js +0 -0
  73. /package/{output → lib}/sleep.js.map +0 -0
  74. /package/{output → lib}/string-formatter.d.ts +0 -0
  75. /package/{output → lib}/string-formatter.js +0 -0
  76. /package/{output → lib}/string-formatter.js.map +0 -0
  77. /package/{output → lib}/string-formatter.test.d.ts +0 -0
  78. /package/{output → lib}/string-formatter.test.js +0 -0
  79. /package/{output → lib}/string-formatter.test.js.map +0 -0
package/package.json CHANGED
@@ -1,16 +1,13 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@oliversalzburg/js-utils",
4
- "version": "0.0.5",
4
+ "version": "0.0.6",
5
5
  "license": "MIT",
6
6
  "author": "Oliver Salzburg <oliver.salzburg@gmail.com>",
7
7
  "type": "module",
8
8
  "exports": {
9
9
  ".": {
10
- "default": "./output/index.js"
11
- },
12
- "./*.js": {
13
- "default": "./output/*.js"
10
+ "default": "./lib/index.js"
14
11
  }
15
12
  },
16
13
  "scripts": {
@@ -27,11 +24,11 @@
27
24
  "npm:publish:minor": "npm version minor && npm publish",
28
25
  "npm:publish:patch": "npm version patch && npm publish",
29
26
  "prepack": "yarn run build",
30
- "test": "node --enable-source-maps $(yarn bin mocha) ./output/*.test.js",
27
+ "test": "node --enable-source-maps $(yarn bin mocha) ./lib/*.test.js",
31
28
  "test:coverage": "c8 --reporter html-spa --reporter text node --enable-source-maps $(yarn bin mocha)",
32
- "test:inspect": "node $(yarn bin mocha) --inspect ./output/*.test.js"
29
+ "test:inspect": "node $(yarn bin mocha) --inspect ./lib/*.test.js"
33
30
  },
34
- "types": "./output/index.d.ts",
31
+ "types": "./lib/index.d.ts",
35
32
  "devDependencies": {
36
33
  "@types/chai": "4.3.9",
37
34
  "@types/chai-as-promised": "7.1.7",
@@ -1,10 +0,0 @@
1
- export declare class Vector2 {
2
- x: number;
3
- y: number;
4
- constructor(x: number, y: number);
5
- dot2(x: number, y: number): number;
6
- }
7
- export declare class Vector3 extends Vector2 {
8
- z: number;
9
- constructor(x: number, y: number, z: number);
10
- }
package/output/vector.js DELETED
@@ -1,19 +0,0 @@
1
- export class Vector2 {
2
- x;
3
- y;
4
- constructor(x, y) {
5
- this.x = x;
6
- this.y = y;
7
- }
8
- dot2(x, y) {
9
- return this.x * x + this.y * y;
10
- }
11
- }
12
- export class Vector3 extends Vector2 {
13
- z;
14
- constructor(x, y, z) {
15
- super(x, y);
16
- this.z = z;
17
- }
18
- }
19
- //# sourceMappingURL=vector.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vector.js","sourceRoot":"","sources":["../source/vector.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,OAAO;IAClB,CAAC,CAAS;IACV,CAAC,CAAS;IAEV,YAAY,CAAS,EAAE,CAAS;QAC9B,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;QACX,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;IAED,IAAI,CAAC,CAAS,EAAE,CAAS;QACvB,OAAO,IAAI,CAAC,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;IACjC,CAAC;CACF;AAED,MAAM,OAAO,OAAQ,SAAQ,OAAO;IAClC,CAAC,CAAS;IAEV,YAAY,CAAS,EAAE,CAAS,EAAE,CAAS;QACzC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QACZ,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes