Skip to content

DX-2015 - version bump and code changes #246

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

Merged
merged 1 commit into from
Jan 20, 2025
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
2,541 changes: 1,392 additions & 1,149 deletions package-lock.json

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@contentstack/management",
"version": "1.19.0",
"version": "1.19.1",
"description": "The Content Management API is used to manage the content of your Contentstack account",
"main": "./dist/node/contentstack-management.js",
"browser": "./dist/web/contentstack-management.js",
Expand Down Expand Up @@ -52,27 +52,27 @@
"author": "Contentstack",
"license": "MIT",
"dependencies": {
"axios": "^1.7.8",
"form-data": "^3.0.2",
"axios": "^1.7.9",
"form-data": "^4.0.1",
"lodash": "^4.17.21",
"qs": "^6.13.1"
"qs": "^6.14.0"
},
"keywords": [
"contentstack management api",
"contentstack",
"management api"
],
"devDependencies": {
"@babel/cli": "^7.25.9",
"@babel/cli": "^7.26.4",
"@babel/core": "^7.26.0",
"@babel/plugin-transform-runtime": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/register": "^7.25.9",
"@babel/runtime": "^7.26.0",
"@slack/bolt": "^3.22.0",
"@slack/bolt": "^4.2.0",
"@types/chai": "^4.3.20",
"@types/jest": "^28.1.8",
"@types/lodash": "^4.17.13",
"@types/lodash": "^4.17.14",
"@types/mocha": "^7.0.2",
"axios-mock-adapter": "^1.22.0",
"babel-loader": "^8.4.1",
Expand All @@ -83,7 +83,7 @@
"chai": "^4.5.0",
"clean-webpack-plugin": "^4.0.0",
"docdash": "^1.2.0",
"dotenv": "^8.6.0",
"dotenv": "^16.4.7",
"eslint": "^8.57.1",
"eslint-config-standard": "^13.0.1",
"eslint-plugin-import": "^2.31.0",
Expand All @@ -99,14 +99,14 @@
"nock": "^10.0.6",
"nyc": "^15.1.0",
"os-browserify": "^0.3.0",
"rimraf": "^2.7.1",
"rimraf": "^6.0.1",
"sinon": "^7.5.0",
"string-replace-loader": "^3.1.0",
"ts-jest": "^28.0.8",
"typescript": "^4.9.5",
"webpack": "^5.96.1",
"webpack-cli": "^4.10.0",
"webpack-merge": "4.2.2"
"webpack": "^5.97.1",
"webpack-cli": "^6.0.1",
"webpack-merge": "6.0.1"
},
"homepage": "https://www.contentstack.com"
}
4 changes: 2 additions & 2 deletions sanity-report.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Slack from '@slack/bolt'
import { App } from '@slack/bolt'
import dotenv from 'dotenv'
import fs from 'fs'

Expand Down Expand Up @@ -34,7 +34,7 @@ const slackMessage = `
• Total Duration: *${durationInMinutes}m ${durationInSeconds.toFixed(2)}s*
`

const app = new Slack.App({
const app = new App({
token: process.env.SLACK_BOT_TOKEN,
signingSecret: process.env.SLACK_SIGNING_SECRET
})
Expand Down
4 changes: 2 additions & 2 deletions webpack/webpack.nativescript.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
const path = require('path')
const webpackMerge = require('webpack-merge')
const { merge } = require('webpack-merge')

const commonConfig = require('./webpack.common.js')

module.exports = function (options) {
return webpackMerge(commonConfig(), {
return merge(commonConfig(), {
output: {
libraryTarget: 'commonjs2',
path: path.join(__dirname, '../dist/nativescript'),
Expand Down
4 changes: 2 additions & 2 deletions webpack/webpack.node.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const path = require('path')
const webpackMerge = require('webpack-merge')
const { merge } = require('webpack-merge')
const commonConfig = require('./webpack.common')

module.exports = function (options) {
return webpackMerge(commonConfig(), {
return merge(commonConfig(), {
output: {
libraryTarget: 'commonjs2',
path: path.join(__dirname, '../dist/node'),
Expand Down
4 changes: 2 additions & 2 deletions webpack/webpack.react-native.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
const path = require('path')
const webpackMerge = require('webpack-merge')
const { merge } = require('webpack-merge')

const commonConfig = require('./webpack.common.js')

module.exports = function (options) {
return webpackMerge(commonConfig(), {
return merge(commonConfig(), {
output: {
libraryTarget: 'commonjs2',
path: path.join(__dirname, '../dist/react-native'),
Expand Down
4 changes: 2 additions & 2 deletions webpack/webpack.web.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
'use strict'

const path = require('path')
const webpackMerge = require('webpack-merge')
const { merge } = require('webpack-merge')

const commonConfig = require('./webpack.common.js')()

module.exports = function (options) {
delete commonConfig.externals;
return webpackMerge(commonConfig, {
return merge(commonConfig, {
output: {
libraryTarget: 'umd',
path: path.join(__dirname, '../dist/web'),
Expand Down
Loading