@newhighsco/yarn-plugin-preset 1.1.0 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # yarn-plugin-preset
1
+ # yarn-plugin-preset [![NPM version](https://img.shields.io/npm/v/@newhighsco/yarn-plugin-preset.svg)](https://www.npmjs.com/package/@newhighsco/yarn-plugin-preset)
2
2
 
3
3
  New High Score [shareable plugins](https://yarnpkg.com/advanced/plugin-tutorial) for [Yarn](https://yarnpkg.com/)
4
4
 
@@ -7,7 +7,11 @@ New High Score [shareable plugins](https://yarnpkg.com/advanced/plugin-tutorial)
7
7
  Install `@newhighsco/yarn-plugin-preset`:
8
8
 
9
9
  ```
10
- yarn plugin import https://github.com/newhighsco/yarn/releases/download/%40newhighsco%2Fyarn-plugin-preset%401.0.0/plugin-preset.js
10
+ yarn add -D @newhighsco/yarn-plugin-preset
11
11
  ```
12
12
 
13
+ ## Usage
14
+
15
+ New High Score Yarn plugins come bundled in `@newhighsco/yarn-plugin-preset`. To enable these plugins, simply install, and the plugins will be added to the `.yarnrc.yml` file at the root of your project.
16
+
13
17
  ## [CHANGELOG](CHANGELOG.md)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@newhighsco/yarn-plugin-preset",
3
3
  "description": "New High Score shareable Yarn plugins",
4
- "version": "1.1.0",
4
+ "version": "1.1.2",
5
5
  "author": "New High Score",
6
6
  "license": "ISC",
7
7
  "repository": {
@@ -20,17 +20,16 @@
20
20
  "scripts"
21
21
  ],
22
22
  "scripts": {
23
- "postinstall": "tsx scripts/postinstall",
23
+ "postinstall": "node scripts/postinstall.js",
24
24
  "prepublishOnly": "yarn build",
25
25
  "clean": "rm -rf bundles",
26
- "build": "builder build plugin && yarn plugin import ./bundles/@yarnpkg/plugin-preset.js --no-checksum"
26
+ "build": "builder build plugin && yarn plugin import ./bundles/@yarnpkg/plugin-preset.js"
27
27
  },
28
28
  "dependencies": {
29
- "@yarnpkg/core": "4.5.0",
29
+ "@yarnpkg/core": "4.6.0",
30
30
  "@yarnpkg/shell": "4.1.3"
31
31
  },
32
32
  "devDependencies": {
33
- "@yarnpkg/builder": "4.2.3",
34
- "tsx": "4.21.0"
33
+ "@yarnpkg/builder": "4.2.3"
35
34
  }
36
35
  }
@@ -1,3 +1,4 @@
1
+ #!/usr/bin/env node
1
2
  import { execute } from '@yarnpkg/shell'
2
3
 
3
4
  import packageJson from '../package.json' with { type: 'json' }