Skip to content

Commit

Permalink
Misc
Browse files Browse the repository at this point in the history
  • Loading branch information
wojpawlik committed Aug 24, 2023
1 parent ca663e5 commit e7e4ad2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
- name: Publish to npm
run: |
npm config set //registry.npmjs.org/:_authToken '${NPM_TOKEN}'
[[ "$GITHUB_REF_NAME" =~ - ]] && npm config set tag=next
npm pkg set version="$GITHUB_REF_NAME"
npm publish --ignore-scripts
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
6 changes: 4 additions & 2 deletions src/context.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
import path from "node:path";
import * as path from "node:path";
import { type Config, parse } from "./config.ts";
import { Project, ts } from "./deps.deno.ts";

const compilerOptions: ts.CompilerOptions = {
// footguns
removeComments: false,
// Deno defaults
strict: true,
useDefineForClassFields: true,
};

interface Options {
export interface Options {
readonly tsConfigFilePath?: string;
readonly compilerOptions?: ts.CompilerOptions;
readonly skipAddingFilesFromTsConfig?: boolean;
Expand Down

0 comments on commit e7e4ad2

Please sign in to comment.