Skip to content

Commit

Permalink
add "dom" to attempt to remove errors in parent project
Browse files Browse the repository at this point in the history
  • Loading branch information
MetaverseUnknower committed Sep 22, 2024
1 parent a149c6d commit 4632273
Show file tree
Hide file tree
Showing 8 changed files with 50 additions and 18 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/next-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Publish Next Package

on:
push:
branches:
- next

jobs:
publish:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
run: npm install

- name: Build
run: npm run build

- name: Set custom tag
run: echo "CUSTOM_TAG=next" >> $GITHUB_ENV

- name: Publish package
run: npm publish --tag ${{ env.CUSTOM_TAG }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vlm-dcl",
"version": "1.0.0-alpha.50",
"version": "1.0.0-alpha.60",
"description": "Virtual Land Manager for Decentraland SDK7",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand All @@ -17,7 +17,9 @@
"dcl",
"decentraland",
"sdk",
"library"
"library",
"vlm",
"virtuallandmanager"
],
"author": "-",
"license": "Apache-2.0",
Expand All @@ -36,8 +38,8 @@
"@babel/plugin-transform-private-property-in-object": "^7.22.5",
"@babel/preset-env": "^7.21.5",
"@babel/preset-typescript": "^7.22.5",
"@dcl/asset-packs": "^1.20.0",
"@dcl/js-runtime": "7.5.6",
"@dcl/js-runtime": "7.5.7",
"@dcl/sdk": "latest",
"@microsoft/api-documenter": "^7.17.11",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^21.1.0",
Expand All @@ -46,7 +48,7 @@
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-typescript": "^8.5.0",
"@types/jest": "^27.4.1",
"@types/node": "^20.10.5",
"@types/node": "^20.16.5",
"cross-env": "^7.0.3",
"jest": "^27.5.1",
"prettier": "^3.1.0",
Expand Down
6 changes: 3 additions & 3 deletions src/components/VLMDanceFloor.component.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { Entity } from '@dcl/sdk/ecs'
import { VLMBase } from './VLMBase.component'
import { Vector3, Color4 } from '@dcl/sdk/math'
import { ecs } from '../environment'
import { VLMBase } from './VLMBase.component'
import { MaterialService } from '../services/Material.service'
import { MeshService } from '../services/Mesh.service'
import { TransformService } from '../services/Transform.service'
import { ecs } from '../environment'
import { VLMDebug } from '../logic/VLMDebug.logic'
import { VLMBaseProperties, VLMClickable, VLMInstanceProperties, VLMInstancedItem, VLMTextureOptions } from '../shared/interfaces'
import { VLMBaseProperties, VLMClickable, VLMInstanceProperties, VLMInstancedItem } from '../shared/interfaces'
import { AutoDanceService } from '../services/AutoDance.service'

export type EmoteList = TriggeredEmote[]
Expand Down
5 changes: 0 additions & 5 deletions src/components/VLMSystemEvents.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,13 @@ import { VLMSessionManager } from "../logic/VLMSession.logic";
import { VLMSceneElement, VLMSceneElementInstance } from "../logic/VLMScene.logic";
import { PathPoint } from "../logic/VLMPath.logic";
import { VLMModeration } from "./VLMModeration.component";
// import { VLMNotification } from "./VLMNotification.component";
import { VLMScene } from "./VLMScene.component";
import { VLMSession } from "./VLMSession.component";
// import { VLMSound } from "./VLMSound.component";
import { VLMVideo } from "./VLMVideo.component";
import { VLMWidget } from "./VLMWidget.component";
// import { VLMClaimPoint } from "./VLMClaimPoint.component";
import { VLMSound } from "./VLMSound.component";
import { StreamState } from "../shared/interfaces";
import { VLMClaimPoint } from "./VLMClaimPoint.component";
import { VLMNotification } from "./VLMNotification.component";
// import { VLMClaimPoint } from "./VLMClaimPoint.component";


export class VLMSystemEvent {
Expand Down
1 change: 1 addition & 0 deletions src/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ export * from "./VLMNotification.component";
export * from './VLMSound.component'
export * from './VLMVideo.component'
export * from './VLMWidget.component'
export * from './VLMDanceFloor.component'
5 changes: 3 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,20 @@ import {
QuickImage,
QuickSound,
QuickMesh,
QuickDanceFloor,
VLMMesh,
QuickNull,
QuickNullConfig,
QuickVideoConfig,
QuickImageConfig,
QuickMeshConfig,
QuickSoundConfig,
QuickDanceFloorConfig,
} from './components/index'
import 'xmlhttprequest-polyfill'

import 'xmlhttprequest-polyfill'
// @ts-ignore
import { URL } from 'whatwg-url-without-unicode'
import { QuickDanceFloor, QuickDanceFloorConfig } from './components/VLMDanceFloor.component'
import { ReactEcsRenderer } from './services/UI.service'

// @ts-ignore
Expand Down
2 changes: 0 additions & 2 deletions src/logic/VLMSystemListeners.logic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@ import {
VLMPathServerEvent,
VLMPlayerPosition,
VLMSceneMessage,
VLMSessionAction,
VLMSessionEvent,
VLMSettingsEvent,
VLMSoundStateEvent,
VLMUserMessage,
VLMVideoStatusEvent,
VLMWidgetInitEvent,
VLMWitnessedAction,
} from '../components/VLMSystemEvents.component'
import { VLMEventManager } from './VLMSystemEvents.logic'
import { Room } from 'colyseus.js'
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
"strictFunctionTypes": true,
"strictPropertyInitialization": true,
"lib": [
"ES2020"
"ES2020",
"DOM",
],
"types": [
"@dcl/js-runtime",
Expand Down

0 comments on commit 4632273

Please sign in to comment.