nfse-brazil-national 1.0.0 → 1.0.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.
@@ -18,10 +18,12 @@ jobs:
18
18
  - run: npm ci
19
19
  - run: npm test
20
20
 
21
- publish-gpr:
21
+ publish-github-packages:
22
22
  needs: build
23
23
  runs-on: ubuntu-latest
24
+ environment: production
24
25
  permissions:
26
+ id-token: write
25
27
  contents: read
26
28
  packages: write
27
29
  steps:
@@ -30,10 +32,12 @@ jobs:
30
32
  with:
31
33
  node-version: 20
32
34
  registry-url: https://npm.pkg.github.com/
35
+ scope: '@flaviolacer'
33
36
  - run: npm ci
37
+ - run: npm pkg set name=@flaviolacer/nfse-brazil-national
34
38
  - run: npm publish
35
39
  env:
36
- NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
40
+ NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37
41
 
38
42
  publish-npm:
39
43
  needs: build
@@ -52,4 +56,4 @@ jobs:
52
56
 
53
57
  - name: Publish to npm
54
58
  run: NODE_AUTH_TOKEN="" npm publish --provenance --access public
55
- continue-on-error: true
59
+ continue-on-error: false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nfse-brazil-national",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Biblioteca cliente para integração com a API Nacional da NFS-e (Nota Fiscal de Serviço Eletrônica) do Brasil.",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -8,6 +8,10 @@
8
8
  "engines": {
9
9
  "node": ">=20.0.0"
10
10
  },
11
+ "publishConfig": {
12
+ "access": "public",
13
+ "provenance": true
14
+ },
11
15
  "repository": {
12
16
  "type": "git",
13
17
  "url": "git+https://github.com/flaviolacer/nfse-brazil-national.git"
@@ -1,14 +1,14 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
3
- targetNamespace="http://www.sped.fazenda.gov.br/nfse"
4
- xmlns="http://www.sped.fazenda.gov.br/nfse"
5
- attributeFormDefault="unqualified"
6
- elementFormDefault="qualified">
7
- <xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
8
- <xs:include schemaLocation="tiposComplexos_v1.00.xsd"/>
9
- <xs:element name="DPS" type="TCDPS">
10
- <xs:annotation>
11
- <xs:documentation>Schema XML da Declaração de Prestação de Serviços - DPS</xs:documentation>
12
- </xs:annotation>
13
- </xs:element>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
3
+ targetNamespace="http://www.sped.fazenda.gov.br/nfse"
4
+ xmlns="http://www.sped.fazenda.gov.br/nfse"
5
+ attributeFormDefault="unqualified"
6
+ elementFormDefault="qualified">
7
+ <xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
8
+ <xs:include schemaLocation="tiposComplexos_v1.00.xsd"/>
9
+ <xs:element name="DPS" type="TCDPS">
10
+ <xs:annotation>
11
+ <xs:documentation>Schema XML da Declaração de Prestação de Serviços - DPS</xs:documentation>
12
+ </xs:annotation>
13
+ </xs:element>
14
14
  </xs:schema>
@@ -1,15 +1,15 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
3
- xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
4
- targetNamespace="http://www.sped.fazenda.gov.br/nfse"
5
- xmlns="http://www.sped.fazenda.gov.br/nfse"
6
- attributeFormDefault="unqualified"
7
- elementFormDefault="qualified">
8
- <xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
9
- <xs:include schemaLocation="tiposComplexos_v1.00.xsd"/>
10
- <xs:element name="NFSe" type="TCNFSe">
11
- <xs:annotation>
12
- <xs:documentation>Schema XML da Nota Fiscal de Serviços Eletrônica - NFS-e</xs:documentation>
13
- </xs:annotation>
14
- </xs:element>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
3
+ xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
4
+ targetNamespace="http://www.sped.fazenda.gov.br/nfse"
5
+ xmlns="http://www.sped.fazenda.gov.br/nfse"
6
+ attributeFormDefault="unqualified"
7
+ elementFormDefault="qualified">
8
+ <xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
9
+ <xs:include schemaLocation="tiposComplexos_v1.00.xsd"/>
10
+ <xs:element name="NFSe" type="TCNFSe">
11
+ <xs:annotation>
12
+ <xs:documentation>Schema XML da Nota Fiscal de Serviços Eletrônica - NFS-e</xs:documentation>
13
+ </xs:annotation>
14
+ </xs:element>
15
15
  </xs:schema>