@supernova-studio/supernova-sdk-beta 2.0.36 → 2.0.38

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 (23) hide show
  1. package/build/sdk-typescript/src/core/SDKSupernova.d.ts +2 -3
  2. package/build/sdk-typescript/src/core/areas/SDKAreaDocumentation.d.ts +5 -6
  3. package/build/sdk-typescript/src/core/areas/SDKAreaImport.d.ts +1 -11
  4. package/build/sdk-typescript/src/core/areas/SDKAreaRawData.d.ts +4 -4
  5. package/build/sdk-typescript/src/core/data/SDKDataBridge.d.ts +4 -0
  6. package/build/sdk-typescript/src/core/data/SDKDataCore.d.ts +3 -8
  7. package/build/sdk-typescript/src/core/data/requests/SDKDataCoreReadRequests.d.ts +26 -11
  8. package/build/sdk-typescript/src/core/data/requests/SDKDataCoreWriteRequests.d.ts +64 -19
  9. package/build/sdk-typescript/src/model/components/SDKDesignComponentPropertyDefinition.d.ts +1 -0
  10. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockFigmaComponentProperty.d.ts +1 -0
  11. package/build/sdk-typescript/src/model/docs/entities/SDKDocsEntityConfiguration.d.ts +1 -0
  12. package/build/sdk-typescript/src/model/exporters/SDKPipeline.d.ts +24 -0
  13. package/build/sdk-typescript/src/model/support/SDKFigmaFrame.d.ts +2 -7
  14. package/build/sdk-typescript/src/model/support/SDKFigmaStructure.d.ts +11 -11
  15. package/build/sdk-typescript/src/model/support/SDKFigmaStructureDetail.d.ts +6 -29
  16. package/build/sdk-typescript/src/pulsar-interfaces.d.ts +1 -0
  17. package/build/sdk-typescript/src/tests/Tooling/PluginFigmaTokens.spec.token-studio.d.ts +1 -0
  18. package/build/sdk-typescript/src/tests/Tooling/ReadTokens.spec.token-studio.d.ts +1 -0
  19. package/build/sdk-typescript/src/tests/helpers.d.ts +1 -1
  20. package/build/sdk-typescript/src/tests/validators.d.ts +1 -1
  21. package/build/supernova-sdk-typescript.js +1 -1
  22. package/build/supernova-sdk-typescript.js.map +1 -1
  23. package/package.json +10 -11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supernova-studio/supernova-sdk-beta",
3
- "version": "2.0.36",
3
+ "version": "2.0.38",
4
4
  "description": "Supernova.io SDK",
5
5
  "main": "./build/supernova-sdk-typescript.js",
6
6
  "types": "./build/sdk-typescript/src/index.d.ts",
@@ -22,18 +22,17 @@
22
22
  "build"
23
23
  ],
24
24
  "scripts": {
25
- "clean": "trash build test",
26
- "build": "npm run build:dev",
27
- "build:dev": "npm run clean && webpack --mode development --config ./webpack.config.sdk.js",
28
25
  "build:production": "npm run clean && webpack --mode production --config ./webpack.config.sdk.js",
26
+ "build-sdk": "npm run build:production",
27
+ "clean": "trash build test",
29
28
  "fix": "run-s fix:*",
30
- "fix:tslint": "tslint --fix --project .",
31
- "test": "run-s build:dev test:*",
32
- "test-skipped:lint": "tslint --project .",
33
- "test:unit": "npm run build:dev && ava --verbose --timeout=180s --serial",
34
- "test-ci": "ava --verbose --timeout=180s --serial --tap | npx tap-xunit | tee sdk-test-results.xml",
35
- "dev": "run-s clean build:dev && run-s \"build:dev -- -w\"",
36
- "watch": "run-s clean build:dev && run-p \"build:dev -- -w\" \"test:unit -- --watch\"",
29
+ "lint": "eslint 'src/**/*.ts*'",
30
+ "lint:fix": "eslint 'src/**/*.ts*' --fix",
31
+ "test": "run-s \"test:* -- {@}\" --",
32
+ "test:unit": "vitest run --config vitest.config.ts --reporter verbose",
33
+ "test:watch": "vitest --config vitest.config.ts --watch",
34
+ "test-ci": "vitest run --config vitest.config-ci.ts",
35
+ "test-ts": "vitest run --config vitest.config-token-studio.ts",
37
36
  "reset": "git clean -dfx && git reset --hard && npm i",
38
37
  "typecheck": "tsc --noEmit -p ./tsconfig.json",
39
38
  "publish-package-sdk": "npm run clean && sh ./scripts/publish-sdk.sh",