@smartsheet-bridge/extensionrc-standard 0.1.0-beta.1

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.
package/README.md ADDED
@@ -0,0 +1,48 @@
1
+ # @smartsheet-bridge/extensionrc-standard
2
+
3
+ Shareable configuration file for standard JavaScript and TypeScript extensions using Bridge by Smartsheet tooling.
4
+
5
+ _This configuration is installed by default with [@smartsheet-bridge/extension-scripts](https://www.npmjs.com/package/@smartsheet-bridge/extension-scripts)._
6
+
7
+ ---
8
+
9
+ # Usage
10
+
11
+ ## Why do I need this?
12
+
13
+ This sharable configuration file defines a basic config for [@smartsheet-bridge/extension-scripts](https://www.npmjs.com/package/@smartsheet-bridge/extension-scripts).
14
+
15
+ ## How do I use this?
16
+
17
+ By default, this comes installed as part of [@smartsheet-bridge/extension-scripts](https://www.npmjs.com/package/@smartsheet-bridge/extension-scripts) so there's no need to install this manually.
18
+
19
+ ## How do I extend this?
20
+
21
+ 1. Extend it in your `package.json` or in a separate [configuration file](https://www.npmjs.com/package/@smartsheet-bridge/extension-scripts#configuration-files).
22
+
23
+ ```json
24
+ // package.json
25
+ {
26
+ //...
27
+ "extension": {
28
+ "extends": "@smartsheet-bridge/extensionrc-standard"
29
+ }
30
+ }
31
+ ```
32
+
33
+ ## What is included?
34
+
35
+ This package exports a configuration object that can be extended and read by [`@smartsheet-bridge/extension-scripts`](https://www.npmjs.com/package/@smartsheet-bridge/extension-scripts) to help development of Bridge by Smartsheet extensions. It exports the following object.
36
+
37
+ ```js
38
+ {
39
+ specFile: 'extension.json',
40
+ exclude: [
41
+ '**/.*',
42
+ '**/*.log',
43
+ '**/node_modules/**',
44
+ '**/{test,tests,mock,mocks,__test__,__tests__,__mock__,__mocks__}/**',
45
+ '**/*.{spec,test}.{js,ts}',
46
+ ],
47
+ }
48
+ ```
@@ -0,0 +1,4 @@
1
+ import type { CLIConfig } from '@smartsheet-bridge/extension-scripts';
2
+ declare const Configuration: CLIConfig;
3
+ export = Configuration;
4
+ //# sourceMappingURL=config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAEtE,QAAA,MAAM,aAAa,EAAE,SASpB,CAAC;AAEF,SAAS,aAAa,CAAC"}
package/lib/config.js ADDED
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ const Configuration = {
3
+ specFile: 'extension.json',
4
+ exclude: [
5
+ '**/.*',
6
+ '**/*.log',
7
+ '**/node_modules/**',
8
+ '**/{test,tests,mock,mocks,__test__,__tests__,__mock__,__mocks__}/**',
9
+ '**/*.{spec,test}.{js,ts}',
10
+ ],
11
+ };
12
+ module.exports = Configuration;
13
+ //# sourceMappingURL=config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":";AAEA,MAAM,aAAa,GAAc;IAC/B,QAAQ,EAAE,gBAAgB;IAC1B,OAAO,EAAE;QACP,OAAO;QACP,UAAU;QACV,oBAAoB;QACpB,qEAAqE;QACrE,0BAA0B;KAC3B;CACF,CAAC;AAEF,iBAAS,aAAa,CAAC"}
package/package.json ADDED
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "@smartsheet-bridge/extensionrc-standard",
3
+ "description": "Configuration file for a standard JavaScript extension.",
4
+ "version": "0.1.0-beta.1",
5
+ "license": "Apache-2.0",
6
+ "main": "./lib/config.js",
7
+ "types": "./lib/config.d.ts",
8
+ "publishConfig": {
9
+ "registry": "https://registry.npmjs.org/",
10
+ "access": "public"
11
+ },
12
+ "scripts": {
13
+ "clean": "rm -rf lib",
14
+ "release": "semantic-release"
15
+ },
16
+ "devDependencies": {
17
+ "@smartsheet-bridge/extension-scripts": "latest"
18
+ }
19
+ }