You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
-
# tawfeer-scripts
1
+
# Scripts
2
2
3
3
Scripts for Tawfeer, heavily inspired by [`react-scripts`](https://github.com/facebook/create-react-app/blob/main/packages/react-scripts).
4
4
5
5
---
6
6
7
7
## Available scripts
8
8
9
-
Repos consuming the `tawfeer-scripts` package can use the following NPM scripts. Prefix each at the command line with `npm run` (or [`bun run`](https://bun.sh/)) to execute.
9
+
Repos consuming the `@tawfeer/scripts` package can use the following NPM scripts. Prefix each at the command line with `npm run` (or [`bun run`](https://bun.sh/)) to execute.
10
10
11
11
### start
12
12
@@ -65,7 +65,7 @@ Will validate TypeScript code in the project. This requires a `tsconfig.json` fi
@@ -260,7 +260,7 @@ Note that before the first time updating you'll need to set the API key for Circ
260
260
261
261
### Testing locally
262
262
263
-
1. Copy the path to this repository (e.g. `pwd | pbcopy`) and "install" it as an npm dependency in the repository on which you wish to test (e.g. `npm i /path/to/tawfeer-scripts`). You should end up with a `"tawfeer-scripts": "file:*"` entry in `package.json` instead of a version number.
263
+
1. Copy the path to this repository (e.g. `pwd | pbcopy`) and "install" it as an npm dependency in the repository on which you wish to test (e.g. `npm i /path/to/tawfeer-scripts`). You should end up with a `"@tawfeer/scripts": "file:*"` entry in `package.json` instead of a version number.
264
264
2. Trigger a script and observe the results, e.g. `npm run semantic-release -- --dry-run`
265
265
266
266
---
@@ -269,4 +269,4 @@ Note that before the first time updating you'll need to set the API key for Circ
269
269
270
270
### `@wordpress/*` packages
271
271
272
-
This project lists [`@wordpress/*` packages](https://github.com/WordPress/gutenberg/tree/trunk/packages) as dependencies in order to provide them to consumers. In a project using `@wordpress/scripts` (e.g. a consumer of `tawfeer-scripts`), the `@wordpress/*` packages are sourced from WP Core, not `node_modules`. The packages should be included in `node_modules`, though, to be available in other environments – notably when running tests. See [Dependency Extraction Webpack Plugin](https://www.npmjs.com/package/@wordpress/dependency-extraction-webpack-plugin) for more information.
272
+
This project lists [`@wordpress/*` packages](https://github.com/WordPress/gutenberg/tree/trunk/packages) as dependencies in order to provide them to consumers. In a project using `@wordpress/scripts` (e.g. a consumer of `@tawfeer/scripts`), the `@wordpress/*` packages are sourced from WP Core, not `node_modules`. The packages should be included in `node_modules`, though, to be available in other environments – notably when running tests. See [Dependency Extraction Webpack Plugin](https://www.npmjs.com/package/@wordpress/dependency-extraction-webpack-plugin) for more information.
0 commit comments