Releases: google/clasp
TypeScript Support!
1.5 TypeScript support
`clasp push --watch`, Autogenerated docs, improved exiting, Windows test support
This minor version improves the code and adds filesystem watching via clasp push --watch.
Internal
- Generated documentation. #200 #205
- Commands are separated into functions.
- Improved Auth scoping
- Using
logErroreverywhere instead ofconsole.log - Windows test support #232
- Load credentials async #202
External
Thanks for the contributions @campionfellin @wilt00 @rafasc @kant! 🎉
View the full diff.
Removes tsc Errors and Improves Code Quality
This minor patch improves code quality, the reliability of npm run build, and progresses in splitting clasp's source into multiple modular files.
Thanks for the contributions @campionfellin, @ajlai, and @TETRA2000! 🎉
See the full src diff.
Travis Tests, inquirer prompts, & better clasp logs
[email protected] enhances clasp logs, adds a robust set of Travis test, modularizes the CLI's functions and improves CLI error messages, and adds interactive CLI prompts via inquirer.
Thank @campionfellin and @ajlai for building this release! 🎉
Community PRs
- #104 Create clasp run V1 command
- #107 Fix clasp logs
- #111 Re-format .travis.yml
- #112 Add basic help tests as examples
- #113 Fix various errors in PR #112
- #114 Adds test for clasp list and clasp create
- #116 Converts tests to typescript
- #119 Creates tests for clasp clone and clasp pull
- #120 Adds more instructions for develop in Readme
- #121 Adds new tslint rule for no-unused-variables
- #122 Add clasp push and clasp open tests
- #123 Add test for clasp create <title>
- #125 Adds clasp logout test
- #129 Fixes unhandled rejection in clasp logs
- #130 Convert clasp create to inquirer functionality
- #132 Converts clasp clone to inquirer
- #135 Breaks out some of the consts from index.ts to utils.ts
- #136 Move ClaspSettings, ProjectSettings, and DOTFILE to utils
- #140 Moves spinner and logError to utils
- #141 Adds tests for clasp deploy and clasp deployments
- #142 Move getScriptURL, getProjectSettings, and getFileType to utils
- #143 Add lint to PR template
- #144 Allow clasp open to work for any scriptId
- #145 Add test for clasp versions
- #148 Update coveralls badge to master branch
- #149 Update DEPLOYMENT_COUNT message
- #150 Add whitespace rule to tslint
- #152 Make getProjectSettings async
- #153 Move more items to utils and fix clasp open
- #154 Move auth functions to auth.ts
- #155 Move LOG to /src/commands.ts
- #156 Fix build errors
- #158 Add more tests
- #160 Import pluralize to index.ts
- #164 Fix clasp logout
- #165 Fix clasp login
- #168 Fix getAPICredentials so it looks in local RC first then global RC
- #169 Remove .clasprc.json.enc from project
- #170 Edit clasp clone to include project names
By @ajlai
- #118 Add npm ci check
- #127 Fix language identification of .ts files
- #167 Add clasp status tests and --json option
See the full src diff.
clasp list, clasp logs, and .clasp.json rootDir Support
[email protected] adds Travis CI testing, clasp list, clasp logs, and .clasp.json rootDir support.
🚧 This development version was not published to npm.
🎉 Thank you for the pull requests and great discussions!
Full diff details can be found here: 0b44367...23b74d8
TypeScript, Linting, Headless Login, Custom Root Directory, Help Message, Code Verifier
[email protected] introduces TypeScript as the tool's language as well as, internal linting, headless login, custom root directory support, a better help message, adds an API code verifier, fixes nits and a adds a few options to existing commands.
🎉 Thank you for the pull requests and great discussions!
Community PRs
- #33 Disallow empty files on pull @nirazul @michaelwdemo
- #27 Save files as .js. Treat local .js files as SERVER_JS @jondcallahan
- #31/#7 Default clasp @CWatson88
- #29 Update google api client to v25.x, enable code challenge/verifier @sqrrrl
- #28 Add headless oauth support @sqrrrl
- #26 Add parent ID @bladechild
- #25/#22 Adds support for rootDir in .clasp.json @jondcallahan
- #24 Documentation for .claspignore @thesiti92
- #19: Streamline spaces in object destructuring @nirazul
- #6: Skip fetching project on create if manifest already exists @sqrrrl
Discussions
- #23 Clasp Open
- #20
console.errtypo @CWatson88 - #16 Linting: Internal
clasplinting solved withnpm run lint. External linting to come. @jondcallahan - #10 IntelliJ support: Inspired TypeScript development. @deinspanjer @jondcallahan
- #2 Headless login @mhawksey @rielzzapps
Initial Release
Initial public release of clasp.
Commands
clasp loginclasp logoutclasp create [scriptTitle]clasp clone <scriptId>clasp pullclasp pushclasp openclasp deploymentsclasp deploy [version] [description]clasp redeploy <deploymentId> <description>clasp version [description]clasp versions