@magmamath/students-features 0.6.7-rc.0 → 0.6.7-rc.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/dist/commonjs/features/endOfAssignment/components/Modal/Modal.js +1 -0
- package/dist/commonjs/features/endOfAssignment/components/Modal/Modal.js.map +1 -1
- package/dist/commonjs/shared/translation/constants.js +1 -5
- package/dist/commonjs/shared/translation/constants.js.map +1 -1
- package/dist/commonjs/shared/translation/types.js +0 -2
- package/dist/commonjs/shared/translation/types.js.map +1 -1
- package/dist/module/features/endOfAssignment/components/Modal/Modal.js +2 -1
- package/dist/module/features/endOfAssignment/components/Modal/Modal.js.map +1 -1
- package/dist/module/shared/translation/constants.js +1 -5
- package/dist/module/shared/translation/constants.js.map +1 -1
- package/dist/module/shared/translation/types.js +0 -2
- package/dist/module/shared/translation/types.js.map +1 -1
- package/dist/typescript/commonjs/features/endOfAssignment/components/Modal/Modal.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/translation/constants.d.ts +0 -44
- package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/translation/types.d.ts +1 -3
- package/dist/typescript/commonjs/shared/translation/types.d.ts.map +1 -1
- package/dist/typescript/commonjs/shared/translation/validation.types.d.ts +1 -5
- package/dist/typescript/commonjs/shared/translation/validation.types.d.ts.map +1 -1
- package/dist/typescript/module/features/endOfAssignment/components/Modal/Modal.d.ts.map +1 -1
- package/dist/typescript/module/shared/translation/constants.d.ts +0 -44
- package/dist/typescript/module/shared/translation/constants.d.ts.map +1 -1
- package/dist/typescript/module/shared/translation/types.d.ts +1 -3
- package/dist/typescript/module/shared/translation/types.d.ts.map +1 -1
- package/dist/typescript/module/shared/translation/validation.types.d.ts +1 -5
- package/dist/typescript/module/shared/translation/validation.types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/features/endOfAssignment/components/Modal/Modal.tsx +2 -1
- package/src/shared/translation/constants.ts +0 -4
- package/src/shared/translation/types.ts +0 -6
- package/src/shared/translation/validation.types.ts +1 -9
- package/.editorconfig +0 -15
- package/.eslintignore +0 -2
- package/.eslintrc +0 -22
- package/.gitattributes +0 -3
- package/.github/actions/setup/action.yml +0 -37
- package/.github/workflows/ci.yml +0 -73
- package/.gitignore +0 -84
- package/.npmrc +0 -3
- package/.nvmrc +0 -1
- package/.prettierrc +0 -11
- package/.release-it.json +0 -17
- package/.watchmanconfig +0 -1
- package/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs +0 -541
- package/.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs +0 -28
- package/.yarn/releases/yarn-3.6.1.cjs +0 -874
- package/babel.config.js +0 -5
- package/bob.config.js +0 -25
- package/dist/commonjs/shared/translation/localization/ca.json +0 -22
- package/dist/commonjs/shared/translation/localization/sct.json +0 -22
- package/dist/module/shared/translation/localization/ca.json +0 -22
- package/dist/module/shared/translation/localization/sct.json +0 -22
- package/example/app.json +0 -30
- package/example/assets/adaptive-icon.png +0 -0
- package/example/assets/favicon.png +0 -0
- package/example/assets/icon.png +0 -0
- package/example/assets/splash-icon.png +0 -0
- package/example/babel.config.js +0 -28
- package/example/index.js +0 -8
- package/example/metro.config.js +0 -18
- package/example/package.json +0 -25
- package/example/src/App.tsx +0 -8
- package/example/tsconfig.json +0 -6
- package/src/shared/translation/localization/ca.json +0 -22
- package/src/shared/translation/localization/sct.json +0 -22
- package/tsconfig.build.json +0 -4
- package/tsconfig.json +0 -34
- package/yarn.lock +0 -8589
package/babel.config.js
DELETED
package/bob.config.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
source: 'src',
|
|
3
|
-
output: 'dist',
|
|
4
|
-
targets: [
|
|
5
|
-
[
|
|
6
|
-
'commonjs',
|
|
7
|
-
{
|
|
8
|
-
esm: true,
|
|
9
|
-
},
|
|
10
|
-
],
|
|
11
|
-
[
|
|
12
|
-
'module',
|
|
13
|
-
{
|
|
14
|
-
esm: true,
|
|
15
|
-
},
|
|
16
|
-
],
|
|
17
|
-
[
|
|
18
|
-
'typescript',
|
|
19
|
-
{
|
|
20
|
-
project: 'tsconfig.build.json',
|
|
21
|
-
esm: true,
|
|
22
|
-
},
|
|
23
|
-
],
|
|
24
|
-
],
|
|
25
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"teacherFeedback.noComments": "No comments yet",
|
|
3
|
-
"time.justNow": "just now",
|
|
4
|
-
"time.minuteAgo": "minute ago",
|
|
5
|
-
"time.minutesAgo": "minutes ago",
|
|
6
|
-
"time.hourAgo": "hour ago",
|
|
7
|
-
"time.hoursAgo": "hours ago",
|
|
8
|
-
"time.dayAgo": "day ago",
|
|
9
|
-
"time.daysAgo": "days ago",
|
|
10
|
-
"time.monthAgo": "month ago",
|
|
11
|
-
"time.monthsAgo": "months ago",
|
|
12
|
-
"time.yearAgo": "year ago",
|
|
13
|
-
"time.yearsAgo": "years ago",
|
|
14
|
-
"chat": {
|
|
15
|
-
"anotherHint": "Give me another hint",
|
|
16
|
-
"giveHint": "Give me a hint",
|
|
17
|
-
"answerAgain": "Answer again to get another hint!",
|
|
18
|
-
"errorMessage": "Something went wrong! Try again",
|
|
19
|
-
"howCanIHelp": "Hi! Do you want help?",
|
|
20
|
-
"showError": "Show error"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"teacherFeedback.noComments": "No comments yet",
|
|
3
|
-
"time.justNow": "just now",
|
|
4
|
-
"time.minuteAgo": "minute ago",
|
|
5
|
-
"time.minutesAgo": "minutes ago",
|
|
6
|
-
"time.hourAgo": "hour ago",
|
|
7
|
-
"time.hoursAgo": "hours ago",
|
|
8
|
-
"time.dayAgo": "day ago",
|
|
9
|
-
"time.daysAgo": "days ago",
|
|
10
|
-
"time.monthAgo": "month ago",
|
|
11
|
-
"time.monthsAgo": "months ago",
|
|
12
|
-
"time.yearAgo": "year ago",
|
|
13
|
-
"time.yearsAgo": "years ago",
|
|
14
|
-
"chat": {
|
|
15
|
-
"anotherHint": "Give me another hint",
|
|
16
|
-
"giveHint": "Give me a hint",
|
|
17
|
-
"answerAgain": "Answer again to get another hint!",
|
|
18
|
-
"errorMessage": "Something went wrong! Try again",
|
|
19
|
-
"howCanIHelp": "Hi! Do you want help?",
|
|
20
|
-
"showError": "Show error"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"teacherFeedback.noComments": "No comments yet",
|
|
3
|
-
"time.justNow": "just now",
|
|
4
|
-
"time.minuteAgo": "minute ago",
|
|
5
|
-
"time.minutesAgo": "minutes ago",
|
|
6
|
-
"time.hourAgo": "hour ago",
|
|
7
|
-
"time.hoursAgo": "hours ago",
|
|
8
|
-
"time.dayAgo": "day ago",
|
|
9
|
-
"time.daysAgo": "days ago",
|
|
10
|
-
"time.monthAgo": "month ago",
|
|
11
|
-
"time.monthsAgo": "months ago",
|
|
12
|
-
"time.yearAgo": "year ago",
|
|
13
|
-
"time.yearsAgo": "years ago",
|
|
14
|
-
"chat": {
|
|
15
|
-
"anotherHint": "Give me another hint",
|
|
16
|
-
"giveHint": "Give me a hint",
|
|
17
|
-
"answerAgain": "Answer again to get another hint!",
|
|
18
|
-
"errorMessage": "Something went wrong! Try again",
|
|
19
|
-
"howCanIHelp": "Hi! Do you want help?",
|
|
20
|
-
"showError": "Show error"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"teacherFeedback.noComments": "No comments yet",
|
|
3
|
-
"time.justNow": "just now",
|
|
4
|
-
"time.minuteAgo": "minute ago",
|
|
5
|
-
"time.minutesAgo": "minutes ago",
|
|
6
|
-
"time.hourAgo": "hour ago",
|
|
7
|
-
"time.hoursAgo": "hours ago",
|
|
8
|
-
"time.dayAgo": "day ago",
|
|
9
|
-
"time.daysAgo": "days ago",
|
|
10
|
-
"time.monthAgo": "month ago",
|
|
11
|
-
"time.monthsAgo": "months ago",
|
|
12
|
-
"time.yearAgo": "year ago",
|
|
13
|
-
"time.yearsAgo": "years ago",
|
|
14
|
-
"chat": {
|
|
15
|
-
"anotherHint": "Give me another hint",
|
|
16
|
-
"giveHint": "Give me a hint",
|
|
17
|
-
"answerAgain": "Answer again to get another hint!",
|
|
18
|
-
"errorMessage": "Something went wrong! Try again",
|
|
19
|
-
"howCanIHelp": "Hi! Do you want help?",
|
|
20
|
-
"showError": "Show error"
|
|
21
|
-
}
|
|
22
|
-
}
|
package/example/app.json
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"expo": {
|
|
3
|
-
"name": "example",
|
|
4
|
-
"slug": "example",
|
|
5
|
-
"version": "1.0.0",
|
|
6
|
-
"orientation": "portrait",
|
|
7
|
-
"icon": "./assets/icon.png",
|
|
8
|
-
"userInterfaceStyle": "light",
|
|
9
|
-
"newArchEnabled": true,
|
|
10
|
-
"splash": {
|
|
11
|
-
"image": "./assets/splash-icon.png",
|
|
12
|
-
"resizeMode": "contain",
|
|
13
|
-
"backgroundColor": "#ffffff"
|
|
14
|
-
},
|
|
15
|
-
"ios": {
|
|
16
|
-
"supportsTablet": true,
|
|
17
|
-
"bundleIdentifier": "magmamath.features.example"
|
|
18
|
-
},
|
|
19
|
-
"android": {
|
|
20
|
-
"adaptiveIcon": {
|
|
21
|
-
"foregroundImage": "./assets/adaptive-icon.png",
|
|
22
|
-
"backgroundColor": "#ffffff"
|
|
23
|
-
},
|
|
24
|
-
"package": "magmamath.features.example"
|
|
25
|
-
},
|
|
26
|
-
"web": {
|
|
27
|
-
"favicon": "./assets/favicon.png"
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
Binary file
|
|
Binary file
|
package/example/assets/icon.png
DELETED
|
Binary file
|
|
Binary file
|
package/example/babel.config.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
const path = require('path')
|
|
2
|
-
const { getConfig } = require('react-native-builder-bob/babel-config')
|
|
3
|
-
const pkg = require('../package.json')
|
|
4
|
-
|
|
5
|
-
const root = path.resolve(__dirname, '..')
|
|
6
|
-
|
|
7
|
-
module.exports = function (api) {
|
|
8
|
-
api.cache(true)
|
|
9
|
-
|
|
10
|
-
return getConfig(
|
|
11
|
-
{
|
|
12
|
-
presets: ['babel-preset-expo'],
|
|
13
|
-
plugins: [
|
|
14
|
-
[
|
|
15
|
-
'module-resolver',
|
|
16
|
-
{
|
|
17
|
-
extensions: ['.tsx', '.ts', '.js', '.json'],
|
|
18
|
-
alias: {
|
|
19
|
-
[pkg.name]: path.join(__dirname, '../', pkg.source),
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
],
|
|
23
|
-
['@babel/plugin-transform-private-methods', { loose: true }],
|
|
24
|
-
],
|
|
25
|
-
},
|
|
26
|
-
{ root, pkg },
|
|
27
|
-
)
|
|
28
|
-
}
|
package/example/index.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { registerRootComponent } from 'expo';
|
|
2
|
-
|
|
3
|
-
import App from './src/App';
|
|
4
|
-
|
|
5
|
-
// registerRootComponent calls AppRegistry.registerComponent('main', () => App);
|
|
6
|
-
// It also ensures that whether you load the app in Expo Go or in a native build,
|
|
7
|
-
// the environment is set up appropriately
|
|
8
|
-
registerRootComponent(App);
|
package/example/metro.config.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
const path = require('path');
|
|
2
|
-
const { getDefaultConfig } = require('@expo/metro-config');
|
|
3
|
-
const { getConfig } = require('react-native-builder-bob/metro-config');
|
|
4
|
-
const pkg = require('../package.json');
|
|
5
|
-
|
|
6
|
-
const root = path.resolve(__dirname, '..');
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Metro configuration
|
|
10
|
-
* https://facebook.github.io/metro/docs/configuration
|
|
11
|
-
*
|
|
12
|
-
* @type {import('metro-config').MetroConfig}
|
|
13
|
-
*/
|
|
14
|
-
module.exports = getConfig(getDefaultConfig(__dirname), {
|
|
15
|
-
root,
|
|
16
|
-
pkg,
|
|
17
|
-
project: __dirname,
|
|
18
|
-
});
|
package/example/package.json
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@magmamath/students-features-example",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"main": "index.js",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"start": "expo start",
|
|
7
|
-
"android": "expo start --android",
|
|
8
|
-
"ios": "expo start --ios",
|
|
9
|
-
"web": "expo start --web"
|
|
10
|
-
},
|
|
11
|
-
"dependencies": {
|
|
12
|
-
"@expo/metro-runtime": "~4.0.0",
|
|
13
|
-
"expo": "~52.0.11",
|
|
14
|
-
"expo-status-bar": "~2.0.0",
|
|
15
|
-
"react": "18.3.1",
|
|
16
|
-
"react-dom": "18.3.1",
|
|
17
|
-
"react-native": "0.76.3",
|
|
18
|
-
"react-native-web": "~0.19.13"
|
|
19
|
-
},
|
|
20
|
-
"devDependencies": {
|
|
21
|
-
"@babel/core": "^7.20.0",
|
|
22
|
-
"react-native-builder-bob": "^0.33.3"
|
|
23
|
-
},
|
|
24
|
-
"private": true
|
|
25
|
-
}
|
package/example/src/App.tsx
DELETED
package/example/tsconfig.json
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"teacherFeedback.noComments": "No comments yet",
|
|
3
|
-
"time.justNow": "just now",
|
|
4
|
-
"time.minuteAgo": "minute ago",
|
|
5
|
-
"time.minutesAgo": "minutes ago",
|
|
6
|
-
"time.hourAgo": "hour ago",
|
|
7
|
-
"time.hoursAgo": "hours ago",
|
|
8
|
-
"time.dayAgo": "day ago",
|
|
9
|
-
"time.daysAgo": "days ago",
|
|
10
|
-
"time.monthAgo": "month ago",
|
|
11
|
-
"time.monthsAgo": "months ago",
|
|
12
|
-
"time.yearAgo": "year ago",
|
|
13
|
-
"time.yearsAgo": "years ago",
|
|
14
|
-
"chat": {
|
|
15
|
-
"anotherHint": "Give me another hint",
|
|
16
|
-
"giveHint": "Give me a hint",
|
|
17
|
-
"answerAgain": "Answer again to get another hint!",
|
|
18
|
-
"errorMessage": "Something went wrong! Try again",
|
|
19
|
-
"howCanIHelp": "Hi! Do you want help?",
|
|
20
|
-
"showError": "Show error"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"teacherFeedback.noComments": "No comments yet",
|
|
3
|
-
"time.justNow": "just now",
|
|
4
|
-
"time.minuteAgo": "minute ago",
|
|
5
|
-
"time.minutesAgo": "minutes ago",
|
|
6
|
-
"time.hourAgo": "hour ago",
|
|
7
|
-
"time.hoursAgo": "hours ago",
|
|
8
|
-
"time.dayAgo": "day ago",
|
|
9
|
-
"time.daysAgo": "days ago",
|
|
10
|
-
"time.monthAgo": "month ago",
|
|
11
|
-
"time.monthsAgo": "months ago",
|
|
12
|
-
"time.yearAgo": "year ago",
|
|
13
|
-
"time.yearsAgo": "years ago",
|
|
14
|
-
"chat": {
|
|
15
|
-
"anotherHint": "Give me another hint",
|
|
16
|
-
"giveHint": "Give me a hint",
|
|
17
|
-
"answerAgain": "Answer again to get another hint!",
|
|
18
|
-
"errorMessage": "Something went wrong! Try again",
|
|
19
|
-
"howCanIHelp": "Hi! Do you want help?",
|
|
20
|
-
"showError": "Show error"
|
|
21
|
-
}
|
|
22
|
-
}
|
package/tsconfig.build.json
DELETED
package/tsconfig.json
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"paths": {
|
|
4
|
-
"@magmamath/students-features": ["./src/index"]
|
|
5
|
-
},
|
|
6
|
-
"target": "esnext",
|
|
7
|
-
"baseUrl": "./",
|
|
8
|
-
"lib": [
|
|
9
|
-
"dom",
|
|
10
|
-
"dom.iterable",
|
|
11
|
-
"esnext"
|
|
12
|
-
],
|
|
13
|
-
"declaration": true,
|
|
14
|
-
"allowJs": true,
|
|
15
|
-
"skipLibCheck": true,
|
|
16
|
-
"esModuleInterop": true,
|
|
17
|
-
"allowSyntheticDefaultImports": true,
|
|
18
|
-
"strict": true,
|
|
19
|
-
"forceConsistentCasingInFileNames": true,
|
|
20
|
-
"module": "esnext",
|
|
21
|
-
"moduleResolution": "node",
|
|
22
|
-
"resolveJsonModule": true,
|
|
23
|
-
"isolatedModules": true,
|
|
24
|
-
"jsx": "react",
|
|
25
|
-
"experimentalDecorators": true
|
|
26
|
-
},
|
|
27
|
-
"include": [
|
|
28
|
-
"src"
|
|
29
|
-
],
|
|
30
|
-
"exclude": [
|
|
31
|
-
"node_modules",
|
|
32
|
-
"example"
|
|
33
|
-
]
|
|
34
|
-
}
|