@photonix/basic 1.0.0 → 1.0.2

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 CHANGED
@@ -1,22 +1,33 @@
1
1
  {
2
2
  "name": "@photonix/basic",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Photonix Basic - Design Tokens and Icons",
5
- "main": "./src/index.ts",
6
- "types": "./src/index.ts",
5
+ "main": "./dist/index.js",
6
+ "module": "./dist/index.mjs",
7
+ "types": "./dist/index.d.ts",
8
+ "files": [
9
+ "dist"
10
+ ],
11
+ "exports": {
12
+ ".": {
13
+ "import": "./dist/index.mjs",
14
+ "require": "./dist/index.js",
15
+ "types": "./dist/index.d.ts"
16
+ }
17
+ },
7
18
  "scripts": {
8
19
  "build": "tsup",
9
20
  "lint": "eslint . --max-warnings 0",
10
- "check-types": "tsc --noEmit"
11
- },
12
- "dependencies": {
13
- "@photonix/icons": "workspace:*",
14
- "@photonix/ui": "workspace:*"
21
+ "check-types": "tsc --noEmit",
22
+ "prepublishOnly": "npm run build"
15
23
  },
24
+ "dependencies": {},
16
25
  "devDependencies": {
26
+ "@photonix/icons": "workspace:*",
27
+ "@photonix/ultimate": "workspace:*",
17
28
  "tsup": "^8.0.2",
18
29
  "typescript": "5.9.2",
19
30
  "@repo/typescript-config": "*",
20
31
  "@repo/eslint-config": "*"
21
32
  }
22
- }
33
+ }
@@ -1,22 +0,0 @@
1
-
2
- > @photonix/basic@1.0.0 build /Users/hoangthuan/Documents/GitHub/photonix/packages/basic
3
- > tsup
4
-
5
- CLI Building entry: src/index.ts
6
- CLI Using tsconfig: tsconfig.json
7
- CLI tsup v8.5.1
8
- CLI Using tsup config: /Users/hoangthuan/Documents/GitHub/photonix/packages/basic/tsup.config.ts
9
- CLI Target: es2022
10
- CLI Cleaning output folder
11
- CJS Build start
12
- ESM Build start
13
- ESM dist/index.mjs 156.00 B
14
- ESM dist/index.mjs.map 288.00 B
15
- ESM ⚡️ Build success in 21ms
16
- CJS dist/index.js 1.22 KB
17
- CJS dist/index.js.map 323.00 B
18
- CJS ⚡️ Build success in 21ms
19
- DTS Build start
20
- DTS ⚡️ Build success in 760ms
21
- DTS dist/index.d.ts 33.00 B
22
- DTS dist/index.d.mts 33.00 B
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["// Import design tokens to be bundled\nimport '@photonix/ui/styles/tokens';\nimport '@photonix/ui/styles/theme';\n\n// Export icons\nexport * from '@photonix/icons';\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AACA,oBAAO;AACP,mBAAO;AAGP,0BAAc,4BALd;","names":[]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["// Import design tokens to be bundled\nimport '@photonix/ui/styles/tokens';\nimport '@photonix/ui/styles/theme';\n\n// Export icons\nexport * from '@photonix/icons';\n"],"mappings":";AACA,OAAO;AACP,OAAO;AAGP,cAAc;","names":[]}
package/src/index.ts DELETED
@@ -1,6 +0,0 @@
1
- // Import design tokens to be bundled
2
- import '@photonix/ui/styles/tokens';
3
- import '@photonix/ui/styles/theme';
4
-
5
- // Export icons
6
- export * from '@photonix/icons';
package/tsconfig.json DELETED
@@ -1,14 +0,0 @@
1
- {
2
- "extends": "@repo/typescript-config/react-library.json",
3
- "compilerOptions": {
4
- "module": "esnext",
5
- "moduleResolution": "bundler"
6
- },
7
- "include": [
8
- "src/**/*"
9
- ],
10
- "exclude": [
11
- "node_modules",
12
- "dist"
13
- ]
14
- }
package/tsup.config.ts DELETED
@@ -1,10 +0,0 @@
1
- import { defineConfig } from 'tsup';
2
-
3
- export default defineConfig({
4
- entry: ['src/index.ts'],
5
- format: ['cjs', 'esm'],
6
- dts: true,
7
- clean: true,
8
- external: ['react', 'react-dom'],
9
- sourcemap: true,
10
- });