Skip to content

Commit 722e167

Browse files
Merge pull request #785 from contentstack/fix/staging-to-development
Fix/staging to development
2 parents f19c3be + 03d1908 commit 722e167

97 files changed

Lines changed: 8264 additions & 18656 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/config/release.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"bulk-publish": false,
1717
"dev-dependencies": false,
1818
"launch": false,
19+
"branches": false,
1920
"core": false
2021
}
2122
}

.github/workflows/release.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,22 @@ jobs:
220220
token: ${{ secrets.NPM_TOKEN }}
221221
package: ./packages/contentstack-launch/package.json
222222
access: public
223+
- name: Installing dependencies of branches
224+
id: branches-installation
225+
if: ${{env.release_releaseAll == 'true' || env.release_plugins_branches == 'true'}}
226+
working-directory: ./packages/contentstack-branches
227+
run: npm install
228+
- name: Compiling branches
229+
if: ${{ steps.branches-installation.conclusion == 'success' }}
230+
working-directory: ./packages/contentstack-branches
231+
run: npm run prepack
232+
- name: Publishing branches
233+
uses: JS-DevTools/npm-publish@v1
234+
if: ${{ steps.branches-installation.conclusion == 'success' }}
235+
with:
236+
token: ${{ secrets.NPM_TOKEN }}
237+
package: ./packages/contentstack-branches/package.json
238+
access: public
223239
- name: Installing dependencies of core
224240
id: core-installation
225241
if: ${{env.release_releaseAll == 'true' || env.release_plugins_core == 'true'}}

package-lock.json

100755100644
Lines changed: 1341 additions & 17667 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"private": true,
1111
"scripts": {
1212
"cache:clear": "pnpm store prune",
13-
"bootstrap": "pnpm install --no-frozen-lockfile",
1413
"clean": "pnpm --filter './packages/*' -w clean",
14+
"bootstrap": "pnpm install --no-frozen-lockfile",
1515
"prepack": "pnpm --filter \"./packages/*\" -w prepack",
1616
"package-lock-only": "npm i --package-lock-only --workspaces",
1717
"setup-repo": "npm i && pnpm package-lock-only && pnpm clean && pnpm install --no-frozen-lockfile && pnpm prepack"
@@ -20,4 +20,4 @@
2020
"workspaces": [
2121
"packages/*"
2222
]
23-
}
23+
}

packages/contentstack-auth/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,4 @@
8585
}
8686
},
8787
"repository": "contentstack/cli"
88-
}
88+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Build files
2+
/lib
3+
/test
4+
/types
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"env": {
3+
"node": true
4+
},
5+
"parser": "@typescript-eslint/parser",
6+
"parserOptions": {
7+
"project": "tsconfig.json",
8+
"sourceType": "module"
9+
},
10+
"extends": [
11+
// "oclif",
12+
"oclif-typescript",
13+
"plugin:@typescript-eslint/recommended"
14+
],
15+
"rules": {
16+
"@typescript-eslint/no-unused-vars": [
17+
"error",
18+
{
19+
"args": "none"
20+
}
21+
],
22+
"@typescript-eslint/prefer-namespace-keyword": "error",
23+
"@typescript-eslint/quotes": [
24+
"error",
25+
"single",
26+
{
27+
"avoidEscape": true,
28+
"allowTemplateLiterals": true
29+
}
30+
],
31+
"semi": "off",
32+
"@typescript-eslint/type-annotation-spacing": "error",
33+
"@typescript-eslint/no-redeclare": "off",
34+
"eqeqeq": [
35+
"error",
36+
"smart"
37+
],
38+
"id-match": "error",
39+
"no-eval": "error",
40+
"no-var": "error",
41+
"quotes": "off",
42+
"indent": "off",
43+
"camelcase": "off",
44+
"comma-dangle": "off",
45+
"arrow-parens": "off",
46+
"operator-linebreak": "off",
47+
"object-curly-spacing": "off",
48+
"node/no-missing-import": "off",
49+
"padding-line-between-statements": "off",
50+
"@typescript-eslint/ban-ts-ignore": "off",
51+
"unicorn/no-abusive-eslint-disable": "off",
52+
"unicorn/consistent-function-scoping": "off",
53+
"@typescript-eslint/no-use-before-define": "off"
54+
}
55+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
*-debug.log
2+
*-error.log
3+
/.nyc_output
4+
/dist
5+
/lib
6+
/tmp
7+
/yarn.lock
8+
node_modules
9+
.DS_Store
10+
coverage
11+
.talismanrc
12+
.vscode
13+
branch-config.json
14+
/merge_scripts
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"require": [
3+
"test/helpers/init.js",
4+
"ts-node/register",
5+
"source-map-support/register"
6+
],
7+
"watch-extensions": [
8+
"ts"
9+
],
10+
"recursive": true,
11+
"timeout": 5000
12+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"inlcude": [
3+
"lib/**/*.js"
4+
]
5+
}

0 commit comments

Comments
 (0)