Skip to content

Commit

Permalink
chore: remove unused index.d.ts and update starter package versions t…
Browse files Browse the repository at this point in the history
…o 2.0.1-beta.3 and @canvasengine/compiler to 2.0.0-beta.3
  • Loading branch information
RSamaium committed Dec 22, 2024
1 parent 5c056c4 commit aa544d7
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 8 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,15 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Update Starter Package Versions
run: |
CORE_VERSION=$(jq -r '.version' packages/core/package.json)
jq --arg version "$CORE_VERSION" '.dependencies.canvasengine = $version | .devDependencies["@canvasengine/compiler"] = $version' starter/package.json > starter/package.tmp.json
mv starter/package.tmp.json starter/package.json
shell: bash
- name: Commit Changes
run: |
git add starter/package.json
git commit -m "chore(release): update starter package version to $CORE_VERSION"
git push
shell: bash
6 changes: 0 additions & 6 deletions index.d.ts

This file was deleted.

4 changes: 4 additions & 0 deletions packages/core/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
declare module '*.ce' {
const content: import("./dist/index").ComponentFunction;
export default content;
}
4 changes: 2 additions & 2 deletions starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"license": "ISC",
"type": "module",
"dependencies": {
"canvasengine": "2.0.1-beta.1"
"canvasengine": "2.0.1-beta.3"
},
"devDependencies": {
"vite": "^6.0.3",
"@canvasengine/compiler": "2.0.0-beta.1"
"@canvasengine/compiler": "2.0.0-beta.3"
}
}

0 comments on commit aa544d7

Please sign in to comment.