cybertoken 1.0.1 → 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cybertoken",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "A token format for APIs inspired by the GitHub's API token format.",
5
5
  "author": "Niklas Mollenhauer",
6
6
  "license": "ISC",
@@ -1 +0,0 @@
1
- github: nikeee
@@ -1,11 +0,0 @@
1
- version: 2
2
- updates:
3
- - package-ecosystem: "npm"
4
- directory: "/"
5
- schedule:
6
- interval: "daily"
7
-
8
- - package-ecosystem: "github-actions"
9
- directory: "/"
10
- schedule:
11
- interval: "weekly"
@@ -1,66 +0,0 @@
1
- name: CI
2
-
3
- on:
4
- push:
5
- branches:
6
- - master
7
-
8
- jobs:
9
- test:
10
- name: Test
11
- runs-on: ubuntu-latest
12
-
13
- strategy:
14
- matrix:
15
- node-version: [16.x, 18.x, 19.x]
16
-
17
- steps:
18
- - uses: actions/checkout@v3
19
- - uses: actions/setup-node@v3
20
- with:
21
- node-version: ${{ matrix.node-version }}
22
- cache: npm
23
-
24
- - run: npm ci
25
- - run: npm run test:coverage
26
-
27
- docs-build:
28
- name: Build Docs
29
- runs-on: ubuntu-latest
30
- needs:
31
- - test
32
-
33
- steps:
34
- - uses: actions/checkout@v3
35
- - uses: actions/setup-node@v3
36
- with:
37
- node-version: 19.x
38
- cache: npm
39
-
40
- - run: npm ci
41
- - run: npm run docs
42
-
43
- - uses: actions/upload-pages-artifact@v1
44
- with:
45
- path: ./docs
46
-
47
- docs-deploy:
48
- name: Deploy Docs
49
- runs-on: ubuntu-latest
50
- if: ${{ github.ref == 'refs/heads/master' }}
51
-
52
- permissions:
53
- pages: write
54
- id-token: write
55
-
56
- needs:
57
- - docs-build
58
-
59
- environment:
60
- name: github-pages
61
- url: ${{ steps.deployment.outputs.page_url }}
62
-
63
- steps:
64
- - name: Deploy to GitHub Pages
65
- id: deployment
66
- uses: actions/deploy-pages@v1
package/.prettierrc.json DELETED
@@ -1,3 +0,0 @@
1
- {
2
- "arrowParens": "avoid"
3
- }
package/a.mjs DELETED
@@ -1,8 +0,0 @@
1
- import * as b from "./built/index.js";
2
-
3
- const a = b.createTokenGenerator({ prefixWithoutUnderscore: "test" });
4
- console.log(a.generateToken());
5
- console.log(a.generateToken());
6
- console.log(a.generateToken());
7
- console.log(a.generateToken());
8
- console.log(a.generateToken());