Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
Install shnip (#1873)
Browse files Browse the repository at this point in the history
* install shnip package, remove old shnip code

* update configs

* update to new version

* remove versioning

* update scripts to use new shnip package

* update build command

* remove site-new from workspace

* update scripts

* remove module type
  • Loading branch information
dayhaysoos authored Nov 13, 2024
1 parent 55b8972 commit 2dbb503
Show file tree
Hide file tree
Showing 27 changed files with 270 additions and 19,966 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"scripts": {
"preinstall": "npx only-allow pnpm",
"postinstall": "node propagateSdkVersions.js",
"start": "pnpm run shnip && pnpm --filter site run start",
"start": "pnpm run snippets && pnpm --filter site run start",
"start:feedback-server": "pnpm --filter feedback-server run start",
"start:tutorial-todo-starter": "pnpm --filter todo-starter run dev",
"start:tutorial-todo-completed": "pnpm --filter todo-completed run dev",
Expand All @@ -15,7 +15,7 @@
"start:widget": "pnpm --filter web5-quickstart-widgets start",
"start:new": "pnpm shnip:new && pnpm --filter site-new run start",
"serve:new": "pnpm --filter site-new run serve",
"build": "pnpm run shnip && pnpm --filter site run build",
"build": "pnpm run snippets && pnpm --filter site run build",
"build:new": "pnpm shnip:new && pnpm --filter site-new run build",
"clear": "pnpm --filter site run clear",
"clear:new": "pnpm --filter site-new run clear",
Expand All @@ -27,8 +27,7 @@
"test:swift": "swift test --package-path ./site/testsuites/testsuite-swift",
"test:versions": "node check-versions.js",
"test:watch": "pnpm run shnip && pnpm vitest --config vite.config.ts --watch",
"shnip": "node ./shnippet/src/cli --structure match && node ./shnippet/src/cli --structure byLanguage",
"shnip:new": "node ./shnip/dist/bin/cli.js",
"snippets": "pnpm shnip --config ./shnip.config.js",
"shnip:build:new": "node ./shnip build",
"test:js:new": "pnpm vitest run --config new-vite.config --no-threads",
"test:kotlin:new": "./site-new/testsuites/testsuite-kotlin/mvnw clean verify -f site-new/testsuites/testsuite-kotlin --batch-mode",
Expand Down Expand Up @@ -64,6 +63,7 @@
"react-qr-reader": "^3.0.0-beta-1",
"react-slick": "0.29.0",
"react18-json-view": "^0.2.8",
"shnip": "0.0.2-alpha",
"slick-carousel": "1.8.1",
"url": "^0.11.4",
"xml2js": "0.6.2"
Expand Down
Loading

0 comments on commit 2dbb503

Please sign in to comment.