Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .projen/deps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .projen/tasks.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ const project = new typescript.TypeScriptProject({
'jsonwebtoken',
'jwk-to-pem',
'axios',
'uuid',
'lambda-log',
'constructs',
],
Expand All @@ -33,7 +32,6 @@ const project = new typescript.TypeScriptProject({
'@types/lambda-log',
'@types/jsonwebtoken',
'@types/jwk-to-pem',
'@types/uuid',
'@hapi/boom',
'typedoc',
'@aws-sdk/client-cognito-identity-provider',
Expand Down
24 changes: 1 addition & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/constructs/authentication.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as fs from 'fs';
import * as fs from 'node:fs';
import {
aws_cognito,
aws_cognito_identitypool,
Expand Down
4 changes: 2 additions & 2 deletions src/constructs/graphql.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable max-len */
import { SpawnSyncOptions, spawnSync } from 'child_process';
import * as fs from 'fs';
import * as os from 'os';
import * as fs from 'node:fs';
import * as os from 'node:os';
import { AssetHashType, BundlingOptions, BundlingOutput, CfnOutput, DockerImage, NestedStack, Tags, aws_appsync, aws_certificatemanager, aws_iam, aws_logs, aws_route53 } from 'aws-cdk-lib';
import { Construct } from 'constructs';
import { CognitoAuthentication } from './authentication';
Expand Down
2 changes: 1 addition & 1 deletion src/constructs/rest-api.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as fs from 'fs';
import * as fs from 'node:fs';
import {
aws_certificatemanager,
aws_iam,
Expand Down
2 changes: 0 additions & 2 deletions src/projen/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,13 @@ export class ServerlessProject extends pj.awscdk.AwsCdkTypeScriptApp {
projenrcTs: true,
deps: [
...options.deps ?? [],
'uuid',
'esbuild',
'js-yaml',
'@aws-sdk/client-s3',
],
devDeps: [
...options.devDeps ?? [],
'@types/aws-lambda',
'@types/uuid',
'@types/lambda-log',
'@types/js-yaml',
],
Expand Down
8 changes: 2 additions & 6 deletions src/projen/datastore.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as fs from 'fs';
import { join } from 'path';
import * as fs from 'node:fs';
import { join } from 'node:path';
import { OneSchema } from 'dynamodb-onetable';
import * as pj from 'projen';
import { PACKAGE_NAME } from './core';
Expand Down Expand Up @@ -31,10 +31,6 @@ export class Datastore extends pj.Component {
'dynamodb-onetable',
'@aws-sdk/client-dynamodb',
'@aws-sdk/lib-dynamodb',
'uuid',
);
app.addDevDeps(
'@types/uuid',
);

new pj.SampleFile(this.project, this.options.definitionFile, {
Expand Down
4 changes: 2 additions & 2 deletions src/projen/lazy-sampledir.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import fs from 'fs';
import path from 'path';
import fs from 'node:fs';
import path from 'node:path';
import { Component, Project } from 'projen';

/**
Expand Down
4 changes: 2 additions & 2 deletions src/projen/rest-api.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as fs from 'fs';
import { join } from 'path';
import * as fs from 'node:fs';
import { join } from 'node:path';
import * as yaml from 'js-yaml';
import { OpenAPI3, OperationObject, PathItemObject } from 'openapi-typescript';
import * as pj from 'projen';
Expand Down
4 changes: 2 additions & 2 deletions src/projen/workflow.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as fs from 'fs';
import { join } from 'path';
import * as fs from 'node:fs';
import { join } from 'node:path';
import * as pj from 'projen';
import { PACKAGE_NAME } from './core';
import { LazyTextFile } from './lazy-textfile';
Expand Down
2 changes: 1 addition & 1 deletion test/projen/datastore.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import fs from 'fs';
import fs from 'node:fs';
import { AwsCdkTypeScriptApp } from 'projen/lib/awscdk';
import { synthSnapshot } from 'projen/lib/util/synth';
import { Datastore } from '../../src/projen';
Expand Down
2 changes: 1 addition & 1 deletion test/projen/graphql.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as fs from 'fs';
import * as fs from 'node:fs';
import { AwsCdkTypeScriptApp } from 'projen/lib/awscdk';
import { synthSnapshot } from 'projen/lib/util/synth';
import { GraphQlApi } from '../../src/projen';
Expand Down
2 changes: 1 addition & 1 deletion test/projen/workflow.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as fs from 'fs';
import * as fs from 'node:fs';
import { AwsCdkTypeScriptApp } from 'projen/lib/awscdk';
import { synthSnapshot } from 'projen/lib/util/synth';
import { Workflow } from '../../src/projen';
Expand Down
2 changes: 1 addition & 1 deletion test/util/synth.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as fs from 'fs';
import * as fs from 'node:fs';
import * as path from 'node:path';
import * as yaml from 'js-yaml';
import { Project } from 'projen';
Expand Down
1 change: 0 additions & 1 deletion tsconfig.dev.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion tsconfig.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading