@compsych-ui-components/shared 3.2.5
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/.gitkeep +0 -0
- package/.swcrc +19 -0
- package/package.json +17 -0
- package/project.json +24 -0
- package/src/index.ts +3 -0
- package/src/tokens/index.ts +2 -0
- package/src/types/index.ts +2 -0
- package/src/utils/index.ts +6 -0
- package/tsconfig.json +8 -0
- package/tsconfig.lib.json +8 -0
package/.gitkeep
ADDED
|
File without changes
|
package/.swcrc
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"jsc": {
|
|
3
|
+
"target": "es2022",
|
|
4
|
+
"parser": {
|
|
5
|
+
"syntax": "typescript",
|
|
6
|
+
"tsx": false,
|
|
7
|
+
"decorators": true,
|
|
8
|
+
"dynamicImport": true
|
|
9
|
+
},
|
|
10
|
+
"transform": {
|
|
11
|
+
"decoratorMetadata": true
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"module": {
|
|
15
|
+
"type": "nodenext"
|
|
16
|
+
},
|
|
17
|
+
"sourceMaps": true,
|
|
18
|
+
"exclude": [".*\\.spec\\.tsx?$"]
|
|
19
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@compsych-ui-components/shared",
|
|
3
|
+
"version": "3.2.5",
|
|
4
|
+
"description": "Shared types, design tokens, utilities, and assets for compsych UI components",
|
|
5
|
+
"main": "./src/index.js",
|
|
6
|
+
"types": "./src/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./src/index.d.ts",
|
|
10
|
+
"default": "./src/index.js"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"publishConfig": {
|
|
14
|
+
"access": "public",
|
|
15
|
+
"registry": "https://registry.npmjs.org/"
|
|
16
|
+
}
|
|
17
|
+
}
|
package/project.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "shared",
|
|
3
|
+
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
4
|
+
"sourceRoot": "packages/shared/src",
|
|
5
|
+
"projectType": "library",
|
|
6
|
+
"targets": {
|
|
7
|
+
"build": {
|
|
8
|
+
"executor": "@nx/js:swc",
|
|
9
|
+
"outputs": ["{options.outputPath}"],
|
|
10
|
+
"options": {
|
|
11
|
+
"outputPath": "dist/packages/shared",
|
|
12
|
+
"main": "packages/shared/src/index.ts",
|
|
13
|
+
"tsConfig": "packages/shared/tsconfig.lib.json",
|
|
14
|
+
"assets": [
|
|
15
|
+
{
|
|
16
|
+
"input": "packages/shared/src/assets",
|
|
17
|
+
"glob": "**/*",
|
|
18
|
+
"output": "assets"
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
package/src/index.ts
ADDED
package/tsconfig.json
ADDED