getting ready for release

This commit is contained in:
Laura Liberda 2021-02-16 02:43:27 +01:00
parent a2038f1ef2
commit abcffc8b7a
4 changed files with 18 additions and 9 deletions

6
.gitignore vendored
View file

@ -1,5 +1,11 @@
# typescript builds
build build
# oclif-dev
dist
tmp
oclif.manifest.json
# fetched automatically with scripts/download-gql-schema.ts # fetched automatically with scripts/download-gql-schema.ts
schema.graphql schema.graphql
schema.json schema.json

View file

@ -2,20 +2,25 @@
"name": "copykitku", "name": "copykitku",
"version": "1.0.0", "version": "1.0.0",
"main": "index.js", "main": "index.js",
"author": "selfisekai <laura@selfisekai.rocks>", "author": "Lauren Liberda <lauren@selfisekai.rocks>",
"license": "GPL-3.0", "license": "GPL-3.0",
"scripts": { "scripts": {
"build": "yarn build:gql-codegen && yarn build:ts", "build": "yarn build:gql-codegen && yarn build:ts && yarn build:oclif",
"build:ts": "yarn tsc", "build:ts": "yarn tsc",
"build:ts:watch": "yarn tsc --watch",
"build:gql-codegen": "yarn build:gql-codegen:download && yarn build:gql-codegen:generate", "build:gql-codegen": "yarn build:gql-codegen:download && yarn build:gql-codegen:generate",
"build:gql-codegen:download": "yarn ts-node scripts/download-gql-schema.ts", "build:gql-codegen:download": "yarn ts-node scripts/download-gql-schema.ts",
"build:gql-codegen:generate": "yarn ts-node scripts/generate-gql-types.ts", "build:gql-codegen:generate": "yarn ts-node scripts/generate-gql-types.ts",
"build:oclif": "yarn oclif-dev manifest",
"dev": "yarn build:ts:watch",
"lint": "yarn lint:prettier && yarn lint:eslint", "lint": "yarn lint:prettier && yarn lint:eslint",
"lint:fix": "yarn lint:prettier:fix && yarn lint:eslint:fix", "lint:fix": "yarn lint:prettier:fix && yarn lint:eslint:fix",
"lint:eslint": "yarn eslint", "lint:eslint": "yarn eslint",
"lint:eslint:fix": "yarn eslint --fix", "lint:eslint:fix": "yarn eslint --fix",
"lint:prettier": "yarn prettier --check src", "lint:prettier": "yarn prettier --check src",
"lint:prettier:fix": "yarn prettier --check --write src" "lint:prettier:fix": "yarn prettier --check --write src",
"start": "node build/src/index.js",
"start:dev": "yarn build:ts && yarn start"
}, },
"bin": { "bin": {
"copykitku": "./bin/run" "copykitku": "./bin/run"

View file

@ -1,5 +1,3 @@
#!/usr/bin/env ts-node
import { run } from '@oclif/command'; import { run } from '@oclif/command';
if (process.argv[1] === __filename) { if (process.argv[1] === __filename) {

View file

@ -10,15 +10,15 @@
// "allowJs": true, /* Allow javascript files to be compiled. */ // "allowJs": true, /* Allow javascript files to be compiled. */
// "checkJs": true, /* Report errors in .js files. */ // "checkJs": true, /* Report errors in .js files. */
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */ // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
// "declaration": true, /* Generates corresponding '.d.ts' file. */ "declaration": true /* Generates corresponding '.d.ts' file. */,
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */ "declarationMap": true /* Generates a sourcemap for each corresponding '.d.ts' file. */,
// "sourceMap": true, /* Generates corresponding '.map' file. */ "sourceMap": true /* Generates corresponding '.map' file. */,
// "outFile": "./", /* Concatenate and emit output to single file. */ // "outFile": "./", /* Concatenate and emit output to single file. */
"outDir": "./build" /* Redirect output structure to the directory. */, "outDir": "./build" /* Redirect output structure to the directory. */,
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
// "composite": true, /* Enable project compilation */ // "composite": true, /* Enable project compilation */
// "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */ // "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
// "removeComments": true, /* Do not emit comments to output. */ "removeComments": true /* Do not emit comments to output. */,
// "noEmit": true, /* Do not emit outputs. */ // "noEmit": true, /* Do not emit outputs. */
// "importHelpers": true, /* Import emit helpers from 'tslib'. */ // "importHelpers": true, /* Import emit helpers from 'tslib'. */
// "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */ // "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */