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 +1 -1
- package/.github/FUNDING.yml +0 -1
- package/.github/dependabot.yaml +0 -11
- package/.github/workflows/CI.yaml +0 -66
- package/.prettierrc.json +0 -3
- package/a.mjs +0 -8
package/package.json
CHANGED
package/.github/FUNDING.yml
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
github: nikeee
|
package/.github/dependabot.yaml
DELETED
|
@@ -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
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());
|