create-unisphere-project 3.1.1 → 3.3.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # create-unisphere-project
2
2
 
3
+ ## 3.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - migrate to latest nx
8
+
9
+ ## 3.3.0
10
+
11
+ ### Minor Changes
12
+
13
+ - sync templates with @unisphere/nx@4.9.0 migrations
14
+ - pin @unisphere/nx to 4.9.0
15
+ - pin @unisphere/cli to 5.2.0
16
+
17
+ ## 3.2.0
18
+
19
+ ### Minor Changes
20
+
21
+ - sync templates with @unisphere/nx@4.7.0 migrations
22
+ - add .github/workflows/documentation.yml for deploying documentation sites to AWS
23
+ - pin @unisphere/nx to 4.7.0
24
+ - pin @unisphere/cli to 5.1.0
25
+
3
26
  ## 3.1.1
4
27
 
5
28
  ### Patch Changes
@@ -17,8 +40,8 @@
17
40
  - convert jest.config.ts from ESM to CJS syntax
18
41
  - add @nx/vitest plugin to nx.json
19
42
  - add @nx/vitest package to devDependencies
20
- - bump @nx/* packages from 22.1.3 to 22.7.1
21
- - bump @swc/* packages to latest versions
43
+ - bump @nx/\* packages from 22.1.3 to 22.7.1
44
+ - bump @swc/\* packages to latest versions
22
45
  - pin @unisphere/nx to 4.4.0
23
46
  - pin @unisphere/cli to 5.0.1
24
47
 
@@ -0,0 +1,68 @@
1
+ name: Documentations
2
+
3
+ on:
4
+ workflow_dispatch:
5
+
6
+ permissions:
7
+ id-token: write
8
+ contents: write
9
+ packages: write
10
+
11
+ jobs:
12
+ deploy-to-aws:
13
+ runs-on:
14
+ - codebuild-ovp-unisphere-runner-${{ github.run_id }}-${{ github.attempt }}
15
+ strategy:
16
+ matrix:
17
+ envs_regions:
18
+ - env: nvp1
19
+ accountid: "583352821080"
20
+ region: us-east-1
21
+
22
+ steps:
23
+ - name: Checkout Repo at specific commit
24
+ uses: actions/checkout@v3
25
+
26
+ - name: Setup Node.js
27
+ uses: actions/setup-node@v4
28
+ with:
29
+ node-version: 24
30
+
31
+ - name: Setup JFrog
32
+ uses: jfrog/setup-jfrog-cli@v4
33
+ id: setup-jfrog
34
+ env:
35
+ JF_URL: https://kalturaa.jfrog.io
36
+ with:
37
+ oidc-provider-name: ovp-github-oidc
38
+
39
+ - name: Install dependencies
40
+ run: cd unisphere/documentation/{{project-name|lower-dash-case}} && npm ci --include=optional --ignore-scripts
41
+ env:
42
+ KALTURA_JFROG_TOKEN: ${{ steps.setup-jfrog.outputs.oidc-token }}
43
+
44
+ - name: Build documentation
45
+ run: cd unisphere/documentation/{{project-name|lower-dash-case}} && npm run build
46
+ env:
47
+ DOCUSAURUS_URL: 'https://docs.kaltura.ai/'
48
+ DOCUSAURUS_BASE_URL: '/{{project-name|lower-dash-case}}/'
49
+
50
+ - name: Configure AWS credentials
51
+ run: |
52
+ aws sts assume-role \
53
+ --role-arn arn:aws:iam::${{ matrix.envs_regions.accountid }}:role/${{ matrix.envs_regions.env }}-unisphere-content-role \
54
+ --role-session-name github-actions-deployment \
55
+ --query 'Credentials.[AccessKeyId,SecretAccessKey,SessionToken]' \
56
+ --output text | \
57
+ while read access_key secret_key session_token; do
58
+ echo "AWS_ACCESS_KEY_ID=$access_key" >> $GITHUB_ENV
59
+ echo "AWS_SECRET_ACCESS_KEY=$secret_key" >> $GITHUB_ENV
60
+ echo "AWS_SESSION_TOKEN=$session_token" >> $GITHUB_ENV
61
+ done
62
+ echo "AWS_DEFAULT_REGION=${{ matrix.envs_regions.region }}" >> $GITHUB_ENV
63
+
64
+ - name: Sync dist/documentations to S3
65
+ run: |
66
+ aws s3 sync unisphere/documentation/{{project-name|lower-dash-case}}/build s3://nvp1-kaltura-documentation/{{project-name|lower-dash-case}} \
67
+ --region ${{ matrix.envs_regions.region }} \
68
+ --delete
@@ -35,7 +35,7 @@
35
35
  "@kaltura/ds-react-utils": "^12.8.0",
36
36
  "@mui/icons-material": "7.3.7",
37
37
  "@mui/material": "7.3.7",
38
- "@unisphere/cli": "5.0.1",
38
+ "@unisphere/cli": "5.2.0",
39
39
  "@unisphere/core": "1",
40
40
  "@unisphere/notifications-core": "1",
41
41
  "@unisphere/notifications-runtime-react": "1",
@@ -78,7 +78,7 @@
78
78
  "@types/react-dom": "19.2.3",
79
79
  "@typescript-eslint/eslint-plugin": "^7.3.0",
80
80
  "@typescript-eslint/parser": "^7.3.0",
81
- "@unisphere/nx": "4.5.2",
81
+ "@unisphere/nx": "4.9.0",
82
82
  "@vitejs/plugin-react": "4.7.0",
83
83
  "@vitest/coverage-v8": "^1.0.4",
84
84
  "@vitest/ui": "^1.3.1",
@@ -13164,9 +13164,9 @@
13164
13164
  "license": "ISC"
13165
13165
  },
13166
13166
  "node_modules/@unisphere/cli": {
13167
- "version": "5.0.1",
13168
- "resolved": "https://registry.npmjs.org/@unisphere/cli/-/cli-5.0.1.tgz",
13169
- "integrity": "sha512-jI6uZJtj6O3YEy6+TDKBGW3Aao6JwICJsePTSn+rsZt+QEe5HnGi3ko2yhQw/qu6tkmvMAXSkiWx2l0YsbX0QA==",
13167
+ "version": "5.2.0",
13168
+ "resolved": "https://registry.npmjs.org/@unisphere/cli/-/cli-5.2.0.tgz",
13169
+ "integrity": "sha512-TfYCdlCl9zq7XBQ6uHPRud58oSYMfrrZNbqOXSIdxFUXTnt6yeSHh6yvkNsfzatoYqV2jwlAQUD4Cy2/W8QH2w==",
13170
13170
  "dependencies": {
13171
13171
  "@aws-sdk/client-s3": "3.1035.0",
13172
13172
  "@aws-sdk/client-sts": "3.1037.0",
@@ -13633,9 +13633,9 @@
13633
13633
  }
13634
13634
  },
13635
13635
  "node_modules/@unisphere/nx": {
13636
- "version": "4.5.2",
13637
- "resolved": "https://registry.npmjs.org/@unisphere/nx/-/nx-4.5.2.tgz",
13638
- "integrity": "sha512-WNwL0L+JcCQUvUKbUFUFAB4DB3R9rhN3WkBnZNrMRWS+6NuPvb/i4lQrqhNdttnEfz66rrVP7J/mKvOPILwdzg==",
13636
+ "version": "4.9.0",
13637
+ "resolved": "https://registry.npmjs.org/@unisphere/nx/-/nx-4.9.0.tgz",
13638
+ "integrity": "sha512-rg4hW0E8W7b39p47nyKCBt7CFB191fyX3KfMnjkluOsqztFkzgSpRGZIRUAVURlnqUr53296d9MGEngt+Z4xvw==",
13639
13639
  "dev": true,
13640
13640
  "dependencies": {
13641
13641
  "@nx/devkit": "21.2.1",
@@ -43,7 +43,7 @@
43
43
  "@types/react-dom": "19.2.3",
44
44
  "@typescript-eslint/eslint-plugin": "^7.3.0",
45
45
  "@typescript-eslint/parser": "^7.3.0",
46
- "@unisphere/nx": "4.5.2",
46
+ "@unisphere/nx": "4.9.0",
47
47
  "@vitejs/plugin-react": "4.7.0",
48
48
  "@vitest/coverage-v8": "^1.0.4",
49
49
  "@vitest/ui": "^1.3.1",
@@ -93,7 +93,7 @@
93
93
  "@kaltura/ds-react-utils": "^12.8.0",
94
94
  "@mui/icons-material": "7.3.7",
95
95
  "@mui/material": "7.3.7",
96
- "@unisphere/cli": "5.0.1",
96
+ "@unisphere/cli": "5.2.0",
97
97
  "@unisphere/core": "1",
98
98
  "@unisphere/notifications-core": "1",
99
99
  "@unisphere/notifications-runtime-react": "1",
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-unisphere-project",
3
- "version": "3.1.1",
3
+ "version": "3.3.1",
4
4
  "private": false,
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-unisphere-project",
3
- "version": "3.1.1",
3
+ "version": "3.3.1",
4
4
  "private": false,
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",