Skip to content

Commit

Permalink
chore: remove moved packages (engines/fetch-engine/get-platform) (#410)
Browse files Browse the repository at this point in the history
Co-authored-by: Joël Galeran <Jolg42@users.noreply.github.com>
  • Loading branch information
millsp and Jolg42 committed Jul 1, 2022
1 parent 81de764 commit 5b4a9cd
Show file tree
Hide file tree
Showing 63 changed files with 193 additions and 7,031 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/setup.sh
Expand Up @@ -5,7 +5,7 @@ echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc

set -ex

npm i --silent -g pnpm@6 esbuild@0.8.53 --unsafe-perm
npm i --silent -g pnpm@6 --unsafe-perm

pnpm i --no-prefer-frozen-lockfile --ignore-scripts

Expand Down
57 changes: 0 additions & 57 deletions .github/workflows/test.yml

This file was deleted.

21 changes: 3 additions & 18 deletions README.md
@@ -1,29 +1,14 @@
# Prisma Engines Wrapper
# Prisma Engines Version

<div>
<h2>@prisma/engines
<a href="https://www.npmjs.com/package/@prisma/engines">
<img src="https://img.shields.io/npm/v/@prisma/engines.svg?style=flat" />
</a>
</h2>
<h2>@prisma/engines-version
<a href="https://www.npmjs.com/package/@prisma/engines-version">
<img src="https://img.shields.io/npm/v/@prisma/engines-version.svg?style=flat" />
</a>
</h2>
<h2>@prisma/fetch-engine
<a href="https://www.npmjs.com/package/@prisma/fetch-engine">
<img src="https://img.shields.io/npm/v/@prisma/fetch-engine.svg?style=flat" />
</a>
</h2>
<h2>@prisma/get-platform
<a href="https://www.npmjs.com/package/@prisma/get-platform">
<img src="https://img.shields.io/npm/v/@prisma/get-platform.svg?style=flat" />
</a>
</h2>
</div>

This repository contains the code for packages `@prisma/engines`, `@prisma/engines-version`, `@prisma/fetch-engine` and `@prisma/get-platform`. They are wrapping the [Prisma Rust Engines](https://github.com/prisma/prisma-engines) in npm packages to be used by the [Prisma CLI, the Client](https://github.com/prisma/prisma), and other tooling.
It is used to get the hash of the [Prisma Rust Engines](https://github.com/prisma/prisma-engines) for downloading via the [Prisma CLI, the Client](https://github.com/prisma/prisma), and other tooling.

[The automated publish pipeline](https://github.com/prisma/engines-wrapper/actions/workflows/publish-engines.yml) is triggered during the publish process of [`prisma-engines`](https://github.com/prisma/prisma-engines) by the [engineer CLI](https://github.com/prisma/engineer/blob/main/src/trigger/mod.rs).
This `engines-wrapper` GitHub Actions workflow informs other repositories (e.g. [`prisma/prisma`](https://github.com/prisma/prisma) and [`prisma/prisma-fmt-wasm`](https://github.com/prisma/prisma-fmt-wasm)) of these published npm packages.
This `engines-version` GitHub Actions workflow informs other repositories (e.g. [`prisma/prisma`](https://github.com/prisma/prisma) and [`prisma/prisma-fmt-wasm`](https://github.com/prisma/prisma-fmt-wasm)) of these published npm packages.
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "engines-wrapper",
"version": "1.0.0",
"description": "This repository contains the packages `@prisma/engines` and `@prisma/engines-version`. They are wrapping our [Rust Engines](https://github.com/prisma/prisma-engines) in npm packages.",
"description": "It is used to get the hash of the [Prisma Rust Engines](https://github.com/prisma/prisma-engines) for downloading via the [Prisma CLI, the Client](https://github.com/prisma/prisma), and other tooling.",
"private": true,
"devDependencies": {
"@sindresorhus/slugify": "1.1.2",
Expand Down
5 changes: 0 additions & 5 deletions packages/engines/.gitignore

This file was deleted.

10 changes: 0 additions & 10 deletions packages/engines/README.md

This file was deleted.

30 changes: 0 additions & 30 deletions packages/engines/package.json

This file was deleted.

37 changes: 0 additions & 37 deletions packages/engines/scripts/build.js

This file was deleted.

1 change: 0 additions & 1 deletion packages/engines/src/__tests__/all-exist.test.ts

This file was deleted.

80 changes: 0 additions & 80 deletions packages/engines/src/download.ts

This file was deleted.

107 changes: 0 additions & 107 deletions packages/engines/src/index.ts

This file was deleted.

0 comments on commit 5b4a9cd

Please sign in to comment.