@compsych-ui-components/shared 3.2.5 → 4.0.0
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/package.json +4 -3
- package/src/index.js +5 -0
- package/src/index.js.map +1 -0
- package/src/tokens/index.d.ts +1 -0
- package/src/tokens/{index.ts → index.js} +3 -1
- package/src/tokens/index.js.map +1 -0
- package/src/types/index.d.ts +1 -0
- package/src/types/index.js +4 -0
- package/src/types/index.js.map +1 -0
- package/src/utils/index.d.ts +4 -0
- package/src/utils/index.js +7 -0
- package/src/utils/index.js.map +1 -0
- package/.gitkeep +0 -0
- package/.swcrc +0 -19
- package/project.json +0 -24
- package/src/types/index.ts +0 -2
- package/src/utils/index.ts +0 -6
- package/tsconfig.json +0 -8
- package/tsconfig.lib.json +0 -8
- /package/src/{index.ts → index.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@compsych-ui-components/shared",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "Shared types, design tokens, utilities, and assets for compsych UI components",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"types": "./src/index.d.ts",
|
|
@@ -13,5 +13,6 @@
|
|
|
13
13
|
"publishConfig": {
|
|
14
14
|
"access": "public",
|
|
15
15
|
"registry": "https://registry.npmjs.org/"
|
|
16
|
-
}
|
|
17
|
-
|
|
16
|
+
},
|
|
17
|
+
"type": "commonjs"
|
|
18
|
+
}
|
package/src/index.js
ADDED
package/src/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../packages/shared/src/index.ts"],"sourcesContent":["export * from './types';\nexport * from './tokens';\nexport * from './utils';\n"],"names":[],"mappings":"AAAA,cAAc,UAAU;AACxB,cAAc,WAAW;AACzB,cAAc,UAAU"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../packages/shared/src/tokens/index.ts"],"sourcesContent":["// Design tokens: colors, spacing, typography\nexport {};\n"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,WAAU"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../packages/shared/src/types/index.ts"],"sourcesContent":["// Shared TypeScript types and interfaces\nexport {};\n"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,WAAU"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../packages/shared/src/utils/index.ts"],"sourcesContent":["/**\n * Displays a browser alert dialog with the provided message.\n */\nexport function showAlert(message: string): void {\n alert(message);\n}\n"],"names":["showAlert","message","alert"],"mappings":"AAAA;;CAEC,GACD,OAAO,SAASA,UAAUC,OAAe;IACvCC,MAAMD;AACR"}
|
package/.gitkeep
DELETED
|
File without changes
|
package/.swcrc
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
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/project.json
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
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/types/index.ts
DELETED
package/src/utils/index.ts
DELETED
package/tsconfig.json
DELETED
package/tsconfig.lib.json
DELETED
|
File without changes
|