Skip to content

Commit 2fd9b63

Browse files
committed
build: replace dmno with https://varlock.dev
swapping out DMNO for https://varlock.dev
1 parent 2d895c2 commit 2fd9b63

19 files changed

+353
-1202
lines changed

.dmno/config.mts

Lines changed: 0 additions & 47 deletions
This file was deleted.

.dmno/default.vault.json

Lines changed: 0 additions & 18 deletions
This file was deleted.

.dmno/tsconfig.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

.env.schema

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# This env file uses @env-spec - see https://varlock.dev/env-spec for more info
2+
#
3+
# @defaultRequired=false @defaultSensitive=false
4+
# @generateTypes(lang=ts, path=env.d.ts)
5+
# ----------
6+
7+
# API key for our testing "app"
8+
# @sensitive @required
9+
GOOGLE_API_KEY=
10+
11+
# Email of service account used for tests
12+
# @sensitive @required @type=email
13+
GOOGLE_SERVICE_ACCOUNT_EMAIL=
14+
15+
# API key for service account used for tests
16+
# @sensitive @required
17+
GOOGLE_SERVICE_ACCOUNT_KEY=
18+
19+
# Flag set to true when running in CI
20+
# @type=boolean
21+
CI=
22+
23+
# Delay in ms to use when running tests
24+
# @type=number
25+
TEST_DELAY=500

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,10 @@ jobs:
5959
CI: 1
6060
NODE_ENV: ci
6161
JEST_JUNIT_OUTPUT: "reports/junit/js-test-results.xml"
62-
DMNO_VAULT_KEY: ${{ secrets.DMNO_VAULT_KEY }}
62+
TEST_DELAY: 1000
63+
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
64+
GOOGLE_SERVICE_ACCOUNT_EMAIL: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_EMAIL }}
65+
GOOGLE_SERVICE_ACCOUNT_KEY: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_KEY }}
6366

6467
- uses: actions/upload-artifact@v4
6568
with:

.gitignore

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,10 @@
11
node_modules/
22
src/ignore/
3-
.env
43
.DS_Store
54
examples/
65
TODO
76
dist
87

9-
# dmno files ###
10-
# local cache for resolved values
11-
**/.dmno/cache.json
12-
# encryption key used for cache
13-
**/.dmno/cache-key.json
14-
# generated type files
15-
**/.dmno/.typegen
16-
# iconify cache used in generated types
17-
**/.dmno/.icon-cache
18-
# local config overrides
19-
**/.dmno/.env.local
20-
**/.dmno/certs
8+
.env.local
9+
.env.*.local
10+
env.d.ts

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
24.5.0

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
> The most popular [Google Sheets API](https://developers.google.com/sheets/api/guides/concepts) wrapper for javascript / typescript
44
5+
<a href="https://varlock.dev?ref=gsheets"><img
6+
src="https://varlock-pixel-art.dmno.workers.dev/characters/warlock1.gif"
7+
alt="wizard pixel art"
8+
/></a>
9+
<a href="https://varlock.dev?ref=gsheets"><img
10+
src="https://varlock-pixel-art.dmno.workers.dev/other/github-gsheets-banner.png"
11+
alt="varlock banner"
12+
/></a>
13+
514
[![NPM version](https://img.shields.io/npm/v/google-spreadsheet)](https://www.npmjs.com/package/google-spreadsheet)
615
[![CI status](https://github.com/theoephraim/node-google-spreadsheet/actions/workflows/ci.yml/badge.svg)](https://github.com/theoephraim/node-google-spreadsheet/actions/workflows/ci.yml)
716
[![Known Vulnerabilities](https://snyk.io/test/github/theoephraim/node-google-spreadsheet/badge.svg?targetFile=package.json)](https://snyk.io/test/github/theoephraim/node-google-spreadsheet?targetFile=package.json)

docs/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@ _Welcome to the docs site for_
66

77
> The most popular [Google Sheets API](https://developers.google.com/sheets/api/guides/concepts) wrapper for javascript / typescript
88
9+
<a href="https://varlock.dev?ref=gsheets"><img
10+
src="https://varlock-pixel-art.dmno.workers.dev/characters/warlock1.gif"
11+
alt="wizard pixel art"
12+
/></a>
13+
<a href="https://varlock.dev?ref=gsheets"><img
14+
src="https://varlock-pixel-art.dmno.workers.dev/other/github-gsheets-banner.png"
15+
alt="varlock banner"
16+
/></a>
17+
918
[![NPM version](https://img.shields.io/npm/v/google-spreadsheet)](https://www.npmjs.com/package/google-spreadsheet)
1019
[![CI status](https://github.com/theoephraim/node-google-spreadsheet/actions/workflows/ci.yml/badge.svg)](https://github.com/theoephraim/node-google-spreadsheet/actions/workflows/ci.yml)
1120
[![Known Vulnerabilities](https://snyk.io/test/github/theoephraim/node-google-spreadsheet/badge.svg?targetFile=package.json)](https://snyk.io/test/github/theoephraim/node-google-spreadsheet?targetFile=package.json)

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@
5252
"changelog": "auto-changelog --commit-limit false --unreleased-only --stdout",
5353
"release": "pnpm run build && release-it",
5454
"runscript": "NODE_NO_WARNINGS=1 node --experimental-specifier-resolution=node --loader ts-node/esm",
55-
"test": "dmno run -- vitest --no-file-parallelism"
55+
"test": "vitest",
56+
"test:ci": "vitest run"
5657
},
5758
"config": {
5859
"commitizen": {
@@ -64,7 +65,6 @@
6465
"lodash": "^4.17.21"
6566
},
6667
"devDependencies": {
67-
"@dmno/encrypted-vault-plugin": "^0.0.10",
6868
"@swc/core": "^1.3.60",
6969
"@types/lodash": "^4.14.195",
7070
"@types/node": "^20.2.5",
@@ -74,7 +74,6 @@
7474
"commitizen": "^4.3.0",
7575
"cz-conventional-changelog": "^3.3.0",
7676
"delay": "^4.3.0",
77-
"dmno": "^0.0.39",
7877
"docsify-cli": "^4.4.3",
7978
"eslint": "^8.41.0",
8079
"eslint-config-airbnb-base": "^15.0.0",
@@ -86,7 +85,8 @@
8685
"ts-node": "^10.9.1",
8786
"typescript": "^5.5.4",
8887
"unbuild": "^1.2.1",
89-
"vitest": "^2.0.5"
88+
"varlock": "^0.0.7",
89+
"vitest": "^3.2.4"
9090
},
9191
"peerDependencies": {
9292
"google-auth-library": ">=8.8.0"

0 commit comments

Comments
 (0)