-
-
Notifications
You must be signed in to change notification settings - Fork 391
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
huge rewrite
- Loading branch information
Theo Ephraim
committed
Jun 26, 2023
1 parent
456ce25
commit 903e923
Showing
52 changed files
with
8,815 additions
and
9,488 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.eslintrc.cjs | ||
build.config.js | ||
jest.config.cjs | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
node_modules/ | ||
ignore/ | ||
src/ignore/ | ||
.env | ||
.DS_Store | ||
examples/ | ||
TODO | ||
TODO | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
pnpm run lint |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"recommendations": [ | ||
"dbaeumer.vscode-eslint" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"editor.formatOnSave": true, | ||
"[typescript]": { | ||
"editor.defaultFormatter": "dbaeumer.vscode-eslint" | ||
}, | ||
"[javascript]": { | ||
"editor.defaultFormatter": "dbaeumer.vscode-eslint" | ||
}, | ||
"editor.rulers": [ | ||
120 | ||
], | ||
"eslint.packageManager": "pnpm" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,22 @@ | ||
# Changelog | ||
|
||
TODO: set this up to be automated and pulled from git commits... for now just going to leave some notes manually! | ||
Sorry for not keeping a proper changelog from the beginning. Will try to keep this up to date from now on! | ||
|
||
### 3.2.0 (2021-11-07) | ||
### 4.0.0 (2021-11-07) | ||
|
||
- Added `insertDimension` functionality | ||
- Added custom header row index for row-based API | ||
- Bumped dependency versions | ||
- Readme/docs cleanup | ||
- Readme/docs cleanup | ||
|
||
### 5.0.0 (2023-03-01) | ||
|
||
- rewrite in typescript! no more lagging/outdated types from DefinitelyTyped (`@types/google-spreadsheet`) | ||
- refactor `GoogleSpreadsheetRow` to be more TS friendly | ||
- refactor authentication to rely directly on [google-auth-library](https://www.npmjs.com/package/google-auth-library) as a peer dependency | ||
- support Application Default Credentials (auto inject credentials in some environments) | ||
- refactor document creation into static method, similar auth setup | ||
- support basic sharing / permissions management (drive api) | ||
- support document delete | ||
- replaced `GoogleSpreadsheetFormulaError` with `GoogleSpreadsheetCellErrorValue` and now handles all possible cell error types | ||
- fully deprecated `sheet.getInfo`, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { defineBuildConfig } from 'unbuild'; | ||
|
||
export default defineBuildConfig({ | ||
entries: ['./src/index'], | ||
outDir: 'dist', | ||
declaration: true, | ||
clean: true, | ||
failOnWarn: true, | ||
externals: ['google-auth-library'], | ||
rollup: { | ||
emitCJS: true, | ||
esbuild: { | ||
minify: process.env.NODE_ENV === 'production' | ||
}, | ||
}, | ||
}); |
Oops, something went wrong.