Skip to content

Commit

Permalink
chore: merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
innerdvations committed Jan 31, 2025
2 parents 25bd93d + 2e0a806 commit fe469d9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ This repository includes demo projects located in the `/demo` directory to help
The `package.json` includes several scripts to help you manage and run the demo projects:

- **`demo:seed`**: Seeds the Strapi application with example data. This script also generates `.env` files with API tokens for the `demo-node-typescript` and `demo-node-javascript` projects.

```bash
pnpm run demo:seed
```
Expand Down
12 changes: 8 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@strapi/sdk-js",
"version": "1.0.0-beta.0",
"version": "1.0.0-beta.1",
"description": "An SDK you can use the easily interface with Strapi from your javascript project",
"keywords": [
"strapi",
Expand Down Expand Up @@ -45,6 +45,13 @@
"build": "rollup --config rollup.config.mjs --failAfterWarnings",
"build:clean": "pnpm run clean && pnpm run build",
"clean": "pnpm exec rimraf ./dist",
"demo:build": "pnpm run build && pnpm -C demo/demo-node-typescript build",
"demo:env": "test -f demo/.strapi-app/.env || cp demo/.strapi-app/.env.example demo/.strapi-app/.env",
"demo:install": "pnpm install && pnpm -C demo/.strapi-app install && pnpm -C demo/demo-node-typescript install && pnpm -C demo/demo-node-javascript install",
"demo:seed": "pnpm -C demo/.strapi-app seed:example",
"demo:seed:clean": "pnpm exec rimraf demo/.strapi-app/.tmp/data.db && pnpm run demo:seed",
"demo:setup": "pnpm demo:install && pnpm run demo:env && pnpm run demo:build && pnpm run demo:seed:clean",
"demo:run": "pnpm -C demo/.strapi-app develop",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"lint:fix:dry": "eslint . --fix-dry-run",
Expand All @@ -53,9 +60,6 @@
"prettier:write": "prettier --write .",
"test": "jest --verbose",
"test:cov": "jest --verbose --coverage",
"demo:seed": "pnpm -C demo/.strapi-app seed:example",
"demo:seed:clean": "pnpm exec rimraf demo/.strapi-app/.tmp/data.db && pnpm run demo:seed",
"demo:run": "pnpm -C demo/.strapi-app develop",
"ts:check": "tsc -p tsconfig.build.json --noEmit",
"watch": "rollup --config rollup.config.mjs --watch --failAfterWarnings",
"prepack": "pnpm exec ./scripts/pre-pack.sh"
Expand Down

0 comments on commit fe469d9

Please sign in to comment.