Skip to content
Open
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
30 changes: 12 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@architect/deploy",
"version": "7.0.0",
"version": "7.0.2",
"description": "Deploys @architect projects",
"main": "index.js",
"bin": {
Expand All @@ -9,10 +9,10 @@
"scripts": {
"test": "npm run lint && npm run test:integration && npm run coverage",
"test:nolint": "npm run test:integration && npm run coverage",
"test:unit": "cross-env AWS_ACCESS_KEY_ID=\"blah\" AWS_SECRET_ACCESS_KEY=\"blah\" tape 'test/unit/**/*-test.js' | tap-arc",
"test:slow": "cross-env tape 'test/slow/**/*-test.js' | tap-arc",
"test:integration": "cross-env AWS_ACCESS_KEY_ID=\"blah\" AWS_SECRET_ACCESS_KEY=\"blah\" tape 'test/integration/**/*-test.js' | tap-arc",
"coverage": "nyc --reporter=lcov --reporter=text npm run test:unit",
"test:unit": "node test/run-with-env.js --test --test-reporter=spec \"test/unit/**/*-test.js\"",
"test:slow": "node --test --test-reporter=spec 'test/slow/**/*-test.js'",
"test:integration": "node test/integration/static/index-test.js && node test/integration/static/publish/index-test.js && node test/run-with-env.js --test --test-reporter=spec test/integration/macros-n-plugins-test.js",
"coverage": "mkdir -p coverage && node test/run-with-env.js --test --experimental-test-coverage --test-reporter=spec --test-reporter-destination=stdout --test-reporter=lcov --test-reporter-destination=coverage/lcov.info \"test/unit/**/*-test.js\"",
"lint": "eslint . --fix",
"rc": "npm version prerelease --preid RC"
},
Expand All @@ -33,31 +33,25 @@
},
"homepage": "https://github.com/architect/deploy#readme",
"dependencies": {
"@architect/create": "~7.0.0",
"@architect/create": "~7.0.1",
"@architect/hydrate": "~6.0.0",
"@architect/inventory": "~6.0.0",
"@architect/package": "~11.0.0",
"@architect/utils": "~6.0.0",
"@architect/inventory": "~6.1.0",
"@architect/package": "~11.0.2",
"@architect/utils": "~6.0.1",
"@aws-lite/apigatewayv2": "^0.0.9",
"@aws-lite/client": "^0.23.2",
"@aws-lite/cloudformation": "^0.1.3",
"@aws-lite/cloudfront": "^0.0.11",
"@aws-lite/lambda": "^0.1.5",
"@aws-lite/s3": "^0.2.6",
"@aws-lite/ssm": "^0.2.3",
"fs-extra": "11.3.0",
"mime-types": "3.0.1",
"fs-extra": "~11.3.2",
"mime-types": "~3.0.2",
"zip-dir": "2.0.0",
"zipit": "2.0.0"
},
"devDependencies": {
"@architect/eslint-config": "~3.0.0",
"cross-env": "~10.0.0",
"eslint": "~9.39.1",
"mock-tmp": "~0.0.4",
"nyc": "~17.1.0",
"proxyquire": "~2.1.3",
"tap-arc": "~1.3.2",
"tape": "~5.9.0"
"eslint": "~9.39.1"
}
}
23 changes: 11 additions & 12 deletions test/integration/macros-n-plugins-test.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
let test = require('tape')
let { join } = require('path')
let origDir = process.cwd()
const { test } = require('node:test')
const assert = require('node:assert/strict')
const { join } = require('path')
const origDir = process.cwd()
// let sam = require('../../src/sam')
let inventory = require('@architect/inventory')
const inventory = require('@architect/inventory')
// let inv

test('end-to-end sam setup', t => {
t.plan(3)
test('end-to-end sam setup', () => {
process.chdir(join(__dirname, '..', 'mocks', 'app-with-extensions'))
t.pass('chdir to mock app')
assert.ok(true, 'chdir to mock app')
inventory({}, (err, result) => {
t.notOk(err, 'no error retrieving inventory from mock app')
t.ok(result, 'got some manner of inventory')
assert.ok(!err, 'no error retrieving inventory from mock app')
assert.ok(result, 'got some manner of inventory')
// inv = result
})
})
Expand Down Expand Up @@ -44,8 +44,7 @@ test('(hydrate=true) multiple macro and plugin cfn additions honoured', t => {
})
})
*/
test('end-to-end sam teardown', t => {
t.plan(1)
test('end-to-end sam teardown', () => {
process.chdir(origDir)
t.pass('chdir to original')
assert.ok(true, 'chdir to original')
})
Loading