Skip to content

Commit 7f47bc1

Browse files
u-u-zSiaraMist
andauthored
fix: typos in quickstart packages (github#26553)
Co-authored-by: Siara <108543037+SiaraMist@users.noreply.github.com>
1 parent 9b531eb commit 7f47bc1

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

content/packages/quickstart.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,10 @@ In this guide, you'll create a {% data variables.product.prodname_actions %} wor
2727
```
2828

2929
1. Create an `index.js` file and add a basic alert to say "Hello world!"
30-
{% raw %}
31-
3230
```javascript copy
3331
console.log("Hello, World!");
3432
```
35-
36-
{% endraw %}
3733
1. Initialize an npm package with `npm init`. In the package initialization wizard, enter your package with the name: _`@YOUR-USERNAME/YOUR-REPOSITORY`_, and set the test script to `exit 0`. This will generate a `package.json` file with information about your package.
38-
{% raw %}
39-
4034
```shell
4135
$ npm init
4236
...
@@ -45,8 +39,6 @@ In this guide, you'll create a {% data variables.product.prodname_actions %} wor
4539
test command: exit 0
4640
...
4741
```
48-
49-
{% endraw %}
5042
1. Run `npm install` to generate the `package-lock.json` file, then commit and push your changes to {% data variables.product.prodname_dotcom %}.
5143

5244
```shell
@@ -97,23 +89,15 @@ In this guide, you'll create a {% data variables.product.prodname_actions %} wor
9789

9890
1. Tell npm which scope and registry to publish packages to using one of the following methods:
9991
- Add an npm configuration file for the repository by creating a `.npmrc` file in the root directory with the contents:
100-
{% raw %}
101-
10292
```shell
10393
@YOUR-USERNAME:registry=https://npm.pkg.github.com
10494
```
105-
106-
{% endraw %}
10795
- Edit the `package.json` file and specify the `publishConfig` key:
108-
{% raw %}
109-
11096
```shell
11197
"publishConfig": {
11298
"@<em>YOUR-USERNAME</em>:registry": "https://npm.pkg.github.com"
11399
}
114100
```
115-
116-
{% endraw %}
117101
1. Commit and push your changes to {% data variables.product.prodname_dotcom %}.
118102

119103
```shell

0 commit comments

Comments
 (0)