@iramaceber/hello 0.1.0 → 0.2.0

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 ADDED
@@ -0,0 +1,11 @@
1
+ # hello
2
+ ## Instalação
3
+ pnpm i @iramaceber/hello
4
+
5
+ ## API
6
+
7
+ ## Utilização
8
+
9
+ ## Licença
10
+
11
+ [MIT](LICENSE) ©️ [Rebeca Mari](https://github.com/iramaceber)
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
- function hello(name){
2
- console.log( name );
1
+ function hello(name = ''){
2
+ console.log( 'Hello', name );
3
3
  }
4
4
 
5
5
  module.exports = { hello };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iramaceber/hello",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Just say hello",
5
5
  "main": "index.js",
6
6
  "keywords": [
package/texto.txt DELETED
@@ -1,26 +0,0 @@
1
- 1- Criei repositorio no GitHub: hello
2
-
3
- 2- Fazer aula04, e da um git clone do repositorio: git clone https://github.com/iramaceber/hello;
4
-
5
- 3- Da pnpm init dentro da pasta do repositorio: pasta hello => pnpm init;
6
-
7
- 4- Mudar em package.json o "name" para seu usuário do npm: "@iramaceber/hello";
8
- "license": "MIT"
9
-
10
- 5- git add * && git commit -m ""
11
-
12
- 6- git tag v0.1.0
13
- git push && git push --tags
14
-
15
- 7- pnpm login
16
- pnpm publish --access public
17
- pnpm publish --dry-run
18
-
19
- token: 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
20
- pnpm token create --opt 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
21
- pnpm config set //registry.pnpmjs.org/:_authToken "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"
22
-
23
-
24
- 8- Instalar o pacote em test-hello: pnpm install @iramaceber/hello
25
-
26
- 9-