Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BREAKING CHANGE(all): [v16] Bump dependency package versions #926

Merged
merged 17 commits into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from 11 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
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ package.json
package-lock.json
packages/cli/src/generators/templates/
.yarn

/.nx/workspace-data
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was added automatically via lerna repair

4 changes: 2 additions & 2 deletions example-apps/babel/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ const App = {
afterResponse: [],

resources: {
[Recipe.key]: Recipe
[Recipe.key]: Recipe,
},

triggers: {},

searches: {},

creates: {}
creates: {},
};

export default App;
4 changes: 2 additions & 2 deletions example-apps/create/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ const App = {

// If you want your creates to show up, you better include it here!
creates: {
[recipe.key]: recipe
}
[recipe.key]: recipe,
},
};

// Finally, export the app.
Expand Down
8 changes: 4 additions & 4 deletions example-apps/create/test/creates.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ const appTester = zapier.createAppTester(App);

describe('creates', () => {
describe('create recipe create', () => {
it('should create a new recipe', done => {
it('should create a new recipe', (done) => {
const bundle = {
inputData: {
name: 'Smith Family Recipe',
directions: '1. Order out :)',
authorId: 1
}
authorId: 1,
},
};

appTester(App.creates.recipe.operation.perform, bundle)
.then(result => {
.then((result) => {
result.should.have.property('name');
done();
})
Expand Down
22 changes: 11 additions & 11 deletions example-apps/github/samples/sample_issue.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@ module.exports = {
events_url: 'https://api.github.com/users/octocat/events{/privacy}',
received_events_url: 'https://api.github.com/users/octocat/received_events',
type: 'User',
site_admin: false
site_admin: false,
},
labels: [
{
id: 208045946,
url: 'https://api.github.com/repos/octocat/Hello-World/labels/bug',
name: 'bug',
color: 'f29513',
default: true
}
default: true,
},
],
assignee: {
login: 'octocat',
Expand All @@ -60,7 +60,7 @@ module.exports = {
events_url: 'https://api.github.com/users/octocat/events{/privacy}',
received_events_url: 'https://api.github.com/users/octocat/received_events',
type: 'User',
site_admin: false
site_admin: false,
},
assignees: [
{
Expand All @@ -83,8 +83,8 @@ module.exports = {
received_events_url:
'https://api.github.com/users/octocat/received_events',
type: 'User',
site_admin: false
}
site_admin: false,
},
],
milestone: {
url: 'https://api.github.com/repos/octocat/Hello-World/milestones/1',
Expand Down Expand Up @@ -116,22 +116,22 @@ module.exports = {
received_events_url:
'https://api.github.com/users/octocat/received_events',
type: 'User',
site_admin: false
site_admin: false,
},
open_issues: 4,
closed_issues: 8,
created_at: '2011-04-10T20:09:31Z',
updated_at: '2014-03-03T18:58:10Z',
closed_at: '2013-02-12T13:22:01Z',
due_on: '2012-10-09T23:39:01Z'
due_on: '2012-10-09T23:39:01Z',
},
locked: false,
comments: 0,
pull_request: {
url: 'https://api.github.com/repos/octocat/Hello-World/pulls/1347',
html_url: 'https://github.com/octocat/Hello-World/pull/1347',
diff_url: 'https://github.com/octocat/Hello-World/pull/1347.diff',
patch_url: 'https://github.com/octocat/Hello-World/pull/1347.patch'
patch_url: 'https://github.com/octocat/Hello-World/pull/1347.patch',
},
closed_at: null,
created_at: '2011-04-22T13:33:48Z',
Expand All @@ -154,6 +154,6 @@ module.exports = {
events_url: 'https://api.github.com/users/octocat/events{/privacy}',
received_events_url: 'https://api.github.com/users/octocat/received_events',
type: 'User',
site_admin: false
}
site_admin: false,
},
};
8 changes: 4 additions & 4 deletions example-apps/github/samples/sample_repo_list.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = {
events_url: 'https://api.github.com/users/octocat/events{/privacy}',
received_events_url: 'https://api.github.com/users/octocat/received_events',
type: 'User',
site_admin: false
site_admin: false,
},
name: 'Hello-World',
full_name: 'octocat/Hello-World',
Expand Down Expand Up @@ -109,7 +109,7 @@ module.exports = {
permissions: {
admin: false,
push: false,
pull: true
pull: true,
},
allow_rebase_merge: true,
allow_squash_merge: true,
Expand All @@ -121,6 +121,6 @@ module.exports = {
name: 'MIT License',
spdx_id: 'MIT',
url: 'https://api.github.com/licenses/mit',
html_url: 'https://choosealicense.com/licenses/mit/'
}
html_url: 'https://choosealicense.com/licenses/mit/',
},
};
8 changes: 4 additions & 4 deletions example-apps/middleware/test/triggers.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ const appTester = zapier.createAppTester(App);

describe('triggers', () => {
describe('new recipe trigger', () => {
it('should load recipes', done => {
it('should load recipes', (done) => {
appTester(App.triggers.recipe.operation.perform)
.then(results => {
.then((results) => {
results.should.be.an.Array();
results.length.should.be.above(1);

Expand All @@ -31,9 +31,9 @@ describe('triggers', () => {
});

describe('new movie trigger', () => {
it('should load movies', done => {
it('should load movies', (done) => {
appTester(App.triggers.movie.operation.perform)
.then(results => {
.then((results) => {
results.should.be.an.Array();
results.length.should.be.above(1);

Expand Down
22 changes: 11 additions & 11 deletions example-apps/oauth1-tumblr/authentication.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ const config = {
oauth_consumer_key: '{{process.env.CLIENT_ID}}',
oauth_consumer_secret: '{{process.env.CLIENT_SECRET}}',
oauth_signature_method: 'HMAC-SHA1',
oauth_callback: '{{bundle.inputData.redirect_uri}}'
}
oauth_callback: '{{bundle.inputData.redirect_uri}}',
},
},
authorizeUrl: {
url: AUTHORIZE_URL,
params: {
oauth_token: '{{bundle.inputData.oauth_token}}'
}
oauth_token: '{{bundle.inputData.oauth_token}}',
},
},
getAccessToken: {
url: ACCESS_TOKEN_URL,
Expand All @@ -39,14 +39,14 @@ const config = {
oauth_consumer_secret: '{{process.env.CLIENT_SECRET}}',
oauth_token: '{{bundle.inputData.oauth_token}}',
oauth_token_secret: '{{bundle.inputData.oauth_token_secret}}',
oauth_verifier: '{{bundle.inputData.oauth_verifier}}'
}
}
oauth_verifier: '{{bundle.inputData.oauth_verifier}}',
},
},
},
test: {
url: 'https://api.tumblr.com/v2/user/info'
url: 'https://api.tumblr.com/v2/user/info',
},
connectionLabel: getConnectionLabel
connectionLabel: getConnectionLabel,
};

// A middleware that is run before z.request() actually makes the request. Here we're
Expand All @@ -64,13 +64,13 @@ const includeAccessToken = (req, z, bundle) => {
oauth_consumer_key: process.env.CLIENT_ID,
oauth_consumer_secret: process.env.CLIENT_SECRET,
oauth_token: bundle.authData.oauth_token,
oauth_token_secret: bundle.authData.oauth_token_secret
oauth_token_secret: bundle.authData.oauth_token_secret,
});
}
return req;
};

module.exports = {
config,
includeAccessToken
includeAccessToken,
};
4 changes: 2 additions & 2 deletions example-apps/oauth1-tumblr/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ const App = {

// If you want your trigger to show up, you better include it here!
triggers: {
[LikeTrigger.key]: LikeTrigger
[LikeTrigger.key]: LikeTrigger,
},

// If you want your searches to show up, you better include it here!
searches: {},

// If you want your creates to show up, you better include it here!
creates: {}
creates: {},
};

// Finally, export the app.
Expand Down
2 changes: 1 addition & 1 deletion example-apps/oauth1-tumblr/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require('should');
// const appTester = zapier.createAppTester(App);

describe('My App', () => {
it('should test something', done => {
it('should test something', (done) => {
const x = 1;
x.should.eql(1);

Expand Down
4 changes: 2 additions & 2 deletions example-apps/oauth1-twitter/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ const App = {

// If you want your trigger to show up, you better include it here!
triggers: {
[LikeTrigger.key]: LikeTrigger
[LikeTrigger.key]: LikeTrigger,
},

// If you want your searches to show up, you better include it here!
searches: {},

// If you want your creates to show up, you better include it here!
creates: {}
creates: {},
};

// Finally, export the app.
Expand Down
29 changes: 14 additions & 15 deletions example-apps/oauth1-twitter/triggers/like.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ module.exports = {

display: {
label: 'New Like',
description: 'Triggers when you like a tweet.'
description: 'Triggers when you like a tweet.',
},

operation: {
perform: {
url: 'https://api.twitter.com/1.1/favorites/list.json'
url: 'https://api.twitter.com/1.1/favorites/list.json',
},
sample: {
coordinates: null,
Expand All @@ -21,10 +21,9 @@ module.exports = {
entities: {
urls: [],
hashtags: [],
user_mentions: []
user_mentions: [],
},
text:
"Note to self: don't die during off-peak hours on a holiday weekend.",
text: "Note to self: don't die during off-peak hours on a holiday weekend.",
contributors: null,
id: 243014525132091400,
retweet_count: 0,
Expand All @@ -49,8 +48,8 @@ module.exports = {
profile_link_color: '2FC2EF',
entities: {
description: {
urls: []
}
urls: [],
},
},
favourites_count: 594,
url: null,
Expand Down Expand Up @@ -82,7 +81,7 @@ module.exports = {
statuses_count: 2629,
following: true,
screen_name: 'theSeanCook',
show_all_inline_media: true
show_all_inline_media: true,
},
place: {
name: 'San Francisco',
Expand All @@ -97,15 +96,15 @@ module.exports = {
[-122.51368188, 37.70813196],
[-122.35845384, 37.70813196],
[-122.35845384, 37.83245301],
[-122.51368188, 37.83245301]
]
[-122.51368188, 37.83245301],
],
],
type: 'Polygon'
type: 'Polygon',
},
full_name: 'San Francisco, CA',
place_type: 'city'
place_type: 'city',
},
in_reply_to_status_id: null
}
}
in_reply_to_status_id: null,
},
},
};
Loading
Loading