@notabene/javascript-sdk 1.32.0 → 2.0.0-next.2

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 (74) hide show
  1. package/.gitlab-ci.yml +12 -1
  2. package/.husky/commit-msg +0 -0
  3. package/.husky/pre-commit +0 -0
  4. package/.husky/pre-push +1 -1
  5. package/.vscode/extensions.json +1 -5
  6. package/.vscode/settings.json +4 -4
  7. package/.yarn/releases/yarn-berry.cjs +925 -0
  8. package/.yarnrc.yml +3 -0
  9. package/CODEOWNERS +1 -1
  10. package/README.md +128 -70
  11. package/api-extractor.json +434 -0
  12. package/dist/notabene.cjs +1 -0
  13. package/dist/notabene.d.ts +678 -0
  14. package/dist/notabene.js +187 -0
  15. package/dist/tsdoc-metadata.json +11 -0
  16. package/eslint.config.js +24 -0
  17. package/etc/javascript-sdk.api.md +363 -0
  18. package/index.html +137 -0
  19. package/package.json +27 -53
  20. package/src/__tests__/notabene.test.ts +116 -0
  21. package/src/arbitraries.ts +13 -0
  22. package/src/components/EmbeddedComponent.ts +110 -0
  23. package/src/components/__tests__/EmbeddedComponent.test.ts +160 -0
  24. package/src/ivms/types.ts +2 -0
  25. package/src/notabene.ts +173 -279
  26. package/src/types.ts +381 -49
  27. package/src/utils/MessageEventManager.ts +55 -0
  28. package/src/utils/__tests__/MessageEventManager.test.ts +95 -0
  29. package/src/utils/arbitraries.ts +21 -0
  30. package/src/utils/caip.ts +16 -0
  31. package/src/utils/urls.ts +15 -0
  32. package/temp/javascript-sdk.api.json +3509 -0
  33. package/temp/javascript-sdk.api.md +363 -0
  34. package/ts-out/src/__tests__/notabene.test.d.ts +1 -0
  35. package/ts-out/src/__tests__/notabene.test.js +88 -0
  36. package/ts-out/src/arbitraries.d.ts +4 -0
  37. package/ts-out/src/arbitraries.js +8 -0
  38. package/ts-out/src/components/EmbeddedComponent.d.ts +25 -0
  39. package/ts-out/src/components/EmbeddedComponent.js +87 -0
  40. package/ts-out/src/components/__tests__/EmbeddedComponent.test.d.ts +1 -0
  41. package/ts-out/src/components/__tests__/EmbeddedComponent.test.js +132 -0
  42. package/ts-out/src/ivms/types.d.ts +252 -0
  43. package/ts-out/src/ivms/types.js +1 -0
  44. package/ts-out/src/notabene.d.ts +35 -0
  45. package/ts-out/src/notabene.js +59 -0
  46. package/ts-out/src/types.d.ts +357 -0
  47. package/ts-out/src/types.js +85 -0
  48. package/ts-out/src/utils/MessageEventManager.d.ts +12 -0
  49. package/ts-out/src/utils/MessageEventManager.js +45 -0
  50. package/ts-out/src/utils/__tests__/MessageEventManager.test.d.ts +1 -0
  51. package/ts-out/src/utils/__tests__/MessageEventManager.test.js +73 -0
  52. package/ts-out/src/utils/arbitraries.d.ts +6 -0
  53. package/ts-out/src/utils/arbitraries.js +7 -0
  54. package/ts-out/src/utils/caip.d.ts +13 -0
  55. package/ts-out/src/utils/caip.js +15 -0
  56. package/ts-out/src/utils/urls.d.ts +1 -0
  57. package/ts-out/src/utils/urls.js +14 -0
  58. package/ts-out/tsconfig.tsbuildinfo +1 -0
  59. package/tsconfig.json +15 -11
  60. package/tsconfig.tsbuildinfo +1 -0
  61. package/vite.config.js +13 -0
  62. package/.envrc.template +0 -1
  63. package/.eslintignore +0 -3
  64. package/.eslintrc.js +0 -13
  65. package/.nvmrc +0 -1
  66. package/.tool-versions +0 -3
  67. package/dist/es/index.js +0 -1
  68. package/dist/lib/index.js +0 -366
  69. package/jest.config.js +0 -5
  70. package/public/index.html +0 -93
  71. package/public/js/.gitkeep +0 -0
  72. package/src/lib/index.ts +0 -2
  73. package/src/module/index.ts +0 -10
  74. package/src/zoidComponentProps.ts +0 -81
package/.gitlab-ci.yml CHANGED
@@ -1,4 +1,4 @@
1
- image: registry.gitlab.com/notabene/devops/build-node-16-image:latest
1
+ image: registry.gitlab.com/notabene/devops/build-node-18-image:latest
2
2
 
3
3
  variables:
4
4
  NPM_TOKEN: ${CI_JOB_TOKEN}
@@ -72,3 +72,14 @@ publish-npm:
72
72
  - yarn npm publish
73
73
  only:
74
74
  - tags
75
+
76
+ publish-npm-next:
77
+ stage: release
78
+ needs:
79
+ - install
80
+ - build
81
+ script:
82
+ - yarn npm version prerelease
83
+ - yarn npm publish --tag next
84
+ only:
85
+ - v2
package/.husky/commit-msg CHANGED
File without changes
package/.husky/pre-commit CHANGED
File without changes
package/.husky/pre-push CHANGED
@@ -1,4 +1,4 @@
1
1
  #!/bin/sh
2
2
  . "$(dirname "$0")/_/husky.sh"
3
3
 
4
- yarn test
4
+ yarn test --run
@@ -1,7 +1,3 @@
1
1
  {
2
- "recommendations": [
3
- "arcanis.vscode-zipfs",
4
- "dbaeumer.vscode-eslint",
5
- "esbenp.prettier-vscode"
6
- ]
2
+ "recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"]
7
3
  }
@@ -3,9 +3,9 @@
3
3
  "**/.yarn": true,
4
4
  "**/.pnp.*": true
5
5
  },
6
- "eslint.nodePath": ".yarn/sdks",
7
- "prettier.prettierPath": ".yarn/sdks/prettier/index.js",
8
- "typescript.tsdk": ".yarn/sdks/typescript/lib",
9
6
  "typescript.enablePromptUseWorkspaceTsdk": true,
10
- "editor.defaultFormatter": "esbenp.prettier-vscode"
7
+ "editor.defaultFormatter": "esbenp.prettier-vscode",
8
+ "editor.codeActionsOnSave": {
9
+ "source.fixAll.eslint": "explicit"
10
+ }
11
11
  }