Skip to content

Commit

Permalink
Revert "feat: generate ts declarations (#10)"
Browse files Browse the repository at this point in the history
This reverts commit ae2f537.
  • Loading branch information
abernier committed Sep 23, 2024
1 parent ae2f537 commit efd6cb4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ TARGETS = $(HDR_TARGETS) \
$(JSON_TARGETS) $(WOFF_TARGETS) \
$(GLB_TARGETS) $(GLTF_TARGETS)
all: $(TARGETS) ts-declarations
all: $(TARGETS)
$(DIST)/%.js: $(SRC)/%.b64
mkdir -p $(dir $@)
Expand Down Expand Up @@ -79,7 +79,3 @@ $(DIST)/%.js: $(SRC)/%.b64
.PHONY: clean
clean:
rm -rf $(DIST)
.PHONY: ts-declarations
ts-declarations:
cd $(DIST) && npx -p typescript tsc **/*.js --declaration --allowJs --emitDeclarationOnly
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
"@gltf-transform/cli": "^3.4.0",
"copyfiles": "^2.3.0",
"json": "^11.0.0",
"semantic-release": "^20.1.1",
"typescript": "^5.6.2"
"semantic-release": "^20.1.1"
},
"repository": {
"type": "git",
Expand Down
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4836,11 +4836,6 @@ type-fest@^3.0.0:
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-3.11.1.tgz#d8e62c7f42e14537d5b8796de5450d541f3a33a7"
integrity sha512-aCuRNRERRVh33lgQaJRlUxZqzfhzwTrsE98Mc3o3VXqmiaQdHacgUtJ0esp+7MvZ92qhtzKPeusaX6vIEcoreA==

typescript@^5.6.2:
version "5.6.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.6.2.tgz#d1de67b6bef77c41823f822df8f0b3bcff60a5a0"
integrity sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==

uglify-js@^3.1.4:
version "3.17.4"
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.17.4.tgz#61678cf5fa3f5b7eb789bb345df29afb8257c22c"
Expand Down

0 comments on commit efd6cb4

Please sign in to comment.