@datarailsshared/dr_renderer 1.5.163 → 1.5.168

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="JavaScriptLibraryMappings">
4
+ <includedPredefinedLibrary name="Node.js Core" />
5
+ </component>
6
+ </project>
package/.idea/misc.xml ADDED
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="PreferredVcsStorage">
4
+ <preferredVcsName>ApexVCS</preferredVcsName>
5
+ </component>
6
+ <component name="ProjectRootManager" version="2" languageLevel="JDK_1_9" project-jdk-name="9.0" project-jdk-type="JavaSDK">
7
+ <output url="file://$PROJECT_DIR$/out" />
8
+ </component>
9
+ </project>
package/jest.config.js CHANGED
@@ -9,7 +9,7 @@ module.exports = {
9
9
  ],
10
10
  collectCoverage: true,
11
11
  collectCoverageFrom: [
12
- '**/*.js',
12
+ 'src/**/*.js',
13
13
  '!**/*.config.js',
14
14
  '!**/build/**',
15
15
  '!**/coverage/**',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datarailsshared/dr_renderer",
3
- "version": "1.5.163",
3
+ "version": "1.5.168",
4
4
  "description": "DataRails charts and tables renderer",
5
5
  "keywords": [
6
6
  "datarails",
@@ -24,7 +24,7 @@
24
24
  "author": "Sergey Spivakov",
25
25
  "repository": {
26
26
  "type": "git",
27
- "url": "git+https://bitbucket.org/datarails/dr_renderer.git"
27
+ "url": "git+https://github.com/Datarails/dr_renderer.git"
28
28
  },
29
29
  "license": "",
30
30
  "dependencies": {
@@ -57,10 +57,5 @@
57
57
  "./src/pivot.css": "./src/pivot.css",
58
58
  "./pivot.css": "./src/pivot.css"
59
59
  },
60
- "sideEffects": ["*.css"],
61
- "jest": {
62
- "setupFiles": [
63
- "./setup-jest.js"
64
- ]
65
- }
60
+ "sideEffects": ["*.css"]
66
61
  }
package/tsconfig.json CHANGED
@@ -18,5 +18,5 @@
18
18
  "./src/options/**/*.js",
19
19
  "./src/pivot-table/freeze-panes/**/*.js"
20
20
  ],
21
- "exclude": ["node_modules", "**/*.d.ts"]
21
+ "exclude": ["node_modules", "**/*.d.ts", "**/*.test.js", "**/__snapshots__", "**/__fixtures__"]
22
22
  }
@@ -1,85 +0,0 @@
1
- version: 2.1
2
-
3
- orbs:
4
- datarails-cicd-orb: datarails-ns/datarails-cicd-orb@dev:primary
5
-
6
- defaults: &defaults
7
- working_directory: ~/repo
8
- docker:
9
- - image: circleci/node:14.16.1
10
-
11
- jobs:
12
- deploy:
13
- <<: *defaults
14
- steps:
15
- - checkout
16
-
17
- - attach_workspace:
18
- at: ~/repo
19
- - run:
20
- name: Prepare publish version
21
- command: |
22
- postfix=""
23
- if [[ "${CIRCLE_BRANCH}" != master ]] ; then
24
- postfix="-$CIRCLE_BRANCH"
25
- fi
26
-
27
- VERSION="1.3.$CIRCLE_BUILD_NUM$postfix"
28
- sed -i s/{{cicd_version}}/$VERSION/g ./package.json
29
- cat ./package.json
30
- - run:
31
- name: Authenticate with registry
32
- command: echo "//registry.npmjs.org/:_authToken=$npm_TOKEN" > ~/repo/.npmrc
33
- - run:
34
- name: Install dependencies
35
- command: npm install
36
- - run:
37
- name: Run npm test
38
- command: npm test
39
- - run:
40
- name: Publish package
41
- command: npm publish . --access=public
42
- - datarails-cicd-orb/add-ssh-id:
43
- private_key_env_var: github_deploy_private_encoded
44
- public_key_env_var: github_deploy_pub_encoded
45
- is_public_key_encoded: true
46
- is_private_key_encoded: true
47
- - run:
48
- name: prepare git tag
49
- command: |
50
- postfix=""
51
- if [[ "${CIRCLE_BRANCH}" != prod ]] ; then
52
- postfix="-$CIRCLE_BRANCH"
53
- fi
54
-
55
- VERSION="1.3.$CIRCLE_BUILD_NUM$postfix"
56
- git config --global user.email noreplay@circleci.com
57
- git config --global user.name circleci
58
- git config --global -l
59
- git tag -a "$CIRCLE_BRANCH/$VERSION" -m "circleci build"
60
- # Test SSH connection to GitHub
61
- output=$(ssh -o "StrictHostKeyChecking no" -T git@github.com 2>&1 || true)
62
- echo "$output"
63
- if ! echo "$output" | grep -q "Hi.*You've successfully authenticated"; then
64
- echo "Failed to authenticate with GitHub"
65
- exit 1
66
- fi
67
- # Push the tag after successful authentication
68
- git push --tags origin
69
- workflows:
70
- version: 2
71
- npm-publish:
72
- jobs:
73
- - deploy:
74
- context:
75
- - metadata
76
- filters:
77
- branches:
78
- only:
79
- - /master/
80
- - /tigers/
81
- - /bratans/
82
- - /dragons/
83
- - /tigers/
84
- - /wizards/
85
- - /rocket/