Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
10 changes: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ jobs:
node-version: ${{ matrix.node-version }}
- uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
path: |
~/.cache/yarn
**/node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-
${{ runner.os }}-yarn-
- name: Set output
id: vars
run: echo name=tag::${GITHUB_REF#refs/*/} >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -56,4 +58,4 @@ jobs:
with:
files: |
dist/ARnft.js
dist/ARnft.module.js
dist/ARnft.mjs
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
![github stars](https://flat.badgen.net/github/stars/webarkit/ARnft)
![github forks](https://flat.badgen.net/github/forks/webarkit/ARnft)
![npm package version](https://flat.badgen.net/npm/v/@webarkit/ar-nft)
![Dependabot Badge](https://flat.badgen.net/dependabot/thepracticaldev/dev.to?icon=dependabot)
![Dependabot status](https://img.shields.io/badge/Dependabot-enabled-02569B?logo=dependabot)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![CI](https://github.com/webarkit/ARnft/actions/workflows/CI.yml/badge.svg)](https://github.com/webarkit/ARnft/actions/workflows/CI.yml)
[![Build ARnft CI](https://github.com/webarkit/ARnft/actions/workflows/build.yml/badge.svg)](https://github.com/webarkit/ARnft/actions/workflows/main.yml)
Expand Down Expand Up @@ -58,7 +58,7 @@ and import it as a module:
{
"imports": {
"three": "./js/third_party/three.js/three.module.min.js",
"arnft-threejs": "./js/ARnftThreejs.module.js",
"arnft-threejs": "./js/ARnftThreejs.mjs",
"arnft": "./../dist/ARnft.mjs"
}
}
Expand All @@ -81,7 +81,7 @@ or you can use raw.githack services (for development):
{
"imports": {
"three": "https://cdn.jsdelivr.net/npm/three@<version>/build/three.module.min.js",
"arnft-threejs": "https://raw.githack.com/webarkit/ARnft-threejs/master/dist/ARnftThreejs.module.js",
"arnft-threejs": "https://raw.githack.com/webarkit/ARnft-threejs/master/dist/ARnftThreejs.mjs",
"arnft": "https://raw.githack.com/webarkit/ARnft/master/dist/ARnft.mjs"
}
}
Expand Down
2 changes: 1 addition & 1 deletion dist/ARnft.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ARnft.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ARnft.simd.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ARnft.simd.mjs

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions dist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@
"@types/node": "22.13.0",
"@types/stats.js": "^0.17.3",
"@types/uuid": "10.0.0",
"prettier": "3.5.3",
"prettier": "3.6.2",
"rimraf": "6.0.1",
"stats.js": "^0.17.0",
"ts-loader": "9.5.2",
"typedoc": "0.28.1",
"typescript": "5.8.2",
"webpack": "5.98.0",
"ts-loader": "9.5.4",
"typedoc": "0.28.14",
"typescript": "5.9.3",
"webpack": "5.102.1",
"webpack-cli": "6.0.1",
"worker-loader": "^3.0.8"
},
Expand All @@ -60,9 +60,9 @@
"license": "LGPL-3.0",
"resolutions": {},
"dependencies": {
"@webarkit/jsartoolkit-nft": "1.7.4",
"@webarkit/jsartoolkit-nft": "1.7.5",
"@webarkit/oneeurofilter-ts": "0.1.2",
"terser-webpack-plugin": "5.3.14",
"uuid": "11.1.0"
"uuid": "13.0.0"
}
}
4 changes: 2 additions & 2 deletions examples/arNFT_autoupdate_example.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
{
"imports": {
"three": "./js/third_party/three.js/three.module.min.js",
"arnft-threejs": "./js/ARnftThreejs.module.js",
"arnft": "./../dist/ARnft.module.js"
"arnft-threejs": "./js/ARnftThreejs.mjs",
"arnft": "./../dist/ARnft.mjs"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/arNFT_container_example.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
{
"imports": {
"three": "./js/third_party/three.js/three.module.min.js",
"arnft-threejs": "./js/ARnftThreejs.module.js",
"arnft": "./../dist/ARnft.module.js"
"arnft-threejs": "./js/ARnftThreejs.mjs",
"arnft": "./../dist/ARnft.mjs"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/arNFT_event_example.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
{
"imports": {
"three": "./js/third_party/three.js/three.module.min.js",
"arnft-threejs": "./js/ARnftThreejs.module.js",
"arnft": "./../dist/ARnft.module.js"
"arnft-threejs": "./js/ARnftThreejs.mjs",
"arnft": "./../dist/ARnft.mjs"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/arNFT_example.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
{
"imports": {
"three": "./js/third_party/three.js/three.module.min.js",
"arnft-threejs": "./js/ARnftThreejs.module.js",
"arnft": "./../dist/ARnft.module.js"
"arnft-threejs": "./js/ARnftThreejs.mjs",
"arnft": "./../dist/ARnft.mjs"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/arNFT_gltf_brave_robot_example.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
{
"imports": {
"three": "./js/third_party/three.js/three.module.min.js",
"arnft-threejs": "./js/ARnftThreejs.module.js",
"arnft": "./../dist/ARnft.module.js"
"arnft-threejs": "./js/ARnftThreejs.mjs",
"arnft": "./../dist/ARnft.mjs"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/arNFT_gltf_example.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
{
"imports": {
"three": "./js/third_party/three.js/three.module.min.js",
"arnft-threejs": "./js/ARnftThreejs.module.js",
"arnft": "./../dist/ARnft.module.js"
"arnft-threejs": "./js/ARnftThreejs.mjs",
"arnft": "./../dist/ARnft.mjs"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/arNFT_gltf_flamingo_example.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
{
"imports": {
"three": "./js/third_party/three.js/three.module.min.js",
"arnft-threejs": "./js/ARnftThreejs.module.js",
"arnft": "./../dist/ARnft.module.js"
"arnft-threejs": "./js/ARnftThreejs.mjs",
"arnft": "./../dist/ARnft.mjs"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/arNFT_image_example.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
{
"imports": {
"three": "./js/third_party/three.js/three.module.min.js",
"arnft-threejs": "./js/ARnftThreejs.module.js",
"arnft": "./../dist/ARnft.module.js"
"arnft-threejs": "./js/ARnftThreejs.mjs",
"arnft": "./../dist/ARnft.mjs"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/arNFT_initialize_raw_example.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
{
"imports": {
"three": "./js/third_party/three.js/three.module.min.js",
"arnft-threejs": "./js/ARnftThreejs.module.js",
"arnft": "./../dist/ARnft.module.js",
"arnft-threejs": "./js/ARnftThreejs.mjs",
"arnft": "./../dist/ARnft.mjs",
"camera-renderer": "./js/cameraViewRenderer.js"
}
}
Expand Down
4 changes: 2 additions & 2 deletions examples/arNFT_multi_dispose_example.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
{
"imports": {
"three": "./js/third_party/three.js/three.module.min.js",
"arnft-threejs": "./js/ARnftThreejs.module.js",
"arnft": "./../dist/ARnft.module.js"
"arnft-threejs": "./js/ARnftThreejs.mjs",
"arnft": "./../dist/ARnft.mjs"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/arNFT_multi_example.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
{
"imports": {
"three": "./js/third_party/three.js/three.module.min.js",
"arnft-threejs": "./js/ARnftThreejs.module.js",
"arnft": "./../dist/ARnft.module.js"
"arnft-threejs": "./js/ARnftThreejs.mjs",
"arnft": "./../dist/ARnft.mjs"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/arNFT_multi_one_worker_example.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
{
"imports": {
"three": "./js/third_party/three.js/three.module.min.js",
"arnft-threejs": "./js/ARnftThreejs.module.js",
"arnft": "./../dist/ARnft.module.js"
"arnft-threejs": "./js/ARnftThreejs.mjs",
"arnft": "./../dist/ARnft.mjs"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/arNFT_simd_example.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
{
"imports": {
"three": "./js/third_party/three.js/three.module.min.js",
"arnft-threejs": "./js/ARnftThreejs.module.js",
"arnft": "./../dist/ARnft.simd.module.js"
"arnft-threejs": "./js/ARnftThreejs.mjs",
"arnft": "./../dist/ARnft.simd.mjs"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/arNFT_video_example.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
{
"imports": {
"three": "./js/third_party/three.js/three.module.min.js",
"arnft-threejs": "./js/ARnftThreejs.module.js",
"arnft": "./../dist/ARnft.module.js"
"arnft-threejs": "./js/ARnftThreejs.mjs",
"arnft": "./../dist/ARnft.mjs"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/arNFT_zft_example.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
{
"imports": {
"three": "./js/third_party/three.js/three.module.min.js",
"arnft-threejs": "./js/ARnftThreejs.module.js",
"arnft": "./../dist/ARnft.module.js"
"arnft-threejs": "./js/ARnftThreejs.mjs",
"arnft": "./../dist/ARnft.mjs"
}
}
</script>
Expand Down
Loading