@dcl/asset-packs 2.7.2-20251128172211.commit-d80a654 → 2.7.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.
- package/README.md +11 -13
- package/bin/index.js +13402 -13784
- package/catalog.json +2826 -2733
- package/dist/action-types.d.ts +2 -2
- package/dist/action-types.js +6 -11
- package/dist/actions.d.ts +2 -2
- package/dist/actions.js +19 -24
- package/dist/admin-toolkit-ui/Active.js +2 -2
- package/dist/admin-toolkit-ui/Button.js +8 -8
- package/dist/admin-toolkit-ui/Card.d.ts +2 -2
- package/dist/admin-toolkit-ui/Card.js +5 -5
- package/dist/admin-toolkit-ui/Error.js +1 -1
- package/dist/admin-toolkit-ui/Header.js +1 -1
- package/dist/admin-toolkit-ui/Loading.js +4 -6
- package/dist/admin-toolkit-ui/ModerationControl/AddUserInput.js +6 -10
- package/dist/admin-toolkit-ui/ModerationControl/BanUserDescription.js +2 -2
- package/dist/admin-toolkit-ui/ModerationControl/RemoveAdminConfirmation.js +2 -2
- package/dist/admin-toolkit-ui/ModerationControl/UsersList.d.ts +1 -1
- package/dist/admin-toolkit-ui/ModerationControl/UsersList.js +8 -17
- package/dist/admin-toolkit-ui/ModerationControl/api.d.ts +1 -1
- package/dist/admin-toolkit-ui/ModerationControl/api.js +1 -1
- package/dist/admin-toolkit-ui/ModerationControl/index.js +1 -1
- package/dist/admin-toolkit-ui/ModerationControl/styles/AddUserInputStyles.d.ts +1 -1
- package/dist/admin-toolkit-ui/ModerationControl/styles/AddUserInputStyles.js +1 -1
- package/dist/admin-toolkit-ui/ModerationControl/styles/ModerationControlStyles.d.ts +1 -1
- package/dist/admin-toolkit-ui/ModerationControl/styles/ModerationControlStyles.js +1 -1
- package/dist/admin-toolkit-ui/ModerationControl/styles/UsersListStyles.d.ts +1 -1
- package/dist/admin-toolkit-ui/ModerationControl/styles/UsersListStyles.js +1 -1
- package/dist/admin-toolkit-ui/ModerationControl/utils.js +2 -2
- package/dist/admin-toolkit-ui/RewardsControl.d.ts +1 -1
- package/dist/admin-toolkit-ui/RewardsControl.js +7 -9
- package/dist/admin-toolkit-ui/SmartItemsControl.d.ts +1 -1
- package/dist/admin-toolkit-ui/SmartItemsControl.js +13 -19
- package/dist/admin-toolkit-ui/TextAnnouncements.d.ts +1 -1
- package/dist/admin-toolkit-ui/TextAnnouncements.js +3 -4
- package/dist/admin-toolkit-ui/TextAnnouncementsControl.js +3 -3
- package/dist/admin-toolkit-ui/VideoControl/LiveStream/DeleteStreamKey.js +3 -3
- package/dist/admin-toolkit-ui/VideoControl/LiveStream/GenerateStreamKey.js +2 -2
- package/dist/admin-toolkit-ui/VideoControl/LiveStream/ShowStreamKey.js +4 -6
- package/dist/admin-toolkit-ui/VideoControl/LiveStream/index.d.ts +1 -1
- package/dist/admin-toolkit-ui/VideoControl/LiveStream/index.js +5 -5
- package/dist/admin-toolkit-ui/VideoControl/VideoUrl.js +5 -7
- package/dist/admin-toolkit-ui/VideoControl/VolumeControl.js +15 -7
- package/dist/admin-toolkit-ui/VideoControl/api.d.ts +1 -1
- package/dist/admin-toolkit-ui/VideoControl/api.js +6 -3
- package/dist/admin-toolkit-ui/VideoControl/index.d.ts +1 -1
- package/dist/admin-toolkit-ui/VideoControl/index.js +8 -11
- package/dist/admin-toolkit-ui/VideoControl/utils.js +5 -7
- package/dist/admin-toolkit-ui/constants.js +1 -1
- package/dist/admin-toolkit-ui/fetch-utils.d.ts +3 -3
- package/dist/admin-toolkit-ui/fetch-utils.js +7 -7
- package/dist/admin-toolkit-ui/index.js +16 -32
- package/dist/admin-toolkit-ui/types.d.ts +1 -1
- package/dist/admin-toolkit-ui/types.js +1 -1
- package/dist/admin-toolkit-ui/utils.d.ts +1 -1
- package/dist/admin-toolkit-ui/utils.js +1 -1
- package/dist/admin-toolkit.d.ts +3 -3
- package/dist/admin-toolkit.js +1 -1
- package/dist/bin/index.js +13402 -13784
- package/dist/clone.d.ts +2 -2
- package/dist/clone.js +1 -1
- package/dist/components.d.ts +2 -2
- package/dist/components.js +1 -1
- package/dist/counter-bar.d.ts +2 -2
- package/dist/counter-bar.js +5 -9
- package/dist/definitions.d.ts +18 -2
- package/dist/definitions.js +12 -4
- package/dist/enums.d.ts +3 -2
- package/dist/enums.js +2 -1
- package/dist/events.d.ts +3 -3
- package/dist/events.js +1 -1
- package/dist/id.d.ts +2 -2
- package/dist/id.js +1 -1
- package/dist/index.js +1 -1
- package/dist/input-actions.d.ts +2 -1
- package/dist/input-actions.js +1 -1
- package/dist/lww.d.ts +1 -1
- package/dist/lww.js +2 -3
- package/dist/scene-entrypoint.d.ts +1 -1
- package/dist/scene-entrypoint.js +3 -3
- package/dist/states.d.ts +1 -1
- package/dist/states.js +1 -1
- package/dist/timer.d.ts +1 -1
- package/dist/timer.js +3 -3
- package/dist/transform.d.ts +2 -2
- package/dist/transform.js +1 -1
- package/dist/triggers.d.ts +2 -2
- package/dist/triggers.js +9 -8
- package/dist/tweens.js +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.js +2 -2
- package/dist/ui.d.ts +5 -3
- package/dist/ui.js +1 -1
- package/package.json +55 -43
- package/.cursor/rules/dcl-styled-components.mdc +0 -849
- package/.cursor/rules/dcl-testing.mdc +0 -356
- package/.prettierrc.json +0 -6
- package/.vscode/settings.json +0 -3
- package/dclcontext/crypto.mdc +0 -880
- package/dclcontext/npc.mdc +0 -716
- package/dclcontext/sdk7-complete-reference.md +0 -3684
- package/dclcontext/sdk7-examples.mdc +0 -1709
- package/dclcontext/ui.mdc +0 -900
- package/dclcontext/utils.mdc +0 -467
package/README.md
CHANGED
|
@@ -39,25 +39,23 @@ You can develop this repo locally and test it within the Web Editor by doing the
|
|
|
39
39
|
|
|
40
40
|
Go to this repo in your machine and do this:
|
|
41
41
|
|
|
42
|
-
1. Run `npm run start` to watch for changes and start the SDK7 dev server (on port `
|
|
42
|
+
1. Run `npm run start` to watch for changes and start the SDK7 dev server (on port `8001` by default).
|
|
43
43
|
2. On a new terminal, run `docker-compose up` to start the local content server on `http://localhost:9000/asset-packs`
|
|
44
44
|
3. On a new terminal, run `npm run upload` to upload all assets to your local content server (copy the `.env.example` into `.env` if you haven't done that before).
|
|
45
|
-
4.
|
|
46
|
-
5. Copy the path to the `bin/index.js` in this repo (something like `/Users/my-user/path/to/asset-packs/bin/index.js`).
|
|
45
|
+
4. Copy the path to the `bin/index.js` in this repo (something like `/Users/my-user/path/to/creators-hub/packages/asset-packs/bin/index.js`).
|
|
47
46
|
|
|
48
|
-
Go the `
|
|
47
|
+
Go to the `packages/inspector` in this monorepo and do this:
|
|
49
48
|
|
|
50
|
-
1. Run `
|
|
51
|
-
2. Run `npm link @dcl/asset-packs` to symlink to your local repository
|
|
52
|
-
3. Run `npm start` to start a local dev server. It should start by default on port `8000` but since we are already using it for the SDK7 dev server, it will start on port `8001`.
|
|
49
|
+
1. Run `npm start` to start a local dev server. It should start by default on port `8000`.
|
|
53
50
|
|
|
54
|
-
Go to the `creator-hub`
|
|
51
|
+
Go to the `packages/creator-hub` in this monorepo and do this:
|
|
55
52
|
|
|
56
|
-
1.
|
|
57
|
-
2. Set the `
|
|
58
|
-
3. Set the `
|
|
59
|
-
4. Set the `
|
|
60
|
-
5.
|
|
53
|
+
1. Copy the `.env.example` to `.env` if you haven't done that before.
|
|
54
|
+
2. Set the `VITE_INSPECTOR_PORT` env var in `.env` to be `8000` (this is the `@dcl/inspector` dev server we started in the previous section).
|
|
55
|
+
3. Set the `VITE_ASSET_PACKS_JS_PORT` to the port where the SDK7 started running in the first section (`8001`).
|
|
56
|
+
4. Set the `VITE_ASSET_PACKS_JS_PATH` env var in `.env` to the path to the `bin/index.js` that you copied in the first section.
|
|
57
|
+
5. Set the `VITE_ASSET_PACKS_CONTENT_URL` env var in `.env` to be `http://localhost:9000/asset-packs` (this is the content server we started in the first section).
|
|
58
|
+
6. Run `npm start` to start the builder local server which should start on port `3000`
|
|
61
59
|
|
|
62
60
|
Now you are all set, you can start developing the SDK7 scene in this repo, use it from the local Builder and test it by previewing the scene, which should use your local Builder Server serving the development javascript files.
|
|
63
61
|
|