Skip to content

Refactor package names and update GitHub Actions workflow: change pac… #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 6, 2025
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
3 changes: 1 addition & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ jobs:
node-version: '20.x'
cache: 'npm'
registry-url: 'https://registry.npmjs.org'
scope: '@syucream'

- name: Install dependencies
run: npm ci
Expand All @@ -42,7 +41,7 @@ jobs:
TAG=${GITHUB_REF#refs/tags/v}
npm version $TAG --no-git-tag-version

- name: Publish to GitHub Packages
- name: Publish to npm registry
run: |
echo "registry=https://registry.npmjs.org/" > .npmrc
npm publish --access public
Expand Down
6 changes: 3 additions & 3 deletions examples/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "lightdash-client-example",
"version": "1.0.0",
"description": "Example usage of @syucream/lightdash-client-typescript-fetch",
"description": "Example usage of lightdash-client-typescript-fetch",
"type": "module",
"main": "index.ts",
"scripts": {
"start": "tsx index.ts",
"link-local": "cd ../ && npm run build && npm link && cd examples && npm link @syucream/lightdash-client-typescript-fetch",
"link-local": "cd ../ && npm run build && npm link && cd examples && npm link lightdash-client-typescript-fetch",
"dev": "npm run link-local && npm run start"
},
"dependencies": {
"@syucream/lightdash-client-typescript-fetch": "^0.0.2-202501050102",
"lightdash-client-typescript-fetch": "^0.0.2-202501050102",
"dotenv": "^16.0.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@syucream/lightdash-client-typescript-fetch",
"name": "lightdash-client-typescript-fetch",
"version": "0.0.3",
"description": "TypeScript client for Lightdash API generated using openapi-fetch",
"type": "module",
Expand Down
Loading