Skip to content
Merged
Show file tree
Hide file tree
Changes from 17 commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
c3af282
fix: update ESLint configuration to include support for .mjs files
kpal81xd Sep 2, 2025
dd4d1f4
feat: add rollup-plugin-string for handling string imports and update…
kpal81xd Sep 2, 2025
f66f4cd
feat: update build configuration to output to public directory and ad…
kpal81xd Sep 2, 2025
8c7a4f9
feat: update package name and exports structure in package.json
kpal81xd Sep 2, 2025
bd5195d
feat: add tsconfig.json for TypeScript configuration
kpal81xd Sep 2, 2025
a8b952f
feat: converted file extensions to TS
kpal81xd Sep 2, 2025
686e5fb
fix: added missing html transformation for base href
kpal81xd Sep 2, 2025
ecbf4de
feat: add TypeScript type annotations to math and spline modules
kpal81xd Sep 2, 2025
8eef3ce
feat: add TypeScript definitions and update rollup configuration for …
kpal81xd Sep 2, 2025
f3d4785
feat: integrate TypeScript ESLint plugin and parser, update ESLint co…
kpal81xd Sep 2, 2025
97ad37f
feat: update ESLint configuration and add TypeScript type annotations…
kpal81xd Sep 2, 2025
1324be7
feat: add TypeScript type annotations to AnimCursor and AnimControlle…
kpal81xd Sep 2, 2025
685ea89
feat: add TypeScript type annotations to appElement and cameraElement…
kpal81xd Sep 2, 2025
2ec8b28
feat: add TypeScript type annotations to parameters and return types …
kpal81xd Sep 2, 2025
827dcea
feat: add TypeScript type annotations to AnimTrack and related functi…
kpal81xd Sep 2, 2025
bc2a26c
feat: add TypeScript type annotations and improve ESLint configuratio…
kpal81xd Sep 2, 2025
cf9157f
refactor: remove unused export statement from index.ts
kpal81xd Sep 2, 2025
de5d583
fix: replace console.log with console.error for better error handling…
kpal81xd Sep 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules
dist
public
.DS_Store
.npmrc
29 changes: 26 additions & 3 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,16 +1,39 @@
import playcanvasConfig from '@playcanvas/eslint-config';
import tsPlugin from '@typescript-eslint/eslint-plugin';
import tsParser from '@typescript-eslint/parser';
import globals from 'globals';

export default [
...playcanvasConfig,
{
files: ['src/*.js'],
files: ['**/*.ts'],
languageOptions: {
ecmaVersion: 2022,
sourceType: 'module',
parser: tsParser,
globals: {
...globals.browser
}
},
plugins: {
'@typescript-eslint': tsPlugin
},
rules: {
'import/default': 'off',
'import/extensions': 'off',
'import/no-unresolved': 'off',
'jsdoc/require-param-type': 'off',
'jsdoc/require-returns-type': 'off',
'no-duplicate-imports': 'off'
}
},
{
files: ['**/*.mjs'],
languageOptions: {
globals: {
...globals.node
}
},
rules: {
'import/no-unresolved': 'off'
}
}
];
11 changes: 0 additions & 11 deletions jsconfig.json

This file was deleted.

3 changes: 3 additions & 0 deletions module/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export const html: string;
export const css: string;
export const js: string;
5 changes: 5 additions & 0 deletions module/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import css from '../public/index.css';
import html from '../public/index.html';
import js from '../public/index.js';

export { html, css, js };
Loading